Page 79 of 86

Re: The 2ccSet: The Trains of the World in 2cc (Alpha available)

Posted: 31 Mar 2009 18:21
by trainboy2004
Some train horns?

Btw do you want one sound for a group of locomotives or do you want customs for every loco?

Re: The 2ccSet: The Trains of the World in 2cc (Alpha available)

Posted: 31 Mar 2009 20:04
by DJ Nekkid
well, tbh, i dont ever play with sounds, as they are usually too annoying, but if anyone wants to make some sounds, i can implement them with ease, but a single sound for each loco would most likely be a bit overkill, but one sound for, perhaps 10ish engines or so would be nice?

Re: The 2ccSet: The Trains of the World in 2cc (Alpha available)

Posted: 31 Mar 2009 20:59
by el koeno
DJ Nekkid wrote:well, tbh, i dont ever play with sounds, as they are usually too annoying, but if anyone wants to make some sounds, i can implement them with ease, but a single sound for each loco would most likely be a bit overkill, but one sound for, perhaps 10ish engines or so would be nice?
?( Surely you play with the game's unsurpassed soundtrack? ;)

But yeah, some extra sounds are nice. I like them in UKRS and NARS, though they aren't something I miss in 2cc.

Re: The 2ccSet: The Trains of the World in 2cc (Alpha available)

Posted: 04 Apr 2009 09:49
by DJ Nekkid
Updated the set to Beta 2.02, and added something i've wanted to add for a long time, but didnt know how to do, etc...

New features:
New bugs?
MU's with non-symmetric heads/compositions will keep their formation when turning around
* X2000
* BM73
* mDDm/DD-AR

Re: The 2ccSet: The Trains of the World in 2cc (Alpha available)

Posted: 04 Apr 2009 18:12
by Melfice
DJ Nekkid wrote: MU's with non-symmetric heads/compositions will keep their formation when turning around
Lemme see if I got this straight.
Suppose I build two consists of... mDDM's* and put them together into one train composed like this: 3 cars in the front + 4 cars in the rear,
When they turn around they become a 4 car + 3 car mDDM?

'Cause if so, that would be awesome on MU's.



* ignoring the fact that an mDDM only has one steering cab, as it is in a pull-push combo with a 1600, BUT WORK WITH ME HERE!

Re: The 2ccSet: The Trains of the World in 2cc (Alpha available)

Posted: 04 Apr 2009 19:03
by Badger
DJ Nekkid wrote:Updated the set to Beta 2.02, and added something i've wanted to add for a long time,
New features:
New bugs?
Ha, probably not best to add them! :lol:

Re: The 2ccSet: The Trains of the World in 2cc (Alpha available)

Posted: 04 Apr 2009 21:29
by DJ Nekkid
but you know, in generic programming, once one add a new feautre, one usually add new bugs as well :) Altho, mine is "possible" :)

Re: The 2ccSet: The Trains of the World in 2cc (Alpha available)

Posted: 04 Apr 2009 23:28
by Bilbo
I checked out newest version and ... well, the "CD Class 680" is usually called "Pendolino" :)

BTW I saw these warning messages on console:

dbg: [grf] [2cc_trainset.beta_2.02/2ccdj.grf:1] ReserveChangeInfo: Invalid pseudo sprite length 4 (expected 6)!
dbg: [grf] [2cc_trainset.beta_2.02/2ccdj.grf:1] FeatureChangeInfo: Invalid pseudo sprite length 4 (expected 6)!

Perhaps there is some little bug in the GRF ...

Re: The 2ccSet: The Trains of the World in 2cc (Alpha available)

Posted: 05 Apr 2009 03:29
by DJ Nekkid
any remote idea on what line that bug might be in/around?

Re: The 2ccSet: The Trains of the World in 2cc (Alpha available)

Posted: 05 Apr 2009 09:22
by Bilbo
I think the :1 is the first sprite, I tried running opentts with -d 6 option and part of the debugging output was like this:

Code: Select all

