Squirrel/Server/Constants

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
(Weapons/Death Reasons)
Line 5: Line 5:
  
 
{{Squirrel/Constants/BodyParts}}
 
{{Squirrel/Constants/BodyParts}}
 +
 +
== Ban Types ==
 +
 +
{{Squirrel/Constants/BanTypes}}
  
 
== Game Limits ==
 
== Game Limits ==

Revision as of 08:34, 7 August 2014

Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

These are a list of constants loaded into Squirrel. These an be used anywhere in a script and resolve to a predetermined value. For example, in Liberty Unleashed VEH_LANDSTALKER will resolve to 90.

Contents

Body Parts

  • BODYPART_BODY
  • BODYPART_HEAD
  • BODYPART_LEFTARM
  • BODYPART_RIGHTARM
  • BODYPART_LEFTLEG
  • BODYPART_RIGHTLEG

Ban Types

  • BANTYPE_NAME
  • BANTYPE_IP
  • BANTYPE_LUID

Game Limits

  • MAX_PLAYERS
  • MAX_VEHICLES
  • MAX_OBJECTS
  • MAX_PICKUPS
  • MAX_CHECKPOINTS
  • MAX_CLIENTCHECKPOINTS
  • MAX_SPHERES
  • MAX_CLIENTSPHERES
  • MAX_SPAWNCLASSES
  • MAX_SPAWNCLASS_WEAPONS
  • MAX_SOUNDS
  • MAX_SPRITES

Garages

GTA III

  • PORTLAND_HIDEOUT_GARAGE
  • PORTLAND_IE_GARAGE
  • PORTLAND_BOMBSHOP_GARAGE
  • PORTLAND_PAYNSPRAY_GARAGE
  • SALVATORES_GARAGE
  • SECURICAR_GARAGE
  • LUIGIS_LOCKUP_GARAGE
  • STAUNTON_HIDEOUT_GARAGE
  • STAUNTON_BOMSHOP_GARAGE
  • STAUNTON_PAYNSPRAY_GARAGE
  • RAY_LOCKUP_GARAGE
  • WITSEC_HOUSE_GARAGE
  • KENJI_LOCKUP_GARAGE
  • COLUMBIAN_GARAGE_1
  • COLUMBIAN_GARAGE_2
  • COLUMBIAN_GARAGE_3
  • COLUMBIAN_GARAGE_4
  • COLUMBIAN_GARAGE_5
  • YARDIE_LOCKUP_GARAGE
  • SHORESIDE_HIDEOUT_GARAGE
  • SSV_PAYNSPRAY_GARAGE
  • SSV_BOMBSHOP_GARAGE
  • SHORESIDE_IE_GARAGE
  • HOODS_DEFUSAL_GARAGE
  • PLATINUM_DROPOFF_GARAGE
  • DONALD_LOVES_STASH_GARAGE


GTA Keys

  • KEY_ONFOOT_LOOKBEHIND
  • KEY_ONFOOT_FIRE
  • KEY_ONFOOT_SPRINT
  • KEY_ONFOOT_ENTERVEHICLE
  • KEY_ONFOOT_JUMP
  • KEY_ONFOOT_RIGHT
  • KEY_ONFOOT_LEFT
  • KEY_ONFOOT_BACKWARD
  • KEY_ONFOOT_FORWARD
  • KEY_ONFOOT_AIM
  • KEY_INCAR_HORN
  • KEY_INCAR_FIRE
  • KEY_INCAR_FORWARD
  • KEY_INCAR_EXITVEHICLE
  • KEY_INCAR_BACKWARD
  • KEY_INCAR_RIGHT
  • KEY_INCAR_LEFT
  • KEY_INCAR_HANDBRAKE
  • KEY_INCAR_RADIO
  • KEY_INCAR_LOOKRIGHT
  • KEY_INCAR_LOOKLEFT

