the mountain

Unreal Tournament 99 => Mutators, Tools, Utilities => Topic started by: Helen on May 27, 2010, 10:33 PM

Title: medToggle Version 2
Post by: Helen on May 27, 2010, 10:33 PM
[edit]This thread covers medToggle210, the latest of Version 2. Please note that if you have not used medToggle before and would like to, that Version 3 is out, which is located here http://www.birdieman.com/cgi-bin/yabb2/YaBB.pl?num=1293484047. Thanks.

This mutator allows you to 'toggle' many different game settings per map.

Example - let's say that for the maps in your rotation, you mostly don't want the Translocator to be used, but you wish it could be turned on for just a couple of maps. Well, with this mutator, you can!

Another example - you could be mostly happy with the default Air Control of 35%, but for DM-Morpheus, you could set it to 100%! Or drop it to 5%, and watch everybody struggle getting back onto solid ground. This sure would stop those players who camp the weapons up top.

And another example - you could set the frag limit higher for tiny maps, and smaller for big maps.

Here are all the settings available to set per map:




           
           
           
           
           
Frag LimitTranslocator      Weapon Stay
Max Team Score      Bot SkillForce Respawn
Game SpeedMin PlayersForce Team Balance
Air ControlTime LimitFriendly Fire
Gravity

There are 2 ways you can go about setting up this mutator. The much easier way is to use medMutatorEd. Please see this post for more info on medMutatorEd: http://www.birdieman.com/cgi-bin/yabb2/YaBB.pl?num=1275011847
(Note, at the moment, medMutatorEd only supports up to medToggle200, I will update it to support medToggle210 soon).

However if you want to do it manually, here is the package you need:
//www.birdieman.com/downloads/medToggle210.zip

The help file is included in the package.
Title: Re: medToggle200
Post by: Hook on Jun 08, 2010, 03:50 PM
I am not sure how you set this up for individual maps.
Is it done in the UT Menu under the mutator tab or something?
Or can you do it in an ini file?
Title: Re: medToggle200
Post by: Helen on Jun 08, 2010, 05:05 PM
I'm guessing you downloaded the medToggle200.zip. If that is so, then yes, you have to do the editing in the medToggle.ini. And, it is not that easy! So also in the download package, you should see a HelensMutatorHelp.chm file. Just double-click this to open, and then click on the medToggle link in the tree on the left. This will have the help and directions what you need to do. Good luck!

Now there is another way. I knew that editing it manually wasn't easy, so I made an exe just for this purpose, called medMutatorEd. That is the in the related post I mention above. This is the much, much, MUCH easier way to set it up. The only drawbacks to this is that you have to have a windows OS (or at least wine), and you need to have the .net framework 3.5 installed (which is no big deal IMHO, but maybe too much of a pain for some, dunno). If you have windows, I would say give medMutatorEd a go. It also has a help file for the mutators, but the help this time is geared for medMutatorEd.

Let me know if you have any troubles, or if you want help with the ini, np I can help you set it up if you want, you just have to tell me what you need.
Title: Re: medToggle200
Post by: Hook on Jun 09, 2010, 02:53 PM
Well the Help file doesn't show anything - Page unavailable it says.
Link bad?
Maybe do an ini file as an example with say 2 or 3 maps set up!?!?
I understand the ini but I do not know what would be done to it to designate which maps to affect the settings.

[medToggle200.medToggle]
bLogInfo=false
bLogErrors=false
DMTranslocator=false
TDMTranslocator=false
LMSTranslocator=false
ASTranslocator=false
CTFTranslocator=true
DOMTranslocator=true
cGameSpeed=1
cAirControl=0.35
cBotSkill=2
cMinPlayers=2
cFragLimit=30
TDMMaxTeamScore=100
CTFMaxTeamScore=5
DOMMaxTeamScore=100
cTimeLimit=20
cWeaponStay=true
cForceRespawn=false
cForceTeamBalance=true
cFriendlyFire=0
Title: Re: medToggle200
Post by: Helen on Jun 09, 2010, 09:05 PM
Quote from: 434444404F4E4D52132B0Well the Help file doesn't show anything - Page unavailable it says.
Link bad?

Huh. The page is actually compiled into the file, it doesn't have to go to the internet. I know it works on my dev machine, plus another machine I tried it on. Grrrrrr. I would be curious what OS you have, and what version of IE you have (if you do).

Meanwhile, I have posted the help file at http://birdieman.com/mutator/medToggle.htm. It was already an html file so no big deal.

I'll provide an extra example here too. Let's say you wanted these settings:

(http://birdieman.com/pics/app/mme07.gif)

(screenshot from medMutatorEd, hint hint). The line in the ini would look like:

cMap[0]=DM-Unit,true,1.1,0.88,7,3,55,4,true,false,true,0.6

The values are a bit whack, but I am trying to use values that are different from each other, so you relate what 'slot' they go into.

Try that.
Title: Re: medToggle200
Post by: Hook on Jun 10, 2010, 01:24 PM
OK - Yes I see how to do it now!
It isn't real hard at all - Thanks! : )

Now a couple of things...

1) Could you add another slot to this mod that Alters Gravity for Each Map? (Like Bodens?)
That would be the icing on the cake!

2) Note, the Frag Limit and Max Team Score share the same spot.
SO, How do you keep them separate for different game types on one server?
For instance...
Say you are playing DM in DM-Unit with a frag limit of 50 and then in mapvote you switch to TDM in DM-Unit.
will the team score be 50 then?
(I guess that would be OK though)

3) Does this mod Over-Ride settings set say in MapVote, etc.?
Or do you use instead of Default settings elsewhere?

4) Do you HAVE to have the default settings set to SOMETHING - or can you have nothing in the default settings?
(I am assuming that you MUST set them to Something for sure)

