What is the way to reveal map with xs script?
It should be something like
xsSetPlayerAttribute(playerNumber, 203, x);
x=
0: Normal
1: Explored
2: All Visible
See
I have tried several syntax. They work with 209 (vietnamese map vision) and burmese map vision. But not with 203 or 204. Please let me know if there is anything
Ok, so I’m currently testing it and I’m also getting no change on map reveal. I’ll ask and let you know
In the meanwhile, as a stopgap measure, you could modify a unit LoS to 800 or something, create it and then delete it
Hello again!
I set every resource to 2 and the map didn’t get revealed
for (a=0;<600){ xsSetPlayerAttribute(1, a, 2); }
Which means either we have a bug or the UGC resource list is incorrect.
Also, reveal enemy resource does work. I didn’t test for ally reveal resource
Thanks a lot pal. What is enemy resouce reveal? Will you kindly share? Also the code pls
Set resource 183 to 1 reveals enemies
Set resource 209 to 1 should reveal town center
Set resource 50 to 1 should reveal ally
xsSetPlayerAttribute(player, resource, 1);
I was thinking of 204 actually, i can’t make it work. Also, is there any way to mod graphics of terrains? Unpack the Blendomatic file?
Resource 203, 204 and some others became non functional and unused some updates ago.
UGC website is not updated for these changes:
Maybe you can try here
Or here
Thank you very very very much
