weapon request: bouncing grenade - Page 2

weapon request: bouncing grenade

Requests for features in the spring code.

Moderator: Moderators

User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

While you're at it, can you make all weapons capable of being fired and traveling underwater?
User avatar
Guessmyname
Posts: 3301
Joined: 28 Apr 2005, 21:07

Post by Guessmyname »

waterbounce tag?

groundbounce tag = bounce on ground (GB tag)

waterbounce tag = bounce on water (WB tag)

GB +!WB = ground bounce, water boom

!GB + WB = ground boom, water bounce (dam busters, anyone?)

WB + GB = ground bounce, water bounce

As for the timer, there is a weapontimer tag...
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

What about something that bounced on he ground always? As in if it hits water it pretends the water isnt there and bounces on the seafloor?
ironized
Posts: 172
Joined: 25 Jun 2007, 06:33

Post by ironized »

or even better when it hits water it sinks slowly and bounces slower and all till it splodes
User avatar
ILMTitan
Spring Developer
Posts: 410
Joined: 13 Nov 2004, 08:35

Post by ILMTitan »

I finally got this to a point I am happy with it. Committed to svn.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

You added flighttime to the cannon, when the time runs out will the shot explode immediately or the next time it touches the ground?
User avatar
ILMTitan
Spring Developer
Posts: 410
Joined: 13 Nov 2004, 08:35

Post by ILMTitan »

It will explode immediately after running out of time. Perhaps I should change that?

I'm also thinking about adding min/max bounce angle, and/or the ability to call a CEG on a bounce.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post by imbaczek »

ability to explode and bounce away would be cool, too (scorched earth and leap frog bullet anyone? ^^)
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Timed fuse is good. Works for bombs too, right?
User avatar
Snipawolf
Posts: 4357
Joined: 12 Dec 2005, 01:49

Post by Snipawolf »

Yes, keep it timed and add in the call for a CEG. I would like that greatly. I already have some weapons that could have used this. :P
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

What's the C in EG?
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Post by Neddie »

Custom.
User avatar
ILMTitan
Spring Developer
Posts: 410
Joined: 13 Nov 2004, 08:35

Post by ILMTitan »

CEG call added. Tag is bounceExplosionGenerator.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Can you add a trail-like CEG while yo`'re at it? I mean, let us attach a CEG to a projectile that gets fired in an interval set with a separate tag.
User avatar
Guessmyname
Posts: 3301
Joined: 28 Apr 2005, 21:07

Post by Guessmyname »

Yay for Serenity/Firefly avatar!
User avatar
MadRat
Posts: 532
Joined: 24 Oct 2006, 13:45

Post by MadRat »

Will this work for all weapon types, ilm?
User avatar
ILMTitan
Spring Developer
Posts: 410
Joined: 13 Nov 2004, 08:35

Post by ILMTitan »

It will work for projectile weapons, such as explosive projectiles (ballistic things like plasma and bombs), missiles, OTA style lasers, emg's, flame projectiles, and possibly other things I am forgetting.

It will not work for hit scan weapons, like beamlasers, lightning guns and melee weapons.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Flighttime on bombs seems weird, I've tried a flighttime of 6 and the bombs wouldn't go off until about 30 seconds later.
User avatar
MadRat
Posts: 532
Joined: 24 Oct 2006, 13:45

Post by MadRat »

How does NumBounce listed in the http://spring.clan-sy.com/wiki/Weapon_Variables page affect this new idea?
User avatar
ILMTitan
Spring Developer
Posts: 410
Joined: 13 Nov 2004, 08:35

Post by ILMTitan »

It's part of this patch. NumBounce is the (maximum) number of bounces a projectile can do.
Post Reply

Return to “Feature Requests”