In a previous thread I had seen that to have a player see custom resources you had to make a new race.
So I added a new race and made it show terrazine and custom resources instead of minerals and vespene. Then I set the "selectable" flag to false.
The problem now is that it causes the resources to disappear for that player altogether (even minerals and vespene). If I set the selectable flag to true, the resources come back but now players have that as a race choice (which I don't want).
Why can't you just enable the custom resource for the original races?
I need the custom resource to only be available to half the players. I'm making a Team Melee map like the old Starcraft style of game play, and in order to simulate spending the same mineral pool I have terrazine and custom resource mimic the allied player's mineral count. So half the players will have custom resources that just mimic their allies' mineral count.
Er, so I can't have all players showing the custom resource.
Just modify it like you want, even though it'll show on both teams, but in some kind of Initialization Trigger, create this action: Show/Hide Resource. Set the "Show" to "Hide" and set Resource Type to (Source: Preset) Custom Resource. And I know this is an old post, but just in case you didn't find an answer before, now you have one. (NOTE: I didn't actually test this, so tell me if it works if you still care about it.)
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
In a previous thread I had seen that to have a player see custom resources you had to make a new race.
So I added a new race and made it show terrazine and custom resources instead of minerals and vespene. Then I set the "selectable" flag to false.
The problem now is that it causes the resources to disappear for that player altogether (even minerals and vespene). If I set the selectable flag to true, the resources come back but now players have that as a race choice (which I don't want).
Any ideas?
@Lucavious: Go
Why can't you just enable the custom resource for the original races?
I need the custom resource to only be available to half the players. I'm making a Team Melee map like the old Starcraft style of game play, and in order to simulate spending the same mineral pool I have terrazine and custom resource mimic the allied player's mineral count. So half the players will have custom resources that just mimic their allies' mineral count.
Er, so I can't have all players showing the custom resource.
@Lucavious: Go
Just modify it like you want, even though it'll show on both teams, but in some kind of Initialization Trigger, create this action: Show/Hide Resource. Set the "Show" to "Hide" and set Resource Type to (Source: Preset) Custom Resource. And I know this is an old post, but just in case you didn't find an answer before, now you have one. (NOTE: I didn't actually test this, so tell me if it works if you still care about it.)