HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How to make an area always black ( not visible )?

07-15-2007, 04:48 AM#1
DarthRevansith
hey, i wanna pre-load some units in an area but i dont wanna players to see them, so i wanna enable black mask on it, but always, no units can explore that area neither iseedeadpeople. i wanna add some units there that will be teleported by using cheats. thanks.. how to do it ?
07-15-2007, 06:15 AM#2
Tide-Arc Ephemera
You can't hide anything from iseedeadpeople...

And your problem isn't very.... clear...
07-15-2007, 06:37 AM#3
Pyrogasm
Simply create the units for Neutral Passive, and then remove them after they're created.

They'll be preloaded fine.
07-15-2007, 08:42 AM#4
CommanderZ
You can make an area always black by putting a boundary there. But you can't place units there then.

As pyro said you can preload this way on map init: load unit 1, remove it, load unit 2, remove it, load unit3, remove it, load unit 4, remove...

Be warned, this extends map loading time pretty much, if you preload really many units.
07-15-2007, 04:36 PM#5
Raydude
triggers can make u go through boundarys =/ for example, knockback from some spells, but if u were knocked back too far out of the map bound, u fatal the game
07-15-2007, 09:40 PM#6
Dooblivion
I got an idea.
There is a doodad called smoke smudge wich is very small at first but you can edit the scale (set it to 5 it should be big enough) so that it looks like a darkened area.
This doodad is a cinematic, it is walkable, very dark when augmented by scale and is not effected by iseedeadpeople.
07-15-2007, 11:56 PM#7
TheSecretArts
mhm... make sure to put a border around there so they cant just walk out... plus, units in there still have sight so they can still be detected / selected.
07-16-2007, 01:50 AM#8
DarthRevansith
but its not just about pre-loading... for example i need to trigger somethings to a united like attachiing things and making it invulnerable. but its much easier to do it at map initialization then using the last created unit thing. so it would be very good to hide the units. those units will be teleported as a cheat is activated, so it will look likes the game created the unites. but it teleported it from a black area.

it would be awesome to hide it from iseedeadpeople, even at the minimap.....
07-16-2007, 02:43 AM#9
TheSecretArts
try overloading sight blockers there.
07-18-2007, 07:27 AM#10
Fledermaus
It seems to me that there is a simple solution: Create the unit, set it to whatever variable, hide the unit (via triggers) until it's needed again?

Trigger:
Collapse Map Initialization
Collapse Events
Map initialization
Conditions
Collapse Actions
Set TempPoint = (Center of (Playable map area))
Unit - Create 1 Footman for Neutral Passive at TempPoint facing Default building facing degrees
Custom script: call RemoveLocation(udg_TempPoint)
Set CheatUnit[1] = (Last created unit)
Unit - Hide CheatUnit[1]

Collapse Cheat
Collapse Events
Player - Player 1 (Red) types a chat message containing -cheat as An exact match
Player - Player 2 (Blue) types a chat message containing -cheat as An exact match
Player - Player 3 (Teal) types a chat message containing -cheat as An exact match
Conditions
Collapse Actions
Unit - Change ownership of CheatUnit[1] to (Triggering player) and Change color
Set TempPoint = (Player 1 (Red) start location)
Unit - Move CheatUnit[1] instantly to TempPoint
Custom script: call RemoveLocation(udg_TempPoint)
Unit - Unhide CheatUnit[1]