Ground deformation via underground buildings.
Moderator: Moderators
Ground deformation via underground buildings.
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.
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.
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......
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......
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
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

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...
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...
-
- Posts: 501
- Joined: 18 May 2006, 21:19
-
- Posts: 501
- Joined: 18 May 2006, 21:19
- MrSpontaneous
- Posts: 242
- Joined: 09 Sep 2005, 22:39
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!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?
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.