Join Failures

  • JOINFAIL_DUPNICK
  • JOINFAIL_VER
  • JOINFAIL_GAME
  • JOINFAIL_BUILD

Marker Types

  • MARKER_TYPE_BOTH
  • MARKER_TYPE_PLAYER
  • MARKER_TYPE_VEHICLE

Misc Constants

  • INVALID_PLAYER_ID
  • INVALID_TEAM_ID
  • INVALID_TRAIN_ID
  • SHARED_VIRTUAL_WORLD

Part Reasons

  • PARTREASON_DISCONNECTED
  • PARTREASON_CRASHED
  • PARTREASON_TIMEOUT
  • PARTREASON_KICKED
  • PARTREASON_BANNED

Radar Blip Sprites

  • BLIP_NONE
  • BLIP_ASUKA
  • BLIP_8BALL
  • BLIP_CAT
  • BLIP_CENTRE
  • BLIP_COPCAR
  • BLIP_DONALD
  • BLIP_EIGHT
  • BLIP_BLUEPHONE
  • BLIP_REDPHONE
  • BLIP_JOEY
  • BLIP_KENJI
  • BLIP_GREENPHONE
  • BLIP_LUIGI
  • BLIP_NORTH
  • BLIP_RAY
  • BLIP_SAL
  • BLIP_HOME
  • BLIP_PNS
  • BLIP_TONY
  • BLIP_AMMU


Radar Blip Types

  • BLIPTYPE_NONE
  • BLIPTYPE_ARROWONLY
  • BLIPTYPE_BLIPONLY
  • BLIPTYPE_BLIPWITHARROW

Surface Traction

  • SURFACE_RUBBER_RUBBER
  • SURFACE_HARD_RUBBER
  • SURFACE_HARD_HARD
  • SURFACE_ROAD_RUBBER
  • SURFACE_ROAD_HARD
  • SURFACE_ROAD_ROAD
  • SURFACE_LOOSE_RUBBER
  • SURFACE_LOOSE_HARD
  • SURFACE_LOOSE_ROAD
  • SURFACE_LOOSE_LOOSE
  • SURFACE_WET_RUBBER
  • SURFACE_WET_HARD
  • SURFACE_WET_ROAD
  • SURFACE_WET_LOOSE
  • SURFACE_WET_WET


Vehicle Addons

  • VEHADDON_NONE
  • VEHADDON_HOSE
  • VEHADDON_CANNON
  • VEHADDON_BOATCANNON

Vehicle Doors

  • DOOR_DRIVER
  • DOOR_DRIVERREAR
  • DOOR_PASSENGER
  • DOOR_PASSENGERREAR

Vehicle Handling Settings

  • HANDLING_MASS
  • HANDLING_DIMENSIONS
  • HANDLING_CENTREOFMASS
  • HANDLING_PERCENTSUBMERGED
  • HANDLING_TRACTIONMULTIPLIER
  • HANDLING_TRANSMISSION
  • HANDLING_DRIVETYPE
  • HANDLING_ENGINETYPE
  • HANDLING_NUMBEROFGEARS
  • HANDLING_ENGINEACCELERATION
  • HANDLING_MAXVELOCITY
  • HANDLING_BRAKEDECELERATION
  • HANDLING_BRAKEBIAS
  • HANDLING_ABS
  • HANDLING_STEERINGLOCK
  • HANDLING_TRACTIONLOSS
  • HANDLING_TRACTIONBIAS
  • HANDLING_SUSPENSIONFORCELEVEL
  • HANDLING_SUSPENSIONDAMPINGLEVEL
  • HANDLING_SUSPENSIONUPPERLIMIT
  • HANDLING_SUSPENSIONLOWERLIMIT
  • HANDLING_SUSPENSIONBIAS
  • HANDLING_COLLISIONDAMAGEMULTIPLIER
  • HANDLING_FLAGS
  • HANDLING_SEATOFFSETDISTANCE
  • HANDLING_MONETARYVALUE
  • HANDLING_FRONTLIGHTS
  • HANDLING_REARLIGHTS
  • HANDLING_SUSPENSIONANTIDIVEMULTIPLIER (VU only)

