Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Tiberian Technologies Forum » How do I add both M00_ and C&C_ prefixed map to my rotation?
How do I add both M00_ and C&C_ prefixed map to my rotation? [message #455351] Tue, 20 September 2011 13:28 Go to next message
iRANian is currently offline  iRANian
Messages: 4300
Registered: April 2011
Karma: 0
General (4 Stars)
From the looks of it with tt.ini I can either set M00_ as prefix or C&C_. If I pick one of them I get configuration errors about a missing GameDefinition for maps prefixed with the other.

Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases

[Updated on: Tue, 20 September 2011 13:28]

Report message to a moderator

Re: How do I add both M00_ and C&C_ prefixed map to my rotation? [message #455365 is a reply to message #455351] Tue, 20 September 2011 15:20 Go to previous messageGo to next message
StealthEye is currently offline  StealthEye
Messages: 2518
Registered: May 2006
Location: The Netherlands
Karma: 0
General (2 Stars)

For maps that do not match the prefix, you will have to add game definitions manually, like the following:

gameDefinitions:
{
M00_blah:
{
mapName = "M00_blah";
};
};

Possibly you can also leave the prefix blank, but I am not sure whether that would work correctly.


BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Re: How do I add both M00_ and C&C_ prefixed map to my rotation? [message #455446 is a reply to message #455351] Wed, 21 September 2011 00:48 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4300
Registered: April 2011
Karma: 0
General (4 Stars)
Okay thanks, I'll give it a try later today.

Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: How do I add both M00_ and C&C_ prefixed map to my rotation? [message #455461 is a reply to message #455351] Wed, 21 September 2011 07:18 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
Something worth noting is that you cant use the & character in the definition name... or at least you couldn't at one point, not sure if its been fixed. I worked around it as follows;

gameDefinitions:
{
CC_Field:
{
mapName = "C&C_Field";
};
};


And put CC_Field in the rotation


http://steamsignature.com/card/1/76561197975867233.png
Re: How do I add both M00_ and C&C_ prefixed map to my rotation? [message #455497 is a reply to message #455351] Wed, 21 September 2011 12:16 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4300
Registered: April 2011
Karma: 0
General (4 Stars)
Leaving the prefix blank makes it default to C&C, adding the gameDefinition does work. Thanks guys.

Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: How do I add both M00_ and C&C_ prefixed map to my rotation? [message #455556 is a reply to message #455351] Wed, 21 September 2011 16:53 Go to previous message
StealthEye is currently offline  StealthEye
Messages: 2518
Registered: May 2006
Location: The Netherlands
Karma: 0
General (2 Stars)

The issue with the & character not being allowed in the configuration is not fixed, and will not be, since we use the libconfig library for tt.cfg which does not allow that (unfortunately). It's good that you noted it here though. Smile

BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Previous Topic: Private Message font
Next Topic: [FIXED] Refill Hook Not working
Goto Forum:
  


Current Time: Sun Jul 14 05:29:47 MST 2024

Total time taken to generate the page: 0.00647 seconds