A problem with custom ammunitions
I've decided to make every gun and turret in my mod require Ammunition to fire. Since my server is designed to be a pvp server, it will make for some interesting battles, and will also require the pilot to increase their aim, and no one will be able to fight forever without pit stops.
I've done all the changes needed, it too me a really long time to make all the ammunitions in weapon_goods.ini
and I've added each of the goods to market_misc.ini
like this:
marketgood = fc_or_gun01_mark02_ammo, 2, -1, 50, 50, 0, 1
How ever, when I try to buy ammunition in game, the dealer doesn't sell any.
This is the Munition entry
[Munition
nickname = fc_or_gun01_mark02_ammo
hp_type = hp_gun
requires_ammo = true
hit_pts = 2
hull_damage = 52.700001
energy_damage = 0
weapon_type = W_Laser01
one_shot_sound = fire_laser4
munition_hit_effect = pi_laser_02_impact
const_effect = pi_laser_02_proj
lifetime = 0.800000
force_gun_ori = false
mass = 1
volume = 0.000100
and this is the Goods entry
[Good
nickname = fc_or_gun01_mark02_ammo
equipment = fc_or_gun01_mark02_ammo
shop_archetype = equipment\models\weapons\li_rad_missile.3db
material_library = equipment\models\li_equip.mat
category = equipment
price = 25
item_icon = equipment\models\commodities\nn_icons\EQUIPICON_missiles.3db
combinable = true
Now the only problem I could see is there are a few things in the Munition entrys on the Missiles that aren't in the Guns. I'm not sure which are relevant, though.
Can anyone help with this? Once I get this sorted I'll make a Tut on this so anyone who wants it can get it without going through the pain and boredom I went through, heh heh.
_______________________________
Amare et sapere vix deo concetidur.