Announcement

Collapse
No announcement yet.

how do you change class? or cant you?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • how do you change class? or cant you?

    If i wanted to change the AT class to something else, how can it be done, if at all?

  • #2
    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
    Swap the stuff in red for whatever weapons you want. Be careful of where you place the weapons though. Only swap in weapons of the same type.
    Don't replace the pistol with a rifle unless you have already modified the proper lines in the weapon's files.

    Comment


    • #3
      Originally posted by GlobalFear
      As in changing weapons?
      .
      no as in changing the class of the soldier, example: if i wanna make the engineer a demolition class

      Comment


      • #4
        Oh, like the name?

        Kind of like the BF:Experience medic was called a corpsman?

        I'll take a look when I get home.

        Comment

        Working...
        X