Re: Australian AuzTrains and NSWTrains
Posted: 30 Sep 2023 03:25
Here the game and source for AuzTrainsOtherStatesV32.
The place to talk about Transport Tycoon
https://www.tt-forums.net/
AuzTrainsNSWV34
Subject: Adding new coal wagons, NR and 44 diesels
AuzTrainsNSWV35
Subject: Update.
Glad you like. I have no idea how to code for extra zoom or if I need to re-draw them again. If it just a simple add on to the code maybe I can add it, but I will not re-draw them.
Extra zoom requires, that the sprites are redrawn. If a normal sprite is 32x8 pixels, 2-zoom sprites will then be 64x16 pixels large.
Thank you for the information. Looks like have to leave mine as is. I can not change some of the trains and carriages as I did not draw them all. Some where provided by others who asked me not to alter them.
That would be very nice if you like to do thatJohnFranklin523 wrote: ↑11 Dec 2023 12:29 However, I would like to make trains fantastic even more by contributing to the codes: I would bring some functional changes to AuzTrains.
AuzTrainsNSWV36
Subject: Added non air-conditioned dining cars.
Trains should cost more when accelerating. However, most trains with "variable costs" in OpenTTD only use current speed to decide costs. xUSSR Trainset has somehow done with some influence of acceleration (trains cost more when accelerating than full speed ahead), but still, it did not account hill climbs. I don't know if it is feasible in OpenTTD, after all it is a game engine older than me.
I just got home from videoing a few trains.JohnFranklin523 wrote: ↑12 Dec 2023 02:23 About further information, I want to know how you compile the NML file into GRF file. Both NML and PNML are found in your source.
Sorry mate!
I don't know how to make a "makefile" either. But I just copied the makefile from 2cc Trains in NML to my project. And it works. You don't even need to understand what is in the makefile. Just use them (Makefile, Makefile.config, Makefile.dist). You can change Makefile.config to rename the project, and Makefile.dist to issue a different version. You can see a makefile and pnml system here: https://github.com/JohnFranklin523/China-Set-Trains
I will have another read of your information tomorrow after a good night sleepJohnFranklin523 wrote: ↑12 Dec 2023 09:12 Well, if you cannot understand, it is also fine for me to modify the whole NML file...
If you don't understand what is in the GitHub link, here is the source of China Set:
Been having a look at the China-set. The graphics are really stunning. I doubt that I will ever make my set that good.
The extrazoom and 32bpp graphics of China Set: Trains are from a 3D rendering software. It is impossible to draw them pixel by pixel. They are made not by me, but by another developer, who is now seriously busy with his postgraduate study and spending nearly all the spare time with his girlfriend.GarryG wrote: ↑12 Dec 2023 22:00 Been having a look at the China-set. The graphics are really stunning. I doubt that I will ever make my set that good.
I started a set some time ago making the carriages longer using ideas from the xUSSR Railway Set v0.5. They looked really good and maybe I should finish it and make this my main set. Only did coaches so far.
Still looking through the pnml codes to try understand how to do "running_cost_factor:" and how it works.
Looking at Coach yz25g and it has "running_cost_factor: 6 * runningcostfactor() * cafecostfactor() + accostfactor();"
If I could learn how that works and what I need, maybe I could add this to sleeping cars, dining cars and 1st class coaches.
Cheers pal
Code: Select all
6 * 5 * 1 + 2 = 32
Code: Select all
6 * 5 * 2 + 0 = 60
I not worry about trying to do these 3D graphics.JohnFranklin523 wrote: ↑13 Dec 2023 04:43 The extrazoom and 32bpp graphics of China Set: Trains are from a 3D rendering software. It is impossible to draw them pixel by pixel. They are made not by me, but by another developer, who is now seriously busy with his postgraduate study and spending nearly all the spare time with his girlfriend.
Does this increase the cost to run this vehicle?The running cost factor of YZ25G should be explained.