HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

2 Questions

06-06-2006, 07:47 PM#1
Freakazoid
Is it possible to set a fog for 1 player? Not fade filter but fog?

Is it possible to create a unit that belongs to 1 player but that is invisble for him and the allies, but visible to the enemy, without editing the ownership.
06-06-2006, 07:50 PM#2
blu_da_noob
For the second, it is possible to set unit vertex colour to totally transparent for owner and allies and visible for enemies. The shadow will still appear, unfortunately.
06-07-2006, 09:13 AM#3
Freakazoid
Quote:
Originally Posted by blu_da_noob
For the second, it is possible to set unit vertex colour to totally transparent for owner and allies and visible for enemies. The shadow will still appear, unfortunately.

Nevermind I solved that one, but what about the fog?
06-07-2006, 09:37 AM#4
Blade.dk
Since fog has no influence on the game and can't be detected, there should be no problems with doing that. Just use GetLocalPlayer like this:

Trigger:
Trigger
set PlayerVariable = whatever
custom script: if GetLocalPlayer() == udg_PlayerVariable then
Environment - Set Terrain Fog or whatever this action is called in the GUI
custom script: endif
06-07-2006, 10:25 AM#5
Jazradel
In the trigger used to create trackables for one player, that changes it's path to null, so it creates a proper trackable for one player, and a null trackable for the rest.

I tried a similar thing with normal units and it appeared to work. Can someone actually confirm this?
06-07-2006, 12:49 PM#6
blu_da_noob
Trying to create units for only one player would almost certainly desync. Image a unit on one persons system, that is attacking and being attacked, and it isn't there on another's. I'm not sure whether it would work if the unit was kept totally out of the game (invisible, locust, can't attack etc), but I'd stay on the safe side and say don't do it.