STOMP

STOMP

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
SwiftSpear
Classic Community Lead
Posts: 7287
Joined: 12 Aug 2005, 09:29

STOMP

Post by SwiftSpear »

Chatting with Kayuni and we thought up something cool that I'd love to see implimentable for mod side.
<Kayuni> Eg., Your krog walks into an enemy peewee: If krog mass / peewee mass = Over 5, unit is crushed, etc.
Basicly just a feature like stompover in BFME 2, it can either be handled this way where mass determines stomping ability at the mod side, or it could be done by adding a tag to units. It would solve some current problems like mobs of peewees dropping kroggies or razorbacks simply because they get stuck on living units and can't keep moving. Plus it could form the basis around really cool units. All the tanks in warhammer have blades on the front for a reason after all :P
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Perhaps this could be linked to the crushing power somehow...
User avatar
BlackLiger
Posts: 1371
Joined: 05 Oct 2004, 21:58

Post by BlackLiger »

Should be linked to the ability to squish wreckage...
User avatar
unpossible
Posts: 871
Joined: 10 May 2005, 19:24

Post by unpossible »

*cough cough* supreme commander.
good idea will have to be careful with the L2 kbots versus L2 vehicles otherwise it might get a little silly/infuriating :S
User avatar
SwiftSpear
Classic Community Lead
Posts: 7287
Joined: 12 Aug 2005, 09:29

Post by SwiftSpear »

Wow, I posted this in the wrong forum, will go fix that right after this post...

I was thinking more that you stomp enemy units rather then friendlies. Maby not the most realistic but it's for gameplay reasons, and really you'd think krogoths would have enough motor control to not accidentally crush allies, it's just our animation and pathing isn't advanced enough to simulate that alone.

Someone should write a patch!
User avatar
Guessmyname
Posts: 3301
Joined: 28 Apr 2005, 21:07

Post by Guessmyname »

SwiftSpear wrote:Someone should write a patch!
Why not make it yourself? [/NOIZE impression]
User avatar
unpossible
Posts: 871
Joined: 10 May 2005, 19:24

Post by unpossible »

i wonder how much overhead this would add with big armies moving about having to check each tick if they can each crush/be crushed by surrounding units...sounds like someone should make a patch to check!
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

honestly I wonder if disabling the push code would speed up the game. units tap other units and the units that get tapped move. In big moving squads or line formations not only does this mean that units have to repath because something is ocupying a spot that was open prior but also all of the updates from the bumped units.

This issue can result in none of the units firing and bumping each other in a sort of huddle creeping.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

The problem here is collision spheres.

A krogoth could crush units under it but they'd never get near to 'under it'.

The feature would have to be scripted, else it would look strange. Imagine a peewee walking towards a krogoth then just going boom, why not let a script keep the peewee and make sure the unit steps on it else it passes by? That would allow for true stomping, possibly even defining stomping as a weapon. It also makes possible units with ramming weapons

So define it as a weapon, after all a krogoth stepping on a Goliath may not kill the golly but it'll certainly do damage....

There should also be a height thing, such as the maximum height of units that the unit can crush, which can be set astronomically high for ramming weapons
User avatar
Guessmyname
Posts: 3301
Joined: 28 Apr 2005, 21:07

Post by Guessmyname »

Alternatively: Melee weapon support. Stomping counts as melee, no?
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

The crush would happen when the units collide. That check already happens (since units have to notice hat they can't move forward). I think it uses the footprints so there's no need to worry about peewees exploding half a screen away.

This feature would allow us to put Pacman into our mods :p.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

What about logn untis with square footprints?

Or spider units with raised bodies?

You want the peewee to be crushed by soemthing, a footprint isnt always good enough.

I say bind ti to the script and weapons, let modders have the chance to do a whole new variety fo weapons, complete with cool effects.

Imagine a unit with a pike that scewered peewees through the chest then through them to the side as they blew up, tanks that didnt just blow up untis that touched their footprint, but actually drove over their enemies then smashed down with a crunch, krogoths that actually stomped with visible foot stomping, aircraft that landed on enemy units crushing them.

Possibly even unitswith tentacles that grabbed units and crushed them, or mechs that picked up units and crushed them in clamps.
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

It would be nice if something like this was implemented.

But then wouldn't you crush your own units? That is one thing i am sure will annoy me in SC.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

If my method was done it'd be implemented as a weapon, and thus your own units would not be crushed unless you force fired, at which point you cant do that, it's liek force firing on a commander with a HLT, it wont fire.
User avatar
SwiftSpear
Classic Community Lead
Posts: 7287
Joined: 12 Aug 2005, 09:29

Post by SwiftSpear »

Guessmyname wrote:Alternatively: Melee weapon support. Stomping counts as melee, no?
If we had largescale melee weapon support the crush could probably be simulated by scripters, at least ramming could easily be simulated...
User avatar
Das Bruce
Posts: 3544
Joined: 23 Nov 2005, 06:16

Post by Das Bruce »

Large/units where large parts arn't touching the ground would need to be given yard map.
Post Reply

Return to “Engine”