| 12-31-2003, 12:50 AM | #1 |
Im trying to make an area blocked off by boundary that no one will have vision off. Even if one of their units is in this area, they shouldn't be able to see their unit. I don't want to give their unit to another player like brown and set brown as computer. How do i do this? In another map i played, Dark Deeds 3, if ur Dracula/Witch Doctor, and your transformed as farmer, you still have control of dracula/witch doctor, but you can't see it them. camera bounds won't work. It restricts the camera to one area and it takes 2 regions to cover up the whole map without covering up the spot. In Dark Deeds 3, you can look at this area, but its in fog of war. But when your Dracula and have Share vision of Dark Green and Brown and your transformed as farmer, you cannot see dracula, but you have control of him, but u just can't see or find where he is. Anyone help me with this? |
| 12-31-2003, 01:22 AM | #2 |
What do you mean you still have control of the unit? You mean the hero portrait in the upper/left is still there but the hero isn't on the map? You can do that by just hiding the unit. You'll need to store it in a variable to unhide it though (well, you can do things like pick every unit by player, but hidden units don't get picked by 'pick every unit in region'-type selections) |
| 12-31-2003, 01:32 AM | #3 |
I don't think he meant hide it, I think he meant that you can still call him when pressing F1 or whatever. I'm pretty sure you can do this by creating a visibility modifier. Trigger Editor > Actions > Visibility (Type) > Create Visibility Modifier Rect You can figure it out from there, the trigger's pretty self-explanatory. If you can't find it, try using UMSWE (that's what i'm using). |
| 12-31-2003, 01:36 AM | #4 |
Visibility Modifiers only change what you see where your units don't. If you make a modifier emit black mask, you'll still see everything inside the vision radius of a unit inside the region. |
| 12-31-2003, 01:50 AM | #5 |
I have a solution, though it involves some degree of bending over backwards. I hope you don't plan to use the day/night cycle in your game bcause this is the only way i think its possible. MAke the game ALWAYS night. Give the hero 0 night vision. When the hero comes into play and you want to give it normal vision, give it ultravision ability. When it goes into storage and invisible or whatever, remove ultravision from it. |
| 12-31-2003, 02:01 AM | #6 |
In dark deeds I believe the evil guy belongs to another player, shared control is possibly left on and shared vision turned off. Doing it without using another player is a tricky problem. |
