Ulysses Stuff > Releases
ULX Observation Mode
Neku:
ULX Observation Mode - 1.2
This adds a command into the utility tab called ulx observe. It places the target into Observation Mode, making them noclipped, godded, and invisible. This also stores the target's location and restores it upon reuse. If no target is defined with the chat command, it will target the person calling the command.
I made this for a guy on coderhire, but since it was easy to do, I did it for free.
Link to the job
* 1.2 - Fixed an oversight on the cloaking amount.
* 1.1 - Fixed critical bug relating to EyePos and EyeAngles. Also made noclip simpler. (Thanks Cobalt!)
* 1.0 - Inital Release
Cobalt:
--- Quote from: Neku on May 28, 2014, 08:10:57 PM ---ULX Observation Mode - 1.0
This adds a command into the utility tab called ulx observe. It places the target into Observation Mode, making them noclipped, godded, and invisible. This also stores the target's location and restores it upon reuse.
I made this for a guy on coderhire, but since it was easy to do, I did it for free.
Link to the job
--- End quote ---
Instead of running a console command just do this:
target_ply:SetMoveType( MOVETYPE_NOCLIP )
and
target_ply:SetMoveType( MOVETYPE_WALK )
Zombine:
Well I finally got around to nagging my server manager to put it in, and when using it I get this:
--- Code: ---[ERROR] addons/ulx/lua/ulx/modules/sh/observation.lua:12: attempt to call method 'GetEyePos' (a nil value)
1. call - addons/ulx/lua/ulx/modules/sh/observation.lua:12
2. __fn - addons/ulib/lua/ulib/shared/commands.lua:943
3. unknown - addons/ulib/lua/ulib/shared/commands.lua:1296
4. unknown - lua/includes/modules/concommand.lua:69
--- End code ---
Neku:
I'll take a look at that, I don't think your eye position is needed anyway.
Cobalt:
--- Quote from: Neku on June 01, 2014, 09:21:07 PM ---I'll take a look at that, I don't think your eye position is needed anyway.
--- End quote ---
It's not GetEyePos(), just EyePos()
Navigation
[0] Message Index
[#] Next page
Go to full version