Making even bigger ships!

Huge ships are nice and all but I'd really like to toss in some stuff with the HPs required to create a true battleship in the late game. 150-300 base hit points sounds like the right range. Anyone have pointers about where I should go digging to create a new ship type before I start poking around the files?
7,219 views 6 replies
Reply #1 Top
You can add new Hulls in the GCTypes.xml file I beleive, well thats where I add them.

Just do a Copy/Paste of the Hulls u want, then edit the HP and Tech Requirements etc and you can tweak them as much as you want.
Reply #2 Top
That won't work. I modified the GC2Types.xml file entry for one of the Huge ship types to this:

< Hull Name="HugeHull0" >
< DisplayName > Huge < / DisplayName >
< Description > Huge Hulls are for those mega ships. A Huge Hulled ship is over 3,000 meters long. They require 6 logistics points to coordinate so few fleets will have more than one of these. This would be the flag ship of your empire. < /Description >
< Cost >160< / Cost >
< Size >1000< / Size >
< SensorRange > 4 < / SensorRange >
< HP>200< / HP >
< Model >Huge_0 < / Model >
< Thumbnail > Huge_0 < / Thumbnail >
< Speed > 1 < / Speed >
< Category > Huge < / Category >
< Logistics > 8 < / Logistics >
< Tech_Requirement > Massive Scale Building < / Tech_Requirement >

Note: I've put spaces between some of the xml encodings so they still appear.

Sure, when building a huge ship, I had a size of 2000 to work with, but the size of all of the ship components increased exponentially. For example, Hyper Drive Mk. 3 suddenly had a size of 105! In the end, I still didn't have enough room on my ship to create an attack value of over 200 and still have considerable defenses, movement speed, and life support.
Reply #3 Top
I think part of the issue is that component size are rated by percentage of the Frame size... so the HD mk3 size is initially rated at 10 at a hull with a size of 50(then the miniturazation bonus is added after it is attached to the ship, or is miniturization added to the initial size of the hull? I think that more likely..) anyway, when you set the hull size to 1000, you multiply the size of the drive to match its initial size % .. so with miniturization a Large hull has 100 size, but the initial siz rating is 50.. that base rate is what controlls the size of the base size of the Component.

I poked around a little and didn't see anyway to adjust that %change.. its probably hard coded(whats the odds the Devs will release a source code, ala Civ4 did?).

I think you could change this by making new techs, or weapons that have a smaller initial size. Unfortunately I don't think there is a way to keep you from using those same miniture size components on other ships... hhmm.. I am going to poke around some more and see if I can find something..

I think you could hard code such a ship in the Ships folder(My Docs\my Games\Galciv2\ships).. and it will appear when the approriate tech is set.. You will probably never be able to upgrade it, because the components will add up to more than the hull size will allow.. but it will be there.

Cheers!
Reply #4 Top
I don't know anything about how to mod this stuff other than use the mods that are created by the others around here. But here is an Idea. create Anomolies that will increase the ships to the specs your looking for. See if that is an avenue that will work then determine what is it about the Anomoly system that does this. I know from previous games that Anomolies will increase your Soldiering etc. Given enuff of them you can have soldiering at 75% or more. The same may work with ship stats that your after..

just a thought and worth looking into..

Starlost...
Reply #5 Top
I really haven't tried any modding, but I was poking around through the xml files and found a tag that I, until just now, had no idea what it might do. It is called "SizeMod", and generally is a fairly small number, but this may represent the "percent hull size" factor.
Reply #6 Top
Yep. Each module has a base size, plus it also fills a certain percentage of the total hull space. When hulls get big enough, it is only this percentage that is really important, so increasing hull size further is pointless.