Data Realms Fan Forums http://45.55.195.193/ |
|
Particles stop doing things...? http://45.55.195.193/viewtopic.php?f=1&t=45625 |
Page 1 of 1 |
Author: | MSB3000 [ Tue Apr 15, 2014 8:12 am ] |
Post subject: | 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. |
Author: | Abdul Alhazred [ Tue Apr 15, 2014 1:05 pm ] |
Post subject: | 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 B30 is still in beta but we will publish a list of all new ini-properies and lua functions when B30 is released. |
Author: | MSB3000 [ Sat Apr 19, 2014 1:42 am ] |
Post subject: | 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... |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |