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