5) What do the following 2 settings do?
bLogInfo=true
bLogErrors=true

6) IF I don't want to use it in a Command Line, can I add it as a ServerActor? Such as...
ServerActors=medToggle200.medToggle

7) So adding maps to the ini file would look like this as follows?...
(no space between defaults and map sections?)

bLogInfo=false
bLogErrors=false
DMTranslocator=false
TDMTranslocator=false
LMSTranslocator=false
ASTranslocator=false
CTFTranslocator=false
DOMTranslocator=false
cGameSpeed=1.04
cAirControl=0.55
cBotSkill=2
cMinPlayers=5
cFragLimit=30
TDMMaxTeamScore=100
CTFMaxTeamScore=5
DOMMaxTeamScore=100
cTimeLimit=13
cWeaponStay=true
cForceRespawn=true
cForceTeamBalance=true
cFriendlyFire=0
cMap[0]=DM-Crane,,,,4,7
cMap[1]=DM-DarkCity][,,,,4,7
Title: Re: medToggle200
Post by: Helen on Jun 11, 2010, 12:15 AM
Holy moly! I appreciate the feedback.

1) Yes, that would be a good one. I can try that is. I've only done a couple mods. Each time I started one I didn't know how to do it, but got it done, haha. LowGrav would be a good addition. So I looked up "Boden's" and I see he has done basically the same thing! Looks like just a couple of minor (and obvious) differences between ours. One not obvious thing is that mine can handle up to 255 maps. I'll have to add that to the readme.

2) Good point. I will have to provide a spot for both frag limit and team score. I didn't think about a single map name being reused for two different game types.

3) I need more info here. I am not too familiar with mapvote, and I am not quite sure what you are asking. I'm guessing you are saying that with map vote, you can specify one of the settings that is also changed by medToggle. So if both mutators are trying to set it, which value will get used? Good question. It could just as simple as specifying the order of the mutators in the command line. Well hey instead of me thinking out loud here, how about you post a link to the mapvote mutator you are using, and I can grab it and test and see for myself.

4) I'll keep it simple and say yes.

5) They write text to the console log if set to true. bLogInfo will be very handy at first, it tells you what defaults you have set, the map name it is going to look for, if it finds it, and what custom values it found for the map. It just helps you get your settings right when first setting up. If you find it is not working at all, you can set bLogErrors to true and see if that tells you anything.

6) I checked this out and no. It half works. I believe with ServerActors that no code gets sent to client, so probably some of the settings need to be sent to the client and others don't, so that is why some work.

7) Yes that looks good. I never tried it with a space, but just go without it.


And just a bit more info. If you accidentally add an invalid value for one of the settings, it won't be used because there is internal checking. So if you accidentally set game speed to 200, internally it would say "nope" and just provide a basic value (like 1 in this case).
Title: Re: medToggle200
Post by: Hook on Jun 11, 2010, 01:38 PM
3) I need more info here. I am not too familiar with mapvote...
Check it out here - Download available there also - my forums. (MapVoteLA13 specifically)
http://hooksutplace.freeforums.org/mapvotela13-mapvote-explained-t832.html

6) I checked this out and no. It half works...
OK - we need to find out How to run this mutator without using a command line.
You can see my reasons in my Server How To's section.
Maybe Add it into Mapvote? or? ActorCLP?
Title: Re: medToggle200
Post by: Helen on Jun 11, 2010, 03:17 PM
Quote from: 727575717E7F7C63221A0
6) OK - we need to find out How to run this mutator without using a command line.
You can see my reasons in my Server How To's section.
Could you point out the topic/post exactly? There are a lot of topics there.


Quote from: 727575717E7F7C63221A0
6) Maybe Add it into Mapvote?
Hmm, this might be a way to start it, but wouldn't the users have to select it? It wouldn't be very transparent as to what it's doing either. When someone selects Instagib, they know what they're getting. If the choice was medToggle, what the heck would that mean to the user! Because it would have so many settings. Well, maybe this will make sense to me when I check out mapvote tonite, but if you have any more info here how you thought you would be using it would be great.


Quote from: 727575717E7F7C63221A0
6) ActorCLP?
Aha, this looks promising (I just looked it up). This will be the first thing I try. I should be able to get to this one at least tonite.
Title: Re: medToggle200
Post by: Hook on Jun 11, 2010, 05:47 PM
Hook wrote on Today at 12:38pm:
6) OK - we need to find out How to run this mutator without using a command line.
You can see my reasons in my Server How To's section.

Could you point out the topic/post exactly? There's are a lot of topics there.
Well, it is no matter - it is just that one very knowledgeable server admin and coder preaches to FIRST, leave the command line AS IS in a rental server.
I am pretty server savvy myself having ran them since 2000 or so and rentals within the last few years and this seems to ring true as to what he told me and others.
THEN, have ActorCLP load in MapVote only.
THEN have MapVote load in all your mods/mutes as needed.
If you have mutators that are server side only, and run for ALL maps and game types, add them as server actors in the ut ini. if possible.

===============================
Hook wrote on Today at 12:38pm:
6) Maybe Add it into Mapvote?

Hmm, this might be a way to start it, but wouldn't the users have to select it? It wouldn't be very transparent as to what it's doing either. When someone selects Instagib, they know what they're getting. If the choice was medToggle, what the heck would that mean to the user! Because it would have so many settings. Well, maybe this will make sense to me when I check out mapvote tonite, but if you have any more info here how you thought you would be using it would be great.
Users wouldn't select it - they only select Game Types like CTF or TDM or whatever.
You can add in mutators that run for each game type you add - they run behind the scenes.

====================

