home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 January / Gamestar_69_2005-01_dvd.iso / Dema / theprojectv1-0.exe / FCData / Scripts.pak / Scripts / ClassRegistry.lua < prev    next >
Encoding:
Text File  |  2004-07-21  |  11.0 KB  |  200 lines

  1. -- defines entity classes of players in this game
  2. --
  3. -- _CLASS_ID is used for C++ (don't change those)
  4. -- defines entity classes of players in this game
  5. --
  6. -- _CLASS_ID is used for C++ (don't change those)
  7.  
  8. EntityClassRegistry = 
  9. {
  10. -- entity_type,name,ID,script_file
  11. --
  12.     {"Player",        "Player",PLAYER_CLASS_ID,"Player/player.lua"},                            --  1
  13.     
  14.     {"",                    "FlagEntity",20,"Others/FlagEntity.lua"},                                        -- 20
  15.     {"",                    "TestCloth",21,"Others/Cloth.lua"},                                                    -- 21
  16.     {"",                    "UnitHighlight",22,"Multiplayer/UnitHighlight.lua"},                -- 22
  17.     {"",                    "Health",23,"Pickups/health.lua"},                                                    -- 23
  18.     {"",                    "Armor",24,"Pickups/armor.lua"},                                                        -- 24
  19.     {"",                    "ClassAmmoPickup",25,"Pickups/ClassAmmoPickup.lua"},                 -- 25
  20.     {"",                    "PickupFlashlight",26,"Pickups/PickupFlashlight.lua"},             -- 26
  21.     
  22.     -- weaponpickups
  23.     {"Pickup",        "PickupFalcon",27,"Pickups/PickupFalcon.lua"},                             -- 27
  24.     {"Pickup",        "PickupAG36",28,"Pickups/PickupAG36.lua"},                                     -- 28
  25.     {"Pickup",        "PickupMP5",29,"Pickups/PickupMP5.lua"},                                         -- 29
  26.     {"Pickup",        "PickupMachete",30,"Pickups/PickupMachete.lua"},                         -- 30
  27.     {"Pickup",        "PickupShotgun",31,"Pickups/PickupShotgun.lua"},                         -- 31 
  28.     {"Pickup",        "PickupSniperRifle",32,"Pickups/PickupSniperRifle.lua"},         -- 32
  29.     {"Pickup",        "PickupOICW",33,"Pickups/PickupOICW.lua"},                                     -- 33
  30.     {"Pickup",        "PickupRL",34,"Pickups/PickupRL.lua"},                                             -- 34
  31.     {"Pickup",        "PickupP90",35,"Pickups/PickupP90.lua"},                                         -- 35
  32.     {"Pickup",        "PickupM4",36,"Pickups/PickupM4.lua"},                                             -- 36
  33.     {"Pickup",        "PickupShocker",37,"Pickups/PickupShocker.lua"},                         -- 37
  34.     {"Pickup",        "PickupWrench",38,"Pickups/PickupWrench.lua"},                             -- 38
  35.     {"Pickup",        "PickupM249",39,"Pickups/PickupM249.lua"},                                     -- 39
  36.     
  37.     -- projectiles
  38.     {"Projectile","Rocket",50,"Weapons/Rocket.lua"},                                                    -- 50
  39.     {"Projectile","Grenade",51,"Weapons/Grenade.lua"},                                                -- 51 - might be legacy - HandGrenade is used as replacement
  40.     {"Projectile","OICWGrenade",52,"Weapons/OICWGrenade.lua"},                                -- 52
  41.     {"Projectile","SmokeGrenade",53,"Weapons/SmokeGrenade.lua"},                            -- 53
  42.     {"Projectile","HandGrenade",54,"Weapons/HandGrenade.lua"},                                -- 54
  43.     {"Projectile","FlareGrenade",55,"Weapons/FlareGrenade.lua"},                            -- 55
  44.     {"Projectile","FlashbangGrenade",56,"Weapons/FlashbangGrenade.lua"},            -- 56
  45.     {"Projectile","GlowStick",57,"Weapons/GlowStick.lua"},                                        -- 57
  46.     {"Projectile","Rock",58,"Weapons/Rock.lua"},                                                            -- 58
  47.     {"Projectile","MutantRocket",59,"Weapons/MutantRocket.lua"},                            -- 59
  48.     {"Projectile","MortarShell",60,"Weapons/MortarShell.lua"},                                -- 60
  49.     {"Projectile","AG36Grenade",61,"Weapons/AG36Grenade.lua"},                                -- 61
  50.     {"Projectile","StickyExplosive",62,"Weapons/StickyExplosive.lua"},                -- 62
  51.     {"Projectile","VehicleRocket",63,"Weapons/VehicleRocket.lua"},                        -- 63
  52.     
  53.     -- players
  54.     {"Player",        "MercCover",    71,"AI/MercCover.lua"},                                                -- 71
  55.     {"Player",        "MercScout",    72,"AI/MercScout.lua"},                                                -- 72
  56.     {"Player",        "MercRear",    73,"AI/MercRear.lua"},                                                    -- 73
  57.     {"Player",        "NPC",        74,"AI/NPC.lua"},                                                                    -- 74
  58.     {"Player",        "Grunt",    75,"AI/Grunt.lua"},                                                                -- 75
  59.     {"Player",        "MutantCover",    76,"AI/MutantCover.lua"},                                        -- 76
  60.     {"Player",        "MutantRear",    77,"AI/MutantRear.lua"},                                            -- 77
  61.     {"Player",        "MutantBezerker",78,"AI/MutantBezerker.lua"},                                -- 78
  62.     {"Player",        "MutantMonkey",    79,"AI/MutantMonkey.lua"},                                    -- 79
  63.     {"Player",        "Pig",        80,"AI/Pig.lua"},                                                                    -- 80
  64.     {"Player",        "MutantScout",    81,"AI/MutantScout.lua"},                                        -- 81
  65.     {"Player",        "Worm",        82,"AI/Worm.lua"},                                                                -- 82
  66.     {"Player",        "MercSniper",    83,"AI/MercSniper.lua"},                                            -- 83
  67.     {"Player",        "Shark",    84,"AI/Shark.lua"},                                                                -- 84
  68.  
  69.     -- vehicles related - wreck pieces, windows ---------------------------------
  70.     
  71.     {"",                    "Piece",88,"Others/piece.lua"},                                                            -- 88
  72.     {"",                    "BreakableObject",89,"Others/BreakableObject.lua"},                    -- 89
  73.     
  74.     -- vehicles -----------------------------------------------------------------
  75.     
  76.     {"Vehicle",        "Boat",        90,"Vehicles/boat.lua"},                                                    -- 90
  77.     {"Vehicle",        "FWDVehicle",    91,"Vehicles/fwdvehicle.lua"},                                -- 91 
  78.     {"Vehicle",        "Buggy",    92,"Vehicles/Buggy.lua"},                                                    -- 92 
  79.     {"Vehicle",        "InflatableBoat",    93,"Vehicles/inflatableboat.lua"},                -- 93 
  80.     {"Vehicle",        "Bigtrack",    94,"Vehicles/Bigtrack.lua"},                                        -- 94
  81.     {"Vehicle",        "Paraglider",    95,"Vehicles/Paraglider.lua"},                                -- 95 
  82.     {"Vehicle",        "Forklift",    96,"Vehicles/Forklift.lua"},                                        -- 96
  83.     {"Vehicle",        "BoatPatrol",99,"Vehicles/BoatPatrol.lua"},                                    -- 99
  84.  
  85.     -----------------------------------------------------------------------------
  86.  
  87.     {"",                "AdvCamSystem",ADVCAMSYSTEM_CLASS_ID,""},                                            -- 97
  88.     {"",                "Spectator",SPECTATOR_CLASS_ID,"Player/Spectator.lua"},                -- 98
  89.     
  90.  
  91.     -- All Other classes -----------------------------------------------------------
  92.  
  93.     { "",    "CargoChopper",    101,    "AI/CargoChopper.lua" },
  94.     { "",    "Gunship",    102,    "AI/Gunship.lua" },
  95.     { "",    "SoundSupressor",    103,    "AI/SoundSupressor.lua" },
  96.     { "",    "CreatureGenerator",    104,    "AI/CreatureGenerator.lua" },
  97.     { "",    "MountedWeaponMG",    105,    "Weapons/MountedWeaponMG.lua" },
  98.     { "",    "MountedWeaponMortar",    106,    "Weapons/MountedWeaponMortar.lua" },
  99.     { "",    "MountedWeaponVehicle",    107,    "Weapons/MountedWeaponVehicle.lua" },
  100.     { "",    "Birds",    108,    "Boids/Birds.lua" },
  101.     { "",    "Fish",    109,    "Boids/Fish.lua" },
  102.     { "",    "Bugs",    110,    "Boids/Bugs.lua" },
  103.     { "",    "AutomaticDoor",    111,    "Doors/AutomaticDoor.lua" },
  104.     { "",    "AutomaticDoor1Piece",    112,    "Doors/AutomaticDoor1Piece.lua" },
  105.     { "",    "Door",    113,    "Doors/Door.lua" },
  106.     { "",    "AutomaticElevator",    114,    "Elevators/AutomaticElevator.lua" },
  107.     { "",    "Ladder",    115,    "Elevators/ladder.lua" },
  108.     { "",    "FlyingFox",    116,    "Elevators/FlyingFox.lua" },
  109.     { "",    "CameraSource",    117,    "Others/CameraSource.lua" },
  110.     { "",    "CameraTargetPoint",    118,    "Others/CameraTargetPoint.lua" },
  111.     { "",    "DynamicLight",    119,    "Lights/DynamicLight.lua" },
  112.     { "",    "FrogMine",    120,    "Mines/FrogMine.lua" },
  113.     { "",    "ProximityMine",    121,    "Mines/ProximityMine.lua" },
  114.     { "",    "AreaMine",    122,    "Mines/AreaMine.lua" },
  115.     { "",    "CAHFlag",    123,    "Multiplayer/CAHFlag.lua" },
  116.     { "",    "CTFFlag",    124,    "Multiplayer/CTFFlag.lua" },
  117.     { "",    "HealingPoint",    125,    "Multiplayer/HealingPoint.lua" },
  118.     { "",    "ASSAULTCheckPoint",    126,    "Multiplayer/ASSAULTCheckPoint.lua" },
  119.     { "",    "BuildPoint",    127,    "Multiplayer/BuildPoint.lua" },
  120.     { "",    "Phoenix",    128,    "Multiplayer/Phoenix.lua" },
  121.     { "",    "CurrentMission",    129,    "Multiplayer/CurrentMission.lua" },
  122.     { "",    "AnimObject",    130,    "Others/AnimObject.lua" },
  123.     { "",    "RigidBody",    131,    "Others/RigidBody.lua" },
  124.     { "",    "Rotator",    132,    "Others/Rotator.lua" },
  125.     { "",    "DestroyableObject",    133,    "Others/DestroyableObject.lua" },
  126.     { "",    "Rope",    134,    "Others/rope.lua" },
  127.     { "",    "Radio",    135,    "Others/Radio.lua" },
  128.     { "",    "TV",    136,    "Others/TV.lua" },
  129.     { "",    "RaisingWater",    137,    "Others/RaisingWater.lua" },
  130.     { "",    "BuildableObject",    138,    "Others/BuildableObject.lua" },
  131.     { "",    "Capture",    139,    "Others/capture.lua" },
  132.     { "",    "GameEvent",    140,    "Others/GameEvent.lua" },
  133.     { "",    "SwivilChair",    141,    "Others/SwivilChair.lua" },
  134.     { "",    "AICrate",    142,    "Others/AICrate.lua" },
  135.     { "",    "HeliStatic",    143,    "Others/HeliStatic.lua" },
  136.     { "",    "DeadBody",    144,    "Others/DeadBody.lua" },
  137.     { "",    "DamageArea",    145,    "Others/DamageArea.lua" },
  138.     { "",    "BasicEntity",    146,    "Others/BasicEntity.lua" },
  139.     { "",    "ChainSwing",    147,    "Others/chain.lua" },
  140.     { "",    "SwingingObject",    148,    "Others/SwingingObject.lua" },
  141.     { "",    "ProximityDamage",    149,    "Others/ProximityDamage.lua" },
  142.     { "",    "ShootTarget",    150,    "Others/ShootTarget.lua" },
  143.     { "",    "Pusher",    151,    "Others/Pusher.lua" },
  144.     { "",    "ParticleSpray",    152,    "Particle/ParticleSpray.lua" },
  145.     { "",    "ParticleEffect",    153,    "Particle/ParticleEffect.lua" },
  146.     { "",    "AmmoPistol",    154,    "Pickups/AmmoPistol.lua" },
  147.     { "",    "AmmoAssault",    155,    "Pickups/AmmoAssault.lua" },
  148.     { "",    "AmmoShotgun",    156,    "Pickups/AmmoShotgun.lua" },
  149.     { "",    "AmmoSMG",    157,    "Pickups/AmmoSMG.lua" },
  150.     { "",    "AmmoSniper",    158,    "Pickups/AmmoSniper.lua" },
  151.     { "",    "AmmoRocket",    159,    "Pickups/AmmoRocket.lua" },
  152.     { "",    "AmmoHandGrenades",    160,    "Pickups/AmmoHandGrenades.lua" },
  153.     { "",    "AmmoFlashbangGrenades",    161,    "Pickups/AmmoFlashbangGrenades.lua" },
  154.     { "",    "AmmoSmokeGrenades",    162,    "Pickups/AmmoSmokeGrenades.lua" },
  155.     { "",    "AmmoAG36Grenade",    163,    "Pickups/AmmoAG36Grenade.lua" },
  156.     { "",    "AmmoOICWGrenade",    164,    "Pickups/AmmoOICWGrenade.lua" },
  157.     { "",    "KeyCard0",    165,    "Pickups/KeyCard0.lua" },
  158.     { "",    "KeyCard1",    199,    "Pickups/KeyCard1.lua" },
  159.     { "",    "KeyCard2",    200,    "Pickups/KeyCard2.lua" },
  160.  
  161.     { "",    "PickupExplo",    166,    "Pickups/PickupExplo.lua" },
  162.     { "",    "PickupBinoculars",    167,    "Pickups/PickupBinoculars.lua" },
  163.     { "",    "PickupCompass",    168,    "Pickups/PickupCompass.lua" },
  164.     { "",    "PickupHeatVisionGoggles",    169,    "Pickups/PickupHeatVisionGoggles.lua" },
  165.     { "",    "PickupGeneric",    170,    "Pickups/PickupGeneric.lua" },
  166.     { "",    "Checkpoint",    171,    "Pickups/Checkpoint.lua" },
  167.     { "",    "Fog",    172,    "Render/Fog.lua" },
  168.     { "",    "Storm",    173,    "Render/Storm.lua" },
  169.     { "",    "ViewDist",    174,    "Render/ViewDist.lua" },
  170.     { "",    "EnvColor",    175,    "Render/EnvColor.lua" },
  171.     { "",    "BFly",    176,    "Render/BFly.lua" },
  172.     { "",    "Grasshopper",    177,    "Render/Grasshopper.lua" },
  173.     { "",    "RandomAmbientSound",    178,    "Sound/RandomAmbientSound.lua" },
  174.     { "",    "SoundSpot",    179,    "Sound/SoundSpot.lua" },
  175.     { "",    "SoundExclusive",    180,    "Sound/SoundExclusive.lua" },
  176.     { "",    "RandomAmbientSoundPreset",    181,    "Sound/RandomAmbientSoundPreset.lua" },
  177.     { "",    "SoundExclusivePreset",    182,    "Sound/SoundExclusivePreset.lua" },
  178.     { "",    "MusicThemeSelector",    183,    "Sound/MusicThemeSelector.lua" },
  179.     { "",    "MusicMoodSelector",    184,    "Sound/MusicMoodSelector.lua" },
  180.     { "",    "EAXArea",    185,    "Sound/EAXArea.lua" },
  181.     { "",    "EAXPresetArea",    186,    "Sound/EAXPresetArea.lua" },
  182.     { "",    "MissionHint",    187,    "Sound/MissionHint.lua" },
  183.     { "",    "ProximityTrigger",    188,    "Triggers/ProximityTrigger.lua" },
  184.     { "",    "VisibilityTrigger",    189,    "Triggers/VisibilityTrigger.lua" },
  185.     { "",    "AreaTrigger",    190,    "Triggers/AreaTrigger.lua" },
  186.     { "",    "PlaceableExplo",    191,    "Triggers/PlaceableExplo.lua" },
  187.     { "",    "PlaceableGeneric",    192,    "Triggers/PlaceableGeneric.lua" },
  188.     { "",    "DelayTrigger",    193,    "Triggers/DelayTrigger.lua" },
  189.     { "",    "BoatTrampolineTrigger",    194,    "Triggers/BoatTrampolineTrigger.lua" },
  190.     { "",    "ImpulseTrigger",    195,    "Triggers/ImpulseTrigger.lua" },
  191.     { "",    "AITrigger",    196,    "Triggers/AITrigger.lua" },
  192.     { "",    "MultipleTrigger",    197,    "Triggers/MultipleTrigger.lua" },
  193.     { "",    "AISphere",    198,    "AI/AISphere.lua" },
  194.     { "",    "Watch",    201,    "Others/Watch.lua" },
  195.     { "",    "SaveableBasicEntity",    202,    "Others/SaveableBasicEntity.lua" },
  196.     { "",    "ProximityKeyTrigger",    203,    "Triggers/ProximityKeyTrigger.lua" },
  197.     { "",    "AISpeed",    204,    "AI/AISpeed.lua" },
  198.     { "",    "Synched2DTable",    SYNCHED2DTABLE_CLASS_ID,    "multiplayer/Synched2DTable.lua" },                            -- 205 used to syncronize scoreboard in multiplayer
  199.     { "",    "CameraFocus",    206,    "Others/CameraFocus.lua" },
  200. };