NightMods

Post your scripting questions / solutions here

Moderator: Moderators

Regicide
Lance Corporal
Posts: 12
Joined: Thu Feb 24, 2005 2:53 am

NightMods

Post by Regicide »

Does anyone know how to do scripting for nightmods? I would like to do this for AA/SH/BT maps on an objective Freeze Tag server (in case that matters). Also when you put in a night mod is there a way to regulate how dark it makes the map? For example, on a map that already has some dark spots can you darken those spots less than other ones?
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

lighting

Post by tltrude »

You can't change the map's lighting because it is added when the map is compiled (created).

You can change the fog thickness and color by adding lines to each map's script.
Tom Trude,

Image
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

There's recently been a server-side Stalingrad mod at mohfiles.com that changed it to night. Check it out.
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
davidyoung99
Private
Posts: 7
Joined: Fri Feb 25, 2005 1:18 am

Post by davidyoung99 »

woah woah woah you guys are way off http://perso.wanadoo.fr/the-pathfinders ... _Night.zip

Add this to your main folder.

Then in console to turn it on type: night 1 & restart
To turn off type: night 0 & restart
User avatar
MPowell1944
Moderator
Posts: 287
Joined: Thu Jan 09, 2003 7:06 am
Location: Woodstock, GA
Contact:

Post by MPowell1944 »

All that does is add a dark farplane. You cannot have a true night mod work serverside for any of the MOH games.
Regicide
Lance Corporal
Posts: 12
Joined: Thu Feb 24, 2005 2:53 am

Post by Regicide »

Really I'm asking this because I saw it on a SoH (Soldiers of Honor I think) server. How did they get the maps to have the dark farplane if that thing david said is done in the client console? Can it be done on the server too?
Regicide
Lance Corporal
Posts: 12
Joined: Thu Feb 24, 2005 2:53 am

Post by Regicide »

Ok so screw the night thing and on to something else. Is there a way to put movable tanks on a stock map and make them server side?
User avatar
MPowell1944
Moderator
Posts: 287
Joined: Thu Jan 09, 2003 7:06 am
Location: Woodstock, GA
Contact:

Post by MPowell1944 »

For the dark farplane (simulated night) you would add this below level waittill spawn.

$world farplane # ( # needs to be low to simulate darkness )
$world farplane_color "0 0 0"


For the tanks, there are mods out there right now that do just that. You can copy and paste from theirs and redo the pathnodes for yours. Check www.mohfiles.com
Regicide
Lance Corporal
Posts: 12
Joined: Thu Feb 24, 2005 2:53 am

Post by Regicide »

I'm sorry where does that dark farplane command go? I'm not sure where to find that waittill thing.
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 would be good to put it below level waittill prespawn
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
Regicide
Lance Corporal
Posts: 12
Joined: Thu Feb 24, 2005 2:53 am

Post by Regicide »

That's the part I'm not sure of! What does he mean? Also I could not find any mods on MOH Files that allowed players to drive tanks on stock maps.
Regicide
Lance Corporal
Posts: 12
Joined: Thu Feb 24, 2005 2:53 am

Post by Regicide »

Well I happen to be the world's most stubborn person m8 so I intend on making one. Will someone plz explain to me where to right that dark farplane thing? I've only done client mods before so I'm new to scripting and need a lot of "GUIDANCE". :lol:
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post by Green Beret »

yea,one way or another there is bugs.
Image
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 »

man, all the mods (server and/or clientside) for driveable tank suck... their all buggy.. ALL OF THEM!
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
Regicide
Lance Corporal
Posts: 12
Joined: Thu Feb 24, 2005 2:53 am

Post by Regicide »

I'm still confused! GOD I AM SUCH A NOOB! Someone explain this using small words and step by step procedures plz.
Post Reply