What's the performance diff between 'Grenade' and 'Bullet'?

Moderators: GSH, VSMIT, Red Devil, Commando

User avatar
TheJamsh
Bull Dog
Posts: 689
Joined: Sat Feb 19, 2011 5:49 pm

What's the performance diff between 'Grenade' and 'Bullet'?

Post by TheJamsh »

Simply put, am I going to notice a performance difference changing bullet to grenade classes?

What's the extra overhead required to calculate the gravity influence on the ordnance? Is it going to be a huge performance impact?
Developer @ Stormtide
viewtopic.php?f=4&t=2350#p40547 << My UE4 Battlezone Project

ModDB - Battlezone II Unofficial Expansion Pack
User avatar
MrTwosheds
Recycler
Posts: 3059
Joined: Sat Feb 19, 2011 8:37 am
Location: Outer Space
Contact:

Re: What's the performance diff between 'Grenade' and 'Bulle

Post by MrTwosheds »

Changing ordnance from bullet to grenade and having it perform like a bullet would create a weapon with a huge range, this would radically alter the "balance" of the weapon, eg destroy your enemy safely from 600 meters away behind your own defences by raining sp stabs on their base. There would be very little they could do to stop it.
Other than that I don't think there is much of a performance issue, unless you have done something inefficient to the effects.
Need to make sure you don't put any effects that emit ever increasing numbers of sprites, like the old plasma stream used to.
The Silence continues. The War Of Lies has no end.
User avatar
S.cavA.rmyG.en
Sabre
Posts: 296
Joined: Fri Mar 04, 2011 3:15 am
Location: ISDF Junk Yard
Contact:

Re: What's the performance diff between 'Grenade' and 'Bulle

Post by S.cavA.rmyG.en »

would depend on the weapon.
for max ordence at once bullets are better.
for more control over ordence use grenade.
I am sure it takes more to calculate the gravity influence on the ordnance [found out testing my thunder storm 1000+ordence] the bullets would run 2 as fast but don't arc so to keep the effect I droped the number of ordence and use grenades.

if your planning on changing the stock weapons a littel it should be fine if your making some new render happy monster all I can say is test the hell out of it and good luck. :mrgreen:
4 THINGS TO REMEMBER:
1.Professionals are predictable,amateurs are dangerous
2.If you can't remember, the Big Gun is always aimed at you.
3.If it's stupid but works, it's not stupid,it's crazy.
4.Anything you do can get you killed,even if it's nothing
User avatar
TheJamsh
Bull Dog
Posts: 689
Joined: Sat Feb 19, 2011 5:49 pm

Re: What's the performance diff between 'Grenade' and 'Bulle

Post by TheJamsh »

MrTwosheds wrote:Changing ordnance from bullet to grenade and having it perform like a bullet would create a weapon with a huge range, this would radically alter the "balance" of the weapon, eg destroy your enemy safely from 600 meters away behind your own defences by raining sp stabs on their base. There would be very little they could do to stop it.
Other than that I don't think there is much of a performance issue, unless you have done something inefficient to the effects.
Need to make sure you don't put any effects that emit ever increasing numbers of sprites, like the old plasma stream used to.
The range isn't the issue, I'm using it on (strangely enough) the scion plasmas weapon to give it a slightly arcing effect like a flamethrower. The only issue I can see here, is that that thing generates ordnance every 0.02 seconds, which all individually have a lifespan of 0.8 seconds, so that's 40 grenade ordnances' spewing out of one unit when it uses this weapon.

(Also, I do use Grenade physics on the SP-Stab and AT-Stab, they have the same range as before, grenades respect the lifeTime flag too :P)
Developer @ Stormtide
viewtopic.php?f=4&t=2350#p40547 << My UE4 Battlezone Project

ModDB - Battlezone II Unofficial Expansion Pack
User avatar
MrTwosheds
Recycler
Posts: 3059
Joined: Sat Feb 19, 2011 8:37 am
Location: Outer Space
Contact:

Re: What's the performance diff between 'Grenade' and 'Bulle

Post by MrTwosheds »

Plasma would tend to go up because it is a very hot gas.
The Silence continues. The War Of Lies has no end.
User avatar
Nielk1
Flying Mauler
Posts: 2991
Joined: Fri Feb 18, 2011 10:35 pm
Contact:

Re: What's the performance diff between 'Grenade' and 'Bulle

Post by Nielk1 »

Plasma isn't a gas at all...
User avatar
Ded10c
Recycler
Posts: 3815
Joined: Sun Feb 20, 2011 11:05 am
Location: Stoke-on-Trent
Contact:

Re: What's the performance diff between 'Grenade' and 'Bulle

Post by Ded10c »

Nielk1 wrote:Plasma isn't a gas at all...
That. Methinks twosheds needs to research states of matter :P

Plasma is comparable to gas, yes, but you can have plasma at subzero temperatures. In short, the defining factor is that it is ionised.
battlezone.wikia.com needs your help!
User avatar
Red Spot
Attila
Posts: 1629
Joined: Mon Feb 21, 2011 6:14 pm
Location: The Netherlands

Re: What's the performance diff between 'Grenade' and 'Bulle

Post by Red Spot »

In physics and chemistry, plasma is a state of matter similar to gas in which a certain portion of the particles are ionized.
Lots ... and lots of people refer to it as ionized gas, saves a few words .. ;)
User avatar
Ded10c
Recycler
Posts: 3815
Joined: Sun Feb 20, 2011 11:05 am
Location: Stoke-on-Trent
Contact:

Re: What's the performance diff between 'Grenade' and 'Bulle

Post by Ded10c »

When saving a few words makes you entirely wrong, it's not worth doing.
battlezone.wikia.com needs your help!
User avatar
MrTwosheds
Recycler
Posts: 3059
Joined: Sat Feb 19, 2011 8:37 am
Location: Outer Space
Contact:

Re: What's the performance diff between 'Grenade' and 'Bulle

Post by MrTwosheds »

I didn't really want to start a physics discussion. Does anyone know wether a plasma, the hot kind, would go up, down or in a straight line, in an atmosphere or vacuum? Seems to me its just fine how it was anyway.
The Silence continues. The War Of Lies has no end.
User avatar
Red Devil
Recycler
Posts: 4398
Joined: Fri Feb 18, 2011 5:10 pm
Location: High in the Rocky Mountains

Re: What's the performance diff between 'Grenade' and 'Bulle

Post by Red Devil »

*checks plasma stream*

goes straight out and dissipates

:P
If given the truth, the people can be depended upon to meet any national crisis. The great point is to bring them the real facts - and beer.
Abraham Lincoln

Battlestrat, FE, G66, In The Shadows, Starfleet, Uler, & ZTV

Lifetime member of JBS and NRA
User avatar
Ded10c
Recycler
Posts: 3815
Joined: Sun Feb 20, 2011 11:05 am
Location: Stoke-on-Trent
Contact:

Re: What's the performance diff between 'Grenade' and 'Bulle

Post by Ded10c »

Plasma that is hotter than the atmosphere, like in any other state of matter, will convect upwards. Convection won't occur in a vacuum.
battlezone.wikia.com needs your help!
User avatar
Red Devil
Recycler
Posts: 4398
Joined: Fri Feb 18, 2011 5:10 pm
Location: High in the Rocky Mountains

Re: What's the performance diff between 'Grenade' and 'Bulle

Post by Red Devil »

so, if you shot some on Mercury or Venus, it might convect down. hmmm, planet-specific weapons...

maybe Mercurial Plasma Grenade?

Venusian Droopy Plasma Stream?
If given the truth, the people can be depended upon to meet any national crisis. The great point is to bring them the real facts - and beer.
Abraham Lincoln

Battlestrat, FE, G66, In The Shadows, Starfleet, Uler, & ZTV

Lifetime member of JBS and NRA
User avatar
Ded10c
Recycler
Posts: 3815
Joined: Sun Feb 20, 2011 11:05 am
Location: Stoke-on-Trent
Contact:

Re: What's the performance diff between 'Grenade' and 'Bulle

Post by Ded10c »

Density comes into play as well, of course.
battlezone.wikia.com needs your help!
User avatar
jaydenbz2
Thunderbolt
Posts: 128
Joined: Mon Feb 21, 2011 6:19 am

Re: What's the performance diff between 'Grenade' and 'Bulle

Post by jaydenbz2 »

Is it even possible to make the plasma goes upwards?
Post Reply