Hook wrote on Today at 12:38pm:
6) ActorCLP?

Aha, this looks promising (I just looked it up). This will be the first thing I try. I should be able to get to this one at least tonite.

Yes, it may work, but ActorCLP MAY not work with MapVote, as the server may not use ActorCLP when MapVote switches things after voting - not sure though.
I am thinking that mapvote MAY be the best place as medToggle200 would for sure run for Each Game Type selected in MapVote.


PS: sorry for my "mess" here - getting tired and un-organized! : )
Title: Re: medToggle200
Post by: Helen on Jun 12, 2010, 12:12 PM
I tried using mapvote to start it, since that looks like what you'd prefer. Basically, it works. Yes mapvote started it, and yes all the medToggle settings were used. But there is a little extra work you are going to have to do though in MapVoteLA.ini.

This first one, you may know this already, but I didn't, so I had to figure this out. Ok, getting it to start using a CustomGameConfig line was easy. For example

CustomGameConfig[0]=(bEnabled=True,GameClass="Botpack.DeathMatchPlus",NewPrefix="MDM",Mutators="medToggle200.medToggle",Settings="")


But I wanted it to start for the regular game types too. So what gets this to work is having these 2 lines for example to handle one of the regular game types (take note of what the NewPrefix is!):

bDM=False
CustomGameConfig[0]=(bEnabled=True,GameClass="Botpack.DeathMatchPlus",NewPrefix="DM",Mutators="medToggle200.medToggle",Settings="")


Ok that's one thing. The second thing is, in order for your DEFAULT settings to be used, you are going to have to either
- include medToggle as a mutator for every single game type, or
- utilize the MapVoteLA.ini config line where you can specify default settings.

Here's a scenario why this is needed. Let's say your default preference for Translocator is false. The players then vote for a map that will start medToggle, and for this map, medToggle had been told to set Translocator = true. All good. Then the map ends. Then the players vote for a map where medToggle will not be started. But then the Translocator is still stuck on True, because nothing told it to set it back. So again, either medToggle is included for each game type, so it will handle resetting defaults, or, you can set up that [DefaultSettings] config line in the MapVoteLA.ini. Note, I didn't actually try this DefaultSettings thing, I am just trusting it works.

Ok I have some time to take a peek at the coding changes I need to do.

P.S., fixed my smilies   ;D
Title: Re: medToggle
Post by: Helen on Jun 12, 2010, 10:27 PM
Ok, the first post above has the link to medToggle210.
- Max Team Score and Frag Limit now have their own spots per map.
- added Gravity.
- added a txt help file since the chm doesn't work for everybody.
- in the help file I specify what values are valid for each setting.

The link to the help file above has the updated info.

Let me know if you have any troubles.  8-)
Title: Re: medToggle
Post by: Helen on Jun 12, 2010, 10:40 PM
Hook, I should mention, if you put these 2 files in your system folder, you don't need them anymore, they are the old version:

medToggle200.int
medToggle200.u

But keep the medToggle.ini, just open it up, and change the very first line to be:

[medToggle210.medToggle]
Title: Re: medToggle
Post by: Hook on Jun 14, 2010, 02:10 PM
Quote from: 2421282C2B450Hook, I should mention, if you put these 2 files in your system folder, you don't need them anymore, they are the old version:

medToggle200.int
medToggle200.u

But keep the medToggle.ini, just open it up, and change the very first line to be:

[medToggle210.medToggle]
Yep, Ah so!
I also have to change any Map Lines that I added to reflect the New 210 version!

Isn't learning MapVote FUN? :D
All you added (above) about MapVote ini settings are what is needed to be done.
Yes, the Default Gametype lines should be False if you do Any altering of things in the (see code below) lines like the DM example you gave.
bDM=False
CustomGameConfig[0]=(bEnabled=True,GameClass="Botpack.DeathMatchPlus",NewPrefix="DM",Mutators="medToggle200.medToggle",Settings="")

As far as the DefaultSettings line is concerned, I do not know IF this line can handle mutators or not - Never tried it.
I know settings can be put there (default settings), but I have never tried Mutators there nor have I heard of using them in that line.
I think it is Only for Default Settings though. ;)

This is something I have been looking for, for several months now - the 210 version! :)
Thank you!!!
I will be testing it as soon as I can - when I get time :P - I'll be back with my results!

PS: Let's keep this mod a secret - At LEAST until we get it all tested and running!
(Keeps the Competition at bay!) :D
They will be Wondering HOW/What we are using to adjust all those things on a map-by-map basis! LOL
And with more than 50 maps!
Title: Re: medToggle
Post by: Helen on Jun 14, 2010, 11:02 PM
Quote from: 3532323639383B24655D0As far as the DefaultSettings line is concerned, I do not know IF this line can handle mutators or not - Never tried it.
I know settings can be put there (default settings), but I have never tried Mutators there nor have I heard of using them in that line.
I think it is Only for Default Settings though. ;)

I'll clarify what I meant here, but then I'll tell you not to do it anyways. I didn't mean to put the mutator in the DefaultSettings line. What we have is two mutators who can change the very same settings, the medToggle, and the MapVote. So on the one hand you could have medToggle tweaking settings, and then to get things back to normal, you could set up the DefaultSettings exactly as described in the MapVote readme (nothing to do with medToggle).

But anyways, don't use the DefaultSettings, because we don't know the order that things will happen. medToggle could run and tweak settings, and then the DefaultSettings could set them back. So yeah, I would add medToggle to each game type, so that it is the one responsible for setting things back to default.

