Multiple unit trains – Train Fever /forums/topic/multiple-unit-trains/feed/ Wed, 30 Apr 2025 12:27:57 +0000 https://bbpress.org/?v=2.6.13 en-US /forums/topic/multiple-unit-trains/#post-11066 <![CDATA[Multiple unit trains]]> /forums/topic/multiple-unit-trains/#post-11066 Mon, 06 Oct 2014 20:29:05 +0000 RoyalHants Hi I’m having a problem with multiple unit trains, which files are needed I edited the multiple unit train lua’s in config folder but it just crashes when trying to load

]]>
/forums/topic/multiple-unit-trains/#post-11095 <![CDATA[Reply To: Multiple unit trains]]> /forums/topic/multiple-unit-trains/#post-11095 Tue, 07 Oct 2014 09:57:28 +0000 mikael We’ve got some dumps regarding to those emu mods. We can’t tell exactly what’s wrong, but most likely a path is wrong or the referred waggons or locomotive has got an error in the metadata. Try to set them up as a single train and load them one by one.

]]>
/forums/topic/multiple-unit-trains/#post-11143 <![CDATA[Reply To: Multiple unit trains]]> /forums/topic/multiple-unit-trains/#post-11143 Tue, 07 Oct 2014 20:35:41 +0000 olahaldor RoyalHants, could you flesh out the problem?

Load the game? Load a saved game? Start a new game? Open the “purchase” menu? Clicking the train in the list to purchase? Crash when you hit purchase? Crash when you set the train to run on a line?

Without specifics, I can only say: it could be anything.

]]>
/forums/topic/multiple-unit-trains/#post-11149 <![CDATA[Reply To: Multiple unit trains]]> /forums/topic/multiple-unit-trains/#post-11149 Tue, 07 Oct 2014 21:52:19 +0000 RoyalHants Hi Olahaldor the game crashes when clicking on the train depot (possibly UI failure?), loading game, save and loading the train(class 156) as a separate entity all work normally I can post the lua file when i get back.

]]>
/forums/topic/multiple-unit-trains/#post-12208 <![CDATA[Reply To: Multiple unit trains]]> /forums/topic/multiple-unit-trains/#post-12208 Tue, 21 Oct 2014 20:20:48 +0000 Svelbeard I am having a very similar issue, I’m working on a class 158 currently. My game crashes when I click on the Depot. Train works fine without the lua script

]]>
/forums/topic/multiple-unit-trains/#post-12210 <![CDATA[Reply To: Multiple unit trains]]> /forums/topic/multiple-unit-trains/#post-12210 Tue, 21 Oct 2014 20:53:59 +0000 I had the same problem. First time it was because i used wrong model as a template. Try to create your model based on the multiple unit train.

Second time it was because i broke file structure. Try to use  existing file as template. Edit only exactly  field.

 

]]>
/forums/topic/multiple-unit-trains/#post-12248 <![CDATA[Reply To: Multiple unit trains]]> /forums/topic/multiple-unit-trains/#post-12248 Wed, 22 Oct 2014 12:31:23 +0000 Svelbeard Here is my lua file saved in the multiple_unit folder as class_158.lua

Any ideas would be greatly appreciated 🙂

 

function data()

return {

vehicles = {

{ name = “vehicle/train/class_158.mdl”, forward = true },

{ name = “vehicle/train/class_158_centre.mdl”, forward = true },

{ name = “vehicle/train/class_158_trailer.mdl”, forward = true },

},

name = _(“BR Class 158”),

desc = _(

“British Rail Class 158 used for Cross Country Services \n “..

“Mod made by Svelbeard.”)

}

end

]]>
/forums/topic/multiple-unit-trains/#post-12286 <![CDATA[Reply To: Multiple unit trains]]> /forums/topic/multiple-unit-trains/#post-12286 Thu, 23 Oct 2014 07:00:50 +0000 this field looks different in my models:

name = _(“BR Class 158″),

 

I would have written in this way:

name = “BR Class 158”,

Problem can be not with class_158.lua. You shall check all train configuration files.

]]>