I tired to add the paranid faction to the ares fighter with no luck. Any help will be gladly apprectiated
<add sel="/wares">
<ware id="ship_par_s_heavyfighter_01_a" />
<owner faction="paranid" />
</ware>
</add>
Simple Mod to add a faction to existing wares
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
-
- Posts: 12
- Joined: Sun, 31. May 20, 22:56
Re: Simple Mod to add a faction to existing wares
You are doing it wrong
By using your method you add new ware with the same name as existing one to the wares list (you also close it immediately with "/"), then owner thing directly to wares list, not to a specific ware. Thats why its not working
You need to add owner to a specific ware and it has to be in sel= thing.
Code: Select all
<add sel="//wares/ware[@id='ship_par_s_heavyfighter_01_a']">
<owner faction="paranid" />
</add>
You need to add owner to a specific ware and it has to be in sel= thing.