8:13 AM 4/29/2013 MegaDOM + MegaTDM RC1 - by MrLoathsome
I decided I wanted to extend and improve the Domination gametype, without changing gameplay at all, and also make scriptedpawns, (Monsters), play Domination without recoding any new versions of them.
Tried to write this so it works with the default engine and code, instead of any "brute force" methods that would involve changing the core behaviour of the game or any aspect of it.
1. Full support for Domination games with up to 64 Control Points. 2. Support for playing Domination and TDM versus monsters. 3. Optimized the core Domination gametype code considerably.** 4. Fixes most of the issues that cause log file warnings/errors and other problems that occur when adding Unreal monsters to UT games. 5. Adjusted HUD to correctly support display of the 1st 5 ControlPoints on the left of the screen, and added count of control points currently held under team icon on the right.
New config variables:
bScoreSPKills=True // If True, players score point for killing monsters. bNegScoring=False // If True, players lose a point for killing monsters. (bScoreSPKills must be False) bMonsterTeam=True // If True game adds a dummy Bot/Player named "The Monsters" to the game. Will score a point whenever monster kills a bot or player. bScoreSPvsSP=True // If True, and bMonsterTeam=True, "The Monsters" will score a point when a monster kills another monster. MonsterTeamNum=3 // Team number to put "The Monsters" on. Valid range 1-3. Default of 255 will set the Monster's team number to MaxTeams+1. ExtraControlPoints=3 // Number of extra Control Points to add. Valid range 0-64 for fixed value. 101-164 will result in random number of extra points between 1 and ExtraControlPoints-100. // *For MegaTDM, you still want to have this set. Points will be hidden, but needed as they are what instruct the monsters to attack nearby bots. // Recommended range 1-9 for both DOM and TDM games. Perhaps higher for very large maps. // If you add more than 9 Control Points to your DOM games, be aware that the scoring is exponential. You will want to increase the GoalTeamScore and/or Time Limit accordingly.
These new options may be accessed 2 ways.
1. Via the UT menu. Options - Advanced Options - Game Types* 2. Edit the new gametype sections in your UT.ini file.
The new gametypes:
BP5DOM.Domination - Domination on Domination maps. BP5DOM.TeamGamePlus - Team Death Match on Domination maps. BP5DM.Domination - Domination on DM maps. BP5DM.TeamGamePlus - Team Death Match on DM maps. BP5CTF.Domination - Domination on CTF maps. // Note, this will put 1st 2 Control Points where the flags would usually be. BP5CTF.TeamGamePlus - Team Death Match on CTF maps.
After you play a game with one of the new gametypes, a new section should be appended to you UnrealTournament.ini file.
Look for sections: [BP5DM.TeamGamePlus], [BP5DOM.Domination] etc.
You can edit the settings there.
Drop the files into your UnrealTournament\System folder. Configure a SwarmSpawn.ini file as you wish. Select one of the new gametypes and play.
For servers uz files provided for your redirect.
Note regarding MaxTeams.
The game setup menus will not allow you to set this to be 1. If you wish to have all players and bots on Red, and all Monsters on Blue, edit the UnrealTournament.ini file section for the gametype, and set MaxTeams to 1 and MonsterTeamNum to either 1 or 255.
Although this will work with most any mutator you use to add monsters to your games with, it is recommened that you use the SwarmSpawn mutator to add them. (Sample ini files included.)
For this to work well, you need to use a mutator that will maintain a fixed number of monsters in the game all the time. SwarmSpawn was designed to do just that.
The default Epic domination gametype code is an abomination and full of unoptimized horror. Details available on request.
Thanks to Dr.Flay over at UT99.org for the int file tweak that gives access to the gametype settings in Advanced Options. Note you must have OldSkool installed for the Advanced Options menu to be available.
Also thanks to Feralidragon for the bit of code that does the maxMapSize calculation.
Note. This will not work with U1. I compiled it with Botpack as an edit package. DERP!!!!
RC2, will work with U1 and UT. It will most likely also fix the errors inherited from the Fly code that occasionally cause the warnings in the log. (State TacticalMove. Function PickDestination craps....)
The default sightradius for the zombies is set at 8200, but if you use the SwarmSpawner mutator instead of the mutator included in the Zombies5 package, I think you can adjust that. (Haven't testing adjusting that specific setting yet,....)