Page 1 of 1

Cant get doors to open away from me

Posted: Fri May 14, 2004 9:40 am
by Micky2003
i cant get doors to open away from me, I've set target to alwaysaway value 1 but on 1 building they open outwards, My other doors work fine. Any ideas? ss below

http://www.kromads.com/images/doors.jpg

Edit: Also can you tell me how to add fog or point me to a tutorial on how to do it please.

Posted: Fri May 14, 2004 11:15 am
by seere
Fog :
Enter these values (play with them for different effect) in the entity manager (use N)

key: farplane
value: 3200

key: farplane_color
value: .333 .333 .333


As for doors... Alwaysaway is done by default so its not needed to be added,what your doing wrong is not putting in the correct angle.

In your top view of radiant follow this example,
Again this is done in the entity manager.
Seere.
Image

angle

Posted: Fri May 14, 2004 12:41 pm
by tltrude
Set your door's angle to one of the directions a player will face to open it--probably 90.

Posted: Fri May 14, 2004 1:32 pm
by agentmad007
well for doors i think that you have your answer ( forgot this alwaysaway key ) and set the right angle

for fog the way told you Seere work fine but the problem is if you dont like the fog paramteres you added you will add to shut down mohaa open radiant, changes values , compiling and test

you can do it via script:

Code: Select all


main:

// set scoreboard messages
setcvar "g_obj_alliedtext1" "TEST FOG"<== what appear in score board

///////////////////////
level waittill prespawn
///////////////////////

	exec global/DMprecache.scr
	exec global/door_locked.scr	



$world farplane_color ".60 .60 .70"<=== color of the fog 
level.fogplane = 3000 <======= fog intensity (a small value = big fog)
$world farplane level.fogplane <===== to add fog in game

level.script = "maps/dm/name_of_your_map.scr"<==== script to execute wih the name of your map

level witill spawn

end

then in game if your fog is bad and you need to change it again , just type in game editscript, and change the appropriate line ( color or level fogplane as you want)

then restart map or reload it

Posted: Fri May 14, 2004 2:13 pm
by Master-Of-Fungus-Foo-D
Sweet map Man . Id like to play on that 1

Posted: Fri May 14, 2004 3:56 pm
by Micky2003
key: farplane
value: 3200

key: farplane_color
value: .333 .333 .333
Is this while skybox is selected?

Posted: Fri May 14, 2004 4:22 pm
by Krane
No. Make sure nothing is selected, press "N", scroll down all thw way and select "worldspawn". Then, input the key/value.

Posted: Sat May 15, 2004 3:37 am
by blue60007
An even easier way to play around with farplane settings is in the console (MOHAA) and type 'togglemenu leveldesign', and you must have cheats engabled. There is a little slider you can slide around for farplane settings. Then I think once you find a good distance you can type in the console 'r_farplane' and it will tell you the current settings, or does it tell the ones set in radiant or the script? :?

The .x numbers refer to the colors, you can do the same for that. I think you use 'r_farplanecolor' or something :? .