Carma Error to add new car

When the mayhem started! Discussion, mods and troubleshooting.
User avatar
WadeSullivan
hit n run
Posts: 104
Joined: Thu Feb 14, 2013 4:54 pm

Carma Error to add new car

Post by WadeSullivan »

Im trying to add Joker's big apc, but without replace the old one
But this error appear whe i try it to select:
User avatar
Toshiba-3
アルカリ (単3形)
Posts: 5270
Joined: Sun Jun 08, 2003 12:14 am
Location: Bleak City

Re: Carma Error to add new car

Post by Toshiba-3 »

Yeah, when this kind of undefined error message appears, checking the proper formatting of the text file is the first thing to do. That quickly reveals that there are 4 "steerable wheels" defined but only two announced :

Code: Select all

2						// Number of steerable wheels
7						// GroovyFunkRef of 1st steerable wheel
8						// GroovyFunkRef of 2nd steerable wheel
13
14
Setting 4 instead of 2 will fix the error upon choosing the car. However, these two additional "steering wheels" aren't actually used and that makes Carma95 crash when starting the race. So just keep 2 steerable wheels and remove 13 and 14:

Code: Select all

2						// Number of steerable wheels
7						// GroovyFunkRef of 1st steerable wheel
8						// GroovyFunkRef of 2nd steerable wheel
I have no idea how DOS Carma1 doesn't crash upon both of these issues (Joker mods DOS C1 so it's not obvious to him), but I imagine the additional values 13 and 14 must be read and the exec has to do something with them :confused: Carma95 was compiled in debug mode so it shouts an error over every little mishap.
Image / carmageddon add-ons at road reaction
User avatar
WadeSullivan
hit n run
Posts: 104
Joined: Thu Feb 14, 2013 4:54 pm

Re: Carma Error to add new car

Post by WadeSullivan »

worked like a charm :wink: :wink:
User avatar
The Joker
hit n run
Posts: 143
Joined: Fri Aug 19, 2016 7:04 pm
Location: Bergen, Norway

Re: Carma Error to add new car

Post by The Joker »

My apologies Wade.
That part of the txt is a hard one and as Tosh said, it is not obvious to me because of the DOS version.