dbg: [grf] LoadNewGRFFile: Reading NewGRF-file '2cc_trainset.beta_2.02/2ccdj.grf'
dbg: [grf] [2cc_trainset.beta_2.02/2ccdj.grf:1] FeatureChangeInfo: Invalid pseudo sprite length 4 (expected 6)!
dbg: [grf] GRFInfo: Loaded GRFv7 set 27711002 - 2cc-Set BETA 2.02 4th april 2009 (palette: Windows)
dbg: [grf] [2cc_trainset.beta_2.02/2ccdj.grf:3] SkipIf: Not skipping sprites, test was false
dbg: [grf] [2cc_trainset.beta_2.02/2ccdj.grf:4] SkipIf: Skipping 1 sprites, test was true
dbg: [grf] [2cc_trainset.beta_2.02/2ccdj.grf:6] FeatureChangeInfo: feature 8, 1 properties, to apply to 0+43
dbg: [grf] [2cc_trainset.beta_2.02/2ccdj.grf:7] FeatureChangeInfo: feature 8, 1 properties, to apply to 15+1
dbg: [grf] [2cc_trainset.beta_2.02/2ccdj.grf:8] FeatureChangeInfo: feature 8, 1 properties, to apply to 16+1
dbg: [grf] [2cc_trainset.beta_2.02/2ccdj.grf:9] FeatureChangeInfo: feature 8, 1 properties, to apply to 42+1
...

Re: The 2ccSet: The Trains of the World in 2cc (Alpha available)

Posted: 05 Apr 2009 10:48
by DJ Nekkid
here are the first few lines ...

Code: Select all

// Automatically generated by GRFCODEC. Do not modify!
// (Info version 7)
// Format: spritenum pcxfile xpos ypos compression ysize xsize xrel yrel
    0 * 4	 DA 12 00 00

// Initial sprite with line count. Leave it empty because NFORenum will fix it for you.
-1 * 0  00 00 00 00

// Action 8: define GRF version (07), GRFID (number), Name and Description.
-1 * 137	 08 07 27 71 10 02 "2cc-Set BETA 2.02 4th april 2009" 00 "Drawn by Purno, Snail, Wile E Coyote and DanMack\nCoded by DJ Nekkid\n"
              8E "Check the readme for parameters\nHowever, Parameter1 (Prices: 0 = default, 9 = Double, 7 = Half, 6 = 1/4th, 5 = 1/8th, etc" 00

-1 * 0 07 A1 04 \7= FF FF FF FF 01
-1 * 0 07 A1 04 \7> \w13500 00 07 01
-1 * 0 0B 00 7F FF 8B "Notice: Version not detected, Use Nightly r13500/0.7.x Stables/Cargodest" 00

Re: The 2ccSet: The Trains of the World in 2cc (Alpha available)

Posted: 05 Apr 2009 11:08
by frosch

Code: Select all

0 * 4    DA 12 00 00
This is the number of sprites maintained by renum

Code: Select all

-1 * 0  00 00 00 00
This is too much :)

Re: The 2ccSet: The Trains of the World in 2cc (Alpha available)

Posted: 05 Apr 2009 16:52
by DJ Nekkid
oki, thanx ;) i'll remove it on the next release? As far as i can see isnt it anything big?

Re: The 2ccSet: The Trains of the World in 2cc (Alpha available)

Posted: 07 Apr 2009 12:17
by Leanden
What is new in the beta release... also shouldnt the title now say beta available...

Re: The 2ccSet: The Trains of the World in 2cc (Alpha available)

Posted: 07 Apr 2009 12:22
by Leanden
Can i make a suggestion for the next release, something simple (i think...) But can you add the country name to each train information, so that they can be filtered as such?

Re: The 2ccSet: The Trains of the World in 2cc (Alpha available)

Posted: 07 Apr 2009 19:52
by DJ Nekkid
care to elaborate?

Re: The 2ccSet: The Trains of the World in 2cc (Alpha available)

Posted: 07 Apr 2009 20:02
by Leanden
Oh yea, sorry, you know when you select to build a train, it tells its power and everything. Add an extra caption that shows the name of the country the train is from. And then add a sort list option, to sort by Country. (I do know the flags, but it's annoying trying to check all the UK trains, etc.)

Re: The 2ccSet: The Trains of the World in 2cc (Alpha available)

Posted: 07 Apr 2009 20:21
by Roujin
Something like that cannot be archieved by the means of newGRF.

Re: The 2ccSet: The Trains of the World in 2cc (Alpha available)

Posted: 08 Apr 2009 10:51
by MrMox
DJ Nekkid wrote:Updated the set to Beta 2.02, and added something i've wanted to add for a long time, but didnt know how to do, etc...

New features:
New bugs?
Well, this looks odd to me (OTTD r15966, with only the 2CC GRF loaded):
PB.PNG
PB.PNG (33.65 KiB) Viewed 4118 times
For some reason the wagons and the train itself are shrunk, except on the straight section of track (wagons 3 to 5). I tested with the previous version of 2CC and did not see the problem in that version.

Re: The 2ccSet: The Trains of the World in 2cc (Alpha available)

Posted: 08 Apr 2009 14:37
by DJ Nekkid
That must be entierly concidentian. I did not touch anything but the mentioned trains from2.01 to 2.02 (mddm, x2000 and bm73)