From: Stefan F. <ste...@we...> - 2012-05-31 05:53:16
|
Erik: I have attached a template for 37001 tile that allows to edit and modify the position of the mine symbol easily: Simply modify the tile in a text editor and then check the changes by reloading in a graphic/browser program. The mining symbol is a svg of its own and included as a group into the tile. Then you can adjust the defined transformations like translate, rotate and scale (Every operation uses the left upper corner as reference). <g transform="translate(195,190)rotate(45)scale(0.15)"> You can also replace the mining symbol by one you like better by simply replacing the svg code inside the g element. See other file versions here: http://en.wikipedia.org/wiki/File:Mining_symbol.svg Stefan On 05/15/2012 01:17 PM, Erik Vos wrote: > Modifying existing TileDesigner-created tiles works best. Please remember: > > # Notes on creating new tiles: > (...) > # 3. If tiles are modified with Inkscape, before saving, set the following > properties > # via File|DocumentProperties: > # - First press 'Fit page to selection'. This should change the size to > # Width=393.00 and Height=341.00. > # - To add the extra whitespace below the tile image that TileDesigner > also adds > # (for unknown reasons), change the Height to 357.50. > # - Then save the tile. > > Erik. > >> -----Original Message----- >> From: Stefan Frey [mailto:ste...@we...] >> Sent: Tuesday, May 15, 2012 12:34 PM >> To: Development list for Rails: an 18xx game >> Subject: Re: [Rails-devel] A question or two about the Rails XML > interface. >> >> Converting from bitmap to a vector graphic unfortunately hardly exceeds, >> however for simple graphs (like our tiles) there should be working >> algorithms. >> >> I prefer creating a SVG in two ways: >> A) Edit the SVG file directly. Actually the tile designer svg files are > not that >> difficult to understand after one adds newlines to separate the XML >> elements. >> B) Use Inkscape which is an opensource vector graphics program which uses >> SVG. >> Most often I combine A) and B). >> >> I can create the mine tiles if you like, but be warned I am not an artist > at all. >> I would simply paste the mine symbol from wikipedia >> http://upload.wikimedia.org/wikipedia/commons/8/8c/Mining_symbol.svg >> onto the tiles. >> >> Stefan >> >> On 05/13/2012 12:56 AM, Erik Vos wrote: >>> Is anyone able to convert .gif to .svg? >>> See below for some requirements that include the required SVG size >>> (copied from CombineTiles.pl as mentioned in my previous reply). >>> >>> Once that has been done, we can use the .svg equivalents in the > displays. >>> Internally we still need standard TileDesigner equivalents, for which >>> we can use existing standard off-map city or town tiles (or perhaps we >>> need new ones, with stop type "mine" or such). >>> >>> # Notes on creating new tiles: >>> # 1. In TileDesigner, export SVG tiles with size=170 and filename >>> template=tile<c0>. >>> # Do this with ID checked into directory tiles/TDwithID, and again >>> # with ID unchecked into directory tiles/TDwoID. >>> # 2. If the saved tiles turn out to invisible, use program >>> FixInvisibility.pl >>> # to remove superfluous strings ' xmlns=""'. It is unknown why >>> TileDesigner >>> # sometimes includes this string in the path tags. >>> # 3. If tiles are modified with Inkscape, before saving, set the >>> following properties >>> # via File|DocumentProperties: >>> # - First press 'Fit page to selection'. This should change the size > to >>> # Width=393.00 and Height=341.00. >>> # - To add the extra whitespace below the tile image that > TileDesigner >>> also adds >>> # (for unknown reasons), change the Height to 357.50. >>> # - Then save the tile. >>> # 4. Use this program to combine tiles from the following directories >>> into >>> tiles/svg: >>> # - From tiles/TDwithID: all tiles with an ID> 0 (not preprinted > tiles). >>> # These images have the id on the tile. >>> # - From tiles/TDwoID: all tiles with an ID<= 0 (preprinted tiles). >>> # These images do not have the ID on the tile (create these > separately >>> from TD). >>> # - From tiles/handmade: all tiles in that dir will overwrite any of > the >>> above. >>> # These are the tiles modified by hand or with Inkscape. >>> >>>> -----Original Message----- >>>> From: John David Galt [mailto:jd...@di...] >>>> Sent: Sunday, May 13, 2012 12:14 AM >>>> To: Development list for Rails: an 18xx game >>>> Subject: Re: [Rails-devel] A question or two about the Rails XML >>> interface. >>>> >>>> Here are the three "mine tiles", in the two sizes of .gif that >>>> 18xx.net >>> uses. >>>> I've left off the names and the values for the "offboard run" in the >>>> hope >>> that >>>> Rails can generate those dynamically. >>>> >>>> If some other format would work better, I'll see if I can create it. >>>> Let >>> me >>>> know. >>> >>> >>> ---------------------------------------------------------------------- >>> -------- >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. >>> Discussions will include endpoint security, mobile security and the >>> latest in malware threats. >>> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> _______________________________________________ >>> Rails-devel mailing list >>> Rai...@li... >>> https://lists.sourceforge.net/lists/listinfo/rails-devel >> >> >> > ---------------------------------------------------------------------------- > -- >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and threat >> landscape has changed and how IT managers can respond. Discussions will >> include endpoint security, mobile security and the latest in malware > threats. >> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Rails-devel mailing list >> Rai...@li... >> https://lists.sourceforge.net/lists/listinfo/rails-devel > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel |