Jump to content
Official BF Editor Forums

Pilot Kit


bladecx321
 Share

Recommended Posts

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 ---

Link to comment
Share on other sites

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.. :/

Link to comment
Share on other sites

  • 1 month later...
' 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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...