weapon request: bouncing grenade

weapon request: bouncing grenade

Requests for features in the spring code.

Moderator: Moderators

User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

weapon request: bouncing grenade

Post by smoth »

Something like the quake 3 grenade laucher, it could have a
time delay on explosion
or/and
bounce count then explosion
along with explosion when it hits a unit as it is moving along.

I do not particularly need it for gundam but I was thinking that it is an interesting weapon type that we do not have.
User avatar
Guessmyname
Posts: 3301
Joined: 28 Apr 2005, 21:07

Post by Guessmyname »

groundbounce=1 make the weapon bounce on the ground, might not work in spring though - I've never tested it
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

I think it works only for certain weapontypes.
User avatar
Nemo
Spring 1944 Developer
Posts: 1376
Joined: 30 Jan 2005, 19:44

Post by Nemo »

groundbounce doesn't work for ballistic weapons. Come to think of it, I've never seen it used, actually.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

I thought trepans lua physics allowed for these sorts of customizations?
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

AFAIK there's no lua control of projectiles and no plans to add them.
User avatar
ILMTitan
Spring Developer
Posts: 410
Joined: 13 Nov 2004, 08:35

Post by ILMTitan »

How would you determine how much height it lost per bounce? 20%? Another tag?
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

Maybe just reuse groundbounce for it?

(ie. groundbounce=1 means it bounces back at full energy, groundbounce=0.5 means it loses half it's energy or velocity etc.)
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

I had no idea that we had a tag for that... I feel kinda stupid...

I tried ground bounce on a rocket and the rocket didn't bounce. What am I missing?
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

Well no one is sure we have one, let me check..

EDIT: nope, not implemented in Spring
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

I think it's implemented for flamers but only for those.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

I searched through the entire solution for 'groundbounce' in MSVC, but didn't find anything.
User avatar
ILMTitan
Spring Developer
Posts: 410
Joined: 13 Nov 2004, 08:35

Post by ILMTitan »

This seems like something I would like to work on, but I don't think I should try to include it in .75. .75 is theoretically feature complete, and this would be a new feature.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

cool, I look forward to whatever you work out.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

ILMTitan wrote:This seems like something I would like to work on, but I don't think I should try to include it in .75. .75 is theoretically feature complete, and this would be a new feature.
Well you could work on it and once a patch is ready we can see whether 0.75 has already been released or is really feature frozen or there is still room to commit the patch...
User avatar
ILMTitan
Spring Developer
Posts: 410
Joined: 13 Nov 2004, 08:35

Post by ILMTitan »

Finally got back down to coding this afternoon. Getting things to skip off of the ground is easy, but now we need a way to determine how long a groundbouncing projectile can last, such as a new tag. Does "projectiletimeout" sound right? Is it available?
User avatar
Snipawolf
Posts: 4357
Joined: 12 Dec 2005, 01:49

Post by Snipawolf »

Timeout? Sounds good.. Seconds, right? Milliseconds and ticks are too short..

Hope this turns out well, I may have a use for it, grenades don't have enough pop.. Bouncing bombs DO! :mrgreen: :mrgreen: :mrgreen:

http://en.wikipedia.org/wiki/Bouncing_bomb
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

Whatever tag you feel fine with ilm is good enough for me. I honestly do not have a unit which can utilize this in my gundam project but I look forward to what 44 and others can do with it.
User avatar
ILMTitan
Spring Developer
Posts: 410
Joined: 13 Nov 2004, 08:35

Post by ILMTitan »

That link brings me to another question I had. How do I determine if it should skip of the water. Some things you might want to explode when it hits the water, and some skip of the surface, and some off of the floor. Would I be able to use underwater weapon for that?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

hmm... could just be like a waterexplode tag to denote that it would explode underwater?
Post Reply

Return to “Feature Requests”