Cant get doors to open away from me

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

Moderator: Moderators

Post Reply
Micky2003
Corporal
Posts: 32
Joined: Thu May 06, 2004 12:09 pm
Location: Derby
Contact:

Cant get doors to open away from me

Post 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.
seere
First Lieutenant
Posts: 181
Joined: Fri Apr 02, 2004 12:51 pm
Location: London

Post 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
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

angle

Post by tltrude »

Set your door's angle to one of the directions a player will face to open it--probably 90.
Tom Trude,

Image
agentmad007
Brigadier General
Posts: 570
Joined: Tue Feb 24, 2004 3:52 pm

Post 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
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 »

Sweet map Man . Id like to play on that 1
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
Micky2003
Corporal
Posts: 32
Joined: Thu May 06, 2004 12:09 pm
Location: Derby
Contact:

Post by Micky2003 »

key: farplane
value: 3200

key: farplane_color
value: .333 .333 .333
Is this while skybox is selected?
Krane
Lieutenant General
Posts: 782
Joined: Sat May 31, 2003 4:18 pm
Location: California, USA
Contact:

Post by Krane »

No. Make sure nothing is selected, press "N", scroll down all thw way and select "worldspawn". Then, input the key/value.
Image
blue60007
General
Posts: 1247
Joined: Sun Mar 07, 2004 11:44 pm

Post 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 :? .
Image
Post Reply