area-denial wepon

area-denial wepon

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
Pressure Line
Posts: 2283
Joined: 21 May 2007, 02:09

area-denial wepon

Post by Pressure Line »

I have been informed today that I am working on some sort of area-denial weapon. I unfortunately had no idea about this until i was informed (possible combination of extreme mental fatigue and alcohol). So basically i need details so i can actually start working on it, because it sounds like quite a neat idea.
Harbinger
Posts: 82
Joined: 26 Mar 2007, 22:14

Post by Harbinger »

Do you mean like an airdrop minefield or something?
User avatar
Pressure Line
Posts: 2283
Joined: 21 May 2007, 02:09

Post by Pressure Line »

i have no idea. this week is the first time ive been able to drink this year :!: and thius, to make the most of it, ive drank somewhere in the vicinity of 30 bottles of beer this week. thus i remember little, and i have no idea what shape or form this weapon/unit has

*wanders off to go torture Roxas for more info*
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Post by Neddie »

Maybe not ye - the mistake is mine, I fear. Now, who was making th- wait. Roxas? Peet? SOMEBODY SHOWED ME ONE!
User avatar
Snipawolf
Posts: 4357
Joined: 12 Dec 2005, 01:49

Post by Snipawolf »

Ya know argh made one...
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Post by Neddie »

It was a modified Lugar? Anybody?
User avatar
MR.D
Posts: 1527
Joined: 06 Aug 2005, 13:15

Post by MR.D »

Well, Nukes as example could cause an area to be radiated, and force that area to block movement temporarily similar in the way that mappers can block off an area of a map by using the terrain type in the map's SMD file.

I don't know code at all, but if it can be triggered at all, thats a good sign that it may be possible.

I guess there could be other ways to do it as well, by making the affected area slow units down, or switch that area to do damage, like Acid water does to ships in those certain maps that use it, or like the fire damage from trees, that would be another cool way to do things, by persistant damage.
DemO
Posts: 541
Joined: 18 Jul 2006, 02:05

Post by DemO »

DT.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

The easiest-possible way to do this, if you do not care about CPU usage (i.e., you're not firing 50 of these all the time, but 1-3 every few minutes, max) is to make whatever the weapon is (cannon, laser, whatever), set it up, rig it, animate it, whatever. Then add a point to your S3O, attached to the root of the model (base, body, whatever).

Then slave a Starburst missile with an invisible texture assigned for the smoketrails, flare, etc. (just name each texture "foo" or whatever- if Spring can't find it, it won't draw it- thanks to Rattle for that hint, btw). Give this weapon no sounds, no FX, etc.- just damage / stun / whatever. Use a point for the starburst missile, and define a CollisionSize of something really small, like 0.125 or whatever, so that the chances of hitting something accidentally are nearly zero. Set it up as a burst, so that the weapon fires over and over again, at whatever time interval / length of time you need the area-denial for.

When the first weapon fires, the slaved weapon would then fire. Since it's a starburst missile, it'll hit exactly where the first weapon hit, over and over again, assuming your Unit stays in range (for obvious reasons, I'd give that starburst a longer range than the controlling weapon).

There ya go- an area-denial weapon, that will work for however many seconds you want, pretty much. Good for simulating gas / radiation / nasty bio-weapons / whatever.

It's not CPU-friendly, however. Just bear that in mind. If you want to have 50 dudes running around firing these all the time, or a real-scale simulation of, say, poison gas artillery from WWI (I tried it, once) forget it, and use the similar but not-quite-identical approach I used in NanoBlobs, for the Demon, which is slightly goofy if the original target survives, but otherwise works about the same, for ballistic-arc weapons.

If you need references for the weapon setups / script crap, etc., please d/l NanoBlobs, right now, and study the Demon, it'll show you the basics.
Saktoth
Zero-K Developer
Posts: 2665
Joined: 28 Nov 2006, 13:22

Post by Saktoth »

Lua people. The way you do this is called lua.

It does.... ANYTHING.

You can do this with no-explode weapons. If you fire them through an area very slowly, they will travel through it exploding constantly and doing damage for a long while. The problem is they wont stay in one spot unless they are going directly downwards. If it is a mine or unit explosion or some such though, its pretty easy to make a no-explode weapon with a huge range that force-fires directly downwards from the mine/dying object/radiation emitter (You could have it do 0 damage to radiation emitter, or whatever). It will keep plowing through the earth, exploding again and again and again on the same spot, until it falls out the bottom of its range (So the time it spend there is controlled by the range- but it may, sadly, also be dependent on the gravity of the map).

In the case of a 'radiation emitter' it would just be easier to have it fire directly downwards over and over again, though, than use a noexplode weapon.
User avatar
Zoy64
Posts: 454
Joined: 12 Nov 2006, 00:30

Post by Zoy64 »

does this idea apply to toxic weapons also?
User avatar
VonGratz
Posts: 471
Joined: 03 May 2005, 05:25

Post by VonGratz »

MR.D wrote:Well, Nukes as example could cause an area to be radiated, and force that area to block movement temporarily similar in the way that mappers can block off an area of a map by using the terrain type in the map's SMD file.

I don't know code at all, but if it can be triggered at all, thats a good sign that it may be possible.

I guess there could be other ways to do it as well, by making the affected area slow units down, or switch that area to do damage, like Acid water does to ships in those certain maps that use it, or like the fire damage from trees, that would be another cool way to do things, by persistant damage.
Very good idea :!:
VonGratz
User avatar
Muzic
Posts: 950
Joined: 09 Aug 2006, 07:08

Post by Muzic »

Austrailia has an area denial system using metalstorm. Metal Storm is technology which basically can let you fire 1,000,000 Rounds per minute. They have these like nice long guns and just fire like a large ammount of bullets in like 1 second, it just sounds like a big BRRFOOMFMM and then you hear a THUD.
User avatar
Snipawolf
Posts: 4357
Joined: 12 Dec 2005, 01:49

Post by Snipawolf »

More like BZZZ..

It's extremely high pitched..
User avatar
Pressure Line
Posts: 2283
Joined: 21 May 2007, 02:09

Post by Pressure Line »

kinda like a shotgun. except each bullet has rifle accuracy. and the million rounds per minute is hype, its not sustainable, so its a useless statistic.
User avatar
Snipawolf
Posts: 4357
Joined: 12 Dec 2005, 01:49

Post by Snipawolf »

Imagine if that was AP though...

Heh heh heh heh :twisted:

Could rip through a tank.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Snipawolf wrote:Imagine if that was AP though...
I'd guess there's a reason it isn't.
User avatar
HeavyLancer
Posts: 421
Joined: 19 May 2007, 09:28

Post by HeavyLancer »

KDR_11k wrote:I'd guess there's a reason it isn't.
Scalability and recoil are probably the only problems for it at the moment. They have a truck mounted 40mm grenade launching prototype, something like ~40 tubes with 2-3 grenades in each. :twisted: Look it up on YouTube, probably a good basis for a minefield cannon.

An RPG MetalStorm unit is most likely infeasible, but an AT cannon is probably ok. It would just have a massive recoil and need to be put on a cruiser or something the compensate :P
User avatar
Acidd_UK
Posts: 963
Joined: 23 Apr 2006, 02:15

Post by Acidd_UK »

I wanna see DT shower arty strikes!
User avatar
Fanger
Expand & Exterminate Developer
Posts: 1509
Joined: 22 Nov 2005, 22:58

Post by Fanger »

fyi its spelled weApon...
Post Reply

Return to “Game Development”