|
Post by kosacid on Apr 20, 2008 8:36:38 GMT
i know it sounds stupid but i was wondering how to do it there a reason for it i want to add ships that can only take certain guns and turrets like a ship that can just take level 15 guns and turrets but fl only sees up to 10 levels above that are treated as level 10 so where the limit Ive tried in the ships ini hp_type = hp_gun_special_15, HpWeapon01, HpWeapon02 but its treated like level 10 even though the weopon using hp_gun_type = hp_gun_special_15 the slot can still use level 10 guns
|
|
|
Post by Gibbon on Apr 20, 2008 10:03:57 GMT
Yes, this is a common issue. I've redone all the weapon classes in my mod so you can achieve exactly what you're trying to do. In the weapon equip.ini you will see an entry for the gun with this line in it,
hp_gun_type = hp_gun_special_1
You will need to go through and redefine all your weapon classes to achieve what you want. In other words only make certain weapons available to certain sized ships. That way you can make class 10 guns available to say battleships only, class 9 to cruisers and so on.
|
|
|
Post by kosacid on Apr 20, 2008 12:08:46 GMT
so there no short cut then it has to be fixed some where ill let you know if i find it looks at the fl exe file scanning scanning yip its not all there lol might take some time
|
|
|
Post by kosacid on Apr 20, 2008 13:32:27 GMT
found it seem they are stored in a list format thats crap pity they werent stored as 0 to 10 basicly its stored in common.dll and stored like hp_gun_special_01 to hp_gun_special_10
|
|
|
Post by kosacid on Apr 20, 2008 13:49:12 GMT
hmm idea just pop in the head there in order to keep the offsets abbreviate the hp to say like hgs01 then you can fit alot more in to the list provideing there no refrence to hp_gun_special in the othere dlls and do a find and replace on your weapon_equip.ini and the shiparch.ini i think you can get about lvl20 mind you im mad doing it but its worth a try lol
|
|
|
Post by Gibbon on Apr 20, 2008 15:03:15 GMT
found it seem they are stored in a list format thats crap pity they werent stored as 0 to 10 basicly its stored in common.dll and stored like hp_gun_special_01 to hp_gun_special_10 I renamed them to reflect Light Fighter, Heavy Fighter and so on. I found it easier to do it like that, ended up using 8 weapon classes with two spare if i think of anything else
|
|