Changing building requirements for Terran ships
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
Changing building requirements for Terran ships
Cana you change the building mats that the player HQ needs for Terran ships from rastor oil and teladium to hull plates and c-rations
Yes you can!
When you look at the hq.xml file you will notice that nividim is set to only be required on Khaak ships. You could do the same thing with hull plating for terran and atf ships, you sperate more than one race with a | in the xml attrbute. You can then make the other resources only apply to every other race. I do something similar in my game. Makes things more realistic.
When you look at the hq.xml file you will notice that nividim is set to only be required on Khaak ships. You could do the same thing with hull plating for terran and atf ships, you sperate more than one race with a | in the xml attrbute. You can then make the other resources only apply to every other race. I do something similar in my game. Makes things more realistic.
- DrBullwinkle
- Posts: 5715
- Joined: Sat, 17. Dec 11, 01:44
Cool.
Do you know how the factor value works? It looks like "less is more", but I was wondering if you (or anyone) had more details on that?
Do you know how the factor value works? It looks like "less is more", but I was wondering if you (or anyone) had more details on that?
Peace through superior firepower
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
Bullwinkle's List | Marine Repairs and Training | Mobile Mining Mk2 | Drone Carrier Software 2 (DCS2) | Ship Tricks: Mini-Guides (with Video)
Sorry got distracted.
Nope I don't sorry. All I did was change a few wares around.
Here is an example of some of what I did.
I basically just took what ES had done with the Nividium for Khaak ships and did the same for other races.
Nope I don't sorry. All I did was change a few wares around.
Here is an example of some of what I did.
Code: Select all
<!-- Teladianium -->
<resource typename="SS_WARE_R255">
<factor racemask="argon|boron|split|paranid|teladi|pirate|yaki|goner" value="28333" primary="1" />
</resource>
<!-- Hull Plating -->
<resource typename="SS_WARE_TR_TECH8">
<factor racemask="terran|atf|xenon" value="28333" primary="1" />
</resource>
<!-- Nividium -->
<resource typename="SS_WARE_NIVIDIUM2">
<factor racemask="khaak" value="170000" primary="1" />
</resource>