[OTTD] ...BANDIT...

Discuss, get help with, or post new graphics for TTDPatch and OpenTTD, using the NewGRF system, here. Graphics for plain TTD also acceptable here.

Moderator: Graphics Moderators

User avatar
alluke
Transport Coordinator
Transport Coordinator
Posts: 335
Joined: 27 Dec 2010 16:26
Location: Finland

Re: [OTTD] ...BANDIT...

Post by alluke »

Those twin axles in front....never seen them in nosey trucks irl...also in coes there should be room for driver's door. Otherwise very nice looking set, looking forward to it. :)
Image
User avatar
SkeedR
Tycoon
Tycoon
Posts: 2264
Joined: 11 Jul 2004 14:55
Location: West Midlands
Contact:

Re: [OTTD] ...BANDIT...

Post by SkeedR »

I LOVE YOU ANDYTHENORTH.
Last known as: Weirdy
User avatar
Emperor Jake
Tycoon
Tycoon
Posts: 3427
Joined: 24 Apr 2007 09:37
Skype: Discord: Emperor Jake #4106
Location: Not Actually Japan
Contact:

Re: [OTTD] ...BANDIT...

Post by Emperor Jake »

alluke wrote:Those twin axles in front....never seen them in nosey trucks irl
Image

Otherwise, very nice selection of trucks!! Will there be more variation between models in the future?
User avatar
NekoMaster
Tycoon
Tycoon
Posts: 4001
Joined: 16 Aug 2008 22:26
Skype: neko-master
Location: Oshawa, Ontario, CANADA

Re: [OTTD] ...BANDIT...

Post by NekoMaster »

Nice work andy, I super can't wait until this set is released or at least at a playable state. For now I'll just keep watching you work
Image Proud Canadian Image
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!
User avatar
andythenorth
Tycoon
Tycoon
Posts: 5658
Joined: 31 Mar 2007 14:23
Location: Lost in Music

Re: [OTTD] ...BANDIT...

Post by andythenorth »

Emperor Jake wrote:Will there be more variation between models in the future?
Depends on artist support :)

BANDIT trucks and trailers are made up of modular sections
- sections are 4px long in the - view
- once the basic sections are drawn, the truck can be tweaked to a more unique appearance
- the scale is 'small', DanMacK established it this way to fit better with train sets

I'll post some templates + examples later.

If you've drawn for the game before and you want to try drawing trucks or trailers drop me a line. The set will appear much faster if I have help :D
User avatar
NekoMaster
Tycoon
Tycoon
Posts: 4001
Joined: 16 Aug 2008 22:26
Skype: neko-master
Location: Oshawa, Ontario, CANADA

Re: [OTTD] ...BANDIT...

Post by NekoMaster »

i rather like the slightly smaller scale, that way it makes north american locomotives look a lot bigger compard to road vehicles
Image Proud Canadian Image
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!
User avatar
andythenorth
Tycoon
Tycoon
Posts: 5658
Joined: 31 Mar 2007 14:23
Location: Lost in Music

Re: [OTTD] ...BANDIT...

Post by andythenorth »

NekoMaster wrote:i rather like the slightly smaller scale, that way it makes north american locomotives look a lot bigger compard to road vehicles
Good - that was the intention :)
User avatar
YukonRob
Transport Coordinator
Transport Coordinator
Posts: 290
Joined: 31 Jul 2007 00:58
Location: North of 63

Re: [OTTD] ...BANDIT...

Post by YukonRob »

I was playing with the new nightly (or rather just being nosy) and I uncovered a 'core' bug. Not sure were to report it so I will start here and then move onto flyspray if needed.
Bug: While trying to sell one of the trucks (obviously malformed - trailer only - due to incomplete coding in the GRF) when I tried to left click it to grab it the cursor disappeared. There was no way to grab the vehicle. I understand this is due to the incompleteness of the grf, but it seems like OTTD should handle this better?
Eddi
Tycoon
Tycoon
Posts: 8267
Joined: 17 Jan 2007 00:14

Re: [OTTD] ...BANDIT...

Post by Eddi »

when you grab a vehicle, the cursor takes the form of the head vehicle. If that's invisible, then you get an invisible cursor, obviously. :p
User avatar
YukonRob
Transport Coordinator
Transport Coordinator
Posts: 290
Joined: 31 Jul 2007 00:58
Location: North of 63

