Lugormod Building Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Latest topics
» misc_bsp help
Turrets I_icon_minitimeThu Aug 25, 2022 5:30 pm by Shadow

» The Sith of Qarr
Turrets I_icon_minitimeTue Mar 02, 2021 8:57 pm by Cor

» Admin Key/disable teleports
Turrets I_icon_minitimeMon May 13, 2019 4:06 am by Pierry

» Some possibly useful addons
Turrets I_icon_minitimeWed May 08, 2019 3:37 pm by Pierry

» Active lugormod servers
Turrets I_icon_minitimeWed May 08, 2019 11:23 am by Pierry

» Quick links
Turrets I_icon_minitimeWed May 08, 2019 11:12 am by Pierry

» Help with trigger_usescript
Turrets I_icon_minitimeThu Sep 22, 2016 8:16 am by flanagon

» New Lugormod U# (Windows + Linux)
Turrets I_icon_minitimeThu Sep 22, 2016 7:03 am by Ufo

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


Turrets

2 posters

Go down

Turrets Empty Turrets

Post by Pierry 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
Pierry
Admin
Admin

Posts : 157
Join date : 2010-04-26
Age : 32
Location : Cybertron

Back to top Go down

Turrets Empty Re: Turrets

Post by Zkyo 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.
avatar
Zkyo
Admin
Admin

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

https://lugorhelp.forumotion.com

Back to top Go down

Turrets Empty Re: Turrets

Post by Pierry 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
Pierry
Admin
Admin

Posts : 157
Join date : 2010-04-26
Age : 32
Location : Cybertron

Back to top Go down

Turrets Empty Re: Turrets

Post by Zkyo 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,
avatar
Zkyo
Admin
Admin

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

https://lugorhelp.forumotion.com

Back to top Go down

Turrets Empty Re: Turrets

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


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