Page 1 of 1

North East South West Compass Direction

Posted: Thu Oct 30, 2003 9:52 am
by silversound
Well I just discovered that I have South & North Wings at the White House instead of East & West Wings. :oops:

Needless to say this is one little detail that I should have taken into consideration. Duh.

Anyhow, I know that the map is way beyond doing any creative rotating, so I imagine that it would have to be done (if it even can) in the scripting.

Any help? I will feel sort of silly releasing a map that had such a simple mistake.

northyaw

Posted: Thu Oct 30, 2003 10:12 am
by tltrude
This can be set in worldspawn:

------------------------------------------------------------
northyaw( Float yaw )

Sets the yaw direction that is considered to be north
-------------------------------------------------------------

I have no idea what you put for "float yaw". Could be degrees, like 90 or -90.

Posted: Thu Oct 30, 2003 10:23 am
by silversound
I continue to love you more and more.
Life Saver!

yaw

Posted: Thu Oct 30, 2003 10:33 am
by tltrude
Please let me know if it worked, and what number/word you used. If you are wondering where I got that, look in the MOHTools docs folder at the file named "g_allclasses.html". And, scroll up from the bottom a little.

Posted: Thu Oct 30, 2003 1:19 pm
by smartaiguy
Say, don't if you just click on an angle that changes it. Also seems like north/xx also does the trick.

Posted: Thu Oct 30, 2003 1:32 pm
by silversound
Well it works, I just have to work out the proper angle. I think that just pressing an angle with no key selected while on worldspawn would do it as well. When you press an angle and have no key set it gives you "angle" not "yawangle" as the key, but it I find no other use for just angle, so imagine it is the same.

Posted: Thu Oct 30, 2003 1:48 pm
by smartaiguy
Good, you surely wouldn't want to change the West Wing to thw South Wing! :D

Posted: Thu Oct 30, 2003 2:17 pm
by Slyk
Just type in:
KEY: northyaw
VALUE: 90 or whatever.

You'll notice that any entity you place, I use the player start, will automatically point to 0/360 degrees. So, just rotate your entity around until you get it pointing in the direction that you want 'North' to be... then use that number for your northyaw value.

Bush

Posted: Thu Oct 30, 2003 7:25 pm
by tltrude
You should send the game and your map to Bush. He would probably enjoy running around his house shooting people, ha ha!!!

Re: Bush

Posted: Thu Oct 30, 2003 9:49 pm
by smartaiguy
tltrude wrote:You should send the game and your map to Bush. He would probably enjoy running around his house shooting people, ha ha!!!
Yeah! :lol: Or maybe through a saddam in their! :lol: :lol:

Posted: Thu Oct 30, 2003 11:31 pm
by silversound
No, if I send it to anybody, it will ba all of the Democratic front runners.
Thanks for the help guys. Disaster avoided.....again. AND IT IS NOT HIS HOUSE!!!GRRRRRRRRRRRR

Posted: Fri Oct 31, 2003 12:36 pm
by Asgard
if its finished post it will ya ;)

Posted: Fri Oct 31, 2003 1:15 pm
by smartaiguy
yeah, I can't wait!!