Needing some help about custom maps

Discussions about UT99
Post Reply
Darkness
Experienced
Posts: 81
Joined: Mon Mar 01, 2010 10:12 pm
Location: Brazil

Needing some help about custom maps

Post by Darkness »

I've started doing a mod that will autofill the current level with bots based on the map recommended settings.


The information I need here is basically to have all the possible uses of the string "Level.IdealPlayerCount".

Regarding the default UT maps, here are the uses:
X - Y players
X-Y players
X to Y players
X players (doesn't define if it's minimum or maximum, in this case)


Are there any other configurations that people use on their maps? I'm currently out of custom maps, so I can't confirm how people fill up this part.

If any of you have seen different uses of this string on any maps, please help me out by saying how they're filled. Thanks :tu:

Image
This is the string I'm talking about, just to clarify things if you didn't got what I need :mrgreen:
User avatar
Creavion
Godlike
Posts: 4497
Joined: Sun Feb 17, 2008 7:23 pm
Personal rank: About to be non-act.
Location: Germany, Lower Saxony

Re: Needing some help about custom maps

Post by Creavion »

X-Y players players
X - Y players players


no.. really, seriously. :tongue:
About to be non-active
My very last UT map project: CTF-FacePalm (tropical CTF-Face remake)
Why do I leave? click here
What I want to do next: Joining an UDK team (uncertain however) and improve 3D modelling and texture editing skills
Thanks to those who visibly supported me until/at the end!
My reactivated account on indiedb.com.
Darkness
Experienced
Posts: 81
Joined: Mon Mar 01, 2010 10:12 pm
Location: Brazil

Re: Needing some help about custom maps

Post by Darkness »

Creavion wrote:X-Y players players
X - Y players players


no.. really, seriously. :tongue:
Lol, I know the " players" isn't a part of the string at all :mrgreen: I just said that to become more friendly so even people that have never opened UnrealEditor could help :D
User avatar
Creavion
Godlike
Posts: 4497
Joined: Sun Feb 17, 2008 7:23 pm
Personal rank: About to be non-act.
Location: Germany, Lower Saxony

Re: Needing some help about custom maps

Post by Creavion »

But its true^^

*looking carefully to Rob hehe*

Anyway a mutator like that would be very helpful. Since I always missed since UT2003 the option to autoadd the right amount of bots for a certain map.
About to be non-active
My very last UT map project: CTF-FacePalm (tropical CTF-Face remake)
Why do I leave? click here
What I want to do next: Joining an UDK team (uncertain however) and improve 3D modelling and texture editing skills
Thanks to those who visibly supported me until/at the end!
My reactivated account on indiedb.com.
Darkness
Experienced
Posts: 81
Joined: Mon Mar 01, 2010 10:12 pm
Location: Brazil

Re: Needing some help about custom maps

Post by Darkness »

Creavion wrote:Anyway a mutator like that would be very helpful. Since I always missed since UT2003 the option to autoadd the right amount of bots for a certain map.
Well, I missed it since... 1999? :mrgreen:

I've already done the core code, which is just working fine, but I'd need to make sure the detection parameters are right, and I've covered all uses with my formula.

Do you have many custom maps? Can you tell me if those parameters I've specified are good enough to cover custom maps that have their strings filled?
User avatar
Creavion
Godlike
Posts: 4497
Joined: Sun Feb 17, 2008 7:23 pm
Personal rank: About to be non-act.
Location: Germany, Lower Saxony

Re: Needing some help about custom maps

Post by Creavion »

You could/should better ask the whole community :tongue:
About to be non-active
My very last UT map project: CTF-FacePalm (tropical CTF-Face remake)
Why do I leave? click here
What I want to do next: Joining an UDK team (uncertain however) and improve 3D modelling and texture editing skills
Thanks to those who visibly supported me until/at the end!
My reactivated account on indiedb.com.
Myth
Inhuman
Posts: 988
Joined: Tue Feb 12, 2008 5:57 pm
Personal rank: Low Poly Freak

Re: Needing some help about custom maps

Post by Myth »

Just strip out the numbers from the string you mostly have these 3 cases.
if you get 2 or more numbers and they are different, you most probably have a 1-4 players format or something similar, the minimum and maximum players. Do the average and in case of a team game round to the nearest number that is dividable by 2.
If you get 2 numbers and they are the same then add them up because the format is most probably something like 1 on 1 or 5 vs 5
If you get only one number than most probably that is the total amount of players
Clipboard02.jpg
Maps also have further settings such as recommended enemies and recommended team mates. Some maps have these values set like CTF-Face-SE

Some mappers (like me) sometimes goof around whit map players settings. If you get values beyond 32 or you don't get any numbers then the mod should default back to 8 players.
For example
My joust map has a player setting like 1 on 100.
W00tabulous has 3654794-9999999 but it has recommended teammates 2 and recommended enemies 3.

It would be a nice option to be able to set the defaults for these kinds of maps in an *.ini file.
For example

Code: Select all

[special cases]
mapstring0="*Joust*" // wildcard could be usefull
playercount0=2
mapstring1="CTF-W00tabulous.unr" //a specific map whit full name
playercount1=6
and so on.
Post Reply