AnimTrees:
destructibles
animated_props
generic_human
multiplayer
player
vehicles
PrecacheMpAnim( < Animation > ); - Use this to preCache your animation so you can use it anywhere
< entity > ScriptModelPlayAnim( < Animation > ); - Should animate said entity with your custom animation
< entity > willNeverChange(); - Animation you've given it will not change
< entity > scriptModelClearAnim( < Animation > ); - Clears the animation you were using
Custom Classes
Code:
self setPlayerData( "customClasses", < class num >, "name", < Text > ); - Sets custom class name
self setPlayerData( "customClasses", < class num >, "weaponSetups", < 0 - 1 >, "weapon", < Weapon > ); - Sets custom class weapon
self setPlayerData( "customClasses", < class num >, "weaponSetups", < 0 - 1 >, "camo", < Camo > ); - Sets custom class camo
self setPlayerData( "customClasses", < class num >, "weaponSetups", < 0 - 1 >, "attachment", 0, < Attachment > ); - Sets custom class attachment
self setPlayerData( "customClasses", < class num >, "perks", < 0 - 4 >, < Perk > ); - Sets custom class perk
self setPlayerData( "customClasses", < class num >, "specialGrenade", < Grenade > ); - Sets custom class special grenade
Dont forfeit with online dvars
Replace your maps\mp\gametypes\_gamelogic.gsc with this:
http://pastebin.com/J5es0DnT