Page 1 of 1
More Info, Move overrule
Posted: Mon Jan 25, 2016 10:05 am
by ernieschwitz
-The VR Basic Events library is now using movementType 14 'Reinf on hex' to determine how far away from the source x,y the reinforcement unit can be placed. On default this has same result as before, but it allows using the moveCost overrule tables to change the radius (set rail movetype to like 100 to limit placement to close to hex in question or to 9999 to limit it to the hex itself)
I think I need a bit more explanation to get this to work. I tried setting the railtype move to 9999 and none/all for the landscape type, and i got an error in the event on line 9. Then i tried specifying that movetype rail was 9999 in urban and light urban, and i still got to select every town on map...
Obviously I am missing something simple...
RE: More Info, Move overrule
Posted: Mon Jan 25, 2016 10:25 am
by ernieschwitz
I WAS missing something simple... editting the movement in landscape types, instead of road types...
Not important though, big thing is, i got it working

Thanks Vic for making it possible!

RE: More Info, Move overrule
Posted: Mon Jan 25, 2016 10:32 am
by Vic
My pleasure
Just keep in mind that these Community Project patches are probably going to be weekly as it is more efficient to put my time in blocks.
I also finally took the time to create a full tutorial on how to make a simple Event Library.
http://www.vrdesigns.nl/atwiki/doku.php ... nt_library
It is a tutorial with screenshots and a finished event library file for download.
As already said above. This is probably it for this week.
Best wishes,
Vic
RE: More Info, Move overrule
Posted: Mon Jan 25, 2016 1:05 pm
by ernieschwitz
Cool Vic,
Weekly updates sounds good!

I'll take a look at your Events library tutorial
