Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin

env_globals

by Sohood · 2008-10-01 · 7 replies · 5666 views · 10 downloads

Read the thread (8 posts)

From the first post

Anyone have any secrets or hints on reseting env_globals on nextmap change?
rn
rnI'm in the process of re-creating charlie using ents. I'm making a charlie that switches spawns back and forth at either a map win or timer. I have it all done but I'm having issues with reseting the env_globals. When a map change occurs, the globals are still on when you leave to next map. When you come back to that same map with the globals they are still on. I need a way where I can reset these globals at the beginning of map.
rn
rnI have used a trigger_auto to reset the globals. It resets 2 of them but not the other 2 as I do not know why.

Archived builds from the server loose

These compiled builds sat loose in the server's script folder rather than attached to a post. They are matched to this release by comparing their decompiled Pawn against the source published above, so treat the attribution as strong but not certain. Versions come from the register_plugin() call recovered from the bytecode.

dod_avalanche_373.zip Archive 5 KB Download

Added later in the thread

dod_avalanche.txt Config / Docs 49 KB 10 dl Download

The thread

All 8 posts from 4 people on env_globals, kept as they were written.

Sohood
started this thread
Posts: 92
Threads: 33
Joined: Sep 2008
10-01-2008, 01:51 PM #1

Anyone have any secrets or hints on reseting env_globals on nextmap change?rnrnI'm in the process of re-creating charlie using ents. I'm making a charlie that switches spawns back and forth at either a map win or timer. I have it all done but I'm having issues with reseting the env_globals. When a map change occurs, the globals are still on when you leave to next map. When you come back to that same map with the globals they are still on. I need a way where I can reset these globals at the beginning of map.rnrnI have used a trigger_auto to reset the globals. It resets 2 of them but not the other 2 as I do not know why.

Zor
posted here
Posts: 688
Threads: 75
Joined: Jun 2006
10-02-2008, 08:47 AM #2

If you want to do the work on remaking Charlie, great idea, however it would be great if somone in the community wanted to fix Overlord. Man that was a GREAT map, but it hasn't worked since like 1.3 I think. Beta 1.3 I mean...well to answer your question, I can't however I hope that diamond-optic can or one of the other mappers.rnrnCheers!

Zor
posted here
Posts: 688
Threads: 75
Joined: Jun 2006
10-02-2008, 09:17 AM #3

Ok, just looking at the code for my avalanche switch, same kinda idea you have there. Which env_variables are you looking at? Let me know, I am going to add in the avalanche ent file here, you can browse it.nnCheers!nnPS This file is in *NIX format, so you need to use a program that reads cr as being a
or newline, open it with doc or wordpad not textpad.

Sohood
started this thread
Posts: 92
Threads: 33
Joined: Sep 2008
10-03-2008, 03:16 PM #4

Yes. I have already made an avalanche_switch like this one long time ago. This concept is easy because you are only using 1 global. And it doesnt matter if the trigger is on or off, cuz you either start top or bottom. But when you are facing with multiple triggers its a little bit more troubling.rnrnThe "overlord" map is the greatest of all time beach maps, yes i agree with you 100 percent. Good buddy of mine tried to decompile the map and fix all the errors but there were so many and impossible to compile that he gave up on. So I took the same theory as overlord and made another version which i call dod_charlie2. I divided charlie into 2 parts just like overlord. I revised the spawn points and added another objective on the beach.rnrnAllies storm the beach and capture the beach flag which is located on the other side of the shingles. I added some func_walls and env_model to the beach, make a little more interest, along with spawn protect for each side. YOu have to capture the beach before moving up. Once captured, win that part of the map and new spawns are revised and capture the remaining 4 objectives. I use 2 globals in this map.

WARDOG
posted here
Posts: 141
Threads: 14
Joined: Jan 2006
10-07-2008, 06:05 PM #5

I think Schwetz has a good example of team switching, look at the ents it uses.rnrnEnv_globals are used to change things across levels, in another map for instance, it's usually used for single player maps that move to anothermap storyline, look at dod_schwetz this is what you ar trying to do, it has the right ents..

WARDOG
posted here
Posts: 141
Threads: 14
Joined: Jan 2006
10-07-2008, 10:48 PM #6
If you want to do the work on remaking Charlie, great idea, however it would be great if somone in the community wanted to fix Overlord. Man that was a GREAT map, but it hasn't worked since like 1.3 I think. Beta 1.3 I mean...well to answer your question, I can't however I hope that diamond-optic can or one of the other mappers.rnrnCheers!
rnrnThe problem with Overlord after looking at it, is that it goes over the 512 precache limit, so it crashes. Tried taking some, sprites, models out, but not quite there yet. It may be unfixable without a remake, because of the engine, which would take some time.rnrnI think dog or dog1 is a remake of it to some extent.

Sohood
started this thread
Posts: 92
Threads: 33
Joined: Sep 2008
10-08-2008, 09:29 PM #7

Thanks dog.

A anna
posted here
Posts: 8
Threads: 0
Joined: May 2014
07-17-2016, 11:32 AM #8

here we go,rnrnyou will find a youtube link that show you dod_overlord working on steam dod1.3 server.rnrnIn fact all maps now work without restrictions :)rnrnenjoy:rnrnhttps://www.youtube.com/watch?v=OZwmMVmJ07g&feature=youtu.bern:))

DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC