As we all know there are several game types territory , countdown etc and they are basically recognized by the game using the prefixes at front like TE-Apartments implies Territory play mode for apartments and RSTE-Iwo Jima indicates Territory mode for Rising storm map Iwo Jima
All of these game types have their own gameinfo classes that define the rules and other things for that mode.
But how do you make a new game type like say tank race (just kidding!) .
as far as I know:
1. you make a new class (say tankRaceGameInfo) that derives on the existing ROGameInfo class or one of its childs
2. make a map (or modify one) for that game type
3. test the game mode using the PIE(play in editor) set to your tankRaceGameInfo.
4. cook the map and scripts
So far I have got up to step 3 successfully but the problem is how do I cook the map so it uses the given game type (or gameInfo) and make the game recognize it.
I saved the map with a prefix TR (like TR-mymap). Then I pushed the publish button ! it cooked but when i tried to look it up in the steam workshop menu the map didn't show up in the map list at all.
I think its because my map doesn't have any recognizable prefix like TE or FF or CD instead it has TR . So how do I make the game recognize the new game type and prefix?
EDIT:I can see the map in custom section and load it but then nothing happens because the game doesn't knows what gameinfo class to load for it. How do i tell the game that?
All of these game types have their own gameinfo classes that define the rules and other things for that mode.
But how do you make a new game type like say tank race (just kidding!) .
as far as I know:
1. you make a new class (say tankRaceGameInfo) that derives on the existing ROGameInfo class or one of its childs
2. make a map (or modify one) for that game type
3. test the game mode using the PIE(play in editor) set to your tankRaceGameInfo.
4. cook the map and scripts
So far I have got up to step 3 successfully but the problem is how do I cook the map so it uses the given game type (or gameInfo) and make the game recognize it.
I saved the map with a prefix TR (like TR-mymap). Then I pushed the publish button ! it cooked but when i tried to look it up in the steam workshop menu the map didn't show up in the map list at all.
I think its because my map doesn't have any recognizable prefix like TE or FF or CD instead it has TR . So how do I make the game recognize the new game type and prefix?
EDIT:I can see the map in custom section and load it but then nothing happens because the game doesn't knows what gameinfo class to load for it. How do i tell the game that?
Last edited: