What's the performance diff between 'Grenade' and 'Bullet'?
Moderators: GSH, VSMIT, Red Devil, Commando
What's the performance diff between 'Grenade' and 'Bullet'?
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?
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
viewtopic.php?f=4&t=2350#p40547 << My UE4 Battlezone Project
ModDB - Battlezone II Unofficial Expansion Pack
- 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
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.
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.
- 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
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.
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.

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
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
Re: What's the performance diff between 'Grenade' and 'Bulle
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.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.
(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

Developer @ Stormtide
viewtopic.php?f=4&t=2350#p40547 << My UE4 Battlezone Project
ModDB - Battlezone II Unofficial Expansion Pack
viewtopic.php?f=4&t=2350#p40547 << My UE4 Battlezone Project
ModDB - Battlezone II Unofficial Expansion Pack
- 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
Plasma would tend to go up because it is a very hot gas.
The Silence continues. The War Of Lies has no end.
Re: What's the performance diff between 'Grenade' and 'Bulle
Plasma isn't a gas at all...
Re: What's the performance diff between 'Grenade' and 'Bulle
That. Methinks twosheds needs to research states of matterNielk1 wrote:Plasma isn't a gas at all...

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!
Re: What's the performance diff between 'Grenade' and 'Bulle
Lots ... and lots of people refer to it as ionized gas, saves a few words ..In physics and chemistry, plasma is a state of matter similar to gas in which a certain portion of the particles are ionized.

Re: What's the performance diff between 'Grenade' and 'Bulle
When saving a few words makes you entirely wrong, it's not worth doing.
battlezone.wikia.com needs your help!
- 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
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.
- 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
*checks plasma stream*
goes straight out and dissipates

goes straight out and dissipates

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
Abraham Lincoln
Battlestrat, FE, G66, In The Shadows, Starfleet, Uler, & ZTV
Lifetime member of JBS and NRA
Re: What's the performance diff between 'Grenade' and 'Bulle
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!
- 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
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?
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
Abraham Lincoln
Battlestrat, FE, G66, In The Shadows, Starfleet, Uler, & ZTV
Lifetime member of JBS and NRA
Re: What's the performance diff between 'Grenade' and 'Bulle
Density comes into play as well, of course.
battlezone.wikia.com needs your help!
Re: What's the performance diff between 'Grenade' and 'Bulle
Is it even possible to make the plasma goes upwards?
//Latest Project
http://www.moddb.com/mods/bz2-community-project-2
http://www.moddb.com/mods/bz2-community-project-2