| 06-25-2004, 02:35 AM | #1 |
this is something i honestly cant figure out...how do you make sight for a unit that is just in the front of him and not all around him in a radius??? i would think it required some triggers but im really not sure...cause i am making a map that requires lots of sneaking behind guys and killing them and it would be great if i could make guys you attack only be able to see in front of themselves rather than behind so that the players can backstab |
| 06-25-2004, 03:29 AM | #2 |
is this even possible? someone please reply |
| 06-25-2004, 05:00 AM | #3 |
Ok, here's a general trigger idea. Not the actual triggers, but an idea. First, set the guys sight to nothing. Then make a rectange centered on him with a width/length as the sight range. Position the rectangle on an offset of what position he's facing. Then just make a visibility modifier there. That should work. |
| 06-25-2004, 08:16 AM | #4 |
Or, you could try locking the camera behind the unit you control so the player can't see you even if the unit can (this is only possible if each player has only one unit, though) |
| 06-25-2004, 05:45 PM | #5 |
i would know how to do it if the unit just stood still...but i want them to be walking around and only see infront of them... |
| 06-25-2004, 05:51 PM | #6 |
Err, I told you how. In fact, we both told you how. Look up. |
| 06-25-2004, 08:50 PM | #7 | |
Quote:
lol i wrote that wrong...ill type it again correctly i would like to know how to do it if the unit DIDNT stand still....like if they are walking around they can still only see in front of them...my bad ^_^ |
| 06-25-2004, 09:07 PM | #8 |
Luckily for you I feel like whipping maps up today or else I would have shouted how I already told you the answer just like I did about 2 hours ago. Here you go, there is one problem though. The visibility modifier seems to stay on even in places it isnt there. This is strange and I can't seem to fix it (all though accidentally I made a neat phasing effect where they guy would phase in and out of existance )Anyway, have fun, other than that it works like a charm. |
| 06-25-2004, 09:17 PM | #9 |
this works great, but is there a way to hide places that the peasant has already walked so that it isnt always visible |
| 06-25-2004, 09:41 PM | #10 |
is this even possible |
| 06-25-2004, 10:01 PM | #11 |
Dont double post. And yes, it is possible. You need to find that one tutorial that lists the ways to delete vraibles (The memory leak tutorial) and specifically, how to delete visibility modifiers. According to linkmaster this leaks a modifier each time instead of what I wanted it to do which was move the modifier. So when you find it, just delete the visibility modifer and then Wah Lah, there you go. |
| 06-27-2004, 04:13 AM | #12 |
errr i dont know how to do this and im not good with this kinda stuff...can u just do it and post the map here ^_^ |
| 06-27-2004, 09:33 PM | #13 |
Say: "Could you please do it for me, because I don't wanna read a damn tutorial because thats too much work for me" and I will do it for you. |
| 06-28-2004, 12:26 AM | #14 |
lol...Could you please do it for me, because I don't wanna read a damn tutorial because thats too much work for me... ^_^ |
| 06-28-2004, 12:45 PM | #15 |
k, here it is, I hope this is what you mean |
