Environmental Variables...

Discussion for Admins of ETPro/BayonET servers.
If you don't run a server, please don't post here...

Moderators: Forum moderators, developers

Post Reply
User avatar
2/3Soul
Posts: 29
Joined: Sun Jan 16, 2005 2:59 pm
Location: Bournemouth, United Kingdom

Environmental Variables...

Post by 2/3Soul »

If I use the environmental settings for rain (as per Radar's settings):

Code: Select all

/setcs 44 "T=RAIN,B=5 10,C=0.5,G=0.5 2,BV=50 50,GV=200 200,W=1 2,D=2000"
I can add rain dynamically to the currently playing map. However, upon reset of the map, the settings are lost, and have to be re-entered. :roll:

Is there any way of automating the setting so that the environmental condition is automatically activated for a particular map upon load???

Cheers

2/3
User avatar
gotenks
Posts: 3465
Joined: Fri Nov 15, 2002 4:12 pm
Location: out of my mind
Contact:

Post by gotenks »

in a file called: mapdefault.cfg
add that line, then any map that doesn't have a current mapdefault_<map_name>.cfg file will have rain
My Website
Image
After a night of binge drinking:
=FF=im2good4u wrote:WTF wanst i on top ?
User avatar
2/3Soul
Posts: 29
Joined: Sun Jan 16, 2005 2:59 pm
Location: Bournemouth, United Kingdom

Post by 2/3Soul »

Cheers dude... nice and simple heh :oops: if i was thinking straight I could probably have realised that myself :roll:

Seeing as I only want the environmental variable to apply for one map, I'll put it in the specific map cfg file.... ie:

mapdefault_<mapname>.cfg

Thanks for the help. :)
[DR]REVOS
Posts: 86
Joined: Wed Sep 29, 2004 10:53 am

Post by [DR]REVOS »

Why would you want to ADD rain? I mean, most good players turn they're atmosphericeffects off, anyway. Heh. :lol:
Dubya
Posts: 21
Joined: Wed Apr 28, 2004 6:26 am

Post by Dubya »

We wants the rain to make gotenks avatar all wet.
User avatar
2/3Soul
Posts: 29
Joined: Sun Jan 16, 2005 2:59 pm
Location: Bournemouth, United Kingdom

Post by 2/3Soul »

[DR]REVOS wrote:Why would you want to ADD rain? I mean, most good players turn they're atmosphericeffects off, anyway. Heh. :lol:
hahah cos I'm wierd... :twisted:
PincheGab
Posts: 64
Joined: Fri Sep 03, 2004 12:26 pm

Post by PincheGab »

2/3Soul wrote:
[DR]REVOS wrote:Why would you want to ADD rain? I mean, most good players turn they're atmosphericeffects off, anyway. Heh. :lol:
hahah cos I'm wierd... :twisted:
LOL, I can't wait to get home and make the Oasis map rain, LOL! (Yep, I'm a n00b with those kinds of things)
User avatar
daita
Posts: 48
Joined: Thu Mar 03, 2005 5:37 am
Location: Jungle
Contact:

Post by daita »

why did I thank about doing the SAME think ! on the same map :]

daita.
Mark
Posts: 411
Joined: Thu Jan 01, 2004 6:10 am
Location: #vpclan@qnet

Post by Mark »

daita wrote:why did I thank about doing the SAME think ! on the same map :]

daita.
I already played with it (rain and snow on oasis) some weeks ago. Unfortunatly, many people have their atmospheric effects disabled.

So be sure to add forcecvar cg_atmosphereffects 1 (bet this is wrong spelled) to your config :lol:

Greets
Mark
Get owned at: Gaming@d1p.de (217.172.182.126:27960)
Image
Hi! I'm a .signature *virus*! Copy me into your ~/.signature to help me spread!
User avatar
gotenks
Posts: 3465
Joined: Fri Nov 15, 2002 4:12 pm
Location: out of my mind
Contact:

Post by gotenks »

Mark wrote:So be sure to add forcecvar cg_atmosphereffects 1 (bet this is wrong spelled) to your config
sv_cvar cg_atmosphericeffects eq 1
would be better :D
My Website
Image
After a night of binge drinking:
=FF=im2good4u wrote:WTF wanst i on top ?
User avatar
Deus
Posts: 1053
Joined: Fri Mar 12, 2004 2:24 am
Location: Germany
Contact:

Post by Deus »

Mark wrote:So be sure to add forcecvar cg_atmosphereffects 1 (bet this is wrong spelled) to your config :lol:
cg_atmosphericeffects
but a forcecvar will just set the cvar once, and people who don't like it will disable it again.
Mark
Posts: 411
Joined: Thu Jan 01, 2004 6:10 am
Location: #vpclan@qnet

Post by Mark »

Yeah, right. sv_cvar is much more efficent.

Greets
Mark
Get owned at: Gaming@d1p.de (217.172.182.126:27960)
Image
Hi! I'm a .signature *virus*! Copy me into your ~/.signature to help me spread!
User avatar
gotenks
Posts: 3465
Joined: Fri Nov 15, 2002 4:12 pm
Location: out of my mind
Contact:

Post by gotenks »

if you just want them to see that you have it on (i'm thinking of adding rain inside the underground area in railgun) forcecvar it... if you want to force them to keep it on, sv_cvar it
My Website
Image
After a night of binge drinking:
=FF=im2good4u wrote:WTF wanst i on top ?
User avatar
2/3Soul
Posts: 29
Joined: Sun Jan 16, 2005 2:59 pm
Location: Bournemouth, United Kingdom

Post by 2/3Soul »

gotenks wrote:i'm thinking of adding rain inside the underground area in railgun
:shock: :o why? lol
User avatar
WeblionX
Posts: 762
Joined: Sun Sep 08, 2002 1:03 pm
Contact:

Post by WeblionX »

Good luck adding rain inside using existing map materials. You'd at least need a new tracemap.
Got any old idtech3 tutorials you made or saved? Send them my way.
Post Reply