Weapon ODF Questions

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
PR-0927
Old School Staff
Posts: 844
Joined: Fri Dec 31, 2004 9:15 pm
Location: Kent, OH, U.S.A.

Weapon ODF Questions

Post by PR-0927 »

Well, I had some questions about weapon ODF files. I want to make my pistols and my chaingun have limited ammo. I do not know how to do this. I have edited both files in data_RE1\Sides\Common, data_RE1\Sides\rep, and data_RE1\Sides\all. I removed the heat recover stuff and had no luck in making those weapons have limited amounts of ammo. I also changed the "RoundsPerClip" line to equal numbers other than zero.

Please help me!

Thank you.

- Majin Revan
Schizo

RE: Weapon ODF Questions

Post by Schizo »

In the unit's ODF file, you need to specify the weapon's ammo. It's right underneath the line that contains the weapon's ODF label.
jkempster

Post by jkempster »

you can just change the odf of chaingun. to this geometryname= "rep_weap_inf_pistol" (i think thats the name) and then on heavy troopers default odf (example) change the pistol to the chaingun and change weaponammo= 0 to say weaponammo= 200. that sould do it. ive done the same sept overheating works for me i dont care about ammo for it :p
Post Reply