HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Changing the game Interface, help

09-08-2007, 06:13 PM#1
Salbrismind
To solve a recent problem with gold and lumber of allies being displayed on buildings a friend figured i should look in the advanced tab in the editor. What i need to know is how would i do this? What value em i looking for to make it so people can't see each other's gold using these interface changes? (Advanced>Game Interface)/(Advanced>Gameplay Constants)
09-08-2007, 06:31 PM#2
Captain Griffen
It would almost certainly be gameplay constants if it existed.
09-08-2007, 06:36 PM#3
Salbrismind
Quote:
Originally Posted by Captain Griffen
It would almost certainly be gameplay constants if it existed.

So your guessing? Mind taking a look while i test a small thing?

Update: I checked all of the constants and nothing. but looking through the game interface i found a few that i thought would work but didn't seem to do anything when i erased them. Any ideas?
09-08-2007, 06:45 PM#4
Captain Griffen
Ok, why do you need it? Then a workaround may become possible.

Possible option is to not give vision, then give vision for each unit via triggers. A bit of an issue, but if it is really that important, then it is possible (probably).
09-08-2007, 06:54 PM#5
Salbrismind
If a unit walks by a building of an ally would it show the gold and lumber than?

The reason i tried the advanced tab is because i've tried so much else:

Disabling Pre-selection: Problem is then i can't see unit hp bars, and that is need greatly.

Changing buildings to units: Problem is that i can't see production progress on the building.

Make everyone neutral to everyone else: Just didn't work period.

And my latest and closest try:

Give all buildings 2 attacks that target noone: Problem was that when i got to the ancients it wouldn't remove the gold viewing like all others did for some reason.

So now i need another way but im running out of easy options. And my last idea is to make all players enemies to each other with vision but that triggers prevent attack unless they enter in a code like -ua 6.

Any ideas?

Update: Umm, i just relized i've been testing the wrong version of my map. I edited an older ver then tested my latest... No wonder nothing changed :P. BRB i might solve my problem now.

Second test failed, still no change.
09-08-2007, 07:09 PM#6
Captain Griffen
Without vision you cannot see allies resources (at least I'm pretty sure you can't).
09-08-2007, 07:22 PM#7
Salbrismind
I'll test it.

Updated: Works thanks, if implementing this runs into problem ill post again, thanks though +rep.
09-09-2007, 06:01 PM#8
Salbrismind
Now i'm a little bit stumped, do i use the visibility modifiers to show people vision or what? Remember i need to make this like it is a normal melee. So?
09-09-2007, 06:39 PM#9
TaintedReality
Trigger:
Unit - Grant shared vision of (Unit) to (Player)

Just use that on all units that aren't buildings. Or actually, it would probably be better to start with visibility on, and then turn it off for each building (since there will generally be less buildings than units, and they aren't created/destroyed as often).
09-10-2007, 07:35 PM#10
Salbrismind
I was able to get on the forums to tell you i found that exact action but thank you so much. Umm?

Quote:
Just use that on all units that aren't buildings. Or actually, it would probably be better to start with visibility on, and then turn it off for each building (since there will generally be less buildings than units, and they aren't created/destroyed as often).

Why don't i just disable all vision and do it all manually with triggers and that action. I tested it and this action does not allow buildings to show gold so i can apply to any unit and it works like the vision option but without showing the gold!
09-10-2007, 07:47 PM#11
TaintedReality
Quote:
Why don't i just disable all vision and do it all manually with triggers and that action.

Because units are created more often than buildings, so it would be better to start with it on, then turn it off just for buildings. It doesn't really matter much though, and it sounds like you found an easier solution anyways.
09-10-2007, 09:22 PM#12
Salbrismind
I did and i just tested it. All i did was set all units of a players to give vision when a command is given. Then a trigger for new units created to give vision according to settings already set by either the players or by map default. And also giving vision for all players at the start. It all works perfectly.