Entities

Entities
Entities are various generic components that make up an entire map.

Entities are unspecialized and have multiple functions. Commly, entities are usually triggers but can also be used as spawn points or various quest areas.

There are various entities. Most will only be triggered by the player. These can cause several effects to happen in the map. Some are static. They're just there. Others may require the support of several other entities to make the main entity function. An example is a door swich will, when used, trigger a door opening entity.

Some entities can work without any player or environmental assistance. Certain teleporters and turrets are always active and cannot be deactivated through normal methods.

Lugormod has several new entities which change the total gameplay experience. Lugormod entities will usually interact with the player in some form or another. Usually to convay Credits, Items or important information.

Entities are rather easy to manipulate. Most of the community has taken up the name of builders. Builders specialize in entity manipulation. Using various functions to add elements or even completly revamp the map. Useful information about entities will be posted here.

More to come....

~Siebe 22:41, March 5, 2011 (UTC)

Entity Guide by iMp

U# 2.0 Entity Guide Key Chart: * = triggerable. ** = can be targeted to work. Or has to be. *** = doesn't need to be targeted/triggered to work. (L) = Entity was created or edited by either lugor/phred info_player_deathmatch ** Description: A spawn point for players and/or bots. Used when a player enters game or after he/she dies. Keys: nobots - bots cannot spawn using this spawnpoint when set to 1. nohumans - humans cannot spawn using this spawnpoint when set to 1. target - fired every time a person spawn using this spawnpoint. angle(s) - angle to face when using this spawnpoint. Example: /place info_player_deathmatch 12 info_player_jail ** Description: Lugormod jail spawn point. Used when admin does /jail [playerName] [time] Keys: angle(s) - angle to face when using this spawn point. Example: /place info_player_jail 12 misc_exploding_crate Description: A model that explodes when attacked or triggered. Causes damage to nearby entities, including players. Keys: dmg - damage to give when used. splashradius - damage radius around the origin of the entity splashdamage - splash damage to give inside the splashradius model - md3 model to draw (default: exploding crate) Example: /place misc_exploding_crate 0 misc_model_breakable *(L) Description: A model that can be modified according to its spawnflags to become solid/nonsolid, animated, explosive, usable, payable. Spawnflags: 1 - Spawn the model with a solid bounding box. Boundary can be modified by the Keys maxs and mins. 2 - Cycle its animation (if it has one.) 4 - Bounding Box will be there even when destroyed. 8 - Doesn't display damage model when destroyed (if it had one.) 16 - No smoke when used or destroyed. 32 - When used, will toggle to it's usemodel (model + "_u1.md3"). Requires spawnflags 64. 64 - When used it will not break. 128 - Players can use this. 256 - No Explosion. 512 - Starts deactivated. (see target_activate/target_deactivate) 8192 - Payable button. Use count key to set price and message key to print information. Keys: level - usable/triggerable only by players bellow(level,-#) or above(level,#) a set level. profession - usable/triggerable only by players with this profession number. -1 = none; 1 = jedi; 2 = merc. adminlevel - usable/triggerable only by players with this admin level or higher. playerflags - usable/triggerable only by players with this number of flags. (see lmd_flagplayer) property: usable/triggerable only by players in the property list. customskill: The name of the skill to check. (see lmd_customskill) customskillvalue: The value to compare to. customskillcompare: Comparison type. -1 for direct compare (or text string), 0 for greater or equal to, 1 for less than. Default of 0. usescript - the script to use. parm1 - the movement distance for a movable model to move to, requires "usescript,common/switch_on". parm2 - the time to wait in milliseconds before moving again after reaching parm1. count - when spawnflags are set to 8192, this is the amount you must "/pay" to fire its target. message - message to print when the button is used. gravity - set to 1 to make the model pushable and pullable. target - what to fire at when used. targetname - a name to trigger this entity. model - the md3 model to draw. modelscale - size scale factor for the model. Range allowed 0.01 - 10.25 Example: /place misc_model_breakable 0 model,models/map_objects/factory/f_con1,spawnflags,8193,message,Pay to open Door!,count,20,target,entranceDoor, misc_bsp ** Description: Places a .bsp as brush model. Requires map restart via /newmap [map name] to appear. (save before restart) Keys: bspmodel - the map .bsp you want to place (/dir maps .bsp to see a list.) Example: /place misc_bsp * bspmodel,t1_inter,angle,180,origin,21337 21337 21337 misc_ammo_floor_unit Description: Gives generic ammo when used Can be Granted a targetname to be used by another entity Keys: count - max charge value (default 200) chargerate - recharge 1 point every this many milliseconds (default 2000) nodrain - don't drain power from station if 1 model - the md3 model to draw, must include the extension ".md3" at the end of the model value for this to work targetname - make the trigger target this value for the entity to be used Example: /place misc_ammo_floor_unit 0 nodrain,1, misc_shield_floor_unit Description: Gives generic shield when used can also be granted a targetname Keys: count - max charge value (default 50) chargerate - recharge 1 point every this many milliseconds (default 3000) nodrain - don't drain power from me    model - the md3 model to draw, must include the extension ".md3" at the end of the model value for this to work targetname - make the trigger target this value for the entity to be used Example: /place misc_shield_floor_unit 0 nodrain,1, misc_model_health_power_converter * Description: Gives health when used. Also can be targeted when given a targetname. Keys: health - the amount of health given when used (default 60) model - the md3 model to draw, must include the extension ".md3" at the end of the model value for this to work, the hitbox will not change, it is hard coded into the entity code. targetname - make the trigger target this value for the entity to be used Example: /place misc_model_health_power_converter 0 misc_weapon_shooter ** Description: fires weapon projectiles when used. Spawnflags: 1 - fire the alt-fire of the chosen weapon 2 - keep firing until used again (fires at intervals of "wait") Keys: wait - debounce time between refires (defaults to 500) target - what to aim at (will update aim every frame if it's a moving target, so if you target it at a door, it will always shoot the door, even if the door moves) weapon - specify the weapon to use (default is WP_BLASTER) Some of these are unstable, or will shut down the server when used, careful with them. targetname - make the trigger target this value for the entity to be used WP_BRYAR_PISTOL WP_BLASTER WP_DISRUPTOR WP_BOWCASTER WP_REPEATER WP_DEMP2 WP_FLECHETTE WP_ROCKET_LAUNCHER WP_THERMAL WP_TRIP_MINE WP_DET_PACK WP_STUN_BATON WP_EMPLACED_GUN WP_BOT_LASER WP_TURRET WP_ATST_MAIN WP_ATST_SIDE WP_TIE_FIGHTER WP_RAPID_FIRE_CONC WP_BLASTER_PISTOL Example: /place misc_weapon_shooter * weapon,WP_TURRET,target,*66,spawnflags,2, misc_camera ** Description: A working camera that is similar to the single player camera system. the player is noclipped and teleported and frozen at the camera location, and a fake model is left behind where he was. Any damage given to the fake model is passed onto the player. The entity spawns a camera model by default at the origin/angle of the entity. You can turn off the model by setting model,null, Keys: wait - time between the user being able to fire its targets by attacking. Defaults to 1 second. target2 - when the user attacks, target3 - fire when the user alt-attacks. model - The model to draw instead of the default camera model. targetname - make the trigger target this value for the entity to be used Example: /place misc_camera 500 targetname,cammy, misc_portal_surface *** Description: The portal surface nearest this entity will show a view from the targeted misc_portal_camera, or a mirror view if not targeting anything. This must be within 64 world units of the surface! Example: /place misc_portal_surface 0 target,cam_portal, misc_portal_camera ** Description: The target for a misc_portal_surface. You can set either angles or target another entity to determine the direction of view, like info_notnull or target_position. Keys: roll - an angle modifier to orient the camera around the target vector Spawnflags: 1 - slowly rotates 2 - rotates fast 4 - doesn't rotate Example: /place misc_portal_camera 0 target,cam_pos,targetname,cam_portal,spawnflags,4,roll,270, misc_skyportal *** Description: Will take a snapshot of wherever you place one of these and put it in the sky. The snapshot is a whole 360 around the origin of this entity, place on on the map and look at the sky. You Will Need To Use The misc_skyportal_orient entity to change an angle Keys: fov - for the skybox default is 80 Example: /place misc_skyportal 0 misc_skyportal_orient *** Description: point from which to orient the sky portal cam in relation to the regular view position. Keys: modelscale - the scale at which to scale positions misc_turretG2 **(L) Description: Spawns a turret that will fire at a person Spawnflags: 1 - Turret will start off and toggle turning on and off when used, requires the entity to have a targetname 2 - Turret will be upside-down (with foot part on floor). 4 - will respawn after being killed (use count) 8 - Big-ass, Boxy Death Star Turbo Laser version (yes this is a direct quote from ravensofts notes) 16 - Turret will aim in front of the enemy, or lead the entity, increases chance to hit. 32 - Turret will appear on radar. 64 - Target Fighters (I Believe This Means Air Vehicles) 128 - Target Ground Vehicles 256 - Target Players Who Are Armed 512 - If set, turret will only attack players who fit the profession/level/maxlevel Keys (By default people on property list are not attacked). Keys: property - The turret will ignore players who fit the Keys. level - The turret will ignore players who fit the Keys. authlevel - The turret will ignore players who fit the Keys. maxlevel - The turret will ignore players who fit the Keys. profession - The turret will ignore players who fit the Keys. radius - Maximum distance of targeting enemies (default 512). wait - Time to wait between firing (default 150 ms). dmg - Damage per shot (default 5). health - Hit points of the turret (default 100). count - Time to wait before respawning paintarget - In the words of Lugor: target to fire off upon being hurt painwait - In the words of Lugor: ms to wait between firing off pain targets random - Random value (in degrees) of aiming off target when firing at targets (default 2) shotspeed - Speed of the projectile the Turret fired (default is for 1100 regular Turrets, or 20000 for Turbo-Laser Turrets) splashDamage - How much the damage the explosion does splashRadius - How far the explosion will reach targetname - Name to be used if using a switch to activate or deactivate. target - Target to activate upon being destroyed (E.g. Opening a door when turret is destroyed) target2 - Target to activate upon firing at targets showhealth - Will show health when person aims at the turret, if this has the value "1" customscale - Custom scaling, 100 is default, 1024 is maximum, watch out with this Example: /place misc_turretG2 0 spawnflags,265,health,2000000, misc_faller ** Description: Drops stormtroopers continuously. Each storm trooper becomes a new temporary entity Keys: targetname - will only spawn when used interval - spawn every these milliseconds. fudgefactor - random number of milliseconds added to interval. Example: /place misc_faller 200 interval,1000,fudgefactor,200, misc_slotmachine *(L) Description: An in game slot machine, 1 entity thats all it takes. Accepts /pay command with numbers from 10 - 200 all numbers have to be by 10, ex /pay 50. Keys: count - the starting credit the machine comes with, once the total credit hits 0 the machine will say its out of credits when used. Example: /place misc_slotmachine 0 count,5000, trigger_push * Description: Point this to a target_position or info_notnull to indicate push destination. This will be client side predicted, unlike target_push Spawnflags: 1 - Only a player can trigger this 2 - Every 1 second, it will check to see if it can trace to the target_position, if it can, the trigger is touchable, if it can't, the trigger is not touchable 4 - Instead of tossing the client at the target_position, it will push them towards it. Must set a "speed" 8 - Only a NPC can trigger this 16 - instead of pushing you in a direction that is always from the center of the trigger to the target_position, it pushes *you* toward the target position, relative to your current location (can use with "speed"... if don't set a speed, it will use the distance from you to the target_position) 32 - acts like a conveyor belt, will only push if player is on the ground ( should probably use RELATIVE also, if you want a true conveyor belt ) 128 - not active until targeted by a target_activate 256 - multiple entities can touch this trigger in a single frame *and* if needed, the trigger can have a wait of > 0 Keys: wait - how long to wait between pushes: -1 = push only once speed - when used with the spawnflag 4, pushes the client toward the position at a constant speed (default is 1000) trigger_lightningstrike *, ** Description: A trigger that will generate random lightning strikes inside it. Lighting can do damage, if used it will target on/off Spawnflags: 1 - Start off, must be used to turn on Keys: lightningfx - effect to use for lightning, MUST be specified wait - Seconds between strikes, 1000 default random - wait variance, default is 2000 dmg - damage on strike (default 50) radius - if non-0, does a radius damage at the lightning strike impact point (using this value as the radius). otherwise will only do line trace damage. default 0. targetname - make the trigger target this value for the entity to be used, this entity is togglable so using this targetname makes it turn off and on. Example: /place trigger_lightningstrike 0 mins,-200 -400 0,maxs,200 400 800,spawnflags,1,wait,300,dmg,99,targetname,lightning, trigger_multiple * Description: The entity considered as the engine to make most events happen in lugormod. Spawnflags: 1 - only a player can trigger this by touch, makes it so a NPC cannot fire a trigger_multiple 2 - Won't fire unless triggering ent's view angles are within 45 degrees of trigger's angles (in addition to any other conditions), so if you want the player to only be able to fire the entity at a 90 degree angle you would do ",angles,0 90 0," into your spawnstring. 4 - Won't fire unless player is in it and pressing use button (in addition to any other conditions), you must make a bounding box,(max\mins) for this to work. 8 - Won't fire unless player/NPC is in it and pressing fire button, you must make a bounding box,(max\mins) for this to work. 16 - only non-player NPCs can trigger this by touch 128 - Start off, has to be activated by a target_activate to be touchable/usable 1024 - multiple players can trigger the entity at the same time Keys: property: this entity will only work for people with access to the property set here customskill (see lmd_customskill for details): The name of the skill to check. customskillcompare: Comparison type. -1 for direct compare (use this for text), 0 for greater or equal to, 1 for less than. Default of 0. customskillvalue: The value to compare to. message - the message to display when used playerflags - gives access to this entity for players who have this set ammount of flags, see lmd_flagplayer for more information wait - Seconds between triggerings, 0 default, number < 0 means one time only. level - Person must be a certain level to use this adminlevel - Person must be a certain adminlevel to use this random - wait variance, default is 0 delay - how many seconds to wait to fire targets after tripped target - what to fire at, if there is a bounding box it will fire this when the player enters the box target2 - the second target to fire at, fires after the first target, if the entity has a bounding box it will fire this when the thing that triggered it leaves the bounding box speed - How many seconds to wait to fire the target2, default is 1, set it to -1 for it to fire both targets at once usetime - If specified (in milliseconds) along with spawnflags 4, will require a client to hold the use key for x amount of ms before firing. Also known as the hack you use on stash depo's. Default is 10000. model - the model for the size of the bounding box targetname - make the trigger target this value for the entity to be used Example: /place trigger_multiple 0 mins,-100 -5 0,maxs,100 5 200,spawnflags,2,angles,0 90 0,target,house_message,target2,house_lights,wait,3,speed,-1, /place trigger_multiple 0 mins,-100 -5 0,maxs,100 5 200,target,kill_npc,spawnflags,16, /place trigger_multiple 0 mins,-15 -15 0,maxs,15 15 45,spawnflags,4,usetime,10000,target,free_cash, trigger_once * Description: a trigger multiple, but it automatically sets the wait key to -1, meaning once its used it can never be used again that game Spawnflags: 1 - only a player can trigger this by touch, makes it so a NPC cannot fire a trigger_multiple 2 - Won't fire unless triggering ent's view angles are within 45 degrees of trigger's angles (in addition to any other conditions), so if you want the player to only be able to fire the entity at a 90 degree angle you would do ",angles,0 90 0," into your spawnstring. 4 - Won't fire unless player is in it and pressing use button (in addition to any other conditions), you must make a bounding box,(max\mins) for this to work. 8 - Won't fire unless player/NPC is in it and pressing fire button, you must make a bounding box,(max\mins) for this to work. 16 - only non-player NPCs can trigger this by touch 128 - Start off, has to be activated by a target_activate to be touchable/usable 256 - THIS IS INCORRECTMultiple Entities Can Touch This Keys: property: this entity will only work for people with access to the property set here customskill (see lmd_customskill for details): The name of the skill to check. customskillcompare: Comparison type. -1 for direct compare (use this for text), 0 for greater or equal to, 1 for less than. Default of 0. customskillvalue: The value to compare to. message: Message to display when used. playerflags - gives access to this entity for players who have this set ammount of flags, see lmd_flagplayer for more information level - Person must be a certain level to use this adminlevel - Person must be a certain adminlevel to use this random - wait variance, default is 0 delay - how many seconds to wait to fire targets after tripped target - what to fire at, if there is a bounding box it will fire this when the player enters the box usetime - If specified (in milliseconds) along with spawnflags 4, will require a client to hold the use key for x amount of ms before firing. Also known as the hack you use on stash depo's. Default is 10000. model - the model for the size of the bounding box targetname - make the trigger target this value for the entity to be used Example: /place trigger_once 0 mins,-50 -50 0,maxs,50 50 50,target,t232, trigger_teleport * First step of making a teleport. The bounding box area of a teleport, should target a target_teleporter. You don't need to use this entity, you can also use trigger_multiple. This works better if you wish to have a NPC_vehicle go threw a teleport. Keys: target - must be a target_teleporter entity Spawnflags: 1 - only spectators can teleport using this 2 - don't teleport players if they are in a duel Example: /place trigger_teleporter 0 mins,-15 -15 0,maxs,15 15 50,target,enter_bar, trigger_hurt * Any player that touches this will be hurt. Targeting the trigger will toggle its on / off state. Spawnflags: 1 - The entity will start in its off state 2 - Can Be Targeted 4 - Suppresses playing the sound 8 - Nothing Can Stop Damage 16 - Changes the damage rate to once per second Keys: dmg - The damage to hurt the player per second, The default is 5, If you set it to -1, it will make the player have a fall effect as if they are falling down a hill. model - the model for the size of the bounding box, same thing as using a bounding box, but use an existing bmodel targetname - make the trigger target this value for the entity to be used, when used it will turn off and on Example: /place trigger_hurt 0 mins,-500 -500 0,maxs,500 500 200,dmg,-1,targetname,hole_die, trigger_space * Removes gravity from players and makes them suffocate. Does not affect vehicles that have the player inside them. This must have a bounding box (max/mins) to work. Keys: model - the model for the size of the bounding box, same thing as useing a bounding box, but use an existing bmodel Example: /place trigger_space 0 mins,-20 -20 0,maxs,20 20 50,targetname,space, trigger_shipboundary * Causes vehicle to turn towards a target and travel in that direction for a set time when hit. Needs to have a bounding box(maxs/mins) to work. Best if you make it target an target_position. Keys: target - name of entity to turn toward traveltime - time to travel in this direction model - the model for the size of the bounding box, same thing as using a bounding box, but use an existing bmodel Example: /place trigger_shipboundary 0 mins,-2000 -2000 0,maxs,2000 2000 3000,target,ship_turnaround,traveltime,10, trigger_hyperspace * Ship will turn to face the angles of the first target, which should be target_position Then fly forward, playing the hyperspace effect, then pop out at a relative point around the target2 which should also be a target_position. Keys: target Ã± supposed to face the origin of where this entity is located, use target_position target2 Ã± supposed to head towards the origin of where this entity is placed, used target_position model - the model for the size of the bounding box, same thing as using a bounding box, but use an existing bmodel Example: /place trigger_hyperspace 0 mins,-500 -1 0,maxs,500 1 0,target,pos_angle,target2,pos_end, target_level_change ** Description: changes the map to whatever you specify when this entity gets used. Keys: mapname - map to change to when used Example: /place target_level_change * targetname,changemap,mapname,t2_trip target_position ** Description: Only exists for the sole purpose of having stuff aim at it, like misc_weapon_shooters, effects, tele's, trigger_push, misc_portal_camera ect. Keys: targetname - make the trigger target this value for the entity to be used Example: /place target_position 60 targetname,blaster_fire_spot, target_push ** Description: Gets used by something targeting this, it will push the activator in the direction of its target, which should be a target_position or something. Spawnflags: 1 - play bounce noise 2 - will push activator in direction of 'target' at constant 'speed', speed does need to be set for this to work Keys: speed - speed to push activator, defaults to 1000 target_powerup ** Description: Sets a powerup to the player. Keys: powerup: use this key to set one of the following flags below targetname - make the trigger target this value for the entity to be used Powerup flags: 0 - nothing 1 - multiply the damage by the value in the cvar g_quadfactor 2 - protection from lava/acid, and protects from all radius damage (but takes knockback). also absorbs 50% of all damage 3 - force pull effect 4 - red team flag 5 - blue team flag 6 - not used, lugor uses this for the glow-around-the-player stash effect 7 - singleplayer shield damage effect. t2 uses this for the bodyshield uitem 8 - for the dodge effect (sniper fire while your using force sense on a higher level (preferably 3 or higher, will not work if they shoot at your feet, only at your head or torso)    9 - despite its name, this is a force push effect (like PW_PULL, exept the other way around)     10 - force speed effect     11 - cloaking effect (this does NOT make npcs ignore you by itself, notarget is set by the game code when you use the cloaking item)     12 - force enlightenment     13 - force dark enlightenment     14 - Force Boon     15 - The ysalarimi Example:     /place target_powerup * targetname,ysalarimi,powerup,15, target_remove_powerups * Description:     Removes powerups from player Keys:     targetname - make the trigger target this value for the entity to be used  Example:     /place target_remove_powerups * targetname,remove_powerup target_teleporter * Description:     This teleports the player when used. Does not need a trigger_teleport, the same thing as misc_teleporter_dest, which isnt listed. Use angle or angles Keys to change the direction that you teleport in. Keys: targetname - make the trigger target this value for the entity to be used Spawnflags: 1 - Do not teleport player if they are in a duel. Example: /place target_teleporter 12 targetname,enter_bar,angle,90, target_delay ** Description: This is a great entity for making an entity not fire its target right away, instead it waits the amount of time you set with the "wait" key to fire its target. Spawnflags: 1 - Keeps the delay from resetting the time if it is    activated again while it is counting down to an event. Keys: wait - Seconds to pause before firing targets random - delay variance, total delay = delay +/- random seconds. targetname - make the trigger target this value for the entity to be used target - what to fire at when the delay time is hit Example: /place target_delay * wait,3,target,ship_spawn,targetname,ship_delay, target_speaker ** Description: This entity will play a sound that you specify in a certain radius. Spawnflags: 1 - Makes the sound start On. Also loops the sound when complete. 2 - Makes the sound start Off. 4 - Everybody on the entire map can hear the sound. 8 - Only the activator can hear the sound. Keys: noise - wav file to play wait - Seconds between auto triggerings, 0 = don't auto trigger random - Wait variance, default is 0 targetname - make the trigger target this value for the entity to be used Example: /place target_speaker 50 spawnflags,1,noise,sound/ambience/narshaddaa/cantina_1.mp3, target_print ** Description: This will print a message across the screen. Basically the same as the announce command. If no spawnflag is set, it will make the print global. Spawnflags: 1 - Red Team Only 2 - Blue Team Only 4 - Only the person who activated the entity can see the message. 8 - Message will appear at top left corner of the screen 16 - Message will appear in area where chat normally appears Keys: message - text to print wait - don't fire off again if triggered within this many milliseconds ago targetname - make the trigger target this value for the entity to be used Example: /place target_print * spawnflags,4,targetname,bar_text,message,^4No Laming\n ^0In the bar!, target_score ** Description: Adds points to the players score once fired. Spawnflags: 1 - Sets your score to this count when used instead of adding to your score Keys: count - number of points to add, default 1, to the activator. targetname - make the trigger target this value for the entity to be used Example: /place target_score * targetname,negative_points,count,-5, target_kill ** Description: This when targeted will kill the person/npc who fires it. Keys: targetname - make the trigger target this value for the entity to be used Example: /place target_kill * targetname,kill - Kinda self-explanatory, but when something targets this it will kill its activator. target_counter **(L) Description: You have to use this entity a specified amount of times for it to fire at its target, the default is 2 times ravensoft made it so it will deactivate after it gets hit a certain amount of times, but if you set a bouncecount at -1 the entity will keep on being able to be used. Spawnflags: 1 - Start Inactive, must be hit by a target_activate to be able to be used. Keys: target - what to first fire at when the entity as been hit a certain amount of times. target2 - fires this every time you target the entity and it isnt at its count count - the amount of times to be hit for firing its target, default is 2, bounceCount - set this at -1 so the entity will never stop working, otherwise after the first use it will stop working, if you set bouncecount to 5 then after the fifth use it will stop working. targetname - make the trigger target this value for the entity to be used Example: /place target_counter * targetname,double_NPC_counter,target,dead_NPCS,count,2,bounceCount,-1, target_random ** Description: Randomly fires off only one of it's targets each time used, does the exact same thing as the target_relay with the random spawnflag it doesn't have a target2, target3, target4, target5, target6 function just set one target and multiple entities with that targetname. It will only fire one of them. Spawnflags: 1 - only be usable once, then disable itself Keys: targetname - make the trigger target this value for the entity to be used target - should target more than one entity, it will only fire at one of its targets. Example: /place target_random * targetname,random_reward,target,random_credits /place target_credits * targetname,random_credits,count,2, /place target_credits * targetname,random_credits,count,-2, /place target_credits * targetname,random_credits,count,1, /place target_credits * targetname,random_credits,count,5, target_relay **(L) Description: Does nothing but fire at its targets, can fire at up to 6 targets it will fire them all at the same time. Spawnflags 4 - makes the target get fired off randomly, currently this only works for target1. 128 - makes the entity start deactivated Keys targetname - make the trigger target this value for the entity to be used target - the first target to fire target2 - the second target to fire target3 - the third target to fire target4 - the fourth target to fire target5 - the fifth target to fire target6 - the sixth target to fire Example: /place target_relay * targetname,blah,target,light1,target2,light2, target_scriptrunner ** Description: Starts a script once used. Spawnflags: 1 - Will run the script on the entity that used this or tripped the trigger that used this 128 - Will start in the off state. Keys: Usescript - Script to run when used count - how many times to run, -1 = infinite. Default is once wait - can't be used again in this amount of seconds (Default is 1 second if it's multiple-use) delay - how long to wait after use to run script Example: /place target_scriptrunner * targetname,run_script,Usescript,close_door_cinematic,count,1, target_activate **(L) Description: Will set the target(s) to be usable/triggerable It accepts its target(1-6) The activate must first be fired for it to activate its target. Keys: targetname - make the trigger target this value for the entity to be used target - the entity(s) to activate when targeted target2 - the entity(s) to activate when targeted target3 - the entity(s) to activate when targeted target4 - the entity(s) to activate when targeted target5 - the entity(s) to activate when targeted target6 - the entity(s) to activate when targeted Example: /place target_activate * target,the_door,targetname,initial_entity, target_deactivate **(L) Description: Will set the target(s) to not be usable/triggerable It accepts its target(1-6) The activate must first be fired for it to deactivate its target. Keys: targetname - make the trigger target this value for the entity to be used target - the entity(s) to deactivate when targeted target2 - the entity(s) to deactivate when targeted target3 - the entity(s) to deactivate when targeted target4 - the entity(s) to deactivate when targeted target5 - the entity(s) to deactivate when targeted target6 - the entity(s) to deactivate when targeted Example: /place target_deactivate * targetname,tele_area_deact,target,tele_area, target_play_music ** Description: Plays the requested music files when this target is used. You must set the music key when placing this otherwise it will crash the server. Keys: music - directory of to use music WAV or MP3 file targetname - make the trigger target this value for the entity to be used Example: /place target_play_music * targetname,initial_entity,music,music/mp/duel.mp3, target_screenshake ** Description: anyone near this entity has their screen shake around, in T2 it is bugged and always does global Keys: intensity - intensity of the shake duration - how long the shake lasts globalshake - if set to anything > 0, then everyone in the server will have this effect them. targetname - make the trigger target this value for the entity to be used Example: /place target_screenshake * intensity 2000,duration,100,globalshake,1,targetname,shakey, target_laser ** Description: Makes an invisible line between this entity and its target that damages you. Kinda pointless i know. It starts in the off state so you have to use its targetname for it to turn on Keys: targetname - make the trigger target this value for the entity to be used, and turn on    target - make this target a target_position or something, you don't need to do this you can just set angles. Example: /place target_laser 20 target,laser_pos1,targetname,the_laser, target_credits **(L) Description: gives the person who fires this an amount of credits Keys: count - the amount of credits to give the activator random - the amount of credits you want to randomly receive this number is added onto the count, so if your count is 20 and you set this to 10 you will receive anywhere from 20-30 credits targetname - make the trigger target this value for the entity to be used, the person who triggers this will receive the set amount of credits Example: /place target_credits * targetname,credits,count,5,random,20 path_corner ** Description: these are the waypoints for func_train Keys: target - next path corner and other targets to fire speed - speed to move to the next corner, default is 100 wait - seconds to wait before behining move to next corner targetname - make the previus path_corner target this, if it is the first path_corner the func_train needs to target this. If it is the first path corner, the last path_corner needs to also target this. Example: /place path_corner 20 targetname,path_a,target,path_b,wait,5,speed,90, /place path_corner 20 targetname,path_b,target,path_c,wait,5,speed,90, /place path_corner 20 targetname,path_c,target,path_a,wait,5,speed,90, emplaced_gun *** Description: Spawns a turret gun that can be used if your a non jedi profession Spawnflags: 1 - Can Respawn Keys: property: this entity will only work for people with access to the property set here customskill (see lmd_customskill for details): The name of the skill to check. customskillcompare: Comparison type. -1 for direct compare (use this for text), 0 for greater or equal to, 1 for less than. Default of 0. customskillvalue: The value to compare to. playerflags - gives access to this entity for players who have this set ammount of flags, see lmd_flagplayer for more information profession - only a person with this set profession can use this level - only a person with this set level can use this adminlevel - only a person set with this admin level can use this count - if spawnflag 1 is set, decides how long it is before gun respawns (in ms) constraint - number of degrees gun is constrained from base angles on each side (default 60.0) showhealth - set to 1 to show health bar on this entity when cross hair is over it Example: /place emplaced_gun 0 spawnflags,1,count,10000,contraint,45, Item Entities ** Description: (all of these entities have the same Keys) item_shield_sm_instant item_shield_lrg_instant item_medpak_instant item_seeker item_shield item_medpac item_medpac_big item_binoculars item_sentry_gun item_jetpack item_healthdisp item_ammodisp item_eweb_holdable item_seeker item_force_enlighten_light item_force_enlighten_dark item_force_boon item_ysalimari Ammo Entities ** (all of these entities have the same Keys) ammo_thermal ammo_tripmine ammo_detpack ammo_force ammo_blaster ammo_powercell ammo_metallic_bolts ammo_rockets ammo_all Weapon Entities ** (all of these entities have the same Keys) weapon_stun_baton weapon_melee weapon_saber weapon_blaster_pistol weapon_concussion_rifle weapon_bryar_pistol weapon_blaster weapon_disruptor weapon_bowcaster weapon_repeater weapon_demp2 weapon_flechette weapon_rocket_launcher weapon_thermal weapon_trip_mine weapon_det_pack weapon_emplaced Keys: wait - the time to wait before respawning after picked up, if set to -1 it only appears when used. target - target to fire when picked up    targetname - when wait is set to -1 this is what needs to be trigger for the entity to spawn Spawnflags: 1 - if you set this and lets say you put 20 on the z-axis the entity will be floating in the air and wont fall to the ground Example: /place item_force_boon 0 wait,-1,targetname,spawn_boon, lmd_chance * (L) Description: When used, gets a random number between 1 and "count", and will go from "chance" to "chance6" checking if its number is less than or equal to it. Will fire the first target found then stop. count target ... target6 chance ... chance6 lmd_restrict *(L) Description: Restricts the person inside of it by whatever spawnflags are set. Use maxs/mins to set the bounding box. Spawnflags: 1 - Damage restrict, the people inside cannot be inflicted with damage 2 - Restrict Force Powers, people cannot use force inside this area (includes non-offensive force heal/protect etc...) 128 - Start inactive, must be hit by a target_activate entity to become active. Example: /place lmd_restrict 0 mins,-500 -500 0,maxs,500 500 500,spawnflags,3, lmd_stashzone ***(L) Description: A zone to define an area for stashes. Also controls how many stashes can be spawned per zone. A stash may be set to delete itself when removed from its zone. Spawnflags: 1 - start inactive (stashes with no active zone can be taken anywhere). 2 - master zone. Any stash spawns that are outside a zone by their zone key will be affected by the count key of a master zone. Having multiple zones under a single key with this spawnflag is stupid. Keys: targetname - name of this zone. count - number of stashes that can be spawned at once within this zone. This overrides any settings of individual stash spawns. This is per zone entity, so if a stash is brought into another zone of the same name but out of this one, it will no longer count for this zone. Example: /place lmd_stashzone 0 mins,-1200 -1200 -1200,maxs,1200 1200 1200,spawnflags,2,targetname,main_stashzone,count,1, lmd_stashspawnpoint ***(L) Description: Point where stashes spawn. Can be triggered to manually spawn a stash. Multiple stashes can be spawned at once. It is possible to make a stash with 0 credits for the purpose of making it use a target when deposited (see the deposittarget key). A new stash will not spawn if the last one has not been picked up. stash spawn points that have been deactivated will not spawn stashes, although they will still run their spawn timers (they will just not spawn the stash when the timer fires). Important: if you want to use the traditional method of one stash spawning randomly, make sure all stash spawns have a random key, else only one point will spawn stashes. Or just set the spawn time to 0 and use a target_random targeting all the spawn points. Spawnflags: 1 - spawnmessage global: send the spawnmessage to everyone in the server (rather than in the stash zone), if the spawnmessage key is set. 2 - spawnmessage screen print: send the spawnmessage as a screen print, as well as in the console. 4 - pickupmessage global: send the pickup message to everyone in the server (rather than in the stash zone), if the pickupmessage key is set. 8 - pickupmessage screen print: send the pickupmessage as a screen print, as well as in the console. 16 - dropmessage global. 32 - dropmessage screen print. 64 - startdepomessage global. 128 - startdepomessage screen print. 256 - depositmessage global. 512 - depositmessage screen print. 1024 - resetmessage global. 2048 - resetmessage screen print. 4096 - display stash amount: include the credits amount on all stash messages. 8192 - stashes can spawn here even if a stash has been spawned by another spawn within the zone. 16384 - start disabled. Needs to be used by a target_activate to start spawning. 32768 - reset credits shift when dropped. 65536 - Stashes in this zone will respawn at this spawn. If no spawns have this set, stashes will not reset and just delete themselves. 131072 - Delete the stash if it leaves the zone. See zoneexittime and zoneexitmessage Keys. Keys: zone - the lmd_stashzone to connect this stash to. Zones control how many stashes can be spawned at once. Also, this is the area to not let the stash be removed from, if specified. zoneexittime - If enabled by spawnflag, how many seconds to wait before deleting the stash after it leaves the zone. Defaults to 4 zoneexitmessage - If a player has a stash and exits the zone, this message will be displayed along with a countdown timer. Defaults to "You have left the stash zone." profession: profession bitmask of who can use this. minlevel - min level needed to pick this up. maxlevel - any players above this level cannot pick this up. customskill (see lmd_customskill for details): The name of the skill to check. customskillcompare: Comparison type. -1 for direct compare (use this for text), 0 for greater or equal to, 1 for less than. Default of 0. customskillvalue: The value to compare to. property: this entity will only work for people with access to the property set here playerflags - only players with a flag(s) specified here can pick this up. minstashes - players cannot pick this stash up until they have picked up this many stashes (from other spawns). maxstashes - players cannot pick this stash up if they have picked up more than this amount of stashes. name: the name to use for this stash, defaults to "money stash" count: number of stashes that this spawn can have spawned at once. Defaults to 1. If this is set to 0, the stash can be picked up by unregistered players, and will not count as a stash deposit (will not count for the minstashes/maxstashes counter). basedeposittime - time in msecs needed to deposit. lmd_stashdepo can modify this. basedepositrandom - random amount to add to the base deposit time on pickup. Amount added is random between 0 and this number. credits: base credit amount creditsrandom - random amount to add for core credits value. sound: sound to make on pickup. creditshift - credit amount to shift per second. Can be positive (increase worth longer its picked up), or negitive (decrease worth longer its picked up). If the stash amount reaches 0, the stash is reset. creditshiftrandom - random amount to add to offset each credit shift by. creditshifttime - how many seconds to run the shift for. creditshiftdelay - how long to wait before starting the shift. spawntime - time between spawns. Set to 0 to only spawn on use. Defaults to the contents of the cvar lmd_stashrate spawnrandom - random amount between 0 and this to offset the spawn time by. stashtime - after this many seconds after being picked up, make the stash disappear. stashtimerandom - A number between 0 and this will be added to the stash time. spawnmessage - message to send on spawn pickupmessage - message to send to players in the zone when picked up (can be sent to all players by spawnflag) dropmessage - message to send to players in the zone when dropped (can be sent to all players by spawnflag) startdepomessage - message to send to players in the zone when starting deposit (can be sent to all players by spawnflag) depositmessage - message to send to players in the zone when deposited (can be sent to all players by spawnflag) resetmessage - message to send when the stash is deleted due to leaving the zone or timing out. color - color glow to emit when not picked up. Recommend making all stashes in a zone use the same color. light - light intensity to emit when not picked up    pickupcolor - color glow to emit when picked up. Recommend making all stashes in a zone use the same color. pickuplight - light intensity to emit when picked up. model - model to use. Recommend making all stashes in a zone use the same model. user mins/maxs spawntarget - target to use on spawn pickuptarget - target to use on pickup droptarget - target to use on drop startdepotarget - target to use on deposit start deposittarget - target to use on deposit. Example: /place lmd_stashspawnpoint 4 spawnflags,169301,zone,main_stashzone,zoneexitmessage,You're leaving the stashzone.,credits,80,creditsrandom,50,creditshift,-1,creditshiftdelay,60, lmd_stashdepo ***(L) Description: "Bank" You can set deposittime to 0 and have a trigger use this, if you don't want to require the player to use the entity directly. Spawnflags: 1 - no deposit time. Useful if you want to make another non-player entity trigger this 2 - don't display stash status. If set, the terminal will not tell the user if a stash is out when it is used. 4 - don't show up in /stash command. 128 - start deactivated. Must be used by a target_activate to be usable. Keys: zone - only deposit stashes belonging to this zone. stashname - name to refer to the stashes with. Only used for displaying the count of stashes (not used if spawnflag 2 is set). stashnameplural - same as stashname, but if there are more than 1 stashes message: message to print when used without a stash. profession: profession bitmask of who can use this. minlevel - min level needed to pick this up. maxlevel - any players above this level cannot pick this up. minstashes - players cannot pick this stash up until they have picked up this many stashes (from other spawns). maxstashes - players cannot pick this stash up if they have picked up more than this amount of stashes. depotimeoffset - offset to change the stash base deposit time by. Can be negative. Stash deposit time will not go below 0. depotimeoffsetrandom - random shift to change the deposit time by. bonuscredits - get extra credits for depositing here. Can be negitive to remove credits from the stash. Will not remove more credits than the stash has. bonusrandom - random amount to add to bonus credits. startdepomessage - message to add to the bottom of the startdepomessage of the stash. depositmessage - message to add to the bottom of the depositmessage of the stash. startdepotarget - target to use on deposit start deposittarget - target to use on deposit. model: md3 model to draw, uses max/mins too. Example: /place lmd_stashdepo 0 zone,master_stashzone,model,models/map_objects/imperial/control_station,model,models\map_objects\imperial\control_panel.md3, money_dispenser *(L) Description: Spawns a money depo where you can depo stashs at. Example: /place money_dispenser 0 angle,90, random_spot ***(L) Description: when placed, it spawns a spawn point for a stash, one random_spot is used randomly each time a money stash is spawned. Example: /place random_spot 0 lmd_scale **(L) Description: Scales a player when they trigger this to the set count Keys: scale - The scale amount you want the player to be    time - The time it takes for the players scale to be set back to 100. targetname - make the trigger target this value for the entity to be used Example: /place lmd_scale * targetname,scaler,scale,50,time,20, lmd_playercheck ** (L) Description: Entity will fire target if the activator meets the usability Keys Keys: level maxlevel adminlevel profession customskill customskillcompare customskillvalue playerflags targetname target - fire if they meet requirements target2 -fire if they do not meet requirements LMD_spawner **(L)(If no targetname) Description: This entity was implemented by Lugor, it should be able to use any of the Keys provided for npc_spawner and one more, it also allows the NPC to respawn after it has been destroyed. Keys: customscale - scale this npc/vehicle when it spawns. count - ammount of NPCs it is allowed to be on the map at once from this spawn Example: /place LMD_spawner 40 NPC_type,swoop,count,1, lmd_gravity **(L) Description: changes an individual players gravity Spawnflags: 1 - remove the changed gravity flag, so the player uses standard gravity again (use instead of setting it to 800, as gravity will be changed by vehicles if this is the case) 2 - makes the gravity change global, so everyone has the change Keys: count - gravity to change to, note 800 is default time - the time it takes to reset gravity back to normal targetname - make the trigger target this value for the entity to be used Example: /place lmd_gravity * targetname,fatty,count,2000, lmd_pwterminal *(L) Description: The player stands in front of it and types /t2pass if the password is correct it fires its target, if not, then it fires target2 Keys: Profession: A bitmask of professions. Values: 1 - Jedi, 2 - Merc, 4 - Tech. Level: Minimum player level. MaxLevel: Maximum player level. AdminLevel: Minimum admin level. customskill (see lmd_customskill for details): The name of the skill to check. customskillcompare: Comparison type. -1 for direct compare (use this for text), 0 for greater or equal to, 1 for less than. Default of 0. customskillvalue: The value to compare to. property: this entity will only work for people with access to the property set here PlayerFlags: A bitmask of flags set by the lmd_playerflag entity. Model: The model. If the model is a glm model, you need to include the '.glm' extention. You do not need the 'map_objects/' folder in the path. Mins/Maxs: Hitbox data. Both values are vectors containing the x, y, and z sizes from the model's origin. Normally, the Mins data is negitive. If no mins or maxs are specified, then a hitbox is automatically calculated to cover the entire model. Message: Text to show when used. Password: The correct password. Target: Target to fire when correct password is entered. Target2: Target to fire when incorrect password is entered. Target4: Target to fire when any password is given. Example: /place lmd_pwterminal 0 model,models/map_objects/factory/f_con1,target,enter_bar,target2,kill,target3,banana,message,Enter Bar, lmd_toggle **(L) Description: Uses its targets in order until it hits its count, then resets. Keys: target - the first target to fire target2 - the second target to fire target3 - the third target to fire target4 - the fourth target to fire target5 - the fifth target to fire target6 - the sixth target to fire count - the last target to use before resetting to its first target, should be set so if you have three targets the count would be three targetname - make the trigger target this value for the entity to be used Example: /place lmd_toggle * target,red_light,target2,blue_light,target3,green_light,count,3,targetname,light_sequence, lmd_light **(L) Description: Spawns a light on the map, recommended you add a number greater than 0 to the z-axis to see the whole light Keys: color - the red, green, and blue colors of the light On the x y z scale the colors will follow: X - Red Y - Green Z - Blue light - the radius that the light can travel offcolor - same as color, but when the light has been toggled to its 'off' state. If you don't want any light, then leave this at its default (0 0 0) offlight - radius when toggled off (default is 0) targetname - make the trigger target this value for the entity to be used, when used it will toggle to its off state which if not set by default is no light Example: /place lmd_light 0 color,1 0 1,light,500,offcolor,0 1 0,offlight,500,targetname,light, lmd_door **(L) Description: Spawns a model that can be used as a door. If you don't set a targetname the door will have a trigger area and will fire to its open state when you get near it. Spawnflags: 1 - the door to moves to its destination when spawned, and operate in reverse. It is used to temporarily or permanently close off an area when triggered (not useful for touch or take damage doors). 2 - Can be activated by force push/pull but also it can have a targetname 4 - kills the player if the player is stuck between it and a wall, and its moving (it won't reverse it movement when hits the player) 8 - wait in both the start and end states for a trigger event (stay opened until you use it again) 16 - Starts locked, with the shader animmap at the first frame and inactive. Once used, the animmap changes to the second frame and the door operates normally. Note that you cannot use the door again after this. 64 - Player can use it with the use button (you can press it like a button) 128 - must be used by a target_activate before it can be used Keys: model - the md3 model to draw target - Door fires this when it starts moving from it's closed position to its open position. opentarget - Door fires this after reaching its "open" position target2 - Door fires this when it starts moving from it's open position to its closed position. closetarget - Door fires this after reaching its "closed" position targetname - if set, no touch field will be spawned and a remote button or trigger field activates the door. speed - movement speed (100 default) wait - wait before returning (3 default, -1 = never return) delay - when used, how many seconds to wait before moving - default is none dmg - damage to inflict when blocked (2 default, set to negative for no damage) health - if set, the door must be shot open linear - set to 1 and it will move linearly rather than with acceleration (default is 0) team - set it to the same name on two or more doors so they'll open if one of them is used, don't use too long names vehopen - if non-0, vehicles/players riding vehicles can open movement - x y z value, movement direction. movement,0 0 100, will make it move 100 units up. Example: /place lmd_door 0 model,map_objects/factory/catw2_b,speed,90,targetname,door_1,target,deact_button,closetarget,act_button, lmd_propertyterminal *(L) What players can use to fire a target that only that set group of players can fire. The command, "/propadmin", will allow you to set who can use it. Spawnflags: 1: If 'count' greater than zero, allow the renter to pay more money after the first payment to increase their time. Keys: customskill (see lmd_customskill for details): The name of the skill to check. customskillcompare: Comparison type. -1 for direct compare (use this for text), 0 for greater or equal to, 1 for less than. Default of 0. customskillvalue: The value to compare to. property: The property to check to fire this entity. Profession: A bitmask of professions. Values: 1 - Jedi, 2 - Merc, 4 - Tech. Level: Minimum player level. MaxLevel: Maximum player level. AdminLevel: Minimum admin level. PlayerFlags: A bitmask of flags set by the lmd_playerflag entity. Model: The model. If the model is a glm model, you need to include the '.glm' extention. You do not need the 'map_objects/' folder in the path. Mins/Maxs: Hitbox data. Both values are vectors containing the x, y, and z sizes from the model's origin. Normally, the Mins data is negitive. If no mins or maxs are specified, then a hitbox is automatically calculated to cover the entire model. Property: The name of the property to check access to. Target: Target to fire if the user is a member of the property. Target2: Target to fire if the user is not a member of the property. Count: Number of credits per day this terminal costs to rent. If not set, then this terminal will not be rentable. Players can pay money to rent the terminal with '/pay ' MinDays: If 'count', the minimum number of days this player can rent the property for. MaxDays: If 'count', the maximum number of days this player can rent the property for. MaxRenters: If 'count', the maximum number of renters that this terminal will allow. Defaults to 1. Rank: If 'count', the property rank to give to new renters. Values are: 1 - owner, 2 - caretaker, 3 - guest Example: /place lmd_propertyterminal 0 model,models/map_objects/factory/f_con2,spawnflags,2,target,my_door,property,flips_door, - This is what you would do for the first group of people you want, if you wanted to have another terminal for another group you would change the count, or property set: /place lmd_propertyterminal 0 model,models/map_objects/factory/f_con2,spawnflags,2,target,his_door,property,somedudes_door, lmd_remap **(L) This will change the shader on the map to another shader you specify. If no targetname is set, it will change shaders for you on map start Spawnflags 1 - Toggable, switches from new to old when targeted. Keys: old - the shader directory of what you want to change. new - the shader directory of what your changing the shader into. targetname - the name of the entity, when someone fires at this it will change the shader you are referring to. Example: /place lmd_remap * old,textures/quicktrip/desert_0,new,textures/yavin/ground lmd_gate **(L) If this is active, it uses its target when used. If it is inactive (set by a target_deactivate), then it fires its target2 when used. Spawnflags: 1 - Makes it start off Keys: target - what to fire at when used, when the entity is active target2 - what to fire at when used, when the entity is deactivated targetname - make the trigger target this value for the entity to be used Example: /place lmd_gate * targetname,gate,target,act_spawn,target2,act_spawn2,spawnflags,1, lmd_drop **(L) drops a model from the origin of this entity that can be picked up and fires a target Create and launch a model that can be picked up by players. Spawnflags 1: Player must use the item to pick it up rather than touching it. Keys customskill (see lmd_customskill for details): The name of the skill to check. customskillcompare: Comparison type. -1 for direct compare (use this for text), 0 for greater or equal to, 1 for less than. Default of 0. customskillvalue: The value to compare to. Profession: A bitmask of professions. Values: 1 - Jedi, 2 - Merc, 4 - Tech. Level: Minimum player level. MaxLevel: Maximum player level. AdminLevel: Minimum admin level. property: this entity will only work for people with access to the property set here PlayerFlags: A bitmask of flags set by the lmd_playerflag entity. Model: The model. If the model is a glm model, you need to include the '.glm' extention. You do not need the 'map_objects/' folder in the path. Mins/Maxs: Hitbox data. Both values are vectors containing the x, y, and z sizes from the model's origin. Normally, the Mins data is negitive. If no mins or maxs are specified, then a hitbox is automatically calculated to cover the entire model. Target: Target to fire when picked up. Target2: Target to fire when time runs out. Noise: Sound to make when being picked up Count: Number of credits to give the player. If this is set and no noise key is specified, then the noise key defaults to sound/interface/secret_area.wav Velocity: Speed at which to toss this item. Default 50. Angles: Angles to launch this item at Time: Number of seconds to stay for. Set this to -1 for no time limit. Default 30. Wait: Number of seconds to wait between triggerings. Example: /place lmd_drop 5 model,map_objects/desert/3po_head,count,50,targetname,drophead,velocity,0,wait,30 lmd_terminal *(L) When used it echoes different commands a player can use (/interact ) Spawnflags: 1: Send the output to the player's screen. 2: Do not send the output to the player's console. Keys: customskill (see lmd_customskill for details): The name of the skill to check. customskillcompare: Comparison type. -1 for direct compare (use this for text), 0 for greater or equal to, 1 for less than. Default of 0. customskillvalue: The value to compare to. Profession: A bitmask of professions. Values: 1 - Jedi, 2 - Merc, 4 - Tech. Level: Minimum player level. MaxLevel: Maximum player level. AdminLevel: Minimum admin level. property: this entity will only work for people with access to the property set here PlayerFlags: A bitmask of flags set by the lmd_playerflag entity. Model: The model. If the model is a glm model, you need to include the '.glm' extention. You do not need the 'map_objects/' folder in the path. Mins/Maxs: Hitbox data. Both values are vectors containing the x, y, and z sizes from the model's origin. Normally, the Mins data is negitive. If no mins or maxs are specified, then a hitbox is automatically calculated to cover the entire model. Message: Message to display when used. UseTarget: Target to fire when the player presses the use key on this. GlobalTarget: Targe to fire when any command is used. Cmd-Cmd6: Name of each command. Target-Target6: Target to use for each command. Spawnflags: 1 - Echo all of the cmds to the players console. Example: /place lmd_terminal 0 target,boom,target2,tele_bar,target3,tele_base,cmd,Blow Yourself Up,cmd2,Teleport To Bar,cmd3,Teleport To Base,spawnflags,1,targetname,terminal, lmd_iobject **(L) When used it grants the client an item specified here that can be used with the /inventory command. * name: The custom name you want this item to have. * noCombine: If this is set to 1, this item will not combine with others. * noDelete: If this is set to 1, the user will not be able to delete this item. The current iObject types are: * medpack (combinable) health: Amount of health to give when used. shield: Amount of shield to give when used. uses: Number of uses. * weaponpack (not combinable) weapons: bitmask of weapons to give: o 2 WP_STUN_BATON, o 4 WP_MELEE, o 8 WP_SABER, o 16 WP_BRYAR_PISTOL, o 32 WP_BLASTER, o 64 WP_DISRUPTOR, o 128 WP_BOWCASTER, o 256 WP_REPEATER, o 512 WP_DEMP2, o 1024 WP_FLECHETTE, o 2048 WP_ROCKET_LAUNCHER, o 4096 WP_THERMAL, o 8192 WP_TRIP_MINE, o 13684 WP_DET_PACK, o 32768 WP_CONCUSSION, o 65536 WP_BRYAR_OLD, NOTE: this does NOT give ammo. The user must pick up ammo to use, or in some cases see, the weapon. Future versions will be able to give ammo and use text Keys rather than a bitmask, and be combinable. * ammopack (combinable) blaster: Blaster ammo count. powercell: Blaster ammo count. metalbolt: Blaster ammo count. rocket: Blaster ammo count. thermal: Blaster ammo count. tripmine: Blaster ammo count. detpack: Blaster ammo count. * upcount (combinable) Inverse keycard, for collection quests. property: Name of the property to grant access to when enough of these are picked up. max: Grant access to the property when "current" is greater than or equal to this. count: Current number of item type picked up. When another upcount item with the same name and property key is picked up, this number is increased by the new item's current value. Defaults to 1. * downcount (combinable) Keycard 2.0 property: The property to grant access to while "current" is less than "count". max: Maximum number of times to allow access to the property. count: Current number of uses left. noAutoDelete: Set this to 1 to disable automatic deletion this item when it runs out of uses. While "keycard" still will spawn using a conversion placeholder for backwards compatibility, its item no longer officially exists. Use "downcount" instead. Example: lmd_customskill An entity that, when used, creates a new custom skill for the person who targets it. Keys: Spawnflags: 1- (Use with Value key) rather than adding value to player's current skill, entity will set player's value for this skill to the amount set in the value key. skill: Name of the skill (choose your own) value: Essentially the "level" of the skill lmd_mover **(L) A moving model can be used to do movements for pendulum/rotating/bobbing/door for any of the ontype,onatype,offtype,offatype Keys use the list of available movements and specify it to that number. Ex: ontype,0, for don't move at all. The entity is toggleable so if you use its targetname it will switch to its off state. by default its off state movement type is 0. Spawnflags 1 - The set model will be solid Keys: model - the md3 model to draw targetname - make the trigger target this value for the entity to be used Types - Use the movements list, an 'ontype/offtype' is for movement, while an 'onatype/offatype' is a rotation. ontype - Movement type when in the on state (See types of movement list) offtype - Movement type when in the off state (See types of movement list) onatype - Rotation type when in the on state (See types of movement list) offatype - Rotation type when in the off state (See types of movement list) Durations - The time it takes for the model to complete its action in milliseconds. An 'onduration/offduration' is for the time it takes to complete a movement, while an 'onaduration/offaduration' is the time it takes to complete a rotation. onduration - The time it takes for the model to move to the set delta when in the on state (milliseconds) offduration - The time it takes for the model to move to the set delta when in the off state (milliseconds) onaduration - The time it takes for the model to rotate to the set delta when in the on state (milliseconds) offaduration - The time it takes for the model to rotate to the set delta when in the off state (milliseconds) Deltas - How far something will move/rotate to. An 'ondelta/offdelta' is how far the model will move. An 'onadelta/offadelta' how far the model will rotate to. ondelta - How many units to move to when in the on state. (X Y Z)    offdelta - How many units to move to when in the off state. (X Y Z)    onadelta - How far the model will rotate to from the base of the model in the on state. (X Y Z)    offadelta - How far the model will rotate to from the base off the model in the off state. (X Y Z)    Types Of Movement 0 - Don't move at all. 1 - Teleport between starting and ending point. 2 - Move towards its goal, after its goal is reached it will keep moving forever. Use this movement type for models that rotate. 3 - Move towards its goal, and stop when the goal is reached. 4 - Move towards its goal, near the end it will start to decelerate then stop. 5 - Slowly accelerate towards middle of goal. Accelerating fastest at the middle of its goal then slowly start to decelerate after it hit the middle of its goal towards the end. It will come back down to the starting point and keep moving like that forever. Use this for bobbing and pendulums. 6 - This one is kind of pointless. It will ignore any set delta Keys and fall to the ground at 800 units per second (Default Gravity Setting) and it ignores any objects in its way. So it will keep falling threw the floor. Examples: /place lmd_mover 0 model,models/map_objects/desert/3po_head,onaduration,1000,onadelta,0 180 0,onatype,2, - Spawns a sphere that will rotate 180 degrees and keep rotating for ever it takes 1 second to complete its goal /place lmd_mover 0 model,models/map_objects/factory/catw2_b,spawnflags,1,ontype,5,onduration,3000,ondelta,0 0 200 - Spawns a catwalk that will bob up and down 200 units. It takes 3 seconds to complete its goal /place lmd_mover 0 model,models/map_objects/factory/catw2_b,onaduration,5000,onatype,5,onadelta,50 0 0,angles,90 0 0,spawnflags,1, - Spawns a catwalk that will swing in a pendulum motion 50 units back and forth takes 5 seconds to complete the full movement lmd_rentterminal *(L) Entity is used for a player to use the /pay command on the terminal and then he can have access to it as long as he wants or until it reaches the set max time. Spawnflags: 1 - Time will expire if player dies while owning the terminal 2 - Can pay for more time while you already own the terminal 4 - Tell the renter when they are at 30/15/5 seconds left. Keys customskill (see lmd_customskill for details): The name of the skill to check. customskillcompare: Comparison type. -1 for direct compare (use this for text), 0 for greater or equal to, 1 for less than. Default of 0. customskillvalue: The value to compare to. Profession: A bitmask of professions. Values: 1 - Jedi, 2 - Merc, 4 - Tech. Level: Minimum player level. MaxLevel: Maximum player level. AdminLevel: Minimum admin level. property: this entity will only work for people with access to the property set here PlayerFlags: A bitmask of flags set by the lmd_playerflag entity. Model: The model. If the model is a glm model, you need to include the '.glm' extention. You do not need the 'map_objects/' folder in the path. Mins/Maxs: Hitbox data. Both values are vectors containing the x, y, and z sizes from the model's origin. Normally, the Mins data is negitive. If no mins or maxs are specified, then a hitbox is automatically calculated to cover the entire model. Message: The message to be displayed when the terminal is used. Count: Cost. Minutes: Number of minutes to gain when payed 'count' number of credits. Wait: Minimum time to wait between payments, if spawnflag 2 is set. MaxTime: Maximum number of minutes a player can rent. MinTime: Minimum number of minutes a player can rent. Target: Target to fire when used by its current renter. Target2: Target to fire when the rent runs out. Target3: Target to fire when first rented. Target4: Target to fire when used by someone who is not the renter while being rented. Target5: Target to fire when used by anyone when not being rented. Example: /place lmd_rentterminal 0 model,models/map_objects/factory/f_con1,message,Rent House,minutes,60,count,50,target,tele_inhouse,target2,act_exit,target3,moremoney_msg, lmd_body **(L) Leaves behind a fake player body like misc_camera does when you use it. Any damage given to the body while the entity is in use is forwarded to the client who used it. Unless the trigger that targets this, targets a delay which targets a target_teleporter .01 seconds later you will be stuck in your body. The next time this entity gets used the body gets removed. Keys: targetname - make the trigger target this value for the entity to be used Example: /place lmd_body 0 targetname,body lmd_flagplayer **(L) Description: sets a flag to a player so you can give them temporary access to stuff, works kind of like a keycard. When you target this it grants you lets say flags 5, then you can have misc_model_breakable with the playerflags key set to 5 and only this person will have access to it. Keys: flags - the amount of flags to set to the player, only players with this set flags can have access to entities with the playerflags key. Example: /place lmd_flagplayer 0 flags,5,targetname,give_accesstobar, NPC_spawner **(L) Spawns a NPC that you specify, remember all Keys are case sensative.(Its not npc_type, its NPC_type), if this is going to be used by a button add "count,-1," so it can spawn more than once. Spawnflags: 16 - NPC can be in air, but will spawn on the closest floor surface below it    32 - Will spawn with no default AI (BS_CINEMATIC), or the blinking that happens when it spawns 256 - Spawner is shy (wont spawn if a player is looking at it) Keys: NPC_type - name of NPC to spawn targetname - name this NPC goes by for targeting count - how many NPCs to spawn (only if targeted) default = 1, add -1 for it to be able to spawn after the first use delay - how long to wait to spawn after used wait - if trying to spawn and blocked, how many seconds to wait before trying again NPC_target - NPC's target to fire when killed NPC_target2 - NPC's target to fire when knocked out NPC_target4 - NPC's target to fire when killed by friendly fire NPC_target5 - Fires this target for the player, so if the NPC_target5 is targeting credits, player will receive credits for killing the npc. NPC_target6 - target to fire when npc kills a player NPC_type - type of NPC to be spawned health - starting health (default = 100) delay - after spawned or triggered, how many seconds to wait to spawn the NPC showhealth - set to 1 to show health bar on this entity when crosshair is over it    noBasicSounds- set to 1 to prevent loading and usage of basic sounds (pain, death, etc) noCombatSounds - set to 1 to prevent loading and usage of combat sounds (anger, victory, etc.) noExtraSounds - set to 1 to prevent loading and usage of "extra" sounds (chasing the enemy - detecting them, flanking them... also jedi combat sounds) For and of the following Keys use the script # that is listed after the script type. spawnscript - default script to run once spawned (none by default) usescript - default script to run when used (none by default) awakescript - default script to run once awoken (none by default) angerscript - default script to run once angered (none by default) painscript - default script to run when hit (none by default) fleescript - default script to run when hit and below 50% health (none by default) deathscript - default script to run when killed (none by default) Script Type flags: 1: Stand around, do absolutely nothing 2: Roam around, collect stuff 3: Crouch-Walk toward their goals 4: Run toward their goals 5: Stay in one spot and shoot- duck when necessary 6: Wait around for an enemy 7: Follow a path, looking for enemies 8: Track down enemies and kill them 9: Run from enemies 10: Run from enemies, shoot them if they hit you 11: Run to your goal and shoot enemy when possible 12: Defend an entity or spot? 13: Stay hidden, shoot enemy only when have perfect shot and back turned 14: Attack, evade, use cover, move about, etc. Full combat AI - id NPC code 15: Go for lowest health buddy, hide and heal him. 16: Find nearest cover from enemies 17: Go get some ammo 18: Go somewhere and fight along the way 19: turn until facing desired angles 20: do nothing 21: Maintain a formation 22: Crouch-walk toward their goals -To use a script you would enter the name of the script you want and then the # key of what you want it to actually fire when it hits that mark: ",spawnscript,14" should make the npc fight its enemies when spawned. Example: /place NPC_spawner 30 NPC_type,desann,count,-1,spawnscript,14,NPC_target,desann_dead, NPC_Vehicle ** Spawns a NPC Vehicle, please note the entity name is case sensitive. Spawnflags: 1 - die after certain amount of time of not having a pilot 2 - Fighters: Don't drop until someone gets in it (this only works as long as no one has *ever* ridden the vehicle, to simulate ships that are suspended-docked) - note: ships inside trigger_spaces do not drop when unoccupied 16 - spawn on the floor, instead of floating around in the air 32 - Will spawn with no default AI (BS_CINEMATIC), or won't blink when spawned 64 - Starts not solid 256 - Spawner is shy (wont spawn if a player is looking at it) Keys: dropTime - use with spawnflags 2, the vehicle will drop straight down for this number of seconds before flying forward dmg - use with spawnflags 1, delay in milliseconds for ship to explode if no pilot (default 10000) speed - use with spawnflags 1, distance for pilot to get away from ship after dismounting before it starts counting down the death timer model2 - if the vehicle can have a droid, this NPC will be spawned and placed there showhealth - set to 1 to show health bar on this entity when crosshair is over it    targetname - make the trigger target this value for the entity to be used Example: /place NPC_Vehicle 30 NPC_type,tie-fighter,count,-1,targetname,ship1a,spawnflags,3,dmg,1,dropTime,2 Effect Entities fx_rain *** This is a world rain effect, meaning that it will play the effect everywhere on the map, or anywhere there is a weatherzone. Weatherzones have to be placed before the map compiles. This weather effect will move slowly if spawned and there is a misc_skyporal on the map. Please note that placing this effect will extremly increase the load time when you connect. Keys: count - the number of rain particles (default is 500) Example: /place fx_rain 0 count,600, fx_snow *** This is a world snow effect, meaning that it will play the effect everywhere on the map, or anywhere there is a weatherzone. Weatherzones have to be placed before the map compiles. This weather effect will move slowly if spawned and there is a misc_skyporal on the map. Please note that placing this effect will extremly increase the load time when you connect. Keys: count - the number of snow particles (default is 1000) Example: /place fx_snow 0 count,1200, fx_spacedust *** This is a world space dust effect, meaning that it will play the effect everywhere on the map, or anywhere there is a weatherzone. Weatherzones have to be placed before the map compiles. This weather effect will move slowly if spawned and there is a misc_skyporal on the map. Please note that placing this effect will extremly increase the load time when you connect. Keys: count - the number of space dust particles (default is 1000) Example: /place fx_spacedust 0 count,1200, fx_runner ** Runs the specified effect, if it is used it will toggle, on/off. Spawnflags: 1 - effect will start in the off state 2 - effect fires once, and thats when its used 4 - does radius damage around effect, you set the damage variables with the 'splashRadius', 'splashDamage' Keys Keys: fxFile - name of the effect file to play target - direction to aim the effect in, otherwise defaults to up    target2 - uses its target2 when the fx gets triggered splashRadius - the radius around the origin that the fx is located, default is 16 splashDamage - the damage to give everything in the splash radius, default is 5 soundset - plays start sound when toggled on, loop sound while on, and a stop sound when turned off targetname - make the trigger target this value for the entity to be used Example: /place fx_runner 0 fxfile,effects/misc/possession,wait,2000,spawnflags,3, - Creates an effect that only fires once when used, and starts off. Func Entities (see following post for func entities) func_timer ** This is the only func_ entity that doesn't need a bmodel. Repeatedly fires its targets. Can be turned on or off by using its targetname. Spawnflags: 1 - Starts on Keys: wait - base time between triggering all targets, default is 1 random - wait variance, default is 0 so, the basic time between firing is a random time between (wait - random) and (wait + random) targetname - make the trigger target this value for the entity to be used target - what the entity will fire at in increments of the wait time. Example: /place func_timer * target,light_switch,spawnflags,1,wait,3,random,1, - ok this is an Example of using the func_timer to target an entity almost every 3 seconds, i added 1 to the random so that the entity will be used every 2, 3, 4 seconds randomly. func_plat ** Uses a bmodel that will move up like an elevator, it cannot start up and move down however. It can only start down and move up. Spawnflags: 64 - Allows you to use the brush model as a button 128 - Starts deactivated, you need to hit it with a target_activate to use it again. Keys: lip - How high to rest above from a brush default 8 height - How far to move up. The default is the height of the bmodel speed - How fast to move, default 200 dmg - How much damage to cause to a player if they block the path of the entity when its moving model - bmodel to draw color - add this before light key for the light key to work properly it does a RGB value so ",color,1 0 0" for a red light light - radius of light, color key must be set first in your spawnstring for it to work Example: /place func_plat * targetname,plat,lip,1,model,*5,height,200,speed,20 func_button ** Spawns a button type object that when used moves in a direction, fires all of its targets and returns back to original spot. Spawnflags: 64 - Allows player to use the bmodel with use 128 - Starts deactivated Keys: angles - determines what direction to move at. target - what to fire at when used speed - speed to move at, default 40 wait - how long to wait to return to its closed position, set to -1 for it to never return health - if set the button must be killed in order to fire its target lip - How high to rest above from a brush default 4 model - bmodel to draw color - add this before light key for the light key to work properly it does a RGB value so ",color,1 0 0" for a red light light - radius of light, color key must be set first in your spawnstring for it to work Example: /place func_button * model,*22,angles,0 180 0,target,the_door,lip,5, func_door ** A bmodel that opens and closes, can fire targets along the way. When this entity doesn't have a targetname it will autospawn another entity to trigger it called a "trigger_door". To delete this entity edit the func_door to have a targetname. Spawnflags: 1 - Start Open 2 - Moves when push/pull is used on it    4 - Crushes anything in its path, instead of returning to its position it came from 8 - Stops at the end of its movement and doesn't returned unless used again 16 - Shows shader animmap It starts off and wont move properly until something uses its targetname, the trigger_door entity wont effect it until after its used its first time 64 - Can be used with use key 128 - Starts deactivated Keys: team - Use this to pair up two door together like double doors, that move in opposite directions. give both the same team key and once 1 is triggered the second one automatically moves. model - bmodel to draw target - Door fires this when it starts moving from it's closed position to its open position. opentarget - Door fires this after reaching its "open" position target2 - Door fires this when it starts moving from it's open position to its closed position. closetarget - Door fires this after reaching its "closed" position angles - determines its angle that it moves towards dmg - damage to inflict when a player blocks its path default 2, set to -1 for no damage speed - how fast the bmodel moves, default 100 targetname - if set there will be no trigger_door spawned and will only move when used health - if set the door must be killed to move open delay - if set how long to wait before starting to move wait - if set how long to wait when it reaches its open position to move towards its closed position lip - How high to rest above from a brush default 8 Example: /place func_door * model,*25,angles,0 360 0,targetname,the_door,target,deact_button,closetarget,act_button, func_static ** equivalent to misc_model_breakable for bmodels Spawnflags: 1 - Will be used when you Force-Push it    2 - Will be used when you Force-Pull it     4 - Toggle the shader animation frame between 1 and 2 when used 8 - Make it do damage when it's blocked 16 - Make it do damage when it hits any entity 64 - Player can use it, fires its target when used 128 - Starts Deactivated Keys: target - what to fire at when used model - bmodel to draw color - add this before light key for the light key to work properly it does a RGB value so ",color,1 0 0" for a red light light - radius of light, color key must be set first in your spawnstring for it to work Example: /place func_static * origin,0 0 100,model,*5,spawnflags,64,target,door, func_rotating ** Spawnflags: 4 - Moves on X Axis 8 - Moves on Y Axis 16 - Will hurt a player if blocked 64 - Can be used 128 - Start Deactivated Keys: speed - how fast it moves default is 100 dmg - damage to inflict when blocked spinangles - set rotation on all three axis X Y Z    health - the set health it has when this is set it gets destroyed when killed model - bmodel to draw color - add this before light key for the light key to work properly it does a RGB value so ",color,1 0 0" for a red light light - radius of light, color key must be set first in your spawnstring for it to work Example: /place func_rotating * origin,200 0 0,model,*5,dmg,200,spawnflags,20,spinangles,90 20 50, func_bobbing ** bmodel that bobs up and down Spawnflags: 1 - On X Axis 2 - On Y Axis 64 - Player can use bmodel 128 - Start Deactivated Keys: height - How high to bob speed - How long it takes to complete the bob dmg - damage to inflict when blocked model - bmodel to draw color - add this before light key for the light key to work properly it does a RGB value so ",color,1 0 0" for a red light light - radius of light, color key must be set first in your spawnstring for it to work Example: /place func_bobbing * origin,0 50 0,model,*69,height,200,speed,5, func_pendulum ** A bmodel that swings like a pendulum Spawnflags: 64 - can be used 128 - start deactivated Keys: speed - Number of degrees each way the pendulum swings, default 30 dmg - Damage to inflict when blocked model - bmodel to draw color - add this before light key for the light key to work properly it does a RGB value so ",color,1 0 0" for a red light light - radius of light, color key must be set first in your spawnstring for it to work Example: /place func_pendulum * origin,0 200 0,model,*5,speed,5, func_train ** Spawns a bmodel that follows path_corner entities as a train Spawnflags: 1 - Start On    2 - Can be toggled on and off 16 - Damages anything in its path 64 - Can be used 128 - Starts Deactivated Keys: speed - how fast to move target - the path_corner to start the train at    dmg - how much damage to inflict when blocked model - bmodel to draw color - add this before light key for the light key to work properly it does a RGB value so ",color,1 0 0" for a red light light - radius of light, color key must be set first in your spawnstring for it to work Example: /place func_train * target,path_corn1,speed,200,dmg,200,spawnflags,65, func_breakable * spawns a bmodel that gets destroyed when attacked Spawnflags: 1 - Can only be broken by being used 2 - Does damage on impact 8 - Can be broken by impact damage, like how glass gets broken 16 - Saber Only 32 - Only takes damage from ATST or Emplaced Guns 64 - Using it doesn't make it break, it can still break from damage 128 - Player can use it    256 - Don't use the explosion effect when destroyed Keys: paintarget - what to fire at when hit but not destroyed wait - how long to wait before firing paintarget delay - when destroyed how long to wait before blowing up    health - how much health it has splashdamage - how much damage to give to players withing the splash radius splashradius - the radius around the entities origin to give damage to when destroyed model - bmodel to draw Example: /place func_breakable * origin,0 0 0,model,*25,health,200,splashradius,200,splashdamage,200, func_glass * same thing can be done with func_breakable Spawnflags: 64 - Can be Used 128 - Start Deactivated Keys: maxshards - how many shards of glass to draw when broke model - bmodel to draw color - add this before light key for the light key to work properly it does a RGB value so ",color,1 0 0" for a red light light - radius of light, color key must be set first in your spawnstring for it to work Example: /place func_glass * origin,0 0 0,model,*5,maxshards,5, func_usable * bmodel that disappears when its used and reappears when its used again Spawnflags: 1 - Starts disappeared 8 - Doesn't Toggle on and off when used, just fires target 64 - Can be used 128 - Start Deactivated Keys: target - what to fire at every time it is turned to off state model - bmodel to draw color - add this before light key for the light key to work properly it does a RGB value so ",color,1 0 0" for a red light light - radius of light, color key must be set first in your spawnstring for it to work Example: /place func_usable * origin,0 50 0,model,*22,spawnflags,1,target,credits, !!! 2.4.4 ENTITIES !!! lmd_event This entity may not use an entity slot. Keys ===================================================== Profession: A bitmask of professions. Values: 1 - Jedi, 2 - Merc Level: Minimum player level. MaxLevel: Maximum player level. AdminLevel: Minimum admin level. PlayerFlags: A bitmask of flags set by the lmd_flagplayer entity. Property: Check if the player can access the property, any rank will work. CustomSkill: Name of a custom skill to check for. CustomSkillValue: Value to compare. CustomSkillCompare: Comparison type. -1 text, 0 greater or equal, 1 lesser. RequireCredits: If positive, the player must have this many credits or more. If negitive, the player must have less than this. Mins/Maxs: Hitbox data. Both values are vectors containing the x, y, and z sizes from the model's origin. Normally, the Mins data is negitive. If no mins or maxs are specified, then a hitbox is automatically calculated to cover the entire model. Target: Target to fire if a player enters this area. The trigger will not refire on this player until they exit and re-enter Exittarget: Target to fire when a player exits this area. This will never be called without Target firing first. DeathTarget: Target to fire when a player dies. KillTarget: Target to fire when a player kills another player. Description ============================================== Trigger targetnames on various player events. Example: Code: /place lmd_event 0 mins,# # #,maxs,# # #,killtarget,bonuskillreward,deathtarget,deathmessage,entertarget,print_enter,exittarget,print_exit lmd_actor This entity may not use an entity slot. Keys ===================================================== NPC_TargetName: The name to use for lmd_actor_modify or lmd_actor_action. Target: The target to use after spawning an actor. Model: The model to use for this actor. Skin: The model skin to use for this actor. ModelScale: The scale to apply to the model. LegsAnim: The text name of a legs animation to apply. Use the admin command '/anims' to find an animation. TorsoAnim: The text name of a torso animation to apply. Use the admin command '/anims' to find an animation. Speed: The default movement speed. Description ============================================== An interactive non-player character controllable by the lmd_actor_* entities. THIS IS A PREVIEW. The actor system is not yet complete. This will be greatly expanded in the future. As of now, the actor is only a standing immoble model. Future additions will allow it to be controlled. Example: Code: /place lmd_actor 12 model,monmothma,torsoanim,BOTH_FORCELIGHTNING_HOLD