I'm new in sc2 moding, so I hope I'm not asking something really dumb.
I'm trying to create extension mod that would let me change speed of game. There are two points here:
1. Setting game speed
2. Passing settings (game speed) to game
ad.1
I know that there is function GameSetGlobalTimeScale that I can use with triggers, but in extension mods I'm not able to use them :( Maybe I'm doing something wrong. So my assumption is that doing changes in Data is my only option. Unfortunatelly I don't know where to look.
ad. 2
It would be the best to be able set these values on screen where I can add AI/Players, set speed and so on. I would like to extend this dropdown list so that after "fastest" I would have "125%", "150%" and so on, but to be honest I'm not sure if thats even possible. It looks like mods are being used when I'm already playing. For example I've changed player color "Pink" to "Black". When I'm setting game I can see on a list "Pink", but when I choose it and run game then my units have color black. I've also tried to add AI difficulity/change existing ones - no success. Another topic would how to read these settings in game? Where are they storred.
Hi all,
I'm new in sc2 moding, so I hope I'm not asking something really dumb. I'm trying to create extension mod that would let me change speed of game. There are two points here:
1. Setting game speed
2. Passing settings (game speed) to game
ad.1 I know that there is function GameSetGlobalTimeScale that I can use with triggers, but in extension mods I'm not able to use them :( Maybe I'm doing something wrong. So my assumption is that doing changes in Data is my only option. Unfortunatelly I don't know where to look.
ad. 2 It would be the best to be able set these values on screen where I can add AI/Players, set speed and so on. I would like to extend this dropdown list so that after "fastest" I would have "125%", "150%" and so on, but to be honest I'm not sure if thats even possible. It looks like mods are being used when I'm already playing. For example I've changed player color "Pink" to "Black". When I'm setting game I can see on a list "Pink", but when I choose it and run game then my units have color black. I've also tried to add AI difficulity/change existing ones - no success. Another topic would how to read these settings in game? Where are they storred.
I would be grateful for any help