Turn spectator into an Orb of light.

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Wierdo
Corporal
Posts: 47
Joined: Wed Jan 09, 2008 11:15 pm
Location: Winfield, KS

Turn spectator into an Orb of light.

Post by Wierdo »

Sometimes, when I am in multiplayer and tearing up clan members, I will suddenly notice that they know where I am; all the time. As soon as I check the player board, it becomes obvious: Some of them have switched to spectator mode and are now shadowing my every move. Then, they either shout across the room to thier buddies or us Ventrillo.

While I cannot stop this, I can turn them into little blue orbs of light. This will instantly give away where they are floating at. (Thus prooving that they didn't really just "go on a bathroom break")

If this tickles your fancy, try adding the following to any map you want to use it on. Only works if the host wants everybody to be a Wisp. (Puts it in his level script.)

Code: Select all

light:
   if ($player.dmteam == "spectator")
      {
      local.player=parm.other
      $player light .3 .3 .9 300
      local.corona = spawn script_model model "models/static/corona_util.tik"
      local.corona.origin = local.player.origin
      local.corona notsolid
      local.corona scale 2
      local.corona targetname "corona1"
      local.corona glue local.player
      wait 1
      $corona1 delete
      }
   else
      {
      $player light 0 0 0 30
      }
   wait .01
   goto light
end
As a side note, a person can do this and be thier own flashlight when first exploring new maps!

Have a look if you would: Here
Post Reply