Quote from: 3532323639383B24655D0PS: Let's keep this mod a secret - At LEAST until we get it all tested and running!
I'm not exactly getting a million hits a day so I think the secret is safe  ;D
Title: Re: medToggle
Post by: Hook on Jun 15, 2010, 03:40 PM
Quote from: 797C757176180But anyways, don't use the DefaultSettings, because we don't know the order that things will happen. medToggle could run and tweak settings, and then the DefaultSettings could set them back. So yeah, I would add medToggle to each game type, so that it is the one responsible for setting things back to default.
Hey, exactly as I thought to do it! ;)

The True beauty of this mod is being able to set these 2 settings...
BotSkill and Gravity
And, doing it PER EACH Map (up to 256 maps anyway) - but that is still a lot.
Any other settings can be added VIA MapVote if needed.
I can't think of any other settings off hand to add to this mod - and maybe best not, as it would get too difficult with a bunch of settings or any more settings than it already has. :D
Title: Re: medToggle
Post by: Hook on Jun 22, 2010, 01:26 PM
Just a note...
I am still planning to add this mod into my servers.
It will take a bit of doing so I am waiting for the time I am able to do the transition.
I'll report as to how it is working when I get it done. ;)
Title: Re: medToggle
Post by: Helen on Jun 23, 2010, 12:48 AM
For sure.

I'm curious why you didn't want to use the medMutatorEd to help you set up the ini? Non-windows OS?
Title: Re: medToggle
Post by: Hook on Jun 24, 2010, 01:40 PM
At home I run Win ME.
I am Not sure about this...
QuotemedMutatorEd requires Microsoft .NET Framework 3.5 SP1 to be installed on your PC.
NET Framework 3.5 SP1 - What is it? :-?

I set this up when I was Not at home. (this time)

Also, I am pretty comfortable and also used to messing with ini files, etc. ;)
Title: Re: medToggle
Post by: Helen on Jun 26, 2010, 01:42 AM
Quote from: 3C3B3B3F3031322D6C540At home I run Win ME.

Wowwwww :o 

Ok, don't worry about it, I don't know if the .NET framework would work on ME, but I'm guessing not.

This is a lousy definition, but the .NET framework is sort of like a pre-package of dlls you need to install, before you can use a program that was coded against it (like medMutatorEd is).

Title: Re: medToggle
Post by: Hook on Jun 29, 2010, 01:51 PM
OK - I just thought of something... :(
I have a MinPlayers of 5 on DM games and a MinPlayers of 6 on TEAM games like for DOM, CTF and TDM.
Title: Re: medToggle
Post by: Helen on Jun 29, 2010, 11:59 PM
The solution is to have min 6 players for DM, kaff.

Actually, I just had a crazy idea. I'll try it out by wednesday, I have a few days off starting then.
Title: Re: medToggle
Post by: Helen on Jun 30, 2010, 11:27 PM
UT is so awesome, it still continues to amaze me. You can do this.

Take the medToggle210.u file, make a copy, and name the copy medToggle209.u

You have the same mutator code for 209 and 210, but because they have different names, you can get them to use different settings. Think of the 209 one as the TDM one. So in mapVoteLA.ini, you may have:


CustomGameConfig[0]=(bEnabled=True,GameClass="Botpack.DeathMatchPlus",NewPrefix="DM",Mutators="medToggle210.medToggle",Settings="")
CustomGameConfig[1]=(bEnabled=True,GameClass="Botpack.TeamGamePlus",NewPrefix="TDM",Mutators="medToggle209.medToggle",Settings="")


Then in the medToggle.ini, you can have two sections, one for each named instance of it, so for example you could have:


[medToggle209.medToggle]
bLogInfo=false
bLogErrors=false
DMTranslocator=false
TDMTranslocator=false
LMSTranslocator=false
ASTranslocator=false
CTFTranslocator=true
DOMTranslocator=true
cGameSpeed=1
cAirControl=0.35
cBotSkill=2
cMinPlayers=2
cFragLimit=30
TDMMaxTeamScore=100
CTFMaxTeamScore=5
DOMMaxTeamScore=100
cTimeLimit=6
cWeaponStay=true
cForceRespawn=false
cForceTeamBalance=true
cFriendlyFire=0
cGravity=222
cMap[0]=DM-Codex,,,,,,,20,,,,,,

[medToggle210.medToggle]
bLogInfo=false
bLogErrors=false
DMTranslocator=false
TDMTranslocator=false
LMSTranslocator=false
ASTranslocator=false
CTFTranslocator=true
DOMTranslocator=true
cGameSpeed=1
cAirControl=0.35
cBotSkill=2
cMinPlayers=2
cFragLimit=30
TDMMaxTeamScore=100
CTFMaxTeamScore=5
DOMMaxTeamScore=100
cTimeLimit=5
cWeaponStay=true
cForceRespawn=false
cForceTeamBalance=true
cFriendlyFire=0
cGravity=222
cMap[0]=DM-Codex,,,,,,,30,,,,,,


So besides time limit, you can have different defaults for TDM for all the other settings too.  8-)
Title: Re: medToggle
Post by: Hook on Jul 01, 2010, 01:30 PM
Hey, you are really thinking outside the box here!
I have had things like this in the back of my mind, but I didn't really think it would work - more like wishful thinking and not enough to try it actually.
Great going! :D - Problem Solved!
This really does work?

I wonder what other mods this would be good for? :o
Hmmmm...
Title: Re: medToggle
Post by: Helen on Jul 04, 2010, 09:05 PM
Yep it works, I tested it. I think this idea would work for any mute, at least if it's config variables were local to it's respective classes. I'm not sure about global variables, as I haven't used them yet.

I got a bit more personal satisfaction out of this mute today. I added some new maps to the rotation, and I was able to add both smaller and larger maps that I normally would, because I can just twiddle with the Min Players value per map. Beautiful.  :)
Title: Re: medToggle
Post by: Back4More on Aug 24, 2010, 07:58 AM
:) lets see if I can request a few simple additions to this excellent mod.

