Log for #openttdcoop.devzone on 21st May 2013:
Times are UTC Toggle Colours
09:04:23  <Brot6> Makefile for NewGRFs - Bug #3730 (Closed): DevZone compile failed XplanetmakerX @
09:09:05  <Brot6> Makefile for NewGRFs - Bug #5738 (New): Create an md5 file again XplanetmakerX @
10:55:09  <Brot6> Finnish Trainset - Revision 160:0715cfe4151b: Early hopper sprite aligments fixed, loading animation... Xjuzza1X @
10:55:09  <Brot6> Finnish Trainset - Revision 161:a6a17b7d274c: Fix: More cargo types for Gbln Xjuzza1X @
10:55:09  <Brot6> Finnish Trainset - Revision 162:4e9b17c87c0b: Fix: Sorting of Fots mail van fixed Xjuzza1X @
10:55:11  <Brot6> Finnish Trainset - Revision 163:f8cb9d6c17bf: Feature: Parameters added for adjusting passenger load... Xjuzza1X @
11:01:40  <Brot6> Finnish Trainset - Bug #5720 (Closed): Ma wagon sprites Xkyosuke1989X @
11:01:40  <Brot6> Finnish Trainset - Bug #5720 (Closed): Ma wagon sprites Xjuzza1X @
11:03:29  <Brot6> Finnish Trainset - Feature #5696 (Closed): Earliest freight wagons should be available longer, not a... Xjuzza1X @
11:03:29  <Brot6> Finnish Trainset - Feature #5711 (Closed): Updating Freight wagon cargo classes, second update, othe... Xjuzza1X @
11:28:57  *** Supercheese has quit IRC
11:29:30  *** Supercheese has joined #openttdcoop.devzone
12:33:36  <Brot6> Makefile for NewGRFs - Revision 48:4de694d08023: Feature #4470: Allow to specify NML version require... XplanetmakerX @
12:33:36  <Brot6> Makefile for NewGRFs - Revision 49:bf38c5430a50: Doc: Describe the single parts of this framework mu... XplanetmakerX @
13:21:22  <Brot6> Swedish Rails - Revision 250:66c6e5017c1c: Change: [Makefile] Update to make-nml r49 XplanetmakerX @
13:41:01  <planetmaker> he... seems, V453000 that the arctic tunnels in alpine climate indeed is an ogfx+landscape issue, not a swedishrails issue :-)
13:41:48  <planetmaker> ogfx+landscape... defines no rail tunnels... it seems
13:42:37  <V453000> hm :)
13:42:50  <Brot6> OpenGFX+ Landscape - Bug #5180 (Closed): Gridless sprites for monorail tracks missing XplanetmakerX @
13:43:22  <Brot6> Swedish Rails - Feature #5735 (Rejected): Support new tunnels callback XplanetmakerX @
13:43:22  <Brot6> Swedish Rails - Feature #5735 (Rejected): Support new tunnels callback XplanetmakerX @
13:44:57  <Brot6> OpenGFX+ Landscape - Bug #5741 (Confirmed): Supply rail tunnel sprites XplanetmakerX @
14:05:48  <Brot6> Finnish Trainset - Feature #5717 (Closed): Passenger loading speed configurable by NewGRF parametre Xjuzza1X @
14:36:41  <juzza1> is there a way to get "loading" and "loaded" states other than with spritegroups?
14:36:50  <juzza1> trying to create a boxcar that would close the doors only when fully loaded
14:37:14  <juzza1> and spritegroup doesn't seem to allow switches inside of it
14:37:16  <V453000> isnt that exactly doable with spritegroups?
14:37:44  <V453000> just put the closed door only in the last loaded sprites
14:38:01  <juzza1> the doors will close before 100%, at 50% if i only have two sprites
14:38:35  <V453000> then make more sprites :) they dont have to be visually different, just by code
14:38:45  <V453000> and loaded means when train is travelling, loading is when it is loading
14:38:53  <V453000> so if only loaded will have it closed, it will be only there
14:39:05  <juzza1> i could spam the spritegroup with several references to the loading sprites and only one loaded one, but that seems a bit silly
14:39:27  <juzza1> and they still wouldn't close only at 100%
14:40:30  <V453000> idk I think they would if you had enough stages
14:40:51  <V453000> either way, shouldnt the door be closed only when travelling?
14:40:58  <V453000> and open when in station?
14:41:13  <V453000> -> loaded = closed door, loading = open, eventually with visible boxes inside
14:41:36  <V453000> that way trains close the door when departing station
14:41:45  <juzza1> imo they should close at stations when fully loaded
14:41:48  <juzza1> would look better
14:42:31  <V453000> if you make 3 loading stages by code and 5 loading stages by spritegroup, I believe they will do that too
14:44:08  <juzza1> they sprites are still divided evenly, i would have to reference the loading sprites at least 11 times for this wagon to get the closed doors at 100% load only
14:44:48  <V453000> well, if you want that tiny detail to occur, you would probably have no other way
14:45:02  <V453000> at the same time I do not see why should referencing a sprite multiple times be silly :)
14:47:02  <juzza1> enabling switches inside spritegroups would be an easier solution, but maybe that is something not doable in grf
14:48:18  <V453000> I do not know of such solution, but that does not mean it does not exist
14:49:51  <juzza1> or loading and loaded as vehicle variables
14:50:36  <V453000> I cant even see how could that possibly help you
14:52:25  <juzza1> loaded = always closed sprites, loading = reference to a switch which checks if cargo_capacity == cargo_count, if yes, closed doors, if not, reference to a spritegroup which has loading animations
14:54:17  <V453000> I really dont see why cant you just make the last 2 loading sprites in the spritegroup have closed doors, or however many is needed to get it at 100%
14:55:51  <juzza1> because i was looking for a more elegant solution, that's why i asked here
14:56:19  <V453000> right :)
14:57:01  <V453000> well you would probably have to ask someone else, but I do not think that doable
14:57:45  <V453000> btw
14:57:53  <juzza1> the "ugly" method we were talking about has the drawback of not being compatible with every wagon, because some have more loading sprites and different capacities than others, so i couldn't copy-paste the piece of code
14:57:56  <V453000> you could make a switch which chooses different spritegroups
14:58:26  <V453000> yes you would have to test it for every loading stage count
14:58:52  <V453000> idk if there is a variable for weight/load/whatever which would indicate wagon load
14:59:09  <V453000> but if it is, you can simply make a switch which chooses from various spritegroups
15:00:36  <juzza1> for that i would need the "loading" and "loaded" as variables, becase at least here is no variable which would let me know if a vehicle is in station and/or loading
15:00:55  <V453000> no that would stay in the sprite group
15:01:10  <V453000> switch (trains, self, id_whatever, cargo_amount){}
15:01:26  <V453000> {full: -> closed doors spritegroup;, not full -> rest}
15:01:53  <juzza1> but i never want open doors while in transit
15:02:44  <V453000> ofc not
15:02:52  <V453000> that is what the loading,loaded is for in the spritegroup
15:04:34  <juzza1> hmm yeah if full, always closed, if not, go to spritegroup
15:04:40  <juzza1> let me see if i cant write that down in the code
15:07:47  <V453000> I think I could help you with this if you fail :) just post your code if all goes wrong
15:12:29  <juzza1> nice, it works perfectly now :) thanks for the ideas
15:12:48  <juzza1> 3 extra switches which can be pretty much copy pasted to all the required wagons, not too bad
15:13:11  <V453000> you are lucky that you havent seen my switches :P
15:13:14  <V453000> it sometimes gets really crazy
15:14:31  <juzza1> haha :D
15:15:16  <V453000> I have one express wagon, and its sprite is decided based on: 1. which engine it is hauled to, 2. which cargo it is supposed to carry, 3. which cargo sub-class it is (colourful versions)
15:15:24  <V453000> which results in about 1200 lines of switches
15:15:27  <V453000> fun fun
15:15:34  <V453000> idk if it isnt more
15:16:02  <V453000> plus some of them actually detect if they are in the middle of the train or at the end :D
15:17:00  <juzza1> damn :D
15:17:24  <V453000> btw is the fastest engine meant to haul cargo wagons? because it can carry passengers
15:17:30  <V453000> in your train set
15:18:14  <juzza1> yes
15:18:30  <juzza1> but the passenger coaches are 200km/h, one emu is 220km/h
15:19:01  <V453000> it is strange, I would suggest either disallowing it to carry passengers, or disallowing it to haul cargo wagons
15:21:06  <juzza1> we are mostly doing stats as they are irl, gameplay is not yet really balanced
15:21:23  <juzza1> most of the fans ive heard about like more of the "realistic" play style
15:22:29  <juzza1> i assume you are talking about the Sr2, its used for basically everything in the finnish railroads, so the outcry from most people would be enormous if i made restrictions to it
15:22:30  <V453000> then I have nothing to tell to you
15:22:56  <V453000> I consider that brainless, but do as you want
15:23:14  <V453000> fans dont code stuff :P you do
15:27:47  *** ODM has joined #openttdcoop.devzone
15:28:12  <juzza1> people like different things, i don't want to do something just because i feel like it
15:34:04  <V453000> they surely do, but that doesnt mean you are their slave :P
16:30:07  *** Jam35 has joined #openttdcoop.devzone
16:53:27  <Brot6> Finnish Trainset - Feature #5435 (Assigned): Valmet N (Dv13) new colours Xkyosuke1989X @
17:16:53  *** Alberth has joined #openttdcoop.devzone
17:19:00  <Brot6> xussrset: update from r922 to r928 done (2 warnings) -
17:19:22  <Brot6> swedishrails: update from r249 to r250 done -
17:20:01  <Brot6> finnishtrainset: update from r159 to r163 done -
17:20:24  <Brot6> make-nml: update from r47 to r49 done -
17:39:04  *** frosch123 has joined #openttdcoop.devzone
17:42:50  <Alberth> quak
17:44:06  <Brot6> ogfx-landscape: update from r196 to r197 done -
17:45:19  <frosch123> moin :)
17:46:10  *** Zuu has joined #openttdcoop.devzone
18:21:44  *** andythenorth has joined #openttdcoop.devzone
18:36:57  <Alberth> hi hi
18:42:15  <andythenorth> lo
18:47:10  *** gelignite has joined #openttdcoop.devzone
19:53:05  *** ODM has quit IRC
20:16:09  <Brot6> Finnish Trainset - Revision 164:e02d2a4e1ffe: Feature: Dm7 and Dr12 yellow nose versions Xjuzza1X @
20:16:09  <Brot6> Finnish Trainset - Revision 165:e52d83ee9788: Feature: Kdh1 added Xjuzza1X @
20:16:09  <Brot6> Finnish Trainset - Revision 166:3be58a2a0cec: Fix: Pr1 is flippable once again Xjuzza1X @
20:16:10  <Brot6> Finnish Trainset - Revision 167:456c12cb7545: Feature: Kdh1 psd Xjuzza1X @
20:16:15  <Brot6> Finnish Trainset - Revision 168:b1d1e4ade4ac: Fix: G now closes doors only when fully loaded and/or ... Xjuzza1X @
20:27:34  *** Jam35 has quit IRC
20:36:35  *** Alberth has left #openttdcoop.devzone
20:54:14  *** andythenorth has quit IRC
21:01:34  *** frosch123 has quit IRC
21:15:34  *** gelignite has quit IRC
22:33:48  *** Supercheese has quit IRC
22:50:08  <Brot6> Finnish Trainset - Feature #5435 (Closed): Valmet N (Dv13) new colours Xjuzza1X @
22:51:19  <Brot6> Finnish Trainset - Feature #5426 (Closed): Dr12 and Dm7 "yellow safety nose" sprites Xjuzza1X @
23:39:38  *** Zuu has quit IRC

Powered by YARRSTE version: svn-trunk