dendwaler wrote:What ever values i enter for distantance and velocity does not make any difference
The current is everywhere in the age with the same strenght.
Any solution for this one?
Well, first, the parameters "nearvel" and "farvel" should read "nearspeed" and "farspeed".
Yes, this is simply wrong in the wiki. Of course, URU plasma uses nearvel and farvel, but AlcScript needs those parameters written as nearspeed and farspeed.
Found this out the hard way by reading the PyPRP sources some time ago when it didn't work for me.
I would have corrected this already in the WIKI, but the example was not text but screenshots, and I was too lazy to adapt it.

But I added a correction note now.
- Code: Select all
RgnSwimArea:
type: region
regiontype: swim
region:
swim:
style: straight
straight:
centerpoint: CurrentGuide
neardist: 1
nearspeed: 9
fardist: 200
farspeed: 1
RgnSwimStop:
type: region
regiontype: swim
region:
swim:
style: simple
If the swimming does still not stop above your fardist distance (and I assume it will not, when you set farspped to 1.0), cut the region into two parts. One your normal swim region with the straight current, the other an adjacent swim region with style: simple. The seam between them should be where you want the flow to stop.
Of course, you could just set the farspeed parameter to 0.0 , this should stop the flow as well when position is above fardist.
Finally, the parameter "fardist" does count only in the direction (Y-component of centerpoint) of the flow, not reverse.
So, "behind" your centerpoint nearspeed is used, regardless of fardist.
And, drawing help circles (with added string property "page_num" set to 12345 under Logic(F4) to avoid its export) around your centerpoint helps in determining the desired distances. Circle radius equals those.
Hope I was able to describe it properly.