Firstly although I have not yet used it I understand what it does and how it does it to some extent.

I think that all the bases have been covered in terms of GameSpeed/AirControl/Gravity and even BotDifficulty :) which is what has drawn myself personally to this board :) Welldone.

I do however have one small request which Iam sure that others in time will also inquire about , that is the case of mutators... more specifically Servers setup with several Mutators/Gametypes and actors/packages to suit.

Originally CR@TOS from http://www.utassault.net/ (//utassault.net) conjured up a leading edge MapVote system named MapVoteLA13 (http://forums.utassault.net/showthread.php?t=55286) many moons ago for multiple GameTypes which is what 80% of online servers are using today , he of course built this system upon an existing mapvote BDB by another chap whom's name I am not familiar with although Iam sure that we are all Greatful for his/her's efforts to provide at least a voting system for the UT engine.

Now Mr CR@TOS also got 1/2 way through building another interesting mod by the name of DynamicPackageLoader (http://forums.utassault.net/showthread.php?t=46477&highlight=DynamicPackageLoader) or DPL as I often refer to it.

Unfortunately he soon after retired from UT and took up knitting & to date no-one knows which bar he now frequents - even Moe has no clues as to his where-abouts *Burp.This was unfortunate because the DPL ^ is lacking in a few features which has become the stumbling block for many a admin ever to even attempt to use this almost awesome mod. :\

ok. BackOnTrack . Basically the above 2 Mod's can do the following things which are advantageous to server Admins/Players.

MapVoteLA13 allows the ServerAdmin to setup 4 seperate list (columns) with I think 16 different GameTypes in all Totaling 1024 maps. Each separate GameType has a PreFix ie; "DM","CTF","AS" etc and each CustomPreFix (GameType) can have specific Mutators/Settings applied to them.

hope I havent lost ya yet lol.  :D

now the draw backs with the MapVoteLa13 as well as DPL system's that I personally find frustrating is that it uses the basic Maptypes for all 16 Gametypes; these being DM-,CTF-,TDM,DOM,AS which means that I can-not rename maps to say SLV-MapName (flying Rockets) or SN-MapName (sniper) etc and set a Custom Prefix 'SLV' or 'SN' within MapVoteLa13 or DPL :\ to reflect that I would like to load ONLY these Maps into This Column.

So the effect of which is I either enter manually into the Mapvotela.ini each individual map for each of the 16 Gametypes and run out of space or use a std PreFix for each corresponding Gametype and end up doubling the maps into each respective column.

for example if I have 3 GameTypes 'DM','CTF' & 'SLV' , I configure MapVoteLA13 & set prefixes for 'DM','CTF' and 'SLV' which use the Actual Prefixes 'DM' , 'CTF', 'CTF' lol.
so I have 100 DM Maps & 100 CTF Maps, But my Mapvote after configuration = 100 DM Maps + 100 CTF Maps + 100 SLV Maps (which are the 100 CTF ones)= 300 Maps. now you'd think I could just setup mapvote SLV column only to load 'SLV' Maps , Which I can. But now the CTF Column is loaded with all the SLV maps as well so there's no winning either way in this respect and unfortunately you will run out of room (hit the 1024 map limit) in no time.

yes I know its not really the place to post this information but Iam giving you a run down on the pro's/Cons of these system's before finally getting to my point at some stage.

so to sum it up MapVoteLA13 allows players to vote for 1 of 16 GameTypes through a menu Which will upon loading of the Map add specffic Mutators to that Prefix / Gametype.

not only that you can also add any of the settings for gameSpeed, botDifficulty, time , MinPlayers etc all for each individual GameType.

However it was soon discovered that certain GameTypes didn't function with Certain ServerActors! this is True with 'RA' (Rocket Arena) and Pure7G (Protection) where by the PlayerPawn.Spawn actor conflicts and although the 'RA' Menu will fucntion you will never actually get to spawn into the map or play a round unless you disable Pure7G. down side of course is that you could not disable Pure7g for just that Gametype... Henceforth Mr CR@TOS conceived the DynamicPackageLoader Which Works Hand n Hand with MapVoteLA13 and apart from a small problem in relations to Virtual Prefixes it manages to enable/disable Actors/Packages for each GameType which was also Advantageous in the sense that a Player would not have to download Every Serverpackage for every GameType  to play a round of DM-Deck16][ lol.

*And this almost worked a treat....  except for the fact that 'RA' is not a standard PREFIX.  DPL could not recognise the 'RA-MapName' or 'SLV-MapName' as it was actually looking for 'DM-Mapname' & 'CTF-MapName' instead and so the whole thing flopped end of Story.

Right that is not to say that someone could not .ucc decompile these mods and make a few adjustments to fix these minor issues however and one such fellow attempted but failed to end his code appropriately and I was privy to 10,000 Access-None errors in my log's :\

As well as it not actually performing the simple task of disabling Pure server Actor and Loading the 'RA' game up.

I am Very Greatful however that he tried though. cudos Bilbo for that ^_^

ok so after this small essay I have a couple of requests that you may be able to fullfill hopefully.

first one in respect medToggle , is there a way of assigning GameTypes/Mutators to certain Maps so if i wanted SmartCTF for CTF maps but not for DM Maps.

an example from MapvoteLA13:

CustomGameConfig[0]=(bEnabled=False,GameClass="EUTSource.EUTDeathMatchPlus",NewPrefix="DM",Mutators="AntiTweakV42.AntiTweak,UDamageFix.UDamageFixMut,WhoPushedMe.WhoPushedMe,HumiliationV2.HumiliationMutator,PubliciseScore.PubliciseScore,Resurrector.MutResurrection,AKAv6KLog.AKAv6KLog",Settings="MinPlayers=2,bMegaSpeed=False,GameSpeed=1.05,AirControl=.35")

and for CTF I use:


CustomGameConfig[3]=(bEnabled=True,GameClass="EUTSource.SmartCTFGame",NewPrefix="CTF",Mutators="AntiTweakV42.AntiTweak,UDamageFix.UDamageFixMut,WhoPushedMe.WhoPushedMe,ZeroPingPlus103.ZeroPing,HumiliationV2.HumiliationMutator,PubliciseScore.PubliciseScore,Resurrector.MutResurrection,AKAv6KLog.AKAv6KLog",Settings="MinPlayers=2,bMegaSpeed=True,GameSpeed=1.05,AirControl=.65")


^_^ Basically gives you an Idea.

Secondly regarding your nifty little MedMutatoreditInstall110 Application :D could you perhaps incorporate MapVoteLA13.ini editing through there as well?

and Finally if you even understood a word I was saying in the essay above.If you have the Time / energy and/or inclination would you be able to fix the invalid PREFIX issue's in MapVoteLa13/DPL ??? ...

thanks for helping to keep ut99 alive and I hope at the least that I have given you some new idea's for any future projects that you are working on . If you need a beta Tester for anything just flick me an email and I'll be happy to help :)

