[Suggestion] alternate turret type system

The place to discuss scripting and game modifications for X4: Foundations.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

Gomorragh
Posts: 14
Joined: Fri, 30. Nov 18, 20:38
x4

[Suggestion] alternate turret type system

Post by Gomorragh »

Seeing the way some fleets have a few ships with certain types of turret sizes, it would be nice if there was a fitting to say change a L turret to a dual M turret or quad S size turret jsu to add some fighter or medium sized ship options ... i have the same sort of wish for several games but i think now this sort of thing would make all fleets have more options without having to mod in full new ships
User avatar
euclid
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 13486
Joined: Sun, 15. Feb 04, 20:12
x4

Re: [Suggestion] alternate turret type system

Post by euclid »

I'm afraid that is not possible as the turret (and weapon) size is fixed via the connection definition. For example in assets>units>size_l you find the ship_arg_l_destroyer_01.xml which contains

Code: Select all

<connection name="con_turret_laser_l_02" group="group_up_mid_mid " tags="turret large standard missile ">
				<offset>
					<position x="0" y="79.88529" z="-164.2649"/>
				</offset>
			</connection>
			<connection name="con_weapon_02" tags="weapon large standard arg_destroyer_01 ">
				<offset>
					<position x="-122.9944" y="48.5061" z="227.3688"/>
				</offset>
			</connection>
			<connection name="con_weapon_01" tags="weapon large standard arg_destroyer_01 ">
				<offset>
					<position x="122.9944" y="48.5061" z="227.3629"/>
				</offset>
			</connection>
			<connection name="con_turret_002" group="group_front_up_left " tags="turret medium standard missile hittable ">
				<offset>
					<position x="-106.1493" y="71.03966" z="198.2894"/>
				</offset>
			</connection>
Cheers Euclid
"In any special doctrine of nature there can be only as much proper science as there is mathematics therein.”
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786

Return to “X4: Foundations - Scripts and Modding”