Raised This Month: $32 Target: $400
 8% 

dod_flip_mm - Flips Player Spawns Between Rounds in DOD:S


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
showdax
Senior Member
Join Date: Dec 2004
Old 07-02-2006 , 20:59   dod_flip_mm - Flips Player Spawns Between Rounds in DOD:S
Reply With Quote #1

http://brodierao.com/projects/dod_flip_mm/

Quote:
This Metamod: Source plugin flips team spawns between rounds in Day of Defeat: Source. It also flips the newly added invisible spawn walls, as long as you set dod_flip_blockteam. Otherwise it disables the walls after the first flip. If you set dod_flip_filterteam, it will flip filter_activator_team entities, which is what kills you when you try to enter the enemy's spawn in dod_salerno_rc3 and dod_anvil.

It is recommended that you add dod_flip_blockteam, dod_flip_filterteam and dod_flip_auto 1 to your server.cfg. Then add dod_flip_auto 0 to map configuration files that you wish for it to be disabled on.

You may want to disable it on dod_jagd and dod_colmar, as it can't switch objectives.

Offsets as of 2007/07/04

Windows

dod_flip_blockteam 872
dod_flip_filterteam 900

Linux

dod_flip_blockteam 892
dod_flip_filterteam 920

Binaries and Source

* Version 7
* Version 6
* Version 5
* Version 4
* Version 3
* Version 2
* Version 1

Changelog

Version 7: Fixed potential crash in respawning players.
Version 4: Now flips after the bonus round, not before. Should also properly flip spawn walls when the game flips them itself.

If you see something fishy in this release, email me!

Version 3: Hopefully fixed dod_flip_auto sometimes not working.
Version 2: Added ability to flip filter_activator_team entities.
As the site says, it flips spawns. The source is public domain and the plugin comes with no warranty whatsoever. That said, let me know if you have any problems with the plugin.

If you want to see it in action, you can view its effects on my server, Cantaloupe Island.

Last edited by showdax; 07-05-2007 at 14:20.
showdax is offline
Send a message via MSN to showdax
ratty
SourceMod Donor
Join Date: Jan 2006
Old 07-04-2006 , 02:24   Re: dod_flip_mm - Flips Player Spawns Between Rounds in DOD:S
Reply With Quote #2

Neat idea.
I bet a lot of people will think this is a feature of the big update, heh.

Last edited by ratty; 07-04-2006 at 02:26.
ratty is offline
quint
Member
Join Date: Jan 2005
Old 07-04-2006 , 07:26   Re: dod_flip_mm - Flips Player Spawns Between Rounds in DOD:S
Reply With Quote #3

Great Idea, looking forward to trying this on Avalanche etc

Would it work ok if disabled in server.cfg and enabled in separate Cfgs for particular maps, its probably only 3 or 4 of the officials i'd like too run this on at the moment.

Do you have a comprehensive list of Maps that include Spawn Damaging & maybe its worth adding them to your sticky as they come up

I can add dod_churchyard_b5 , dod_smallhill_snowday to the list
quint is offline
showdax
Senior Member
Join Date: Dec 2004
Old 07-04-2006 , 12:02   Re: dod_flip_mm - Flips Player Spawns Between Rounds in DOD:S
Reply With Quote #4

Quote:
Originally Posted by quint
Would it work ok if disabled in server.cfg and enabled in separate Cfgs for particular maps, its probably only 3 or 4 of the officials i'd like too run this on at the moment.
Yes, you can just add "dod_flip_auto 0" to server.cfg and add "dod_flip_auto 1" to map cfg files you wish for it to be enabled on.

Quote:
Originally Posted by quint
Do you have a comprehensive list of Maps that include Spawn Damaging & maybe its worth adding them to your sticky as they come up
Version 2 can flip the damage effects. The link to it is in the first post.
showdax is offline
Send a message via MSN to showdax
quint
Member
Join Date: Jan 2005
Old 07-04-2006 , 14:04   Re: dod_flip_mm - Flips Player Spawns Between Rounds in DOD:S
Reply With Quote #5

Hi

Cant get it working on Windows, tried it on Avalanche so far ..

only tried on test server, but had 2 germans vs 1 usa and whenver germans win, spawns dont flip .

have added the below to server.cfg ( havent tried per map configs yet )

dod_flip_blockteam 872
dod_flip_filterteam 900
dod_flip_auto 1

Flip has loaded ok as can see from rcon meta list

Last edited by quint; 07-04-2006 at 14:06.
quint is offline
showdax
Senior Member
Join Date: Dec 2004
Old 07-04-2006 , 16:02   Re: dod_flip_mm - Flips Player Spawns Between Rounds in DOD:S
Reply With Quote #6

Quote:
Originally Posted by quint
Hi

Cant get it working on Windows, tried it on Avalanche so far ..

only tried on test server, but had 2 germans vs 1 usa and whenver germans win, spawns dont flip .

have added the below to server.cfg ( havent tried per map configs yet )

dod_flip_blockteam 872
dod_flip_filterteam 900
dod_flip_auto 1

Flip has loaded ok as can see from rcon meta list
When the round ends, do you see "[dod_flip_mm] Flipped!" in your console, or "[dod_flip_mm] Flip failed!"? And what happens when you manually run the "dod_flip" command?

Also, if you could give me temporary access to the server, I could try finding the error myself.

Also also, if you loaded the plugin late (after the server has started), try running "exec server" and then try to cause a round end.

Last edited by showdax; 07-04-2006 at 16:08.
showdax is offline
Send a message via MSN to showdax
Hell Phoenix
Senior Member
Join Date: Jan 2005
Old 07-05-2006 , 16:28   Re: dod_flip_mm - Flips Player Spawns Between Rounds in DOD:S
Reply With Quote #7

OMG this will be awesome! I will be giving this a try very soon!


*Edit* Just tried this out and it rocks! Nice! Gave ya 5 stars =D
__________________

Last edited by Hell Phoenix; 07-05-2006 at 16:53.
Hell Phoenix is offline
showdax
Senior Member
Join Date: Dec 2004
Old 07-09-2006 , 19:08   Re: dod_flip_mm - Flips Player Spawns Between Rounds in DOD:S
Reply With Quote #8

Version 3 is out. I moved the IGameEventManager2::AddListener call to AllPluginsLoaded, so hopefully this will fix the problem with dod_flip_auto not working sometimes when loaded early (via metaplugins.ini).
showdax is offline
Send a message via MSN to showdax
c0ldfyr3
AlliedModders Donor
Join Date: Aug 2005
Location: Ireland
Old 07-10-2006 , 03:08   Re: dod_flip_mm - Flips Player Spawns Between Rounds in DOD:S
Reply With Quote #9

CMetaModPlugin::Line 64
This can be changed from this...
Code:
for (int i = 0; i < 1024; ++i)
{
}
... to this ...
Code:
int x = g_Engine->GetEntityCount();
for (int i = 0; i < x; ++i)
{
}
__________________
c0ldfyr3 is offline
Send a message via MSN to c0ldfyr3 Send a message via Yahoo to c0ldfyr3
ratty
SourceMod Donor
Join Date: Jan 2006
Old 07-10-2006 , 17:53   Re: dod_flip_mm - Flips Player Spawns Between Rounds in DOD:S
Reply With Quote #10

It is kind of funny being on US Army team and having axis vehicles near your spawn.
Honestly most maps are pretty balanced, what would be useful to me is a mod to reshuffle teams if one team dominates too much, say if they win 2 rounds in 10 minutes, reshuffle, throw everyone to spec or something.
ratty is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:07.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode