Post your scripting questions / solutions here
Moderator: Moderators
fuhrer
Captain
Posts: 253 Joined: Sun Mar 14, 2004 3:36 am
Post
by fuhrer » Mon May 24, 2004 5:37 am
is there a way to glue a player to a script origin and have him rotate 180 so hes standing on his head?
lizardkid
Windows Zealot
Posts: 3672 Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT
Post
by lizardkid » Mon May 24, 2004 2:40 pm
uh,
$player rotatez 180
i think might work. i'm no genius but i'll bet it works....
Moderator
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
nuggets
General
Posts: 1006 Joined: Fri Feb 28, 2003 2:57 am
Location: U-england-K (england in the UK) :P
Contact:
Post
by nuggets » Mon May 24, 2004 11:11 pm
you'd need to glue him to a script_objct, and then rotate that
hope this helps, prob not cos it's all foreign 2 me :-/
kai0ty
Brigadier General
Posts: 507 Joined: Fri Mar 19, 2004 1:45 am
Post
by kai0ty » Tue May 25, 2004 1:43 am
um, i dont think players can go upside down.
blue60007
General
Posts: 1247 Joined: Sun Mar 07, 2004 11:44 pm
Post
by blue60007 » Tue May 25, 2004 4:53 pm
You may have to turn the player's physics off first.
$player physics_off
and to turn back on
$player physics_on
I think that is correct.
Mj
Map Reviewer
Posts: 1394 Joined: Sun Apr 25, 2004 3:36 pm
Location: England
Post
by Mj » Tue May 25, 2004 5:19 pm
Or alternitively you could rotate your whole map instead...
lizardkid
Windows Zealot
Posts: 3672 Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT
Post
by lizardkid » Tue May 25, 2004 10:02 pm
Mj wrote: Or alternitively you could rotate your whole map instead...
whoa..... flat world goes upside down, grav would go kapoot!
Moderator
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
HDL_CinC_Dragon
Brigadier General
Posts: 574 Joined: Mon Dec 22, 2003 8:32 pm
Post
by HDL_CinC_Dragon » Fri Aug 27, 2004 12:22 am
no no, hes right, that could work. Just makea regul;ar map like you useually would, then select everything and flip! lol. i bet that would workl. ive never tried flipping an entire map but you could try it.
Rindog
Corporal
Posts: 29 Joined: Wed Sep 24, 2003 6:34 pm
Post
by Rindog » Fri Aug 27, 2004 3:28 pm
This is not exactly what you asked for, but you could emulate it clientside with a server side script. The client and his world would be upside down, but all the other clients would see the upside down client as right side up.
local.player.viewangles = ( local.player.viewangles[0] local.player.viewangles[1] 180 )