| 02-06-2004, 03:30 AM | #1 |
This is a demo map with a simple set of triggers used for controlling gates. With it you can easily make gates owned by certain players, and add any number of gates to your map without needing to add triggers. It is accomplished by changing the model of a unit into that of a gate. The unit then has an ability which controls (via a trigger) the opening and closing of it. In this system it is possible to give gates an attack, but you will have to open the .mdl of the gate and add an attack animation, otherwise the gate will play it's "stand" (closed) animation every time it attacks, and will seem to close, though the triggers won't actually fire, so units will be able to walk through the closed gate. A gate which is already closed will attack will have no issues attacking. (Could pause an open gate so then only closed gates will attack) People can also build gates in this system, but you will need to rotate them to the proper direction after they're built. To use this in your own map, open the map and follow the instructions in the triggers. If there's anything confusing or you have any suggestions, let me know... And if you use this, please, give me credit edit: Re-wrote the description |
| 02-06-2004, 01:57 PM | #2 |
Nice job! I made something similar to this once, but yours runs a bit smoother. All you need now is an open and close gate icon and it'll be perfect! |
| 02-08-2004, 04:01 AM | #3 |
:foot: |
| 02-12-2004, 12:58 PM | #4 |
Anyone want to do those icons for the rest of us :) ? |
| 06-17-2004, 05:51 AM | #5 |
Fantastic Gate Setup. I'm going to use it in my map if you don't mind. One problem though. Since your gate is a structure instead of a doodad, the default facing is 275 degrees. So it seems like you can't place vertical gates, just horizontal, since they are the same model. I can't find a way in the object manager to rotate the gate. If you left click on the gate and bring up the small option screen there is no way to rotate it, just as you can't click on a tower and rotate it. One option seems to be to put in a trigger to rotate the gate once the map initializes. Any thoughts? I'm open to anything. Thanks, Khamul_2003@USeast Creator of Helm's Deep Real |
| 06-17-2004, 09:47 AM | #6 | |
Quote:
im not sure if this is what u want but select the unit hold cntrl or alt forgot which one then clickw ith the mouse the direction u want it to face |
| 06-17-2004, 05:37 PM | #7 |
Doesn't work. It's a building so you can't rotate it. Any other ideas anybody? |
| 06-17-2004, 05:43 PM | #8 |
heres some icons i downloaded at the download section |
| 06-17-2004, 05:46 PM | #9 |
Nevermind I figured it out. Went to object manager, clicked false on "Is a Building", rotated the door using control, then clicked it back on True. |
