Ground deformation via underground buildings.

Ground deformation via underground buildings.

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
NATO
Posts: 2
Joined: 07 Sep 2006, 21:16

Ground deformation via underground buildings.

Post 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.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post 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......
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post 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
NATO
Posts: 2
Joined: 07 Sep 2006, 21:16

Post by NATO »

So you don't think its possable?
User avatar
Snipawolf
Posts: 4357
Joined: 12 Dec 2005, 01:49

Post 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?
User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

Post by Caydr »

Heh heh heh... the ultimate TA weapon of terror... the undergound nuke launcher! :lol:
User avatar
Exit69
Posts: 63
Joined: 24 Jun 2006, 19:21

Post 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...
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

None of the above is currently possible. I will add it all to the "weird things that might be fun someday" list ;)
User avatar
Snipawolf
Posts: 4357
Joined: 12 Dec 2005, 01:49

Post by Snipawolf »

Hehe, this is weird... :P
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Post 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?
esteroth12
Posts: 501
Joined: 18 May 2006, 21:19

Post 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
j5mello
Posts: 1189
Joined: 26 Aug 2005, 05:40

Post by j5mello »

it had something to do with buildings that could be built on land and water (like some defenses in Final Frontier)
esteroth12
Posts: 501
Joined: 18 May 2006, 21:19

Post 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?
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

That happened to all CvC hovercrafts on Speed Metal before I figured out how to make Spring realize they are hovercrafts.
User avatar
MrSpontaneous
Posts: 242
Joined: 09 Sep 2005, 22:39

Post 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. . .
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Not to my knowledge.
User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

Post 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!
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Post 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.
Post Reply

Return to “Game Development”