Vehicle Light States

  • LIGHTSTATE_AUTO
  • LIGHTSTATE_OFF
  • LIGHTSTATE_ON

Vehicle Models

  • VEH_LANSTALKER
  • VEH_IDAHO
  • VEH_STINGER
  • VEH_LINERUNNER
  • VEH_PERENIAL
  • VEH_SENTINEL
  • VEH_PATRIOT
  • VEH_FIRETRUCK
  • VEH_TRASHMASTER
  • VEH_STRETCH
  • VEH_MANANA
  • VEH_INFERNUS
  • VEH_BLISTA
  • VEH_PONY
  • VEH_MULE
  • VEH_CHEETAH
  • VEH_AMBULANCE
  • VEH_FBICAR
  • VEH_MOONBEAM
  • VEH_ESPERANTO
  • VEH_TAXI
  • VEH_KURUMA
  • VEH_BOBCAT
  • VEH_MRWHOOPEE
  • VEH_BFINJECTION
  • VEH_CORPSE
  • VEH_POLICE
  • VEH_ENFORCER
  • VEH_SECURICAR
  • VEH_BANSHEE
  • VEH_PREDATOR
  • VEH_BUS
  • VEH_RHINO
  • VEH_BARRACKS
  • VEH_TRAIN
  • VEH_CHOPPER
  • VEH_DODO
  • VEH_COACH
  • VEH_CABBIE
  • VEH_STALLION
  • VEH_RUMPO
  • VEH_RCBANDIT
  • VEH_BELLYUP
  • VEH_MRWONGS
  • VEH_MAFIASENTINEL
  • VEH_YARDIELOBO
  • VEH_YAKUZA
  • VEH_DIABLOS
  • VEH_COLUMBIAN
  • VEH_HOODS
  • VEH_AIRTRAIN
  • VEH_DEADDODO
  • VEH_SPEEDER
  • VEH_REEFER
  • VEH_PANLANTIC
  • VEH_FLATBED
  • VEH_YANKEE
  • VEH_ESCAPE
  • VEH_BORGNINE
  • VEH_TOYZ
  • VEH_GHOST


Vehicle Wheels

  • WHEEL_FRONTLEFT
  • WHEEL_REARLEFT
  • WHEEL_FRONTRIGHT
  • WHEEL_REARRIGHT

Vehicle Wheel States

  • WHEELSTATUS_OK
  • WHEELSTATUS_FLAT
  • WHEELSTATUS_FUCKED

Weapons/Death Reasons

  • WEP_FIST
  • WEP_BAT
  • WEP_COLT45
  • WEP_UZI
  • WEP_SHOTGUN
  • WEP_AK47
  • WEP_M16
  • WEP_SNIPER
  • WEP_ROCKETLAUNCHER
  • WEP_FLAMETHROWER
  • WEP_MOLOTOV
  • WEP_GRENADE
  • WEP_BOMB
  • WEP_VEHICLE
  • WEP_EXPLOSION
  • WEP_DROWNED
  • WEP_FALL


Weapon Data Settings

  • WEAPONINFO_FIRETYPE
  • WEAPONINFO_FIRERATE
  • WEAPONINFO_RELOAD
  • WEAPONINFO_CLIPAMMO
  • WEAPONINFO_DAMAGE
  • WEAPONINFO_FLAGS
  • WEAPONINFO_RANGE
  • WEAPONINFO_SPEED
  • WEAPONINFO_RADIUS
  • WEAPONINFO_LIFESPAN
  • WEAPONINFO_SPREAD
  • WEAPONINFO_FIREOFFSET
  • WEAPONINFO_MODELID

Weapon States

  • WEAPON_IDLE = 0;
  • WEAPON_FIRING = 1;
  • WEAPON_RELOADING = 2;
Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox