help pistol

正在查看此主题的用户

QBDU07

Sergeant
hello, i find how to add pistol in my mod but i can't find where is the bullet and where i does put it , and i would change the skin of the bullet when she's shot to but i d'ont find him with open brf , can you help me please ? thanks
 
I'm sorry to say that I didn't get one whole sentense there, but I'll try to answer the best I can.

1. The bullet is called "cartridge". It's a weird shaped cylinder. Look for that, it should be around where the other ammonution is in the module_items.py file. Or item_kinds1.txt (if you aren't using the ModuleSystem).

2. Instead of changing the mesh in the .brf, would I suggest you change what mesh the item gets in the module_items.py. You can change what mesh it uses in inventory, when flying and in general.

I hoped I helped you. Cheers.
 
thank you , but for replace the bullet when she's fired what object i does replace with open brf  thanks
 
There is no need to replace it in the brf.

["cartridges","Cartridges", [("cartridge_a",0),("flying_missile",ixmesh_flying_ammo)], itp_type_bullets|itp_merchandise|itp_can_penetrate_shield|itp_default_ammo, 0, 41,weight(2.25)|abundance(90)|weapon_length(3)|thrust_damage(1,pierce)|max_ammo(50),imodbits_missile],
See that part in red? Just change that to another mesh. For example.

["cartridges","Cartridges", [("cartridge_a",0),("cartridge_a",ixmesh_flying_ammo)], itp_type_bullets|itp_merchandise|itp_can_penetrate_shield|itp_default_ammo, 0, 41,weight(2.25)|abundance(90)|weapon_length(3)|thrust_damage(1,pierce)|max_ammo(50),imodbits_missile],
See?
 
eu i problem  to me  it is as his

插入代码块:
["cartridges","Cartridges", [("cartridge_a",0)], itp_type_bullets|itp_merchandise|itp_can_penetrate_shield|itp_default_ammo, 0, 41,weight(2.25)|abundance(90)|weapon_length(3)|thrust_damage(1,pierce)|max_ammo(50),imodbits_missile],

i don't have flying_missile
 
后退
顶部 底部