Latest topics
Turrets
2 posters
Page 1 of 1
Turrets
Hey.
I want to ask if there is way how to set turret that should not kill me and some frineds?
Thanks for answer
I want to ask if there is way how to set turret that should not kill me and some frineds?
Thanks for answer
Pierry- Admin
- Posts : 157
Join date : 2010-04-26
Age : 32
Location : Cybertron
Re: Turrets
well, you could normally set misc_turret_g2 to attack certain people, but it is not possible at the moment. Robophred broke that entity at some point and has not fixed it yet.
Re: Turrets
Zkyo wrote:well, you could normally set misc_turret_g2 to attack certain people, but it is not possible at the moment. Robophred broke that entity at some point and has not fixed it yet.
Tell me the command please.
Thanks
Pierry- Admin
- Posts : 157
Join date : 2010-04-26
Age : 32
Location : Cybertron
Re: Turrets
I'm too lazy to make a code for you atm, so i'll quote flipside's guide. Like i said, the entity does not work properly right now.
Misc_TurretG2
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-donkey, 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
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
profession - Will target only selected profesions (1 Jedi, 2 Merc, 4 Tech [Combainable])
property - this entity will only work for people with access to the property set here
Example:
/place misc_turretG2 0 spawnflags,265,health,2000000,
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|
Thu Aug 25, 2022 5:30 pm by Shadow
» The Sith of Qarr
Tue Mar 02, 2021 8:57 pm by Cor
» Admin Key/disable teleports
Mon May 13, 2019 4:06 am by Pierry
» Some possibly useful addons
Wed May 08, 2019 3:37 pm by Pierry
» Active lugormod servers
Wed May 08, 2019 11:23 am by Pierry
» Quick links
Wed May 08, 2019 11:12 am by Pierry
» Help with trigger_usescript
Thu Sep 22, 2016 8:16 am by flanagon
» New Lugormod U# (Windows + Linux)
Thu Sep 22, 2016 7:03 am by Ufo
» iobject terminal
Thu Sep 25, 2014 2:39 pm by flanagon