If i wanted to change the AT class to something else, how can it be done, if at all?
Announcement
Collapse
No announcement yet.
how do you change class? or cant you?
Collapse
X
-
As in changing weapons?
From Objects_server.zip\Kits\US\US_AT.con
Code:ObjectTemplate.create Kit US_AT ObjectTemplate.saveInSeparateFile 1 ObjectTemplate.kitType AT ObjectTemplate.aiTemplate AT ObjectTemplate.geometry US_Kits ObjectTemplate.geometry.kit 3 ObjectTemplate.geometry.dropGeom 13 ObjectTemplate.networkableInfo KitInfo ObjectTemplate.setHasCollisionPhysics 1 ObjectTemplate.unlockIndex 0 ObjectTemplate.cullRadiusScale 2.4 rem ------------------------------------- [COLOR=Red]ObjectTemplate.addTemplate USATP_Predator ObjectTemplate.addTemplate USPIS_92FS ObjectTemplate.addTemplate kni_knife ObjectTemplate.addTemplate UnlockUSAT ObjectTemplate.addTemplate USRIF_MP5_A3 ObjectTemplate.addTemplate ParachuteLauncher[/COLOR] 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.sprintStaminaDissipationFactor 0.6 rem ---BeginComp:Radio --- ObjectTemplate.createComponent Radio ObjectTemplate.Radio.spottedMessage "infantry_spotted" rem ---EndComp --- ObjectTemplate.create ItemContainer UnlockUSAT ObjectTemplate.addTemplate chsht_protecta ObjectTemplate.unlockLevel 1
Don't replace the pistol with a rifle unless you have already modified the proper lines in the weapon's files.
Comment