PDA

View Full Version : Modding kits and making weapons


xxnoobxx
12-06-2005, 05:00 PM
Ok, I have been trying to mod kits so that I have something like this:
US SNIPER KIT
-92FS (Modded for unlimited clip and 12.7 mm bullets)
-Knife
-M95 Barett (Changed Unlock Level from "1" to "0")
-MP5 A3

I've gotten all the guns to work in the editor (I mod files manuallly.) But whenever I go to load the game, one of two things will happen:
-Game will crash when map is loading :mad:
-Game will load sucessfully, but nothing will be changed :cry:

Also, whenever I try and make a new weapon, using a different weapon's model, the game will crash when I try and use that gun. For instance, I tried making a MP5 A4 just for the sniper, using the ammunition of a G3, and that crashed the game as well. Plz help me with that too.


Thanks for all your help in advance!

grolsche
12-06-2005, 06:09 PM
Well for starts both the MP5 and M95 use the same "slot" in the inventory which needs to be changed in either the mp5 code or m95.

xxnoobxx
12-06-2005, 07:59 PM
wait so weapons can only be put into certain "slots" in the kit? lol i had no idea

jdrou
12-07-2005, 08:39 PM
Every weapon (incl. things like shock paddles and parachutes) has an itemIndex value in its .tweak file. Each kit can only have one item with a given itemIndex. See these threads on the BFSP forum for some details on modding kits:

http://dynamic.gamespy.com/~bf42players/index.php?showtopic=2279
http://dynamic.gamespy.com/~bf42players/index.php?showtopic=2663

xxnoobxx
12-10-2005, 11:16 PM
thnx man your the best :)