Best Regards

[BFM]
::)







Title: Re: medToggle
Post by: Back4More on Aug 24, 2010, 08:07 AM
Wow lol I was just looking at your solution above with havinf 2 MedToggle's lol wicked.

I actually thought about doing the same thing with mapvoteLa13 a while ago to get around the 1024 maps thing . Imagine have 4 MapvoteLA's all Hubbed together by say MapHubLA13 lol *how's that for Originality lolz

then have it load up one mapvote just for DM with 1024 custom DM maps.

set 3 aside for CTF SLV what ever lol. each capable of holding 1024 Maps.

I would assume that the hub would need to be a ServerActor which could be called up by a cmd like !Change or something lol.

Interesting stuff..

I will be Back4More tomorrow.

Keep up the good Work :)
Title: Re: medToggle
Post by: Helen on Aug 25, 2010, 12:01 AM
Hello there. Thank you for the essay. More info always better than not enough :)


Quote from: 787466150first one in respect medToggle, is there a way of assigning GameTypes/Mutators to certain Maps so if i wanted SmartCTF for CTF maps but not for DM Maps.
I don't think I quite understand the requirement here. It seems to me your example is doing exactly what you are asking for. So I'm missing something. Or did the post above about making copies of medToggle do the trick?


Quote from: 787466150Secondly regarding your nifty little MedMutatoreditInstall110 Application Cheesy could you perhaps incorporate MapVoteLA13.ini editing through there as well?
This item is actually not far down my list of things I would like to do, but it could be far into the future that it gets done. I need to pace myself so that I still enjoy coding these mods (I have been spending a bit too much time on it lately). And you are 2nd in the queue for a request :o


Quote from: 787466150and Finally if you even understood a word I was saying in the essay above.If you have the Time / energy and/or inclination would you be able to fix the invalid PREFIX issue's in MapVoteLa13/DPL ??? ...
I wouldn't fix it if the author does not give permission. I happen to know someone who has already asked, but has not received a reply, so the same would probably happen to me.

But anyways, I'm an amateur unrealscript coder, I don't even know if I could make a dent in this megalith of a mute.

It is curious why you have to use one of the 16 (are there really that many?) game types, that is, if he didn't make it dynamic, there must be a reason for it.


Quote from: 787466150or example if I have 3 GameTypes 'DM','CTF' & 'SLV' , I configure MapVoteLA13 & set prefixes for 'DM','CTF' and 'SLV' which use the Actual Prefixes 'DM' , 'CTF', 'CTF' lol.
In this example, couldn't you use the SLV to use the 'TDM' prefix?
Title: Re: medToggle
Post by: Back4More on Aug 25, 2010, 04:56 AM
I was looking at moving away from mapvotela and over to something which autochanges maps but also adjusts gametypes/mutators for each map. then I was going to mix em all up like start with deck16 normal weps, to face classic normal weps to wootabulous IG Turbo, to amon combo instagib etc

kinda lead the players on a trip through different modes of play but theres no one mutator up for the challenge which i thought yours might be. but i don't see anywhere to assign gametype/mutators to speciffic maps.

oddly enough , tonight an experienced player told me that my turbo ctf server was funny because the teleporter went slower then the player which was kinda funny lol.

do you know of a mod that can increase the speed/distance of the teleporter?.

thanks for other explanations.

note to self funny faces like ^ _ ^ end up being translated into funny words like '^_^' in this board lol.

Title: Re: medToggle
Post by: Helen on Aug 25, 2010, 10:57 PM
Quote from: 373B295A0I was looking at moving away from mapvotela and over to something which autochanges maps but also adjusts gametypes/mutators for each map. then I was going to mix em all up like start with deck16 normal weps, to face classic normal weps to wootabulous IG Turbo, to amon combo instagib etc

kinda lead the players on a trip through different modes of play but theres no one mutator up for the challenge which i thought yours might be. but i don't see anywhere to assign gametype/mutators to speciffic maps.

That's a nice idea for the players. As for doable: I know I could do the mutator per map easily. As for changing between gametypes, I don't know how to do that, but mapvote can do it, so it must be possible. I can add this to the list.

Quote from: 373B295A0do you know of a mod that can increase the speed/distance of the teleporter?.

Something new again for me but I'll put it on the list.

Quote from: 373B295A0note to self funny faces like ^ _ ^ end up being translated into funny words like '^_^' in this board lol.

