bladecx321 Posted August 20, 2011 Report Share Posted August 20, 2011 I'm trying to replace the US Anti-Tank kit with a pilot kit that has just a pistol, but is wearing the vest and helmet of a chopper pilot. I know how to change the weapons, but I'm not sure how to make the soldier have the vest and helmet. Any ideas? Quote Link to comment Share on other sites More sharing options...
Bad_santa12345 Posted August 20, 2011 Report Share Posted August 20, 2011 From the US_AT.con change "ObjectTemplate.geometry.kit 3" to "ObjectTemplate.geometry.kit 8". I think 8 is for jet pilot and 9 is for heli pilot. Quote Link to comment Share on other sites More sharing options...
bladecx321 Posted August 21, 2011 Author Report Share Posted August 21, 2011 Yeah I got that part thankfully, but how about when I change weapon's loadout? That doesn't change when I get in game...It's just the standard loadout. Or even when i change the .tweak files for the weapons, they stay the same. Quote Link to comment Share on other sites More sharing options...
Bad_santa12345 Posted August 21, 2011 Report Share Posted August 21, 2011 Are you sure that the game is loading your custom kit .con correctly? You shouldn't edit any of the tweak files when making custom kit loadouts. The only file you need to edit for this is the US_AT.con I think the following code will give you the results you are looking for. This kit only has pistol, knife and a parachute, with pilot geometry on the soldier. ObjectTemplate.create Kit US_AT ObjectTemplate.saveInSeparateFile 1 ObjectTemplate.kitType AT ObjectTemplate.aiTemplate AT ObjectTemplate.geometry US_Kits ObjectTemplate.geometry.kit 8 ObjectTemplate.geometry.dropGeom 13 ObjectTemplate.networkableInfo KitInfo ObjectTemplate.setHasCollisionPhysics 1 ObjectTemplate.cullRadiusScale 2.4 rem ------------------------------------- ObjectTemplate.addTemplate USPIS_92FS ObjectTemplate.addTemplate kni_knife ObjectTemplate.addTemplate ParachuteLauncher rem ------------------------------------- ObjectTemplate.createComponent AbilityHud ObjectTemplate.abilityHud.ammoSound S_Resupply ObjectTemplate.abilityHud.healingSound S_Heal ObjectTemplate.abilityHud.repairingSound S_Repair ObjectTemplate.createComponent VehicleHud ObjectTemplate.vehicleHud.hudName "HUD_TEXT_MENU_SPAWN_KIT_ANTITANK" ObjectTemplate.vehicleHud.miniMapIcon "Ingame\Kits\Icons\kit_ATAA_outline.tga" ObjectTemplate.vehicleHud.vehicleIcon "Ingame\Kits\Icons\kit_ATAA.tga" ObjectTemplate.vehicleHud.spottedIcon "Ingame\Player\Icons\Minimap\mini_Soldier.dds" ObjectTemplate.vehicleHud.abilityIcon "Ingame\Weapons\Icons\Hud\SpecialKitIcons\kevlarVest.tga" ObjectTemplate.vehicleHud.pantingSound S_SprintBreath ObjectTemplate.vehicleHud.injurySound S_Injury ObjectTemplate.vehicleHud.vehicleType 7 ObjectTemplate.sprintStaminaDissipationFactor 0.6 rem ---BeginComp:Radio --- ObjectTemplate.createComponent Radio ObjectTemplate.Radio.spottedMessage "infantry_spotted" rem ---EndComp --- Quote Link to comment Share on other sites More sharing options...
bladecx321 Posted August 22, 2011 Author Report Share Posted August 22, 2011 I really have no idea what's going wrong... I did that to the US_AT.con in this exact directory... F:\Program Files\EA GAMES\Battlefield 2\mods\TestMod\Objects\Kits\US and absolutely nothing changed... I'm the only one on the map so maybe I have the pilot look (the vest/helmet) now, but I still have the gun and the AT rocket, not just a knife and pistol.. :/ Quote Link to comment Share on other sites More sharing options...
Bad_santa12345 Posted August 22, 2011 Report Share Posted August 22, 2011 You always need to package your mod before your changes take effect. It can be easily done with BF2Editor. 1. Load your mod to the BF2editor 2. Open the mod tab and press Package MOD 3. Select Package the active mod: TestMod and click OK Quote Link to comment Share on other sites More sharing options...
bladecx321 Posted August 22, 2011 Author Report Share Posted August 22, 2011 Oh okay! That would definitely make a difference haha. I didn't think you had to - I thought it was like maps where you could test without packaging. Quote Link to comment Share on other sites More sharing options...
mschoeldgen[Xww2] Posted August 30, 2011 Report Share Posted August 30, 2011 I thought it was like maps where you could test without packaging. Yeah, that unfortunately only works in the BF2 Demo. The retail versions require packed gamefiles. Quote Link to comment Share on other sites More sharing options...
hansi Posted October 4, 2011 Report Share Posted October 4, 2011 ' date='30 August 2011 - 05:10 AM' timestamp='1314681045' post='104688']Yeah, that unfortunately only works in the BF2 Demo. The retail versions require packed gamefiles. i tried it at the demo, but it didn't work. i changed the us_at.con but no change would appear. also i find it hard to find out if something changed since i can't see myself. i tryed to find out if something changed by watching me on a ladder. or do i have a different geometry there? Quote Link to comment Share on other sites More sharing options...
hansi Posted October 5, 2011 Report Share Posted October 5, 2011 i tried it at the demo, but it didn't work. i changed the us_at.con but no change would appear. also i find it hard to find out if something changed since i can't see myself. i tryed to find out if something changed by watching me on a ladder. or do i have a different geometry there? and i don't see myself wearing the pilotkit on the battlerecorder file Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.