MageBlanc 0 Posted July 7, 2005 Share Posted July 7, 2005 sm1 can help me i try to edit main.scm to add more carriage on train (the one who have 2 passenger's cars) named streak.sff in gta3.img i want add between 6 and 8 passenger + the engine only 1 dff for the passenger car but two in game i saw line in main.scm create_carriage_on_train @xx(number of train or adresse) position x(position after the engine) and i want the train are always composed by 6 or 8 passenger car (not by spawning) i have try to edit modify but game crashe now sm1 know very good main.scm can help me plz and thx for all ! Link to post Share on other sites
PatrickW 224 Posted July 8, 2005 Share Posted July 8, 2005 sm1 can help me i try to edit main.scm to add more carriage on train (the one who have 2 passenger's cars) named streak.sff in gta3.img i want add between 6 and 8 passenger + the engine only 1 dff for the passenger car but two in game i saw line in main.scm create_carriage_on_train @xx(number of train or adresse) position x(position after the engine) and i want the train are always composed by 6 or 8 passenger car (not by spawning) i have try to edit modify but game crashe now sm1 know very good main.scm can help me plz and thx for all ! It is very wel possible that the game-engine only supports two carriages per train. This sort of hardcoded limits occur frequently in SCM. The only way to go about it is, to to add one extra carriage at a time, maybe the limit is 4 or 5, who's to tell. But maybe the limit is 2, and you can't get any extra carriages at all. Also you could post the fragment of code, where your changes are, so we can have a look at it, and maybe find another problem in it. Link to post Share on other sites
Quadropheniac90 3 Posted July 8, 2005 Share Posted July 8, 2005 I think in Truth's mission with the train and the jetpack there are more then two carriages. Dunno for sure, but maybe you should take a look there? Link to post Share on other sites
Mr. Someguy 28 Posted July 11, 2005 Share Posted July 11, 2005 For me, the passenger train gets 2-3 carreges & the frieght gets 2-4 flatbeds Link to post Share on other sites
[email protected] 0 Posted August 31, 2005 Share Posted August 31, 2005 I get mostly 2-carriages behind the engine on the Brown Streak trains, sometimes, 3. Freight train always has anywhere from 2-4 flatbeds behind the engine. It would be good to have a mod that makes the train longer. It looks kinda unusual with only two cars. Link to post Share on other sites
demonj0e 0 Posted August 31, 2005 Share Posted August 31, 2005 in the truth mission theres 5 cars i think heres what ive found 078A: @59 = create_carriage_on_train @58 position 1 078A: @60 = create_carriage_on_train @58 position 2 078A: @61 = create_carriage_on_train @58 position 3 078A: @62 = create_carriage_on_train @58 position 4 078A: @63 = create_carriage_on_train @58 position 5 Link to post Share on other sites
[email protected] 0 Posted September 2, 2005 Share Posted September 2, 2005 Yeah, I found that too. But the problem is how to make five Brown Streak coach carriages spawn towed behind the engine in "Regular" time - not mission specific. Link to post Share on other sites
demonj0e 0 Posted September 2, 2005 Share Posted September 2, 2005 oooh im not sure about that ill have alook today Link to post Share on other sites
Y_Less 1 Posted September 2, 2005 Share Posted September 2, 2005 That code won't work in 'regular time' as it uses local variables outside the range 0-31 (IIRC), which is fine in missions, when you can use up to 1024 locals. It may not also work for another reason, although I cant see why an OpCode would work in a mission and not out. Link to post Share on other sites