Starting with fighters

Hi all,

Im trying to make the kol start with fighters instead of having to wait till level 3, but i cant figure out how to do it. Im making a small minimod for private use mostly so i can learn to how to add abilities and stuff to the game. Anyway, i've been combing through the modding forum and the entity files, trying to figure out how to make the ship start with fighters rather than have to wait till level 3 to build them. Does anyone know what setting has to be changed? Thanks in advance.

35,980 views 12 replies
Reply #1 Top

In the Kol's .entity file, ctrl-f "command" or look for "CommandPoints". StartValue is for level 1, ValueIncreasePerLevel should be obvious. Carrier Cruisers have a line "maxNumCommandPoints", for Hangar Defenses it's "baseCommandPoints"

+1 Loading…
Reply #3 Top

On a related note, does anyone know what dockpointcount > 0 means. Im stumped.

Reply #4 Top

Quoting sovereign73811A, reply 3
On a related note, does anyone know what dockpointcount > 0 means. Im stumped.

Is that an error message you are getting? I think you get that when trying to give strikecraft to a ship that uses a mesh without a hangar hardpoint.

Reply #5 Top

Is that part of a Dev.exe error message? I think you get it if you put fighters on a ship (mesh) that doesn't normally have any (most frigates/cruisers). If that is the case be warned, as the fighters will spawn at the bottom-left? of the map, and will only be useable after you make a phase jump or two (I haven't tried rebuilding them in combat yet, but the entire squad gets spawned way ouside the playabe map when it's first created)

I don't know how to solve it except only putting strike craft on ships that normally have them (again, the "mesh" counts, not the ships' .entity file)

Reply #6 Top

I don't know how to solve it except only putting strike craft on ships that normally have them (again, the "mesh" counts, not the ships' .entity file)

You should be able to copy an existing mesh hardpoint and rename it for hangar use. Remember to increment the hardpoint counts if you do this.

Reply #7 Top

Ok thats weird. Thats why im stumped. I did add hanger points to ship. The only reason i could think off is that i didnt link them properly or something but i just went back into max and linked em a second time, just to make sure.

Reply #8 Top

sovereign, you should be able to edit the mesh in notepad if the mesh is in text mode, and i believe the code might be hangar not hanger, and sins is EXTREMELY picky about capitalisation AND spelling.

harpo

 

Reply #9 Top

...wow....thats embarrassing...spell fail. Welp, guess i cant show my face on here anymore.

Reply #10 Top

we is ale humen, so dont fret it, but computers are DUMB and can only do what they are told and can follow.

harpo

 

Reply #11 Top

Quoting sovereign73811A, reply 9
...wow....thats embarrassing...spell fail. Welp, guess i cant show my face on here anymore.

lol, I've done worse

couldn't figure out why my mod wouldn't work with its enity files
                                                                                /\
                                                                                 t

Reply #12 Top

ryat, HOW did you get a mod to have TITS on its enity files?

harpo