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.
Cant get doors to open away from me
Moderator: Moderators
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.

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.
angle
Set your door's angle to one of the directions a player will face to open it--probably 90.
-
agentmad007
- Brigadier General
- Posts: 570
- Joined: Tue Feb 24, 2004 3:52 pm
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:
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
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 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
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
.
The .x numbers refer to the colors, you can do the same for that. I think you use 'r_farplanecolor' or something