We just figured you were a happy guy haha.

Fair warning, I currently have a mutator in development, and I'm pacing myself, and I actually want to PLAY ut more, so could be a while before you get any results. Maybe you'll get it under the christmas tree, DOH! Nah sooner hopefully.
Title: Re: medToggle
Post by: Back4More on Aug 26, 2010, 06:47 AM
lol hey doll , thanks for the heads up , perhaps decompiling mapvote would yield how / what is needed for such a task ..perhaps.

as for the translocator I have found one thanks very much appreciated also.

question about uscripting though , how long have you been coding for and where could I get some tutorials (descent ones) on this subject? perhaps you have a couple of links to some relevant sources?.

thanks again and enjoy your game :)

8-)
@hook Windows Me - is the Mother of F%^&Up's bro honestly it's only next contender is Vista :P lmao.

I would highly recommend upgrading to XP at the very least for a more Stable - less blue Screeny approach or to Windows Seven... Don't even think about win2k lol
:(
Title: Re: medToggle
Post by: Helen on Aug 27, 2010, 12:24 AM
Note, Helen is only my game nick...

I have been coding since January of 2010. I honestly don't remember where I started, just internet searches basically. This looks pretty good for starting:

http://forums.epicgames.com/showthread.php?t=708162
Title: Re: medToggle
Post by: Back4More on Aug 27, 2010, 04:51 AM
^_^ ah I see .. yes I suppose I take Names/Avatars and other traits to be of femininity lol more often then not and must admit that Iam almost always Wrong hehe.

However I always suspect that many are cross-dresser's and/or regret their gender @ birth lmao.

;)

ok I will BM that one and revisit it when i have time.
Cheers.
 
Title: Re: medToggle
Post by: Back4More on Aug 27, 2010, 04:54 AM
BTW is that skin in your avatar available for download... ? thinking of trying on some new clothes jokes. I would like to install some nice skins on my server thats all and I think that one looks pretty damn hot ;)

I have one called Tarna I think and its really well done.
Title: Re: medToggle
Post by: Helen on Aug 28, 2010, 01:31 AM
I haven't seen that skin as an in-game skin. In fact I have always thought it was just a representation of the standard soldier girl skin. If there is cool version of that skin, I want it too  :)

I'd like to see that Tarna skin.
Title: Re: medToggle
Post by: Hook on Aug 30, 2010, 01:48 PM
Yes, it is just a representation of the standard soldier girl skin is all.

Back4More - As far as ME goes?
I am fully aware of what ME is.
Nothing wrong with it if it is installed correctly and it is far better than Vista - LOL! ;D
Many use it still with very stable results. ;)
And it doesn't need any virus protection - because nobody writes viruses for it. :D
Besides, why would I spend any money or resources to "upgrade" on a 11 year old box??? ::)
When it dies - it dies - and ME dies with it.
Title: Re: medToggle
Post by: Helen on Sep 29, 2010, 03:08 PM
Hey Back4More, I sent you a PM but maybe you don't have notification turned on. I'm trying here in case you are subscribed to this thread. I was just wondering if you would be able to beta test next version of medToggle.

- I have it working pretty good to do that 'journey' thing.
- It can now load actors/mutators, and prevent actors from loading.
- It can be told that you are using mapvote, so it knows to behave a little differently.

No worries if not though.  :'(
Title: Re: medToggle
Post by: MEAT on Dec 15, 2010, 01:59 PM
Thumbs up on medToggle210.
I just added it and it works great.
Easy to use to.
Thanks...
Title: Re: medToggle
Post by: Helen on Dec 15, 2010, 09:37 PM
That's kewl.
I actually have the next major version almost ready for release, I'll post it within a week or two.
Title: Re: medToggle
Post by: Helen on Dec 27, 2010, 10:46 PM
Hello subscribers. Just a note that medToggle301 is available, see the next thread  :)
Title: Re: medToggle301
Post by: MEAT on Jan 31, 2011, 10:30 PM
I'm dying to try this new mod because I"m having conflict with medToggle210 and mapvote working together.
But from what I read there shouldn't be an issue?
Plus I segregate or use different letters for different mods with the only game type being used is DM.
For example to denote one mod I use nDM and for others I use oDM, xDM and wDM.
Is this the line where I can interchange these mods  prefixAlias[0]=(prefix="DM",alias="TDM,EDM,ETDM")?
Or is this strickly game type info?
Title: Re: medToggle301
Post by: Helen on Jan 31, 2011, 10:54 PM
Quote from: 182F2E2F2F272F384A0I'm dying to try this new mod because I"m having conflict with medToggle210 and mapvote working together.
But from what I read there shouldn't be an issue?
What is the issue? I would need to see your medToggle210.ini and your mapvote.ini to help. You can PM me if you want those private.

Quote from: 182F2E2F2F272F384A0Is this the line where I can interchange these modsprefixAlias[0]=(prefix="DM",alias="TDM,EDM,ETDM")?
Or is this strickly game type info?
Even though I don't know what you need, pretty sure this is not what you should be setting. Give me a couple of (current) examples of CustomConfig lines in your mapvote.ini
Title: Re: medToggle301
Post by: MEAT on Feb 01, 2011, 10:35 PM
My current mapvote is set up similar to this:

