View unanswered posts | View active topics It is currently Wed Dec 25, 2024 4:48 pm



Reply to topic  [ 3 posts ] 
 Particles stop doing things...? 
Author Message
User avatar

Joined: Tue Oct 06, 2009 2:24 am
Posts: 13
Reply with quote
Post Particles stop doing things...?
So I've run into a problem, and maybe someone knows what I'm talking about. After a certain period, particles fired from guns seem to not effect actors anymore. For example, if I shoot a blast from a shotgun across a long enough distance, it won't hit enemies anymore. The shotgun's particles will simply go behind the invading army. It's like I'm firing on friendly targets.

This is especially annoying because I've made a weapon that relies on long-lived bouncing particles to do damage, but due to this issue, enemies remain unharmed in a room filled with these particles.

There's a weird special case that has me scratching my head: if I fire these particles from a gun, I have problems with them harming actors, but if I explode these particles from a bomb, they behave just like I expect them to. If turned into a bomb, every single one of the particles collides with actors, regardless of team.

In every case, particles collide with scenery.

Here's the misbehaving material:


And everything else:



Halp. I remember this working in an earlier build.


Tue Apr 15, 2014 8:12 am
Profile
DRL Developer
DRL Developer

Joined: Tue Aug 11, 2009 5:09 am
Posts: 395
Reply with quote
Post Re: Particles stop doing things...?
All MOPixels have two new ini-properies: MinLethalRange and MaxLethalRange. These are float values [0..infinity] for making pixels lose sharpness over range (for shotguns etc.) MOPixels from guns lose sharpness after travelling ~(SharpAim+ScreenWidth/2)*Random(MinLethalRange, MaxLethalRange) Other MOPixels e.g. gibs lose sharpness after travelling ScreenWidth*Random(MinLethalRange, MaxLethalRange). Default is 1.0 for both values.

In short: Add
Code:
MinLethalRange = 5 // 2 = double the range (duh)
MaxLethalRange = 5
to the MOPixel.

B30 is still in beta but we will publish a list of all new ini-properies and lua functions when B30 is released.


Tue Apr 15, 2014 1:05 pm
Profile
User avatar

Joined: Tue Oct 06, 2009 2:24 am
Posts: 13
Reply with quote
Post Re: Particles stop doing things...?
Yes! Perfect, thanks! At first, that wasn't working for some reason, but then it did after I started hitting it with a wrench.

Now I just gotta do that for all my other guns...


Sat Apr 19, 2014 1:42 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.048s | 13 Queries | GZIP : Off ]