Current Work in Progress.
MRPH_City_Road_50.pak ProjectDescription:City Road with maximum speed of 50. Ideal for urban areas of the game. Contains a rather nice asphalt texture surface along with Concrete footpath on either side.Current png files:-
Game Test Result:-
Dat File:-
###############################
#
# CITY ROAD PAK
# Author: M.R.P.Harvey
# created: 27/08/2011
# version: Beta 1.0
#
###############################
# System parameters
###############################
Obj=way
waytype=road
Name=MRPH_CityRoads_50_a
cost=100
maintenance=10
topspeed=50
max_weight=10
intro_year=1900
###############################
# Image Parameters
###############################
icon=> MRPH_CityRoad_3.1.1
cursor=MRPH_CityRoad_3.1.2
Image[S]=MRPH_CityRoad_1.1.2
Image[E]=MRPH_CityRoad_1.2.0
Image[N]=MRPH_CityRoad_1.2.1
Image[W]=MRPH_CityRoad_1.1.1
Image[SW]=MRPH_CityRoad_2.1.0
Image[SE]=MRPH_CityRoad_2.0.2
Image[NE]=MRPH_CityRoad_2.0.1
Image[NW]=MRPH_CityRoad_2.0.0
Image[NS]=MRPH_CityRoad_1.0.0
Image[EW]=MRPH_CityRoad_1.0.1
Image[NSEW]=MRPH_CityRoad_1.1.0
Image[-]=MRPH_CityRoad_1.0.2
Image[NEW]=MRPH_CityRoad_2.1.2
Image[NSW]=MRPH_CityRoad_2.1.1
Image[SEW]=MRPH_CityRoad_2.2.1
Image[NSE]=MRPH_CityRoad_2.2.0
ImageUp[12]=MRPH_CityRoad_3.0.2
ImageUp[6]=MRPH_CityRoad_3.1.0
ImageUp[3]=MRPH_CityRoad_3.0.0
ImageUp[9]=MRPH_CityRoad_3.0.1
As you can see from above image, I came across a rather annoying issues that needed to be fixed.
Yellow Circle:-It shows as a pushed state wether you clicked on it or not. Planning to use GIMP/MSPAINT to repaint certain areas to give the raise effect. Btw, i really liked the images of the buttons of Fabio's roads. If only i could create something similar, but in my own style..
Red Circle:-Even tho my effort to rid the horrible white outlines (created by Anti Aliasing, or AA for short), it still shows lines where two tiles joins together.
(in this case, look along the road surface, not the footpath). I need AA to get the image look rather nice. However, AA creates shading outlines, of which we DO not want!!
What i have done as an effort, is that in BLENDER, i created a Composition Node to render it out as ALPHA (the model shown in white, background shown in black. Of course, i rendered each model twice, one as Normal Image, the other as Alpha image.
Using Gimp, i load both images as layers. I also added a new layer with black background. In the Alpha layer, i deleted the white areas to get the transparent.
In order of layer, from bottom to top layer, are the following:- Black Background, Image, Alpha Layer.
This method works like charm for the OUTLINE of the image, but, I still get the same problem, except that now its darken in some areas of the image, rather than the original problem of white outline.
I can only think that the BLACK BACKGROUND layer in GIMP, may infact, need to change colour to somewhat closer to the road surface colour.
Green Circle:-This is rather puzzling problem. This shows that other tiles appears to overlap my road tiles. I don't know whether this is because my footpath is higher than the tile surface, or I need to add something into the .dat file.
Purple Circle:-I think my Yellow Wireframe Box may not be needed as the game itself has a square anyway. So I will remove that. However, I may need to work on the cursor icon to something more, suitable.
Not Circled:- Other issues found.
The Up images, or rather, the slope tiles of the road, seems to show that although the bottom line is perfectly placed, the upper end shows a few pixel higher offset. This will be fixed easily.
Conclusion:Alot to be done. I need to get this finished properly before I start creating all sorts of various roads. I believe that by perfecting the Blend File, The Gimp method, etc, will allow me to create other way's quickly and easily.
I welcome any opinions or ideas the community may have to perfect this project.
M.R.P.Harveyaka Spartanis