CustomGameConfig[1]=(.....NewPreFix="DM",Mutators=
CustomGameConfig[2]=(.....NewPreFix="nDM",Mutators=
CustomGameConfig[3]=(.....NewPreFix="xDM",Mutators=

List2Filter[7]=nDM-[*
List2Filter[8]=nDM-]*
List2Filter[9]=nDM-(*     {.....I do this so I won't have to add each map individually.
List3Filter[7]=xDM-[*
List3Filter[8]=xDM-]*
List3Filter[9]=xDM-(*

DM being regular redeemer.
nDM being "Seeker" deemer...set at 5 bots.
xDM being Sniper deemer....set at 5 bots.
And when I use medToggle, for example, I'll add a map like so:
xDM-[WOLF]Map...set with 10 bots.
nDM-[WOLF]Map...set with 10 bots.
I think the problem or conflict is mapvote sees xDM-[* set at 5 bots.
While medToggle sees xDM-[* set at 10 bots.
So what happens is medToggle falls back to default setting...which is 5 bots.
And I run a number of different sized DM-[* maps so I need different bot counts.
Plus I don't think I can add each DM-[* map to mapvote because I'll run out of room.

Not sure if all these makes sense or not...but
Is there a limit to how many maps I can config with medToggle?
Similar question for mapvote...is there a limit to how many maps I can add per column?
With mapvote it looks like it limits out around 50 per column when you put them in individually.
Title: Re: medToggle301
Post by: Helen on Feb 01, 2011, 11:43 PM
When you say...

Quote from: 73444544444C4453210xDM-[WOLF]Map...set with 10 bots.
nDM-[WOLF]Map...set with 10 bots.
... I am not sure exactly what you have added to the medToggle.ini, but I think I can plod on. I'll say what can and cannot be done with medToggle210.

medToggle works against the real name of the map, not the pseudonyms that appear in mapvote. This means you can only have one MinPlayers default, you cannot have a different MinPlayers default for each of the pseudonyms DM, xDM, and nDM (if that is what you were hoping to achieve).

You should be able to set the MinPlayers per map though. However, the MinPlayers is tied to the real map name, not the pseudonyms. Let's say in your maps folder, for example, is a map literally called DM-[WOLF]wolfie.unr. So I am pretty sure you do NOT have a xDM-[WOLF]wolfie.unr in there, and you do NOT have a nDM-[WOLF]wolfie.unr in there.

So when the players vote to play any of DM-[WOLF]wolfie, xDM-[WOLF]wolfie, or nDM-[WOLF]wolfie, really all they boot up is DM-[WOLF]wolfie.unr. It is against this one map that you can specify the custom MinPlayers.

To do this, in your medToggle.ini, you need at least this line for the min players default:

cMinPlayers=5

Then your map specific line would look like this at least (this is showing where the MinPlayers of 10 would go):

cMap[0]=DM-[WOLF]wolfie,,,,,10,,,,,,,,

If I didn't answer your question, give me more info  :)

[edit]Oops, forgot these...

Quote from: 0E3938393931392E5C0Is there a limit to how many maps I can config with medToggle?
The limit is 256.

Quote from: 0E3938393931392E5C0Similar question for mapvote...is there a limit to how many maps I can add per column?
Umm, I don't know this answer, I thought I read somewhere it was 256 per column (maybe). But with dynamic loading of maps each time, that would lag da server if you had that many anyways.
Title: Re: medToggle301
Post by: MEAT on Feb 02, 2011, 10:41 AM
Quote from: 7471787C7B150

medToggle works against the real name of the map, not the pseudonyms that appear in mapvote. This means you can only have one MinPlayers default, you cannot have a different MinPlayers default for each of the pseudonyms DM, xDM, and nDM (if that is what you were hoping to achieve).
Kind of what I was going for.

But maybe my real issue is with mapvote only.
Again in mapvote I have:

CustomGameConfig[3]=(.....NewPreFix="xDM",Mutators=
List3Filter[7]=xDM-[*

xDM denotes a Sniper redeemer and default bots set at 5.
But I don't want all my DM-[* set with 5 bots so in mapvote I added:

CustomGameConfig[4]=(.....NewPreFix="wDM",Mutators=

wDM denotes a Sniper redeemer and default bots set at 10.

Again I have this:

List3Filter[7]=xDM-[*

But to add a DM-[* with 10 bots I write:

List3Filter[48]=wDM-[WOLF]Map

And it doesn't work.
So I think the problem is everything is defaulting back to xDM-[*...so I can't get 10 bots.

Title: Re: medToggle301
Post by: Helen on Feb 02, 2011, 11:52 AM
@MEAT

A couple of questions.

Are you using medToggle to set anything other than min players?

How do you start medToggle? Is it in the commandline, or are you adding it as a mutator in the CustomGameConfig lines?

[edit]BTW, once I see you reply so I know you've read this, then I'm going to try to move your posts into the medToggle210 thread, so look there if you don't see your posts in here anymore.
Title: Re: medToggle301
Post by: MEAT on Feb 02, 2011, 01:15 PM
I have medToggle as a mutator in the CustomGameConfig lines.
The main reason why added medToggle was so I could add less gravity to some maps.
And that works without a problem.
Title: Re: medToggle
Post by: Helen on Feb 02, 2011, 02:04 PM
Just see Reply #22 in this very same topic for what you can do. In your case you would have different values for the cMinPlayers setting between 209 and 210.
Title: Re: medToggle
Post by: MEAT on Feb 02, 2011, 10:00 PM
Quote from: 2E2B2226214F0Just see Reply #22 in this very same topic for what you can do. In your case you would have different values for the cMinPlayers setting between 209 and 210.
And I wouldn't need to set bots in mapvote?
Sounds like that would work perfectly.
Title: Re: medToggle
Post by: Helen on Feb 03, 2011, 02:01 AM
Quote from: 64535253535B5344360And I wouldn't need to set bots in mapvote?
Correct-a-mun-do.
Title: Re: medToggle
Post by: MEAT on Feb 05, 2011, 08:58 AM
All good in the hood.
Thank you much...
Now back to building server #2.