Re: [OTTD] ...BANDIT...

Post by YukonRob »

Thanks. Makes sense now that I consider it.
User avatar
colossal404
Chief Executive
Chief Executive
Posts: 652
Joined: 07 Mar 2009 12:48
Location: Szeged, Hungary

Re: [OTTD] ...BANDIT...

Post by colossal404 »

Looks nice! I'm waiting to see more of these trucks :)

Shouldn't the wheels have a lighter pixel to represent the hub/wheel's center? Now it cannot be seen, the wheel merge to the roads color.
Image
oberhümer
Tycoon
Tycoon
Posts: 1283
Joined: 23 Oct 2009 19:35
Location: Here and there, sometime or another

Re: [OTTD] ...BANDIT...

Post by oberhümer »

It didn't compile, unfortunately...
--- Licenses: GNU LGPL, version 2 or newer, code and graphics. CC-By-SA, graphics, alternatively. If you're using any, I'd like to hear about it --- Call them "track types" ---
--- Mostly inactive developer for: NuTracks - Central European Train Set --- Running/compiling for: Linux (x86) - Android - Windows (32/64 bit) ---

--- Need a file packer? 7-Zip --- BOINC - use your computing power to benefit science --- Block trackers, not ads --- Unix in dispersible pellets, the formula for the future. ---
User avatar
andythenorth
Tycoon
Tycoon
Posts: 5658
Joined: 31 Mar 2007 14:23
Location: Lost in Music

Re: [OTTD] ...BANDIT...

Post by andythenorth »

oberhümer wrote:It didn't compile, unfortunately...
The makefile doesn't build the trailer graphics...yet. :wink:

If you run make or python main.py in src/pixel_generator , it should build the trailer graphics.
You may also need to create an 'output' directory in that location first.

EDIT, forgot to say that the pixa python module is a dependency (as is PIL, but that's needed for nml anyway).
http://dev.openttdcoop.org/projects/pixa/repository
Download, then python setup.py install
User avatar
andythenorth
Tycoon
Tycoon
Posts: 5658
Joined: 31 Mar 2007 14:23
Location: Lost in Music

Re: [OTTD] ...BANDIT...

Post by andythenorth »

Commit r446 (and some prior) add the pixel generator call to the main makefile, eliminating some of the steps above.

The pixa python module must still be installed, as per post above - this is a one-time step.

The set can then be built by calling 'make' in the usual way from project root dir. Build checks are not very accurate for BANDIT yet, so build may require 'make clean' first. ;)
User avatar
andythenorth
Tycoon
Tycoon
Posts: 5658
Joined: 31 Mar 2007 14:23
Location: Lost in Music

Re: [OTTD] ...BANDIT...

Post by andythenorth »

BANDIT build is now stupid and over-complicated.

So the (misguided) aim was to be able to build everything from scratch, including graphics.

To get BANDIT to build from scratch requires a long chain of deps and scripts.
- main makefile calls python script to build and template bandit.nml (build_bandit.py)
- main makfile calls pixel generator makefile, which then creates certain dirs
- pixel generator is called by its makefile, and has to call nmlc -M on bandit.nml to get a deps file, which it then parses
- pngs are then generated in multiple passes
- finally main makefile builds grf from nml and pngs

This is stupid, and it doesn't work on the compile farm, and I don't understand yet what causes the issue.
http://bundles.openttdcoop.org/bandit/n ... ld.err.log

So I'm thinking: why does the pixel generator need to run at compile-time? Why don't I just run it locally when needed and commit the resulting pngs?

Currently I'm trying to edit makefiles I don't understand, to run on a compile farm that I don't control, to fix a makefile that works locally for me, but not on the compile farm.

Committing the pngs would be simple and robust.

Worse is better.
User avatar
Voyager One
Tycoon
Tycoon
Posts: 11204
Joined: 28 Dec 2009 09:47
Location: Rijeka, Croatia

Re: [OTTD] ...BANDIT...

Post by Voyager One »

If I didn't know better... I'd say you're frustrated... :mrgreen:

One of the Murphy's laws: "If if doesn't work, read the manual. If it still refuses to work - get a bigger hammer!"
Leon

Image Image Image Image
"... all I ask is a tall ship and a star to steer her by..." - John Masefield
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Google Adsense [Bot] and 10 guests