Is it possible to place an object in zeroeditor, say, a mine, that will respawn constantly thus preventing the player from entering a certain area without dying?
What about non-respawnable mines?
Automatic Minefields? Possible?
Moderator: Moderators
-
Chamboozer
- Rebel Colonel

- Posts: 604
- Joined: Sat Apr 16, 2005 4:57 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
-
Ace_Azzameen_5
- Jedi

- Posts: 1119
- Joined: Sat Apr 23, 2005 8:52 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
If mines work when you just place them in ZE, you could use OnObjectKill() to determine when someone steps on it, then respawn that mine.
If mines don't work when just placing them in ZE, place the inactive mine object, then put a damage/death region ontop of it.
The damage/death region would create the less lag in MP, but wouldn't have the explosive death. Remember, mines don't hurt engineers (unless you are modding that too).
Of course the docs use Lua lingo, thats the language. If you don't understand it, look existing examples in the maps.
If mines don't work when just placing them in ZE, place the inactive mine object, then put a damage/death region ontop of it.
The damage/death region would create the less lag in MP, but wouldn't have the explosive death. Remember, mines don't hurt engineers (unless you are modding that too).
Of course the docs use Lua lingo, thats the language. If you don't understand it, look existing examples in the maps.
-
Chamboozer
- Rebel Colonel

- Posts: 604
- Joined: Sat Apr 16, 2005 4:57 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
A mine is a weapon, so maybe we can convert it into a building which gets destroyed whenever someone walks on it. Building has a destroyed explosion effect, then we set the respawn time to 0.0
only two problems with that, either one region kills all the mines (lol) or we have many, many regions.
other proble is that I have absoloutly no idea how to change a weapon into a destroyable building...
only two problems with that, either one region kills all the mines (lol) or we have many, many regions.
other proble is that I have absoloutly no idea how to change a weapon into a destroyable building...
- Laserblast
- Second Lance Corporal

- Posts: 105
- Joined: Sat Sep 17, 2005 12:25 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Armedbuildings have an autofire command. You might be able to make a small/invisible building that autofires mines every now and then. Just make sure the dispenser or whatever not has a short range so that the building would be destroyed by the mine's explosion.
Drawbacks:
The building might be targetted by others. The building would have to be found to be
repaired for the mines to reappear. Finally, the AI might prove to be overzealous by spending all their time trying to repair destroyed mine-layer buildings.
This solution might be a little harsh on the computer, especially with many such buildings. However, it is an idea
.
Drawbacks:
The building might be targetted by others. The building would have to be found to be
repaired for the mines to reappear. Finally, the AI might prove to be overzealous by spending all their time trying to repair destroyed mine-layer buildings.
This solution might be a little harsh on the computer, especially with many such buildings. However, it is an idea
-
Chamboozer
- Rebel Colonel

- Posts: 604
- Joined: Sat Apr 16, 2005 4:57 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
