Rot-Dorr-up? ...

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
User avatar
HyperKiller
Corporal
Posts: 38
Joined: Wed May 19, 2004 8:00 pm
Location: Slovenia
Contact:

Rot-Dorr-up? ...

Post by HyperKiller »

well, i have built a test map and i cant set the rotating doors to open upwards.in the entity window i have pressed the button (i assume that means up)--> angle -1
now; where is the catch or do i must see a mental doctor :roll: ?

and there is another problem:
i have selected the option(dont know the name) that creates a small text window in textures window in MoHradiant. now when i disabled it the texture window doesn't work. i think it is looking for nameles textures :wink: .
?!?
You must know that you are special, just like everyone else.
blue60007
General
Posts: 1247
Joined: Sun Mar 07, 2004 11:44 pm

Post by blue60007 »

I'm not sure if you can rotate doors upwards :? , but I do know you can use a func>door and make it slide up.

Well actually you can rotate pretty much anything upwards via scripting...
Image
User avatar
diego
Captain
Posts: 245
Joined: Sun Dec 21, 2003 10:47 pm

Post by diego »

In order to get a door to rotate up or down, you have to script it manually. This is a link to Tltrude's door tutorial file. It has examples of just about every type of door you can imagine. Load it up in radient to see how they are built. The script file is easy to understand and translate over to your own needs. I used this in my map and it works fine.


http://smallsumo.leveledit.com/tltrude/Temp/door2.zip
Last edited by diego on Wed May 19, 2004 10:56 pm, edited 1 time in total.
Diego
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post by Master-Of-Fungus-Foo-D »

well, that little text window is so you can type in only the textures you want.

For instance, if you slected common from the textures tab, you could type in the name of a texure instead of having to look all over the place for it! Isnt that cool. (EG.= lets say you ere looking for caulk[you know that blank_lightmap texure looks EXACTLY like it] and you tye in that texture window "caulk", the texure EXACTLY named "caulk" would come up in the window. But it dosnt work all the time on my two computers... i dunno why...
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

wow, tltrude's probably the leading authority with the tut maps..... :shock:
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post by Master-Of-Fungus-Foo-D »

I know just what line you need in your script!!

Code: Select all

$hatch rotateXup 90
but that might not be it. look back in the area-portals tut. Thats were i found it!
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

move

Post by tltrude »

You have to add the command "move" or "waitmove" after that line.

==================================
//------------------------------------------
// trap_door
//------------------------------------------

trap_door_mover:

$trap_door_trigger waittill trigger
$trap_door time 2
$trap_door playsound door_wood_open_move
$trap_door rotateXup 90
$trap_door waitmove
$trap_door playsound door_wood_open_stop
wait 20
$trap_door playsound door_wood_close_move
$trap_door rotateXdown 90
$trap_door waitmove
$trap_door playsound door_wood_close_stop

goto trap_door_mover

end
==================================

The axis (X,Y, or Z) depends on which way you want it to open. You also need an origin brush where you want the hindge to be. And both brushes must be a single script_object.
Last edited by tltrude on Mon May 24, 2004 12:12 am, edited 2 times in total.
Tom Trude,

Image
User avatar
LeadHead
Sergeant Major
Posts: 115
Joined: Sun Apr 04, 2004 8:13 pm
Location: New York
Contact:

Post by LeadHead »

dude!!! is this all from memory tom trude?!?! man i would love to know as much as u do lol
Post Reply