Page 1 of 1

Ground deformation via underground buildings.

Posted: 07 Sep 2006, 21:35
by NATO
Ground deformation via underground buildings.

Is it possible to make the ground deform below a building that is partly underground, such as the Toaster or Viper?

I was thinking maybe a second weapon that activates on build completion that├óÔé¼Ôäós single shot with no other effect that to make a hole.

But I have no idea how the system works so I├óÔé¼Ôäóm just assuming.

Much thanks.

Posted: 07 Sep 2006, 21:55
by AF
There is no definition of an underground unit at all. A toaster as seen by the engine is just a model whose objects are not all above the ground plate.

So your best just trying it out, btu you'd need to actually aim the weapon first.

However this may be interesting if positioning the firing point at a very large negative height and firing......

Posted: 07 Sep 2006, 22:18
by Argh
So far as I know, you cannot have a weapon fire directly through a script, either. Weapons get called by aiming events- until called, I don't think that Spring even looks at the part of the Unit's COB, honestly. I don't think you can code it like:

PrimaryWeapon()
{
return(TRUE);
sleep 1000000000;
}

That won't work, I'm afraid. It would only be able to fire when the unit sees an enemy Unit :P

Posted: 07 Sep 2006, 22:34
by NATO
So you don't think its possable?

Posted: 07 Sep 2006, 22:37
by Snipawolf
Slave one weapon under to one above, spawn a unit and switch its side..

Maybe make it on/offable to make it happen once?

Posted: 08 Sep 2006, 00:26
by Caydr
Heh heh heh... the ultimate TA weapon of terror... the undergound nuke launcher! :lol:

Posted: 08 Sep 2006, 12:00
by Exit69
If a weapon can`t be fired by a script without aiming, maybe a unit/building can be self destruckted?


Edit: Maybe have a con build underground mines that upon completion turn to enemy side? Then it will detonate on completion... Though they should have a very LOW blast radius for the con to stay alive. Or the con can be made immune to that explosion...

Posted: 08 Sep 2006, 12:56
by Argh
None of the above is currently possible. I will add it all to the "weird things that might be fun someday" list ;)

Posted: 08 Sep 2006, 13:33
by Snipawolf
Hehe, this is weird... :P

Posted: 08 Sep 2006, 15:07
by knorke
If a weapon can`t be fired by a script without aiming, maybe a unit/building can be self destruckted?
I remember some mod where some units would lose health after being built, then they would die. It was a bug but maybe its possible to exploit it?

Posted: 08 Sep 2006, 21:19
by esteroth12
i believe that happened because they were somehow in water (maybe the hitsphere, maybe it was amphibious), but that only happened with acid water

Posted: 09 Sep 2006, 02:40
by j5mello
it had something to do with buildings that could be built on land and water (like some defenses in Final Frontier)

Posted: 09 Sep 2006, 03:47
by esteroth12
and the TLL HLT was bugged, so if a map had acid water, it took damage.. probly some other things like that too...

although... then wouldn't a perimeter camera die on an acid map?

Posted: 09 Sep 2006, 08:04
by KDR_11k
That happened to all CvC hovercrafts on Speed Metal before I figured out how to make Spring realize they are hovercrafts.

Posted: 09 Sep 2006, 08:18
by MrSpontaneous
Would it be possible to some how script this into a unit? so that a unit only has so much time before it dies. Might make for some interesting unit types. . .

Posted: 09 Sep 2006, 09:02
by KDR_11k
Not to my knowledge.

Posted: 09 Sep 2006, 19:09
by Caydr
esteroth12 wrote:and the TLL HLT was bugged, so if a map had acid water, it took damage.. probly some other things like that too...

although... then wouldn't a perimeter camera die on an acid map?
If I remember right, which would be a first, those "turrets" were actually buildable stationary "boats" or something.... Tricking the engine into doing stuff it wasn't designed for FTW!

Posted: 09 Sep 2006, 21:34
by zwzsg
I noticed that in Spring, the "explode" command explosion actually deal some damage. By making SWTA droid armor drop, and using lots and lots of "explode", I was able to force them to self destruct via script. This way, I had all droid self destruct in a messy shower of flame when their command center was taken out. It wasn't perfect but it worked. I don't know if it still does, though, Spring might have changed since.