Latest topics
» 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

» Single Round Team Quest
Thu Jul 23, 2015 10:39 pm by agent6141

» iobject terminal
Thu Sep 25, 2014 2:39 pm by flanagon

» Usefull Downloads
Thu Aug 07, 2014 12:35 am by Kimmeh

» Television
Thu Jan 09, 2014 2:25 am by Mr. Swister

» Lugormod U# on server
Wed Jan 08, 2014 11:08 pm by Shadow

» Teleporter with effects
Thu Jan 02, 2014 5:51 am by Pierry

» Some possibly useful addons
Thu Jan 02, 2014 5:50 am by Pierry


Turrets

View previous topic View next topic Go down

Turrets

Post by Pierry on Tue Jun 22, 2010 1:51 pm

Hey.
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
Admin

Posts : 154
Join date : 2010-04-26
Age : 24
Location : Cybertron

View user profile

Back to top Go down

Re: Turrets

Post by Zkyo on Tue Jun 22, 2010 7:12 pm

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.

Zkyo
Admin
Admin

Posts : 384
Join date : 2010-03-29
Age : 23
Location : Grand Rapids, Michigan, USA

View user profile http://lugorhelp.forumotion.com

Back to top Go down

Re: Turrets

Post by Pierry on Wed Jun 23, 2010 8:57 am

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
Admin

Posts : 154
Join date : 2010-04-26
Age : 24
Location : Cybertron

View user profile

Back to top Go down

Re: Turrets

Post by Zkyo on Wed Jun 23, 2010 10:47 am

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,

Zkyo
Admin
Admin

Posts : 384
Join date : 2010-03-29
Age : 23
Location : Grand Rapids, Michigan, USA

View user profile http://lugorhelp.forumotion.com

Back to top Go down

Re: Turrets

Post by Sponsored content Today at 11:55 pm


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum