鐵之狂傲

標題: 來幫幫 笨笨的我 [列印本頁]

作者: ndsl2093    時間: 10-2-8 22:03
標題: 來幫幫 笨笨的我
請問一下 各位大大們
我把醫護兵的醫療包 改在 狙擊手上
狙擊手卻沒辦法 樣 醫護兵一樣 自補
這是為啥哩
C:\Program Files\EA GAMES\Battlefield 2\mods\bf2\Objects_server.zip\Kits\US - ZIP
以下是改的內容
======================================================
狙擊兵

ObjectTemplate.create Kit US_Sniper
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.kitType Sniper
ObjectTemplate.aiTemplate Sniper
ObjectTemplate.geometry US_Kits
ObjectTemplate.geometry.kit 6
ObjectTemplate.geometry.dropGeom 16
ObjectTemplate.networkableInfo KitInfo
ObjectTemplate.setHasCollisionPhysics 1
ObjectTemplate.unlockIndex 6
ObjectTemplate.cullRadiusScale 2.4

rem -------------------------------------
ObjectTemplate.addTemplate USPIS_92FS_silencer
ObjectTemplate.addTemplate USHGR_M67
ObjectTemplate.addTemplate medikit (此為醫療包)
ObjectTemplate.addTemplate kni_knife
ObjectTemplate.addTemplate UnlockUSSniper
ObjectTemplate.addTemplate ParachuteLauncher
ObjectTemplate.addTemplate USRIF_M24
ObjectTemplate.addTemplate USRIF_M4  (改的)
ObjectTemplate.addTemplate c4_explosives (改的)
ObjectTemplate.addTemplate USRGL_M203 (改的)
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_SNIPER"
ObjectTemplate.vehicleHud.miniMapIcon                "Ingame\Kits\Icons\kit_Sniper_outline.tga"
ObjectTemplate.vehicleHud.vehicleIcon                "Ingame\Kits\Icons\kit_Sniper.tga"
ObjectTemplate.vehicleHud.pantingSound                S_SprintBreath
ObjectTemplate.vehicleHud.injurySound                S_Injury

ObjectTemplate.sprintStaminaDissipationFactor         0.2

rem ---BeginComp:Radio ---
ObjectTemplate.createComponent Radio
ObjectTemplate.Radio.spottedMessage                "sniper_spotted"
rem ---EndComp ---

ObjectTemplate.create ItemContainer UnlockUSSniper
ObjectTemplate.addTemplate ussni_m95_barret
ObjectTemplate.unlockLevel 1

============================================================
醫護兵

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
作者: xiaon1ng    時間: 10-3-19 16:33
無能為力。。。
只想說一句
你很厲害




歡迎光臨 鐵之狂傲 (https://gamez.com.tw/)