Dispersing charges

Dispersing charges

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

User avatar
smoke_th
Posts: 140
Joined: 25 May 2010, 13:15

Dispersing charges

Post by smoke_th »

I have a small idea for weaponry - make dispersing charges like
A unit shoots with ballistic projectile which dispersing itself in mid air to few other projectiles.
Any ideas how to make it?
Attachments
disp.png
disp.png (10.97 KiB) Viewed 2023 times
User avatar
manolo_
Posts: 1370
Joined: 01 Jul 2008, 00:08

Re: Dispersing charges

Post by manolo_ »

make the unit shoot an othr unit, that has several weapons?
User avatar
Jazcash
Posts: 5309
Joined: 08 Dec 2007, 17:39

Re: Dispersing charges

Post by Jazcash »

manolo_ wrote:make the unit shoot an othr unit, that has several weapons?
Bertha's firing gunships!
User avatar
smoke_th
Posts: 140
Joined: 25 May 2010, 13:15

Re: Dispersing charges

Post by smoke_th »

*facepalm* No dammit lol. I mean that single bullet will slice itself in midair into few other bullets for successful bombardment of foe's territory
User avatar
SanadaUjiosan
Conflict Terra Developer
Posts: 907
Joined: 21 Jan 2010, 06:21

Re: Dispersing charges

Post by SanadaUjiosan »

I know exactly what you're talking about. They were called cluster missiles in Armored Core. One of my favorite missile types. It would be pretty awesome to have.
User avatar
oksnoop2
Posts: 1207
Joined: 29 Aug 2009, 20:12

Re: Dispersing charges

Post by oksnoop2 »

It would also be awesome to have a unit cannon. In the mean time you could use just a spray of missiles.
User avatar
bobthedinosaur
Blood & Steel Developer
Posts: 2700
Joined: 25 Aug 2004, 13:31

Re: Dispersing charges

Post by bobthedinosaur »

Make a weapon that fires a unit weapon that can explode into what ever effect you want. THIS has torpedos that do that.
User avatar
Jazcash
Posts: 5309
Joined: 08 Dec 2007, 17:39

Re: Dispersing charges

Post by Jazcash »

Image
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Dispersing charges

Post by knorke »

you are doing it wrong.
why do they get smaller?
User avatar
bobthedinosaur
Blood & Steel Developer
Posts: 2700
Joined: 25 Aug 2004, 13:31

Re: Dispersing charges

Post by bobthedinosaur »

Some one should make pewee mandlebrot sets
User avatar
MidKnight
Posts: 2652
Joined: 10 Sep 2008, 03:11

Re: Dispersing charges

Post by MidKnight »

Fir future reference, they're called MIRVs.
User avatar
Pressure Line
Posts: 2283
Joined: 21 May 2007, 02:09

Re: Dispersing charges

Post by Pressure Line »

Technically that only applies to surface-orbit-surface weapons, since MIRV stands for Multiple Independent Re-entry Vehicle.

I think the 'proper' name is something to do with sub-munitions.
User avatar
yuritch
Spring 1944 Developer
Posts: 1018
Joined: 11 Oct 2005, 07:18

Re: Dispersing charges

Post by yuritch »

Saktoth
Zero-K Developer
Posts: 2665
Joined: 28 Nov 2006, 13:22

Re: Dispersing charges

Post by Saktoth »

Yeah, i'd look at THIS.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Re: Dispersing charges

Post by KDR_11k »

You could give the projectiles a short timed fuse so they explode in mid-air and when they explode spawn a unit that's invisible and all it does is shoot a bunch of projectiles before self-destructing. However that won't give you an accurate trajectory and there's a good chance the projectiles will miss. If you use a unit with bombs like the KP Signal as your missile you can be sure the projectiles will be on the right trajectory.

However that's a lot of work for a visual effect, are you sure you can't just make the weapon fire a volley of projectiles in first place?
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: Dispersing charges

Post by Pxtl »

As much as I love Armored Core and Scorched Earth, the defining game for weapons that spawn on explode will always be Liero.
User avatar
KingRaptor
Zero-K Developer
Posts: 838
Joined: 14 Mar 2007, 03:44

Re: Dispersing charges

Post by KingRaptor »

The annoying thing with the "spawn a unit firing submunitions" workaround is that it doesn't award XP properly...

(yeah yeah, you could manually calculate the XP it should add and add it yourself)
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Dispersing charges

Post by knorke »

couldnt one make cluster bombs using just lua?
http://springrts.com/wiki/Lua_SyncedCtrl#Projectiles
sadly there does not seem to be a CreateProjectile ()
for example a arti unit with shrapnel muntion:
have the unit fire lots of projectiles all with the trajectory at the same time. This way they will look like one projectile.
Then track the projectiles and if they have reached a height of X, give them an impulse so that they shatter in many directions.
bobthedinosaur wrote:Some one should make pewee mandlebrot sets
zomg:
Image
unit limit limits units :/
Image
no peewees were harmed in the making of these pictures
Image
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Dispersing charges

Post by hoijui »

could you not get into problems with the unit limit, when using a unit for the weapon?
User avatar
oksnoop2
Posts: 1207
Joined: 29 Aug 2009, 20:12

Re: Dispersing charges

Post by oksnoop2 »

Does "THIS" have an svn?
Post Reply

Return to “Game Development”