Staredit Network

Staredit Network -> UMS Assistance -> Line of Sight
Report, edit, etc...Posted by Alex Lifeson on 2005-11-04 at 19:57:03
I was playing Metal Gear on my MSX2 emulator, and I was thinking: Is it possible for the game of StarCraft to have "Line of Sight"? Where as if Guard 1 looks down, the trigger locations point down for 8x1 blocks, and if you are in those blocks you are spotted. If so, is it possible to obstruct this LoS by stepping in front of a wall?
Report, edit, etc...Posted by Kumano on 2005-11-04 at 20:16:26
I'm pretty sure a mobile grid can do this, can't tell what direction they face though, and the walls could get quite complicated. You would probably need to go through smaller and smaller locations (have a unit or something only on higher elevation, if it's in the location you know it's at a wall so you would go to smaller location) This would need many locations for every unit though.
Report, edit, etc...Posted by Urmom(U) on 2005-11-04 at 20:42:22
It wouldn't work very well because of the delays with the unit vision parts I think. The fog of war would act slow and it wouldn't end up being very good. So basically it's too much work for a bad result.
Report, edit, etc...Posted by LegacyWeapon on 2005-11-04 at 20:49:42
Well, if it's for a computer player, then the Fog of War might not matter, otherwise it's kinda impossible to get rid of Fog of War instantly.
Report, edit, etc...Posted by Alex Lifeson on 2005-11-04 at 23:20:09
Well, in this situation, fog of war really has no significance. An enemy "seeing" you could set off a trigger that unallies you when you enter his "sight". Nothing too complicated in THAT sense...
Report, edit, etc...Posted by IA-Sky on 2005-11-05 at 00:43:47
QUOTE(Alex Lifeson @ Nov 4 2005, 09:20 PM)
Well, in this situation, fog of war really has no significance.  An enemy "seeing" you could set off a trigger that unallies you when you enter his "sight".  Nothing too complicated in THAT sense...
[right][snapback]348439[/snapback][/right]


how are you gonna make a trigger the detects what the unit sees.
Report, edit, etc...Posted by Rantent on 2005-11-05 at 01:01:15
Commandos RPG has something sorta like what you want, but not quite.
Your way is possible to do easily for one enemy at a time with a mobile grid, then it increases in complexity, or rather number of locations the more enemies you have.
Report, edit, etc...Posted by Oo.Insane.oO on 2005-11-05 at 22:18:02
I thought of this same idea once but I never tried it out the only thing i could think of is everytime the unit turns one way theres an observer that goes to the line of sight or if you could move map revealers that would work 2 but im not sure that would work
Report, edit, etc...Posted by LegacyWeapon on 2005-11-06 at 01:35:07
No_Authority should learn to read.
QUOTE(Alex Lifeson @ Nov 4 2005, 11:20 PM)
Well, in this situation, fog of war really has no significance.  An enemy "seeing" you could set off a trigger that unallies you when you enter his "sight".  Nothing too complicated in THAT sense...
[right][snapback]348439[/snapback][/right]


Alex, my best bet would be to use a direction detection system like this:
http://www.staredit.net/index.php?download=2756
And then use mobile grids (spawn them instead of preplaced) to detect where the unit would be able to see.

If you already know the direction the unit is moving/facing, then you just need to use mobile grid to find where the unit is "looking" at.
Report, edit, etc...Posted by Oo.Insane.oO on 2005-11-06 at 09:18:24
QUOTE(LegacyWeapon @ Nov 6 2005, 01:35 AM)
No_Authority should learn to read.
Alex, my best bet would be to use a direction detection system like this:
http://www.staredit.net/index.php?download=2756
And then use mobile grids (spawn them instead of preplaced) to detect where the unit would be able to see.

If you already know the direction the unit is moving/facing, then you just need to use mobile grid to find where the unit is "looking" at.
[right][snapback]349353[/snapback][/right]

Whoops I thought he was wondering a way it might be possable sorry about that
Next Page (1)