Help locate entry for Starbase HitPoints

My eyes are glazing over trying to find an entry in one of the .xml files so that I can mod the hitpoints of starbases.

That is, unless they are hard-coded to use the value of one of the Large Hulls.

Enlighten me please, if you can :)

p.s. Kudos to the wonderful forum community around here!

25,883 views 5 replies
Reply #1 Top
Starbases are considered by the game as a special sort of ship, hence defined in GC2Ships.xml and the appropiate shipcfg .
SB use LargeHulls as class and get therefore HitPoints of a eg Battleship, defined in GC2Types.xml.
Hope that helps :)
+1 Loading…
Reply #2 Top
That is, unless they are hard-coded to use the value of one of the Large Hulls.

Exactly right.

So to mod the hitpoints of a starbase is simply to mod the hitpoints (or create a new one) of a large hull (or any hull tech) - and apply it to that starbase tech.

Reply #3 Top
Thanks to you both.

I ended up copying the "LargeHull6" type in GC2Types.xml, pasting it back in as a new entry, renamed it to "StarbaseHull0" with the Tech_Requirment changed to "ImpossibleTech" so it couldn't be used to build actual ships, then modded HP and sensor range.

I then went back to GC2Ships.xml and changed the Starbase entry's Component tag to point to the new StarbaseHull0

So far, looks to be working as planned. :)
Reply #4 Top
If it does work please think about adding it into the library here so others, such as myself, can use the mod too :D
Reply #5 Top
I'll consider it.