View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008566 | Multi Theft Auto : San Andreas | Scripting | public | 2014-10-04 13:40 | 2014-11-24 00:46 |
Reporter | einheit-101 | Assigned To | ccw | ||
Priority | normal | Severity | feature | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | |||||
Target Version | 1.4.1 | Fixed in Version | 1.4.1 | ||
Summary | 0008566: [Request] A way to adjust the draw distance of effects made by fxAdd...() or createEffect() | ||||
Description | I am working with custom effects and i see that most of the scripted effects have an extremely low drawDistance. Some have only 2-3 Meters ("coke_puff") and others have more (like sparks). | ||||
Steps To Reproduce | function toggleS(weapon, ammo, ammoInClip, hx, hy, hz) --shoot at the ground directly in front of you. The smoke cloud appears. | ||||
Tags | No tags attached. | ||||
|
I noticed that if you create the effect at your position and then warp yourself like 800 meters away (with weather at 0) you can still see the effect for a few seconds. Try this while in the sky or on top of a building or something Not that this is a solution or anything. Just showing you that in fact you can see the effect from a distance like that. The engine allows it. |
|
So we have a workaround for this? |
|
It's not a workaround or solution it's just an example to show that you can see them from a really high distance. For example the smoke creates like 10 puffs of smoke over a period of 10 seconds or so. If you spawn it in front of you you can see only 1 puff of smoke then when you warp yourself 800 meters away you can still only see that 1 puff of smoke until it dies. You can't see the other 9 puffs because you weren't there when it spawned What you said doesn't work. Already tried that. |
|
Fixed in rev. 6892, tested and works great. €DIT: But it seems it has only been added for createEffect() and not for fxAdd...() |
|
Comment by project member ccw808, Today (10 hours ago) Infinite, or something much greater than 255. Check out this image of one of my maps http://i.imgur.com/Ex1HeuB.jpg Say if I wanted to see a fire with some smoke near one of the small huts in the background, it'd need a much greater value than 255. |
|
Maybe Eir will make such distances possible? Of course it is nice to have "no limits" but i think ccw has hit a GTA limit, otherwise he wouldn`t choose 255 meters just for fun? |
|
Perhaps, but I know the engine allows you to see them at such distances. It just doesn't spawn/show up if you aren't near it at first. So the effect has to have send out the first "puff" of smoke then you can move as far away as you want and the effect will stay visible until that puff dies. If you want to see another puff of smoke appear then you'll have to go near it first. If you understand what I mean. |
|
And this counts for any effect not just the smoke ones. |
|
Resolved in https://code.google.com/p/mtasa-blue/source/detail?r=6892 & https://code.google.com/p/mtasa-blue/source/detail?r=6896 |