Battlefield Modding Tutorials BFMODS https://battlefieldmodding.com/ssm/phpBB3/ |
|
Disabling the parachute on a kit type basis https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=18&t=1576 |
Page 1 of 1 |
Author: | Looney [ Sun Jun 12, 2005 2:07 pm ] |
Post subject: | Disabling the parachute on a kit type basis |
ok yes i know finaly were ably to disable the parachute on lets say the medic and leave everyone else at normal ok i fu open the file mods/bf2/objects_server/kits/us/us_medic.con *note*now i used the us medic but u can use any kit form any country if u open the file u will see ObjectTemplate.create Kit US_Medic ObjectTemplate.saveInSeparateFile 1 ObjectTemplate.kitType Medic ObjectTemplate.geometry US_kits ObjectTemplate.aiTemplate Medic ObjectTemplate.geometry.kit 1 ObjectTemplate.geometry.dropGeom 11 ObjectTemplate.networkableInfo KitInfo ObjectTemplate.setHasCollisionPhysics 1 ObjectTemplate.dropHeadwear helmet ObjectTemplate.abilityRestoreRate 0.05 ObjectTemplate.abilityInVehicleRadius 7 ObjectTemplate.abilityInVehicleStrength 0.25 ObjectTemplate.abilityInVehicleMaterial 73 ObjectTemplate.unlockIndex 3 ObjectTemplate.cullRadiusScale 2.4 rem ------------------------------------- ObjectTemplate.addTemplate USPIS_92FS ObjectTemplate.addTemplate USHGR_M67 ObjectTemplate.addTemplate medikit ObjectTemplate.addTemplate defibrillator ObjectTemplate.addTemplate kni_knife ObjectTemplate.addTemplate UnlockUSMedic ObjectTemplate.addTemplate usrif_m16a2 ObjectTemplate.addTemplate ParachuteLauncher rem ------------------------------------- ObjectTemplate.createComponent Ability ObjectTemplate.ability.hasHealingAbility 1 ObjectTemplate.createComponent AbilityHud ObjectTemplate.abilityHud.healingSound S_Heal ObjectTemplate.abilityHud.repairingSound S_Repair ObjectTemplate.abilityHud.ammoSound S_Resupply ObjectTemplate.createComponent VehicleHud ObjectTemplate.vehicleHud.hudName "HUD_TEXT_MENU_SPAWN_KIT_MEDIC" ObjectTemplate.vehicleHud.miniMapIcon "Ingame\Kits\Icons\kit_Medic_outline.tga" ObjectTemplate.vehicleHud.vehicleIcon "Ingame\Kits\Icons\kit_Medic.tga" ObjectTemplate.vehicleHud.spottedIcon "Ingame\Player\Icons\Minimap\mini_Soldier.dds" ObjectTemplate.vehicleHud.pantingSound S_SprintBreath ObjectTemplate.vehicleHud.injurySound S_Injury ObjectTemplate.sprintStaminaDissipationFactor 0.2 rem ---BeginComp:HelpHud --- ObjectTemplate.createComponent HelpHud ObjectTemplate.HelpHud.helpStringKey "HUD_HELP_KIT_MEDIC_inVehicle" ObjectTemplate.HelpHud.helpSoundKey "HUD_HELP_KIT_MEDIC_inVehicle" rem ---EndComp --- rem ---BeginComp:Radio --- ObjectTemplate.createComponent Radio ObjectTemplate.Radio.spottedMessage "infantry_spotted" rem ---EndComp --- ObjectTemplate.create ItemContainer UnlockUSMedic ObjectTemplate.addTemplate usrif_sa80 ObjectTemplate.unlockLevel 1 just rem that out and that kit wont be able to use a parachute. |
Author: | Looney [ Mon Jun 13, 2005 5:46 pm ] |
Post subject: | |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |