I wanted to mod destroyers to mostly only be able to use heavy turrets in place of their usual Ms. But I'm having trouble finding the file that govorns what size of weapon a craft can use.
Anyone know where that might be and what it's called? I have guesses. But they look dubious at best.
Anyone know the name and location of the file that determines size of ship equipment?
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 234
- Joined: Wed, 27. May 09, 08:03
-
- Posts: 121
- Joined: Sun, 14. Mar 10, 13:14
Re: Anyone know the name and location of the file that determines size of ship equipment?
At the top of the ship's macro page, the file lists the component that it is built on. (\assets\units\size_l\macros\ship_arg_l_destroyer_01_a_macro.xml)
For ship_arg_l_destroyer_01_a_macro.xml it is:
The file is located one directory above the macros folder: \assets\units\size_l\ship_arg_l_destroyer_01.xml.
That file lists all the connection points for the ship model.
Connections have tags that determine what that slot is compatible with.
Change the tag from medium to large or add large as another tag to increase the options.
For ship_arg_l_destroyer_01_a_macro.xml it is:
Code: Select all
<component ref="ship_arg_l_destroyer_01" />
That file lists all the connection points for the ship model.
Connections have tags that determine what that slot is compatible with.
Code: Select all
<connection name="con_turret_005" group="group_mid_down_left " tags="turret medium standard missile hittable ">