You can't actually change the default melee resources in the map initialization trigger, so you do this instead:
Get rid of the action that sets starting resources, and add a (Player- Pick each player in group) action with the player group being all players. Then in the sub-actions(or w/e) add the (Player- Modify player property) action with the player being Picked player, and the property minerals. Sounds complicated but is actually easy, and even easier when you just wanna do it for one player. Get rid of the (Player- Pick each player in group) loop and then just pick which player to modify.
Maybe I missed the boat on this one, but if I understand the question correctly the OP was wanting to know how to display custom resources (i.g. Terrazine) and display them alongside or in place of minerals/gas.
Meh I don't know - the thread title sounds like that, but the original post does not. :(
@xhatix: Go I didn't even know there were races in the Data Editor. Very cool.
The trigger for starting amount is great, thanks. As for showing resource count I dont know what might have happened but its just not working. Ive been in Data Editor > Races and ive changed them all one at a time and tested and it shows no mineral count only food. I try my best when using the editor not to change anything without doing it for a reason, but I think this may be what happened. If anyone knows what I could have dont please let me know. Thanks a ton for the help everyone.
That doesn't actually do anything if you keep the (Set default melee resources) action in the map initialization trigger since I am pretty sure the action is coded to be 50 minerals and zero of anything else. At least as far as I have been able to test.
And Smugjaw, I wish I could help but I really can't seem to find anything that would mod what is displayed. Are you sure it is what is displayed and not just that the starting amount has gone wrong somewhere?
Edit- Actually have you changed any of the show resource slots inside the race data editor? Try checking that out and get back to me. Is it that the minerals display is at zero or just gone?
Create a new map ... insert there a 50 or whatever and it works oh wonder it works. ...
but as it depends on RACE you get ... you have to change the race from random(any) to a fixed(zerg,protoss,terran, new one) one ...
the only problem is that you cannot use all 4 ressources, as they aren't shown correctly
You can't actually change the default melee resources in the map initialization trigger, so you do this instead: Get rid of the action that sets starting resources, and add a (Player- Pick each player in group) action with the player group being all players. Then in the sub-actions(or w/e) add the (Player- Modify player property) action with the player being Picked player, and the property minerals. Sounds complicated but is actually easy, and even easier when you just wanna do it for one player. Get rid of the (Player- Pick each player in group) loop and then just pick which player to modify.
@Smugjaw: Go
You have to change the value in RaceData (DataEditor -> Race)
Maybe I missed the boat on this one, but if I understand the question correctly the OP was wanting to know how to display custom resources (i.g. Terrazine) and display them alongside or in place of minerals/gas.Meh I don't know - the thread title sounds like that, but the original post does not. :(@xhatix: Go I didn't even know there were races in the Data Editor. Very cool.
The trigger for starting amount is great, thanks. As for showing resource count I dont know what might have happened but its just not working. Ive been in Data Editor > Races and ive changed them all one at a time and tested and it shows no mineral count only food. I try my best when using the editor not to change anything without doing it for a reason, but I think this may be what happened. If anyone knows what I could have dont please let me know. Thanks a ton for the help everyone.
@xhatix: Go
That doesn't actually do anything if you keep the (Set default melee resources) action in the map initialization trigger since I am pretty sure the action is coded to be 50 minerals and zero of anything else. At least as far as I have been able to test.
And Smugjaw, I wish I could help but I really can't seem to find anything that would mod what is displayed. Are you sure it is what is displayed and not just that the starting amount has gone wrong somewhere?
Edit- Actually have you changed any of the show resource slots inside the race data editor? Try checking that out and get back to me. Is it that the minerals display is at zero or just gone?
@BOOIVIER: Go
Create a new map ... insert there a 50 or whatever and it works oh wonder it works. ...
but as it depends on RACE you get ... you have to change the race from random(any) to a fixed(zerg,protoss,terran, new one) one ...
the only problem is that you cannot use all 4 ressources, as they aren't shown correctly
and here again a prove of data editor works ...