Jamming a construction?
Moderator: Moderators
- PauloMorfeo
- Posts: 2004
- Joined: 15 Dec 2004, 20:53
Jamming a construction?
My first idea with TLL was having it start with a galactic gate and then spawn a commander. Not possible.
But now, with unit limit, i can limit it so it can only build one, working around that (although it will have some problems). Problem is that, like that, if we lose our commander, unit limit goes to 0 again and we can build another. Is there any way to jamm the possibility of construction so that, after building the first commander, i can't build anymore comms?
I can work around that too, by making the comm have an explosion at creation that destroys the galactic gate. But either the construction distance of the gate is small, or the explosion needs such a radius that it can easily destroy the gates of other people. Is there anyway to make the explosion of the comm target only it's builder? Or to make it so that, only when building the comm, it's building range is diferent?
But now, with unit limit, i can limit it so it can only build one, working around that (although it will have some problems). Problem is that, like that, if we lose our commander, unit limit goes to 0 again and we can build another. Is there any way to jamm the possibility of construction so that, after building the first commander, i can't build anymore comms?
I can work around that too, by making the comm have an explosion at creation that destroys the galactic gate. But either the construction distance of the gate is small, or the explosion needs such a radius that it can easily destroy the gates of other people. Is there anyway to make the explosion of the comm target only it's builder? Or to make it so that, only when building the comm, it's building range is diferent?
- Guessmyname
- Posts: 3301
- Joined: 28 Apr 2005, 21:07
Um, you can make a unit set off an "explosion" that only affects that unit. And you can trigger events that occur after a unit has finished building something. So, making a unit that can build another unit precisely once is completely practical, yes.
I have not made a unit that does exactly that, but if you go look at the Lord in NanoBlobs, you will see a unit that sets off explosions (as part of its death sequence)... making that same kind of event that occurs after the unit has finished building something is trivial.
So, yeah, you can do this. It's a little complicated, but not too bad
I have not made a unit that does exactly that, but if you go look at the Lord in NanoBlobs, you will see a unit that sets off explosions (as part of its death sequence)... making that same kind of event that occurs after the unit has finished building something is trivial.
So, yeah, you can do this. It's a little complicated, but not too bad

- PauloMorfeo
- Posts: 2004
- Joined: 15 Dec 2004, 20:53
But can i do all that after i built specifically a unit? I mean, if the galactic gate gets jammed after building any one unit, it basically means that the galactic gate (the single unit we start with) can not be used to build like a BotLab, a VecPlant, ..., ... and a commander.
It needs to react specifically to the building of only the commander... Is that possible?
It needs to react specifically to the building of only the commander... Is that possible?
Does this work? My understanding is that negative regeneration will result in unit with 0 health, but still alive.manored wrote:You could make the Galatic gate be unrepairable (not sure if possible but I think yes) and give it negative regeneration in a way it will already be longly dead by the time someone gathers the power to kill your com.
Either way, that's not a safe bet on a tiny map. You could have a player commrush another player's base and respawn at the gal-gate... I guess you could give the gate a lifespan of 15 seconds or something... that would make sense, you could think of it as more of a "temporary portal, opened to drop the comm".
- PauloMorfeo
- Posts: 2004
- Joined: 15 Dec 2004, 20:53
Not possible acording to the answers i got from this thread. No, wait, actually it might be, with that script hack involving transportation.manored wrote:Or he could make the order of building the com also be an order of autodestruction (not sure if possible). ...
Wreckages can't be another unit. If only .. it would solve so much.manored wrote:... Then the wreckage of the galatic gate could be an other galatic gate but unable to make coms, and winhout explosion it would look the galatic gate was never destroyed.
I heard it can. Anyway you can make the wreckage exacly equal to the undestroyed galatic gate.PauloMorfeo wrote:Not possible acording to the answers i got from this thread. No, wait, actually it might be, with that script hack involving transportation.manored wrote:Or he could make the order of building the com also be an order of autodestruction (not sure if possible). ...
Wreckages can't be another unit. If only .. it would solve so much.manored wrote:... Then the wreckage of the galatic gate could be an other galatic gate but unable to make coms, and winhout explosion it would look the galatic gate was never destroyed.
