8/32bpp Trains 2CC - Release topic
Moderator: Graphics Moderators
8/32bpp Trains 2CC - Release topic
*******************************************************************************
8/32bpp Trains 2CC
*******************************************************************************
Version
=======
Current release is Version 2 (2012-04-10).
Description
===========
This NewGRF replaces the OpenTTD base train sprites with a 8/32bpp Extra Zoom 2CC version
of the graphics and adds extra functionality through the setting of the NewGRF
parameters.
Current Trains and Wagons
=========================
Manley-Morel DMU
Dash
SH/Hendry'25'
FLOSS'47'
UU'37'
SH'30'
SH'40'
SH'125'
Passenger Carriage
Mail Van
Parameters
==========
Colour Scheme
-------------
There are 3 colour scheme options:
1) One company colour
In this mode the vehicle emulates 1CC mode by making the 2CC colour always
yellow and the 1CC colour is set by the in-game colour scheme.
2) Two company colours
Both the 1CC and 2CC colours are set by the in-game colour scheme.
3) Real-world colours (User definable)
This selection causes the vehicle colours to become static and unaffected
by the in-game colour scheme. By default the 1CC colour is set to
dark blue and the 2CC colour is set to yellow. The user can change these
using the "Real-world 1CC Colour" and "Real-world 2CC Colour" parameters.
Real-world 1CC Colour and Real-world 2CC Colour
-----------------------------------------------
These 2 parameters are only used when the colour scheme parameter is set to
Real-world colours (User definable). They allow you to choose the 1CC and 2CC
colour of the vehicle from the standard game 16 colour palette.
Sprite Alignment
----------------
This is "OpenGFX" base sprite set by default. Setting it to "OpenGFX+" will
cause the sprite alignment to be offset so that it matches the OpenGFX+ base
sprite set. Setting it to "TTD" will cause the sprite alignment to be offset
so that it matches the TTD base sprite set.
Auto Alignment
----------------
This is set to "Enabled" by default and will adjust the sprite alignment
offsets by detecting other NewGRFs that are in use. If no know NewGRFs are
found to be active then the "Sprite Alignment" parameter will be used.
Sets that are currently detected:
OpenGFX+
UKRS2
UKRTS
Dutch Trains
2CC Trainset
NARS2
NUTS
If set to "Disabled" then only the "Sprite Alignment" parameter will be used.
Visual Effects
--------------
This is "Enabled" by default. Setting it to "Disabled" will cause the visual
effects, such as smoke and sparks, not to be shown.
Sound Effects
-------------
This is "Enabled" by default. Setting it to "Disabled" will cause the sound
effects not to be played.
Model Life
----------
This is "Default" by default. Settitng it to "Never expires" will cause the
vehicle to always be available for purchase regardless of the in-game date.
Temperate
---------
This is "Enabled" by default. Setting it to "Disabled" will cause the vehicle
to be unavailable in the Temperate climate.
Arctic
------
This is "Disabled" by default. Setting it to "Enabled" will cause the vehicle
to be unavailable in the Arctic climate.
Tropical
--------
This is "Disabled" by default. Setting it to "Enabled" will cause the vehicle
to be unavailable in the Tropical climate.
Toyland
-------
This is "Disabled" by default. Setting it to "Enabled" will cause the vehicle
to be unavailable in the Toyland climate.
Availability
============
Bananas
-------
Available in game via the Online Content menu or by going to Bananas directly:
http://bananas.openttd.org/en/newgrf/
GitHub
------
Source code and current release files:
https://github.com/Xotic750/8-32bpp-TRAINS-2CC
Building
========
Building the NewGRF from scratch is a process that requires a number of
tools and scripts to be installed correctly.
You will need nml v0.3 which can be obtained freely from:
http://newgrf-specs.tt-wiki.net/wiki/NM ... ng_started
Follow their install procedures for your particular OS and then continue.
1) Download the project sources using git:
git clone --recursive git://github.com/Xotic750/8-32bpp-TRAINS-2CC.git
2) From the "8-32bpp-TRAINS-2CC/NewGRF" folder execute "compile.sh".
This will create the actual NewGrf.
3) Copy "trains.grf" to you OpenTTD data directory and start OpenTTD.
Credits
=======
All sprites drawn and coded by Graham Fairweather (Xotic750) 2012.
License
=======
This release may be used under the terms of the license: GPLv2
http://www.gnu.org/licenses/gpl-2.0.html
*******************************************************************************
8/32bpp TRAINS 2CC Changelog
*******************************************************************************
Version 2 (2012-04-10)
======================
* Added Manley-Morel DMU
* Added Dash
* Added Passenger Carriage
* Added Mail Van
8/32bpp Trains 2CC
*******************************************************************************
Version
=======
Current release is Version 2 (2012-04-10).
Description
===========
This NewGRF replaces the OpenTTD base train sprites with a 8/32bpp Extra Zoom 2CC version
of the graphics and adds extra functionality through the setting of the NewGRF
parameters.
Current Trains and Wagons
=========================
Manley-Morel DMU
Dash
SH/Hendry'25'
FLOSS'47'
UU'37'
SH'30'
SH'40'
SH'125'
Passenger Carriage
Mail Van
Parameters
==========
Colour Scheme
-------------
There are 3 colour scheme options:
1) One company colour
In this mode the vehicle emulates 1CC mode by making the 2CC colour always
yellow and the 1CC colour is set by the in-game colour scheme.
2) Two company colours
Both the 1CC and 2CC colours are set by the in-game colour scheme.
3) Real-world colours (User definable)
This selection causes the vehicle colours to become static and unaffected
by the in-game colour scheme. By default the 1CC colour is set to
dark blue and the 2CC colour is set to yellow. The user can change these
using the "Real-world 1CC Colour" and "Real-world 2CC Colour" parameters.
Real-world 1CC Colour and Real-world 2CC Colour
-----------------------------------------------
These 2 parameters are only used when the colour scheme parameter is set to
Real-world colours (User definable). They allow you to choose the 1CC and 2CC
colour of the vehicle from the standard game 16 colour palette.
Sprite Alignment
----------------
This is "OpenGFX" base sprite set by default. Setting it to "OpenGFX+" will
cause the sprite alignment to be offset so that it matches the OpenGFX+ base
sprite set. Setting it to "TTD" will cause the sprite alignment to be offset
so that it matches the TTD base sprite set.
Auto Alignment
----------------
This is set to "Enabled" by default and will adjust the sprite alignment
offsets by detecting other NewGRFs that are in use. If no know NewGRFs are
found to be active then the "Sprite Alignment" parameter will be used.
Sets that are currently detected:
OpenGFX+
UKRS2
UKRTS
Dutch Trains
2CC Trainset
NARS2
NUTS
If set to "Disabled" then only the "Sprite Alignment" parameter will be used.
Visual Effects
--------------
This is "Enabled" by default. Setting it to "Disabled" will cause the visual
effects, such as smoke and sparks, not to be shown.
Sound Effects
-------------
This is "Enabled" by default. Setting it to "Disabled" will cause the sound
effects not to be played.
Model Life
----------
This is "Default" by default. Settitng it to "Never expires" will cause the
vehicle to always be available for purchase regardless of the in-game date.
Temperate
---------
This is "Enabled" by default. Setting it to "Disabled" will cause the vehicle
to be unavailable in the Temperate climate.
Arctic
------
This is "Disabled" by default. Setting it to "Enabled" will cause the vehicle
to be unavailable in the Arctic climate.
Tropical
--------
This is "Disabled" by default. Setting it to "Enabled" will cause the vehicle
to be unavailable in the Tropical climate.
Toyland
-------
This is "Disabled" by default. Setting it to "Enabled" will cause the vehicle
to be unavailable in the Toyland climate.
Availability
============
Bananas
-------
Available in game via the Online Content menu or by going to Bananas directly:
http://bananas.openttd.org/en/newgrf/
GitHub
------
Source code and current release files:
https://github.com/Xotic750/8-32bpp-TRAINS-2CC
Building
========
Building the NewGRF from scratch is a process that requires a number of
tools and scripts to be installed correctly.
You will need nml v0.3 which can be obtained freely from:
http://newgrf-specs.tt-wiki.net/wiki/NM ... ng_started
Follow their install procedures for your particular OS and then continue.
1) Download the project sources using git:
git clone --recursive git://github.com/Xotic750/8-32bpp-TRAINS-2CC.git
2) From the "8-32bpp-TRAINS-2CC/NewGRF" folder execute "compile.sh".
This will create the actual NewGrf.
3) Copy "trains.grf" to you OpenTTD data directory and start OpenTTD.
Credits
=======
All sprites drawn and coded by Graham Fairweather (Xotic750) 2012.
License
=======
This release may be used under the terms of the license: GPLv2
http://www.gnu.org/licenses/gpl-2.0.html
*******************************************************************************
8/32bpp TRAINS 2CC Changelog
*******************************************************************************
Version 2 (2012-04-10)
======================
* Added Manley-Morel DMU
* Added Dash
* Added Passenger Carriage
* Added Mail Van
- Attachments
-
- trains.png
- Screenshot showing the current available trains
- (240.99 KiB) Downloaded 4 times
Last edited by Xotic750 on 11 Apr 2012 03:58, edited 9 times in total.
Re: 8/32bpp SH125 2CC - Release topic
I'm getting the following when it's parked in the depot. The engine is too high by a few pixels. Looks ok on the track though.
- Attachments
-
- Accnor End Transport, 25th Feb 1978.png (174.81 KiB) Viewed 68896 times
Re: 8/32bpp SH125 2CC - Release topic
I don't think the problem is with my grf but the offsets for the wagons that you are using, do you know what the grf is and I will check.
Below is how it looks for me with the base set graphics and no other wagons grf loaded.
Below is how it looks for me with the base set graphics and no other wagons grf loaded.
- Attachments
-
- Screenshot comparing the SH125 with other base set graphics in the station GUI.
- in-station.png (14.93 KiB) Viewed 68886 times
Re: 8/32bpp SH125 2CC - Release topic
Yeah, I don't think that's fixable. The wagons of the base set are too high in the depot window to begin with. Every other grf fixes that for itself, but this fix cannot be applied to a base set. So you either have one of these:
- the train matches the base graphics, but no other newgrf;
- the train matches the other newgrfs, but not the base graphics.
It's up to the newgrf author to decide what's best.
- the train matches the base graphics, but no other newgrf;
- the train matches the other newgrfs, but not the base graphics.
It's up to the newgrf author to decide what's best.
Re: 8/32bpp SH125 2CC - Release topic
Perhaps for Version 2 I can add a parameter so that the user can choose the alignment to match either the base set graphics or other newgrfs.
Re: 8/32bpp SH125 2CC - Release topic
Strange. Took out all the newgrfs except yours. I'm using the base set but the wagons are still too low...but I suspect it's your engine that's too high...
- Attachments
-
- Unnamed, 1st Jan 1979.png (96.8 KiB) Viewed 68869 times
Re: 8/32bpp SH125 2CC - Release topic
The graphics that you are showing still don't look like the base set to me. See below for my screenshot.
Did you remove all the grfs and then start a new game or did you load a saved game?
Did you remove all the grfs and then start a new game or did you load a saved game?
- Attachments
-
- Screenshot showing all available base graphics.
- base-set.png (39.94 KiB) Viewed 7846 times
Re: 8/32bpp SH125 2CC - Release topic
I edited the .cfg file to remove all the grfs then started a fresh game. I may have done something wrong so I'll recheck... I'll report back after lunch.
Re: 8/32bpp SH125 2CC - Release topic
Right, were I said "base set" I meant OpenGFX. As there's also differences between OpenGFX and the TTD graphics.
OpenGFX has the vehicles aligned correctly on the map in the <- direction, and as a consequence they're too high in the depot/purchase menu.
TTD graphics has them correctly in the depot/purchase, but they are suboptimal on the map (too low).
Just to make it complicated.
OpenGFX has the vehicles aligned correctly on the map in the <- direction, and as a consequence they're too high in the depot/purchase menu.
TTD graphics has them correctly in the depot/purchase, but they are suboptimal on the map (too low).
Just to make it complicated.
Re: 8/32bpp SH125 2CC - Release topic
Yes, that's the issue. Using original base graphics I get the above pictures. Using OpenGFX then the engine and wagons align ok.
Might be worth mentioning that it requires OpenGFX...
Sorry about the false alarm.
Might be worth mentioning that it requires OpenGFX...
Sorry about the false alarm.
Re: 8/32bpp SH125 2CC - Release topic
I will try to support both sets with the next release.
Re: 8/32bpp SH125 2CC - Release topic
I have updated the grf (V2) to include a Sprite Alignment parameter (See release notes)
Re: 8/32bpp SH125 2CC - Release topic
Yep, that works....
The guidelines 'might' need rewording slightly as it needs to be set to OpenGFX+ for the original baseset.
Maybe better call the options OpenGFX and Original?
Quick work!
The guidelines 'might' need rewording slightly as it needs to be set to OpenGFX+ for the original baseset.
Maybe better call the options OpenGFX and Original?
Quick work!
Re: 8/32bpp SH125 2CC - Release topic
I only have the open source sprites available and so I have tested against OpenGFX and OpenGFX+. I was just assuming that OpenGFX+ used the same offsets as the original TTD sprites.
Re: 8/32bpp SH125 2CC - Release topic
NewGRFs are not required to do anything different to support different basesets. The vehicle alignment should be as in the TTD base set. If your OpenGFX isn't aligned the same, then there's something wrong with it.
Edit: Yes, OpenGFX is broken. You should use the correct offset for the TTD base set.
Edit: Yes, OpenGFX is broken. You should use the correct offset for the TTD base set.
He's like, some kind of OpenTTD developer.
Re: 8/32bpp SH125 2CC - Release topic
the game crashes when i try to start a new game, because of this grf
latest nightly 24085 win32 + fresh OTTD folder in my documents, so fresh cfg file
the only grf in the list
and it still crashes
latest nightly 24085 win32 + fresh OTTD folder in my documents, so fresh cfg file
the only grf in the list
and it still crashes
The rest is confetti!
Re: 8/32bpp SH125 2CC - Release topic
I have tried r24087 on 4 separate machines (all running linux as I have no windows machines) and have not had any problems. Unfortunately I am unable to help with the crash dumps as I am not a software developer. If there is anyone that can interpret them then it would be a help?
Re: 8/32bpp SH125 2CC - Release topic
here is the cfg file. maybe there is something i should set
- Attachments
-
- openttd.cfg
- (9.96 KiB) Downloaded 703 times
The rest is confetti!
Re: 8/32bpp SH125 2CC - Release topic
Have you tried resetting the grf?
The default settings are:
The default settings are:
Code: Select all
832bpp_sh125_2cc-3/sh125.grf = 1 0 3 1 1 1 1 0 1 0 0 0
Who is online
Users browsing this forum: No registered users and 3 guests