[Code] Kits
Posted: 2010-02-25 08:07
Just to show everyone that we are still alive, here are some sneak peaks of the kit code i've been working on today. So far just showing off the nz_officer_alt and the nz_rifleman. Should give you guys a taste of whats going to be in the kits. Enjoy ![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
Code: Select all
ObjectTemplate.create Kit nz_officer_alt
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.setNetworkableInfo KitInfo
ObjectTemplate.kitType Specops
ObjectTemplate.aiTemplate Specops
ObjectTemplate.geometry nz_kits
ObjectTemplate.geometry.kit 4
ObjectTemplate.geometry.dropGeom 16
ObjectTemplate.setHasCollisionPhysics 1
ObjectTemplate.setCollisionMesh kitcol
ObjectTemplate.dropHeadwear helmet
ObjectTemplate.cullRadiusScale 8
rem -------------------------------------
ObjectTemplate.addTemplate kni_knife
ObjectTemplate.addTemplate uspis_P226
ObjectTemplate.addTemplate adfrif_f88s_optic
ObjectTemplate.addTemplate USHGR_M67
ObjectTemplate.addTemplate radio
ObjectTemplate.addTemplate hgr_smoke_signalpurple
ObjectTemplate.addTemplate SIMRAD
ObjectTemplate.addTemplate medikit_dressing_3
rem -------------------------------------
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_OFFICER_NZ_LIMITED"
ObjectTemplate.vehicleHud.miniMapIcon "Ingame\Kits\Icons\kit_Officer_outline.tga"
ObjectTemplate.vehicleHud.vehicleIcon "Ingame\Kits\Icons\kit_Officer.tga"
ObjectTemplate.vehicleHud.spottedIcon "Ingame\GeneralIcons\empty.tga"
ObjectTemplate.vehicleHud.pantingSound S_SprintBreath
ObjectTemplate.vehicleHud.injurySound S_Injury
ObjectTemplate.vehicleHud.vehicleType 7
Code: Select all
ObjectTemplate.create Kit nz_rifleman
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.setNetworkableInfo KitInfo
ObjectTemplate.kitType Support
ObjectTemplate.aiTemplate Support
ObjectTemplate.geometry nz_kits
ObjectTemplate.geometry.kit 0
ObjectTemplate.geometry.dropGeom 13
ObjectTemplate.setHasCollisionPhysics 1
ObjectTemplate.setCollisionMesh kitcol
ObjectTemplate.dropHeadwear helmet
ObjectTemplate.abilityRestoreRate 0.15
ObjectTemplate.abilityInVehicleRadius 0
ObjectTemplate.abilityInVehicleStrength 0.0
ObjectTemplate.abilityInVehicleMaterial 91
ObjectTemplate.cullRadiusScale 8
rem -------------------------------------
ObjectTemplate.addTemplate kni_knife
ObjectTemplate.addTemplate klappspaten
ObjectTemplate.addTemplate adfrif_f88s_acog
ObjectTemplate.addTemplate USHGR_M67
ObjectTemplate.addTemplate hgr_smoke
ObjectTemplate.addTemplate ammokit
ObjectTemplate.addTemplate binocular
ObjectTemplate.addTemplate medikit_dressing
ObjectTemplate.addTemplate hgr_incendiary
rem -------------------------------------
ObjectTemplate.createComponent Ability
ObjectTemplate.ability.hasAmmoAbility 1
ObjectTemplate.ability.hasRepairingAbility 1
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_RIFLEMANNZ"
ObjectTemplate.vehicleHud.miniMapIcon "Ingame\Kits\Icons\kit_Light_Scope_outline.tga"
ObjectTemplate.vehicleHud.vehicleIcon "Ingame\Kits\Icons\kit_Light_Scope.tga"
ObjectTemplate.vehicleHud.spottedIcon "Ingame\GeneralIcons\empty.tga"
ObjectTemplate.vehicleHud.pantingSound S_SprintBreath
ObjectTemplate.vehicleHud.injurySound S_Injury
ObjectTemplate.vehicleHud.vehicleType 7