Turrets that dont kill you
Basically, I need it to open up like its going to attack, but not. It also needs to follow the player with its laser like they normally do, and then retract on command. Ive experimented with placing walls of varying textures (invisible, nodraw, blockbullets, etc.) in front of the turrets but none suffice. (the player cant get to the turrets anyway) Ive tried playing around with options for the entity, but the closest I can come is the out of ammo flag, which does everything required but has a flashing laser instead of a steady one. Basically, im thinking now that im going to have to play around with code, which i have no experience with (and in fact I cant even find the relevant codes
)So if anyone here can help me it would me much appreciated.
EDIT: also, i dont know if this is relevant, but I will want several, and I dont want them to talk.
P.S. Isn't there a flag on the turrets that make them have no bullets? Or more importantly: does this work?
But I think that may be the best option for him.
Rubrica wrote:
I don't know if this would work, but there is a 'citizen modified (friendly)' flag on the turret entity.
I tried that before. The "friendly" turret would just sit there silently, doing nothing. The laser would be on, but it wouldn't track the player.
Actually, it would be equivalent of a normal turret, except that the player would appear invisible to it.
And to have them not talk, use the "turret is gagged" option.
thanks for your suggestions.
Spam Nugget wrote:
yeah,, ive tried blockLOS and blockbullets-the former means the turret doesnt open up or follow you (as it cant see you) the latter blocks the eye laser. I think i may have found a soloution though, in making a wall of blockbullets but with a small hole for the laser to go through. i just have to tweak the size a bit to get the appropriate field of view for the turret and to make a hole it cant shoot through.
thanks for your suggestions.
Is this turret a character (has a role)?
You can set the maximum range to 0, it won't track you like you want, but it's laser isn't going to flicker, anyway, just an idea
spongylover123 wrote:
Spam Nugget wrote:yeah,, ive tried blockLOS and blockbullets-the former means the turret doesnt open up or follow you (as it cant see you) the latter blocks the eye laser. I think i may have found a soloution though, in making a wall of blockbullets but with a small hole for the laser to go through. i just have to tweak the size a bit to get the appropriate field of view for the turret and to make a hole it cant shoot through.
thanks for your suggestions.Is this turret a character (has a role)?
You can set the maximum range to 1, (anyway, just an idea)
Thanks for the idea, but the turret just ignores you completely. And the turrets are kind of a charector i guess, I juust want a bunch of them sitting there looking menacing and ready to kill you while GLaDOS will talk to the player.
You may need to edit the models and the turret scripts, because the laser comes separately
MasterLagger wrote:
How about an invisible glass? Turrets track you through glass but don't shoot you.
The laser would just stop at the glass, and also the glass' color is translucent aqua
spongylover123 wrote:
MasterLagger wrote:How about an invisible glass? Turrets track you through glass but don't shoot you.
The laser would just stop at the glass, and also the glass' color is translucent aqua
Hence 'invisible glass' 
But yeah, the laser stops there, which is why im trying to do this thing with blockbullets with a hole in it.
Vordwann wrote:
There must be some way to make invisible glass that still functions as glass...
The only way is to rescript the turret script file.
spongylover123 wrote:
Vordwann wrote:There must be some way to make invisible glass that still functions as glass...
The only way is to rescript the turret script file.
Does anyone know where the script file is? I mean, if I can at least find it, I can play around with it and see if I can get what I want.