<< Back to Map Development Forum   Search

Posts 1 - 7 of 7   
2 quick questions: 4/1/2012 07:35:31


myhandisonfire 
Level 54
Report
1. How can I rename all the "path" IDs into "Territory" IDs, so that I can save a lot of time.

2. Why is it that when i create a perfect circle, duplicate it, then exclude it from another territory on warlight the excluded circle doesnt show up perfect, but more like a ovalous square with rounded edges? Is there a way to make it better? (On inkscape both squares look fine)
2 quick questions: 4/1/2012 10:22:04


Moros 
Level 50
Report
1: Open the svg in your favorite text editor, replace "path" with "Territory_", and reopen it in Inkscape.

2: I know that problem too, but I don't know anything to do about it. That should be in the Bugs forum.
2 quick questions: 4/2/2012 19:39:45


Matma Rex 
Level 12
Report
1. @Moros, not exactly - you should replace **id="path** with **id="Territory_**. Replacing "path" could break your SVG (I won't be elaborating on this, trust me).
2. The curves most SVG files (and Inkscape) use are so-called cubic Bezier curves, where each segment has 4 key points: the beginning, the end, and two control points. Flash (and thus Warlight) natively supports only quadratic Bezier curves, which only have 1 control point. (At least that's what I remember out of explanation given some time ago by Fizzer, somewhere.) So your pretty curves have to be approximated by some less pretty curves, and circle-like arcs have a tendency to look bad.
2 quick questions: 4/3/2012 15:23:25


Moros 
Level 50
Report
Anything to do about it?
2 quick questions: 4/3/2012 15:35:10


myhandisonfire 
Level 54
Report
thanks Moros for the fast yet inacurate answer :P
and thanks a lot Matma Rex for the somewhat slower yet fully satisfying, correct and helpful one ;)
2 quick questions: 4/3/2012 15:36:56


myhandisonfire 
Level 54
Report
And I found a way to make the circles look less bad :)
2 quick questions: 4/3/2012 16:16:16


Moros 
Level 50
Report
Always at your service!
:)
Posts 1 - 7 of 7