17 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
18 <!-- Created with Inkscape (http://www.inkscape.org/) -->
20 xmlns:dc="http://purl.org/dc/elements/1.1/"
21 xmlns:cc="http://web.resource.org/cc/"
22 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
23 xmlns:svg="http://www.w3.org/2000/svg"
24 xmlns="http://www.w3.org/2000/svg"
25 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
26 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
30 sodipodi:version="0.32"
31 inkscape:version="0.45"
33 inkscape:export-filename="bluebase.tga"
34 inkscape:export-xdpi="90"
35 inkscape:export-ydpi="90"
36 sodipodi:docname="template.svg"
37 sodipodi:docbase="/home/rpolzer/software/games/nexuiz/data/models/sprites"
38 inkscape:output_extension="org.inkscape.output.svg.inkscape"
39 sodipodi:modified="true">
50 inkscape:pageopacity="0"
51 inkscape:pageshadow="2"
52 inkscape:zoom="0.98994949"
54 inkscape:cy="75.53288"
55 inkscape:document-units="px"
56 inkscape:current-layer="layer1"
63 inkscape:grid-points="true"
65 inkscape:guide-bbox="true"
66 inkscape:window-width="849"
67 inkscape:window-height="590"
68 inkscape:window-x="198"
69 inkscape:window-y="66" />
75 <dc:format>image/svg+xml</dc:format>
77 rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
82 inkscape:label="Layer 1"
83 inkscape:groupmode="layer"
86 style="opacity:1;fill:#$color;fill-opacity:1;stroke:#$bgcolor;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.75294119"
87 d="M 256,126 L 280,102 L 264,102 L 264,62 L 248,62 L 248,102 L 232,102 L 256,126 z "
89 sodipodi:nodetypes="cccccccc" />
92 style="font-size:56px;font-weight:bold;text-align:center;text-anchor:middle;opacity:1;fill:#$color;fill-opacity:1;stroke:#$bgcolor;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.75294118"
99 y="49.957031">$text</tspan></text>
103 enlargex=$(($sprwidth - $width))
104 enlargey=$(($sprheight - $height))
108 inkscape -z -w $sprwidth -h $sprheight \
109 -a "$((-$enlargex * $svgwidth / $width / 2)):0:$(($svgwidth + $enlargex * $svgwidth / $width / 2)):$(($svgheight + $enlargey * $svgheight / $height))" \
110 -e "$name.png" "$name.svg"
111 ./makespr32 -o "$name.sp2" -proj 5 "$name.png" $(($sprwidth / 2)) $(($sprheight - 1)) 0
114 sprite bluebase 0000ff 000000 "BLUE BASE"
115 sprite danger ff0000 ffff00 "DANGER"
116 sprite flagcarrier ffff00 000000 "FLAG CARRIER"
117 sprite helpme ffff00 ff0000 "HELP ME"
118 sprite here 00ff00 000000 "HERE"
119 sprite key-dropped 00ffff 000000 "DROPPED KEY"
120 sprite keycarrier-blue 0000ff 000000 "KEY CARRIER"
121 sprite keycarrier-finish 00ffff 000000 "RUN HERE"
122 sprite keycarrier-friend 00ff00 000000 "KEY CARRIER"
123 sprite keycarrier-pink ff00ff 000000 "KEY CARRIER"
124 sprite keycarrier-red ff0000 000000 "KEY CARRIER"
125 sprite keycarrier-yellow ffff00 000000 "KEY CARRIER"
126 sprite redbase ff0000 000000 "RED BASE"
127 sprite waypoint 008080 000000 "WAYPOINT"
128 sprite ons-gen-red ff0000 000000 "GENERATOR"
129 sprite ons-gen-blue 0000ff 000000 "GENERATOR"
130 sprite ons-gen-shielded 808080 000000 "GENERATOR"
131 sprite ons-cp-neut ffff00 000000 "CONTROL POINT"
132 sprite ons-cp-red ff0000 000000 "CONTROL POINT"
133 sprite ons-cp-blue 0000ff 000000 "CONTROL POINT"
134 sprite ons-cp-atck-neut 000000 ffff00 "CONTROL POINT"
135 sprite ons-cp-atck-red ff0000 ffff00 "CONTROL POINT"
136 sprite ons-cp-atck-blue 0000ff ffff00 "CONTROL POINT"
137 sprite ons-cp-dfnd-red ff0000 00ffff "CONTROL POINT"
138 sprite ons-cp-dfnd-blue 0000ff 00ffff "CONTROL POINT"