[No] yet, another suggestion that should count...

Moderator: GZDoom Developers

yet, another suggestion that should count...

Postby ant1991331 » Mon Jul 25, 2005 5:28 am

A_CustomMissile, and A_FireCustomMissile should have another parameter added, vertical and horizontal spread, an inaccurate projectile weapon (such as a Plasma Gun would) would work very well indeed. :D
ant1991331
Too quick.
 
Joined: 24 Jun 2005
Location: Makin tracks with jetboots

Postby ant1991331 » Tue Jul 26, 2005 4:04 am

No one??? This is serious, for the 'High-Powered' weapons...
ant1991331
Too quick.
 
Joined: 24 Jun 2005
Location: Makin tracks with jetboots

Postby Kirby » Tue Jul 26, 2005 7:52 am

I don't see why it's so hard to make a bunch of projectiles shoot out at different angles. The more projectiles at differing heights and angles, the greater the spread. There's no need to add to it for something that can already be done.
User avatar
Kirby
Soon to be chastized
 
Joined: 26 Aug 2004

Postby Graf Zahl » Tue Jul 26, 2005 7:58 am

With the new expression evaluator and random values it should already be possible right now without any change to the code. I haven't looked too closely at the code but maybe Grubber can be more specific.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Postby Caligari87 » Tue Jul 26, 2005 7:25 pm

waitwaitwaitwaitwait!!!!

*reverenced whisper* random........values......?

I LOVE YOU!

(Do we have vertical speed now?)

8-)
User avatar
Caligari87
User Accounts Assistant
 
Joined: 26 Feb 2004
Discord: Caligari87#3089
Github ID: caligari87

Postby ant1991331 » Tue Jul 26, 2005 11:51 pm

I wanted this added because i was going to make a Flak Cannon (UT)
ant1991331
Too quick.
 
Joined: 24 Jun 2005
Location: Makin tracks with jetboots

Postby Grubber » Fri Jul 29, 2005 3:56 am

In place of angle use random (min, max), so it will look like A_CustomMissile ("Rocket", 0, 0, random (-5, 5))
User avatar
Grubber
I can wire anything directly into anything. I am the professor!
 
Joined: 15 Oct 2003
Location: Czech Republic

Postby Cutmanmike » Fri Jul 29, 2005 7:06 am

<3<3<3
User avatar
Cutmanmike
Is it hot in here or is it just ZScript
 
Joined: 06 Oct 2003
Location: United Kingdom
Discord: https://discord.gg/Whts7Bj
Operating System: Windows Vista/7/2008 64-bit

Postby ant1991331 » Fri Jul 29, 2005 8:39 am

Grubber wrote:In place of angle use random (min, max), so it will look like A_CustomMissile ("Rocket", 0, 0, random (-5, 5))

Oh, you can do that???
*Updates FlakCannon*
It wasn't in the Wiki, was it?

And it chooses a random number between -5 and 5 right?
ant1991331
Too quick.
 
Joined: 24 Jun 2005
Location: Makin tracks with jetboots

Postby Grubber » Fri Jul 29, 2005 8:55 am

Right. Of course you can type whatever you want into it.
User avatar
Grubber
I can wire anything directly into anything. I am the professor!
 
Joined: 15 Oct 2003
Location: Czech Republic

Postby ant1991331 » Fri Jul 29, 2005 9:00 am

Thanks for the tip, Grubber
ant1991331
Too quick.
 
Joined: 24 Jun 2005
Location: Makin tracks with jetboots

Postby ant1991331 » Sat Jul 30, 2005 6:56 am

Umm, small problem...
Code: Select allExpand view
States
{
Fire:
    BLAH BLAH BLAH etc.

    FLAK 0 A_FireCustomMissile("FlakChunk",random(5, -5),0,0,random(10, -5))
}

DONT WORK!
Saying something about a bad numeric constant in parameter, what's wrong here?
ant1991331
Too quick.
 
Joined: 24 Jun 2005
Location: Makin tracks with jetboots

Postby TheDarkArchon » Sat Jul 30, 2005 6:58 am

Lowest number first.
User avatar
TheDarkArchon
OUT!
 
Joined: 07 Aug 2004
Location: Some cold place

Postby ant1991331 » Sat Jul 30, 2005 7:00 am

Is it really? Grubber didn't mention that above :cry:
ant1991331
Too quick.
 
Joined: 24 Jun 2005
Location: Makin tracks with jetboots

Postby TheDarkArchon » Sat Jul 30, 2005 7:04 am

Grubber wrote:random (-5, 5)
User avatar
TheDarkArchon
OUT!
 
Joined: 07 Aug 2004
Location: Some cold place

Next

Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest