I was in need to create 100 copies of behavior with slightly changed values (yea evasion like :))
I thought.. "i'm not going to make them by hand... XML editing will be also painful for my eyes"
So i created this little thing:
With XML exposed its easy with this to duplicate said behavior X amount of time (using clone) and then search and replace given fields
for example: 100 behaviors where chance will increase by 1%.
LINK (requires Microsoft .NET 4.0 Framework)(on page click download in lower section)
Fast tutorial:
create said behavior.
modify needed fields to expose them in XML format (otherwise they are default and thus skipped in XML)
switch to XML view, select your behavior; starts with <CBehavior id="ID"> ends with </CBehavior> (Btw switch to view your map DataSource only)
copy it to app's top text area, set Iteration number and click "Clone"
Copy paste required field to "Find" textbox. Lets say ' <CBehavior id="ID ' (without single quotes)
paste same thing in replace textbox but remove ID so it becomes ' <CBehavior id=" '
add #N# or your "key" at end in search textbox so it becomes ' <CBehavior id="#N# '
see calculation options etc, everything have tooltip with brief explanation.
hit "Replace" and that's it. Don't forget to copy bottom text area's text to upper one if you plan on modifying more.
in editor switch back to normal view and you should see new behaviors on list and if done right, no errors.
I was in need to create 100 copies of behavior with slightly changed values (yea evasion like :))
I thought.. "i'm not going to make them by hand... XML editing will be also painful for my eyes" So i created this little thing:
With XML exposed its easy with this to duplicate said behavior X amount of time (using clone) and then search and replace given fields
for example: 100 behaviors where chance will increase by 1%.
LINK (requires Microsoft .NET 4.0 Framework)(on page click download in lower section)
Fast tutorial: