Config
Log for #openttd on 4th July 2017:
Times are UTC Toggle Colours
00:02:50  *** FLHerne has quit IRC
01:06:54  *** Flygon has joined #openttd
01:47:21  *** greeter has joined #openttd
01:47:34  *** Supercheese has joined #openttd
03:29:58  *** glx has quit IRC
04:01:30  *** sla_ro|master has joined #openttd
04:43:33  *** Cubey has quit IRC
05:19:21  *** sla_ro|master has quit IRC
06:21:17  *** Celestar has quit IRC
06:22:14  *** Celestar has joined #openttd
06:26:24  *** cosmobird_ has joined #openttd
06:46:01  *** andythenorth has joined #openttd
06:51:20  *** FLHerne has joined #openttd
06:54:05  *** andythenorth has quit IRC
07:00:13  <V453000> https://dev.openttdcoop.org/attachments/download/8485/slug-test-composite_0001.png
07:00:22  <V453000> just a quick little test from weekend, felt like sharing :)
07:03:38  *** Hiddenfunstuff has joined #openttd
07:37:08  *** Deactivated has joined #openttd
08:35:46  *** Supercheese has quit IRC
08:36:13  *** FLHerne has quit IRC
08:39:20  *** TheMask96 has quit IRC
08:40:37  *** TheMask96 has joined #openttd
08:48:04  *** DDR has quit IRC
09:00:20  *** Wolf01 has joined #openttd
09:01:06  <Wolf01> o/
09:03:49  <crem> \o
09:03:55  <Celestar> o\
09:04:14  <Alkel_U3> o|
09:04:20  <Celestar> ....
09:07:38  <Alkel_U3> what, the good ones were already taken
09:08:09  <Wolf01> Some money just flew away... car day (insurance, fuel, test) :|
09:09:54  <LordAro> o-
09:18:32  <Wolf01> So, is there some Alkel for F?
09:19:44  <Alkel_U3> Not before there is some Breakfast for A
09:19:59  <Alkel_U3> (I pretty much just got up)
09:20:35  <Wolf01> :)
09:23:35  *** andythenorth has joined #openttd
09:23:54  <Wolf01> o/
09:26:18  <V453000> yo mf https://dev.openttdcoop.org/attachments/download/8485/slug-test-composite_0001.png
09:26:25  <V453000> just a small and dirty test from weekend :)
09:27:47  <andythenorth> shit
09:28:06  <Wolf01> ^
09:28:14  <andythenorth> dunno why you bother
09:28:40  <V453000> well it is shit :)
09:28:44  <V453000> :P
09:28:47  <andythenorth> ha ha
09:28:54  * andythenorth has 3 tubs of slugs in the garden
09:28:57  <andythenorth> rotting in beer
09:28:58  <V453000> :D
09:29:00  <andythenorth> beer attracts slugs
09:29:01  <V453000> poor things
09:29:02  <andythenorth> slugs die
09:29:10  <V453000> sounds like humans
09:29:10  <andythenorth> all slugs must die
09:29:12  <V453000> doesn't it
09:29:16  <V453000> now we're talking
09:30:18  <V453000> how are you?
09:30:27  <V453000> I feel like making some slugs lately
09:30:28  *** cosmobird__ has joined #openttd
09:30:44  <andythenorth> I am kicking on
09:30:50  <andythenorth> not sure about FIRS docs, bit shit
09:31:00  <andythenorth> pixels are awesome obviously
09:31:06  <andythenorth> but the docs… :P
09:31:10  <V453000> what with docs?
09:31:19  <V453000> if they aren't awesome then they need more pixels?
09:31:21  <V453000> obviouz
09:31:23  <andythenorth> file:///Users/andy2/Documents/OTTD_graphics/FIRS/firs/docs/html/economies.html#temperate_basic
09:31:26  <andythenorth> oops
09:31:29  <andythenorth> that’s not the internet
09:31:35  <andythenorth> unless I fucked up my firewall :P
09:31:49  <andythenorth> http://bundles.openttdcoop.org/firs/push/LATEST/docs/html/economies.html
09:32:00  <andythenorth> doing proper responsive design, instead of shit responsive design
09:32:22  <andythenorth> I dropped the picture of the industry in the header :(
09:32:27  <andythenorth> compare news.bbc.co.uk
09:32:30  <V453000> what do you mean resnponsive?
09:32:45  <andythenorth> make the window smaller, you’ll see
09:32:59  <andythenorth> grid changes at breakpoints
09:33:08  <andythenorth> wtf is that bbc paste?  try http://bundles.openttdcoop.org/firs/releases/LATEST/docs/html/economies.html
09:33:20  <V453000> no picture in header is gay
09:33:36  <V453000> Get started = wall of text
09:33:43  <andythenorth> get started is awful
09:33:48  <V453000> need to attract the customers to make big $$$$
09:33:50  <andythenorth> I got bored and fixed economies instead
09:34:00  <andythenorth> maybe I need some new art
09:34:12  <andythenorth> not just the industry images on the grid
09:34:36  <andythenorth> normally such images http://www.citizenspace.com/info/tour
09:34:38  <V453000> industry images on the grid are consistent with what the thing is :)
09:35:00  <V453000> random fillers are useless
09:35:03  <V453000> FIRS picturz it is
09:35:09  <V453000> you have so many of them after all
09:35:37  <andythenorth> I do
09:35:50  <andythenorth> could put two or three side by side
09:35:59  <V453000>  /me should stfu since his nuts wiki is a fucking mess too
09:36:00  <andythenorth> or I could annotate
09:36:05  <andythenorth> arrows!
09:36:08  <andythenorth> “Such pixels”
09:36:11  <andythenorth> “Deliver coal here"
09:36:15  <V453000> :D
09:36:16  <andythenorth> “Animated shit"
09:36:23  <V453000> great
09:36:30  <andythenorth> or like a blue print
09:36:34  <andythenorth> blue prints are always good
09:36:38  <andythenorth> or the concept art?
09:36:47  <V453000> u haz concept arts?
09:36:50  *** cosmobird_ has quit IRC
09:37:04  <andythenorth> https://www.tt-forums.net/viewtopic.php?p=760309#p760309
09:37:14  <andythenorth> and even from this year, recent ones too
09:37:21  <andythenorth> concept art -> finished picture?
09:37:30  <V453000> =D nice
09:37:30  <andythenorth> bit internal to me, not really what you play
09:37:42  <V453000> could be nice to use on some page :)
09:37:48  <andythenorth> isn’t it
09:38:01  <andythenorth> some big screenshot maybe?
09:38:06  *** DDR has joined #openttd
09:38:08  <V453000> bug: changelog page is too long
09:38:10  <V453000> :DD
09:38:23  <V453000> nutmen
09:39:43  *** dxfan5 has joined #openttd
09:40:01  <andythenorth> changelong
09:40:05  <andythenorth> is great
09:40:09  <andythenorth> shows value for money
09:40:19  <V453000> changelog is very nice for people who just want to see what up
09:40:25  <V453000> I should have made that too
09:40:31  <V453000> but well, fuck it now :D
09:43:33  <andythenorth> V453000 what is user need to see pictures in header?
09:43:37  * andythenorth adding some
09:43:48  <andythenorth> but just gets in way of words, no?
09:44:09  <Wolf01> Mmmh, the biter's nation is attacking
09:45:26  <V453000> with that idea you could say every picture gets in the way of words, no? :P
09:45:32  <andythenorth> no
09:45:32  <V453000> IRC master race
09:45:39  <andythenorth> sometimes the words get in the way of the pictures
09:46:08  <andythenorth> V453000: http://bundles.openttdcoop.org/firs/push/LATEST/docs/html/changelog.html
09:46:12  <andythenorth> refresh and shit
09:46:27  <V453000> idk I feel like people nowadays are so lazy to read that you need to constantly catch their attention with pictures at like each paragraph before they get attention from they facebookwitterstagramwhateverelse
09:46:36  <V453000> I shit
09:46:37  <andythenorth> notifications
09:46:48  <andythenorth> docs should notify you a lot
09:46:55  <andythenorth> why doesn’t openttd have notifications?
09:46:59  <V453000> idk does it need all 3 of them? :D 1 would be enough
09:47:02  <andythenorth> preferably on all my devices
09:47:07  <andythenorth> 1 looks shit layout
09:47:13  <andythenorth> when centered
09:47:16  <V453000> sdf
09:47:21  <andythenorth> “your train has arrived”
09:47:25  <andythenorth> we need that stuff
09:47:27  <V453000> put slug factory there then
09:47:27  <andythenorth> and a daily event
09:47:29  <V453000> oh wait
09:47:42  <V453000> ={
09:47:55  <V453000> v@_ v@_ v@_
09:48:04  <V453000> 666: slugs not found
09:48:11  <andythenorth> unique header per page?
09:48:18  <V453000> ofc
09:48:22  <andythenorth> like, a monocolour crop of a cargoflow for economies
09:48:30  <andythenorth> and concept art -> pixels for changelog
09:48:31  <V453000> eh
09:48:36  <andythenorth> and stuff
09:48:37  <V453000> I'd just use a different industry for each page
09:48:41  <andythenorth> it’s random
09:48:46  <andythenorth> javascript innit
09:48:48  <V453000> kind of like I use thumbnails for my shit
09:49:10  <V453000> random is fine if you want to keep text important
09:49:23  <V453000> otherwise each image immediately becomes "related" to the category/header
09:49:32  <V453000> not like it matters much probably
09:49:43  <V453000> bigger problem is not having slug farms
09:51:21  <andythenorth> how do you know not secret slug farm?
09:51:23  <andythenorth> easter slug
09:51:28  <V453000> oooo
09:51:36  <V453000>  /me immediately starts playing OpenTTD
09:54:50  <Alkel_U3> Wolf01: ready to launch
09:54:50  <Wolf01> Already there :P
09:54:50  *** TheMask96 has quit IRC
09:55:39  *** TheMask96 has joined #openttd
09:55:39  <Alkel_U3> so where do I connect again?
09:55:42  <V453000> rokkitz?
09:55:48  <Wolf01> Wolfolo's game
09:56:38  <Wolf01> It might take a bit with my poor 320kpbs up
09:56:46  <Alkel_U3> oh, right, xDSL uplink :(
09:57:02  <Alkel_U3> want me to host it on my VPS for you?
09:57:35  <Alkel_U3> or has the connectivity cleared up since last time? :-)
09:57:48  <Wolf01> It just works
09:57:56  <andythenorth> bbl
09:57:56  *** andythenorth has left #openttd
09:58:18  <Alkel_U3> I just hope the horriblelags from last time will not be there
10:24:56  <Deactivated> I ain't see wolfolo's game wolf01
10:25:14  <Wolf01> Strange
10:25:30  <Deactivated> having probs with getting to master svr I guess?
10:25:54  <Wolf01> Some people already connected, but with more than 1 client I lag too much
10:26:03  <Deactivated> hmm...
10:26:24  <Deactivated> so as a result of the lag data to the svr just breaks?
10:26:36  <Deactivated> *data to the master svr
10:27:35  <Wolf01> Aren't you trying to connect to factorio with ottd, are you?
10:27:47  <Deactivated> wait wtf
10:27:52  <Deactivated> so it's factorio
10:27:54  <Deactivated> kill me
10:28:21  <Deactivated> alright so I guess I'm out
10:28:22  <Deactivated> bye
10:29:01  <Deactivated> oh god pls dun...
10:29:04  <Deactivated> break my connection
10:29:12  <Wolf01> XD
10:29:35  <Deactivated> no welcome svr LOAD
10:29:57  <Deactivated> wheew 18 seconds connection lost when I joined
10:31:05  <Deactivated> toyland... ok I take that
10:31:43  *** Deactivated has quit IRC
10:33:35  <Wolf01> Alkel_U3: https://wiki.factorio.com/Multiplayer#Dedicated.2FHeadless_server
10:42:44  *** andythenorth has joined #openttd
10:42:49  <andythenorth> V453000: if in doubt, moar http://bundles.openttdcoop.org/firs/push/LATEST/docs/html/changelog.html
10:42:55  <andythenorth> tiny pixels
10:43:07  <Wolf01> Alkel_U3: I'm updating my ubuntu and then get something for lunch, I should come back in a bunch of minutes
10:46:02  <Alkel_U3> Wolf01: ok, ack
10:48:03  *** andythenorth has left #openttd
10:50:21  <V453000> OMG IT SMALL
11:01:02  <Wolf01> Back
11:06:24  <Alkel_U3> Wolf01: I can't make it visible and don't know why. It's just reachable on alkel.info
11:12:50  <Wolf01> Mmmh, how do I extract a xz archive? gzip doesn't seem to like it
11:12:54  *** FLHerne has joined #openttd
11:32:46  <debdog> tar
11:33:04  <Wolf01> Yeah, tar -xzf
11:33:11  <Wolf01> "not a valid gzip"
11:33:27  <debdog> the archive might be broken
11:33:46  <debdog> erm, try without z
11:33:50  <Celestar> .xz isn't gzip? :P
11:35:11  <Wolf01> 7zip works
11:42:32  <Wolf01> Uhm, maybe I did somethinf wrong with the symlink, ls shows every file, the autocomplete instead finds only folders
11:45:38  <debdog> autocompletion of which command?
11:46:35  <Wolf01> Paths in general
11:47:12  <debdog> well, behaviour might change per command
11:48:39  <Wolf01> Tar doesn't seem to see files
11:49:53  <debdog> it should only see files which end with proper archive file extensions
11:50:32  <debdog> (or tar's autocompletion definition is broken)
11:51:03  <Alkel_U3> so, are you dealing with xz or tar.xz file?
11:51:14  <Wolf01> tar.xz
11:51:28  <Wolf01> I usually download tar.gz
11:51:35  <Wolf01> But this came up
11:52:11  <Wolf01> (is the factorio headless, btw)
11:53:10  <debdog> touch test.tar.xz
11:53:10  <debdog> tar -xf tes<tab>
11:53:11  <Alkel_U3> did you try giving tar -J argument? (for xz archive)
11:53:16  <debdog> hmm, works nicely here
11:53:48  <__ln__> Wolf01: if you say z to tar, it means you claim it is indeed a gzip archive.
11:54:19  <Alkel_U3> "tar -xJf file.tar.xz" should do it
11:54:29  <Wolf01> Yeah, it did it
11:55:12  <__ln__> also try without z or J
11:55:25  <Alkel_U3> also, it's usually best to leave that part (z, J, etc) out completely, tar usually finds out what kind of compression it's dealing with on its own
11:55:55  <Wolf01> Ok, I always used it because I was told so :P
11:56:13  <__ln__> don't trust what people tell you on the internet
11:56:20  <__ln__> except us
11:57:04  <Wolf01> It was my sysadmin
11:57:06  <Wolf01> XD
11:57:24  <__ln__> does he play openttd?
11:57:49  <Wolf01> No, he dislikes the pixelated graphics and 32bpp does not please him
11:57:57  <__ln__> so, there's the problem
11:59:48  <peter1138> tar used to require those options, at some point it gained detection
12:00:21  <Alkel_U3> Wolf01: server crash
12:00:26  <Wolf01> Yeah
12:00:29  <Wolf01> Noticed it
12:01:18  <Wolf01> And now which is the password for the new user I just made? XD
12:02:24  <Wolf01> Better set a new one
12:02:39  <__ln__> peter1138: and of course, we're only talking about gnu tar here.
12:06:18  <Wolf01> Yeah, installing 188MB of python stuff
12:07:02  <Wolf01> (also useful if I'll need to put my dirty hands on nml one day or another)
12:08:24  <__ln__> your dirty paws, you mean
12:08:43  <Wolf01> Yes, paws
12:09:02  *** FLHerne has quit IRC
12:12:39  <Alkel_U3> Wolf01: back up
12:12:39  <Wolf01> Yup
12:21:38  *** Gja has joined #openttd
12:23:04  *** FLHerne has joined #openttd
13:10:55  *** Alberth has joined #openttd
13:10:55  *** ChanServ sets mode: +o Alberth
13:11:01  <Alberth> o/
13:16:02  <Wolf01> o/
13:16:17  <__ln__> /
13:18:34  <LordAro> 
13:19:00  <Wolf01> Are you sure?
13:20:54  <Alberth> no
13:42:55  <debdog> http://www.ebay.de/itm/Modelleisenbahn-Komplettanlage-LOXX-Miniatur-Welten-Berlin-Huge-Model-railway-/142424800496?hash=item21292dfcf0:g:hhAAAOSwjvJZP~nG
13:48:45  <peter1138> do it
13:53:53  <Celestar> peter!!!
14:10:05  <peter1138> hi
14:11:03  <Celestar> how ya been?
14:53:35  *** dark_pingus has joined #openttd
15:21:00  *** kais58 has joined #openttd
15:36:45  *** Wormnest has joined #openttd
15:39:46  *** Flygon has quit IRC
15:44:31  *** Stimrol has joined #openttd
16:03:40  *** wookey1 has joined #openttd
16:04:01  <wookey1> hello
16:05:08  <wookey1> m new here
16:06:18  *** wookey1 has left #openttd
16:37:35  *** synchris has joined #openttd
16:39:11  *** Progman has joined #openttd
16:46:40  <Eddi|zuHause> debdog: damn, too late
16:54:42  *** glx has joined #openttd
16:54:42  *** ChanServ sets mode: +v glx
16:56:32  *** smoke_fumus has joined #openttd
16:56:39  *** HerzogDeXtEr has joined #openttd
17:04:56  *** JacobD88 has joined #openttd
17:26:21  *** sla_ro|master has joined #openttd
17:28:21  *** JacobD88 has quit IRC
17:38:17  *** gelignite has joined #openttd
17:41:42  <Alkel_U3> Wolf01: yeah, I should probably go outside or do stuff, too :P
17:41:46  <Wolf01> :P
18:03:37  *** FLHerne has quit IRC
18:05:20  <Wolf01> Do you see things moving on belts too? It was a strange thing to see on the dining table XD
18:06:50  <Alkel_U3> no but that will come when I'll be trying to fall asleep
18:08:55  *** Mutter has joined #openttd
18:09:56  *** andythenorth has joined #openttd
18:10:29  <Wolf01> o/
18:11:32  *** Mutter has quit IRC
18:14:04  <andythenorth> hi
18:25:49  *** frosch123 has joined #openttd
18:26:08  <Wolf01> Who let the frogs out? :D
18:26:37  <frosch123> quak
18:28:40  <planetmaker> quok
18:29:13  <Eddi|zuHause> kauq
18:44:43  <andythenorth> such pictures? http://bundles.openttdcoop.org/firs/push/LATEST/docs/html/changelog.html
18:44:45  <andythenorth> in the header
18:44:50  <andythenorth> "probably fine”
18:45:05  <frosch123> they do not slide
18:45:15  <andythenorth> I should carousel? o_O
18:45:19  <andythenorth> carousels are evil
18:45:19  <frosch123> and they are always five, instead of filling the whole width
18:45:35  <andythenorth> these are…ideas
18:45:44  <andythenorth> also they are true random
18:45:47  <andythenorth> i.e. they can repeat
18:46:12  <frosch123> yep, most-rigth and most-left are equal currenlty :p
18:46:12  <andythenorth> boom, double repeat
18:46:27  <frosch123> same here, aabbc
18:46:35  <frosch123> did you save the seed?
18:47:14  <andythenorth> https://dev.openttdcoop.org/attachments/download/8486/WIN.png
18:47:20  <andythenorth> I should write another javascript
18:47:29  <andythenorth> if all 5 match, you get a popup offering a prize
18:47:49  <andythenorth> mini-game :P
18:48:22  *** tokai|noir has quit IRC
18:50:47  <andythenorth> I think the economies page will ship like this, unless anyone has improvements http://bundles.openttdcoop.org/firs/push/LATEST/docs/html/economies.html
18:50:53  * andythenorth can then do the other pages
18:51:23  <frosch123> the zoom stuff always fails the first time after browser restart or something
18:51:28  <frosch123> does it use cookies to work?
18:51:29  <andythenorth> +1
18:51:35  <andythenorth> dunno if it’s cookies, didn’t check
18:51:38  <frosch123> i clear them on restart
18:51:40  <andythenorth> :o EU Cookie Law!
18:51:47  * andythenorth has no cookie statement
18:51:48  <frosch123> gluten free?
18:52:20  <andythenorth> :P
18:52:39  <andythenorth> frosch123: Eddi|zuHause is disappointed by this graphviz layout http://bundles.openttdcoop.org/firs/push/LATEST/docs/html/cargoflow_steeltown.html
18:52:56  <andythenorth> graphviz docs basically say “no layout control, get over it”
18:53:26  <andythenorth> I have adjusted the industry chains in a couple of economies to make the graphviz layout nicer
18:53:33  <andythenorth> but too much of that seems unwise
18:53:33  <frosch123> you have some layout control iirc, but what is bad about the picture?
18:54:15  <frosch123> too many parallel lines?
18:54:20  <Eddi|zuHause> it's too wide for the amount of nodes in there, the long stretched lines are difficult to follow
18:54:58  <frosch123> well, provide a better hand-drawn one
18:55:14  <frosch123> otherwise i doubt there is a better manual solution
18:55:21  <frosch123> and thus no better automatic solution
18:56:10  <andythenorth> shame there’s no aspect ratio weighting
18:56:16  <andythenorth> or maybe there is
18:56:46  <andythenorth> that graph could scale to 70% wider, and 30% taller, with more acute angles
18:57:45  <frosch123> there is a "ratio" property for that
18:57:52  <frosch123> for the manual layout there is a "rank" property
18:58:14  <frosch123> never used them, so no idea what the result is
18:59:40  <frosch123> e.g. you could put basic oxygen furnance, stell, stell finishing plant into a subgraph, and assign rank "same"
18:59:47  <frosch123> ther should draw them vertically
18:59:50  <frosch123> *that
19:01:06  <frosch123> you could also try to draw top-bottom with rankdir
19:01:17  <frosch123> but maybe that is weird
19:02:01  <Eddi|zuHause> frosch123: while i generally dislike these (too common) edge-cases of graphviz where it just doesn't look right, i learned that trying to fight graphviz to make it look better is mostly futile
19:10:46  *** nekomaster has joined #openttd
19:10:57  <nekomaster> So I ran into a coding error again that I can't figure out
19:11:06  <nekomaster> https://pastebin.com/Su0vTM9R
19:11:15  <nekomaster> Line 58 : Unexpected token ")"
19:12:59  <nekomaster> I grabbed this code from the 2cc Trains DSB S Tog II code (graphics + item code)
19:17:00  <Eddi|zuHause> at first glance i would suspect some macro expansion going wrong
19:17:17  <nekomaster> Hmm?
19:18:05  <nekomaster> I dont even know what that is
19:18:08  <Eddi|zuHause> also, there is no ) on line 58
19:18:12  <nekomaster> Yeah
19:18:18  <nekomaster> but the compiler keeps complaining about it
19:18:54  <nekomaster> nmlc ERROR: "src/EMU/EMU_PRR_MP54.pnml", line 58: Syntax error, unexpected token ")"
19:19:34  <Eddi|zuHause> try to look at the corresponding .nml output file
19:20:18  <Eddi|zuHause> (warning, may be huge)
19:22:21  <nekomaster> I think I might know what it is maybe
19:22:59  <nekomaster> https://pastebin.com/MGjNK0Dg
19:23:12  <nekomaster> seems like its looking for an ID range and I forgot to change that all
19:24:16  <nekomaster> Weird thing is that bit of code doesnt seem to match with the ID range I actually set for EMU's
19:24:17  <nekomaster> 	#define ID_RANGE_EMU 0x32C8..0x36AF
19:25:23  <Eddi|zuHause> you're using ID_RANGE_UNIT_WAGONS
19:25:42  <nekomaster> ahh
19:25:56  <nekomaster> and those have a different range in my VehicleID then the 2cc trains does
19:27:05  <Eddi|zuHause> also, going back to what i originally said, a "#define" defines a "macro", and a "macro expansion" is replacing the macro name with its content
19:27:13  <nekomaster> Ahh
19:27:58  <Eddi|zuHause> and it turns out i was right
19:28:38  <nekomaster> well at least I know now how to fix this ;P
19:35:15  *** Gja has joined #openttd
19:47:06  *** nekomaster has left #openttd
19:52:47  *** nekomaster has joined #openttd
19:52:55  <nekomaster> Now I have a new issue >_>
19:53:58  <nekomaster> I would like my EMU cars to have No Pantograph/Lowered Pantograph sprites for unpowered wagons and Pantograph (Up) Sprites for the Powered MU wagons
19:53:59  <nekomaster> https://pastebin.com/Hwir3WsM
19:54:18  <nekomaster> But I dunno how to get the code to only show the pantograph wagons when I add a Powered MU Wagon
19:54:28  <nekomaster> "MU Car (Powered)"
20:07:49  <andythenorth> frosch123: if there are tuning parameters, I could set them explicitly per economy
20:07:56  <andythenorth> manually
20:08:06  <andythenorth> but leaving the rest of the graph automatic
20:09:34  *** Stimrol has quit IRC
20:13:32  *** tokai has joined #openttd
20:13:32  *** ChanServ sets mode: +v tokai
20:17:31  *** Alberth has left #openttd
20:20:45  *** JacobD88 has joined #openttd
20:22:06  *** sla_ro|master has quit IRC
20:31:36  *** FLHerne has joined #openttd
20:44:18  *** JacobD88 has quit IRC
20:47:36  <V453000> slugs?
20:48:14  <Wolf01> Yes
20:48:27  <V453000> excellent
20:51:13  <andythenorth> I just killed some more
20:51:13  <andythenorth> drowning in beer
20:57:51  <nekomaster> With my code here for a MP54 https://pastebin.com/Hwir3WsM how do I make the Powered MU Cars have a different graphic then the Unpowered cars?
20:58:10  *** synchris has quit IRC
20:58:12  <nekomaster> I'd like it so that Powered MU cars show up as sprites with Pantographs (or with the Pantograph in the up postition)
20:58:35  <nekomaster> And unpowered cars have no pantograph (or have the pantograph down)
21:01:59  *** andythenorth has left #openttd
21:02:49  <Eddi|zuHause> nekomaster: in the livery_override sections, change the "default" callback
21:03:34  <nekomaster> This is what I have for the default section
21:03:34  <nekomaster> 		default: 						switch_EMU_PRR_MP54_cargo_selection;
21:03:43  <nekomaster> that applies to both powered and unpowered wagons
21:04:16  <Eddi|zuHause> yes, you need to duplicate that switch, so one chain ends in no-pantograph sprites, and the other chain in with-pantograph sprites
21:04:51  <nekomaster> How would I do that? I'm not well versed enough in NML to start taking swings at doing stuff myself
21:04:59  <nekomaster> I'm mostly just trying to understand the code I reuse
21:06:43  <Eddi|zuHause> you copy-paste that switch, and call one "..._with_pantograph", then you do that again for all switches that switch references
21:06:49  <Eddi|zuHause> until you end up at a spriteset
21:08:20  *** cute[m] has joined #openttd
21:10:08  <Eddi|zuHause> (there's a way to avoid copy-paste by using STORE_TEMP, but really, that's probably beyond your level of programming)
21:10:31  <nekomaster> Honestly I barely even know how to go about doing anything
21:10:50  <frosch123> hmm, kate became usable again in the past 2 years
21:10:51  <nekomaster> Its a wonder how I've even made a set as big as NARS Add-on, then again makign locomotives is pretty easy
21:11:42  <frosch123> it's now better than in kde3, while it was still way worse like 3 years ago
21:11:53  <frosch123> i didn't dream it would ever recover
21:12:19  <Eddi|zuHause> i use kate on windows... i'm terrible
21:12:29  <nekomaster> What is KATE?
21:12:52  <frosch123> it's kate
21:12:58  <Eddi|zuHause> probably some acronym containing the word "editor"
21:12:58  <nekomaster> I dunno what that is
21:13:02  <nekomaster> ahh
21:13:08  <nekomaster> I just use Notepadd++
21:13:27  <nekomaster> Yay my code didn't explode
21:14:00  <nekomaster> And it sort of works :P
21:14:11  <nekomaster> Just have to switch the default sprites around :P
21:16:06  <nekomaster> https://cdn.discordapp.com/attachments/142724111502802944/331905721908068363/unknown.png
21:16:27  <nekomaster> There, now my MP54 and future EMU trains will have a pantograph car for the powered MU Cars
21:18:46  <nekomaster> I suppose if I want different graphics for the Front and Rear head engines of a MU train, I would just do the same thing for the default graphics and what nto for the head engine
21:19:20  <nekomaster> I dont like the look of a Passenger MU refit to Mail and still looks like its refit for passenger
21:19:46  *** cosmobird__ is now known as cosmobird
21:26:43  *** Progman has quit IRC
21:27:35  <glx> you could try https://github.com/Microsoft/vscode :)
21:31:34  *** frosch123 has quit IRC
21:32:35  <nekomaster> Ok so I'm trying to get the code for changing the head engine graphics based on cargo selection
21:32:36  <nekomaster> https://pastebin.com/XXKsWcPp
21:32:59  <nekomaster> I think I have it mostly set up I just dont know how to get it to default to the Passenger graphics and then change to a Mail Engine for other cargos
21:33:07  <nekomaster> Either that or I have garbage
21:33:52  <nekomaster> (ALso I'm using the passenger engine graphics for now until I'm sure I can do this all, which then I'll refer the code to the proper position for the mail engine graphics)
21:34:54  <Eddi|zuHause> you already have a cargo switch, what's the problem?
21:35:30  <nekomaster> nmlc ERROR: "src/EMU/EMU_PRR_MP54.pnml", line 120: Unrecognized identifier 'switch_EMU_PRR_MP54_pass_front' encountered
21:36:01  *** Gja has quit IRC
21:36:25  *** FLHerne has quit IRC
21:37:34  *** FLHerne has joined #openttd
21:37:57  <nekomaster> Basically i dunno how to get the Head Engine graphics to actually use the cargo selection switches I made
21:38:00  <nekomaster> for the Head engines
21:38:05  <nekomaster> the MU wagons are fine now
21:59:46  *** gelignite has quit IRC
22:05:49  *** DDR has quit IRC
22:18:27  *** Wormnest has quit IRC
22:29:02  *** FLHerne has quit IRC
22:30:23  *** cosmobird has quit IRC
22:42:41  *** Hiddenfunstuff has quit IRC
22:42:45  *** HerzogDeXtEr has quit IRC
22:50:20  *** Celestar has quit IRC
22:53:05  <Wolf01> 'night
22:53:07  *** Wolf01 has quit IRC
23:03:31  *** Celestar has joined #openttd
23:04:36  *** dark_pingus has quit IRC
23:20:34  *** smoke_fumus has quit IRC
23:37:20  *** ProfFrink has joined #openttd
23:41:32  *** Prof_Frink has quit IRC
23:41:32  *** ProfFrink is now known as Prof_Frink

Powered by YARRSTE version: svn-trunk