Euro Truck Simulator 2
Mod help
i made an mod and it works until i leave the shop and my game crashes. any ideas how to fix oh its an 1000 BHP engine
Отредактировано hankberube; 1 июн. 2015 г. в 16:48
< >
Сообщения 110 из 10
Paste the contents of the engine mod here.
is this what u mean

SiiNunit
{
accessory_engine_data : engine63.mercedes.actros2014.engine
{
name: "Pestilance tuned engine"
price: 5000
unlock:1
info[]: "1000 @@hp@@ (736@@kw@@)"
info[]: "3@@dg@@000 @@nm@@"
info[]: "1@@dg@@100 @@rpm@@"
icon: "engine_01"
torque: 7000
rpm_limit: 2300
volume: 15.6
defaults[]: "/def/vehicle/truck/mercedes.actros2014/badge_b/badge_xx63.sii"

defaults[]: "/def/vehicle/truck/mercedes.actros2014/sound/interior_16.sii"
defaults[]: "/def/vehicle/truck/mercedes.actros2014/sound/exterior_16.sii"
Yes. Can you now paste your game.log.txt as well?
Отредактировано room217au; 1 июн. 2015 г. в 17:32
i did not change any other file if you look at that sii file you will see the same on ur end
Отредактировано hankberube; 1 июн. 2015 г. в 17:31
Автор сообщения: rubble duck
i did not change any other file if you look at that sii file you will see the same on ur end
Ignore that last bit I wrote. Just unpacked def.scs latest.

The game.log.txt will tell you why the game crashed and exactly what caused it.
At a guess, I'm thinking the crash is because you're setting "defaults", twice.
Once when the game truck loads as normal, and then again when the game loads your new engine? I've seen that before in my own engines.

Try removing the 3 "defaults" lines in your engine and try it again.
this is an unchaged sii

SiiNunit
{
accessory_engine_data : engine63.mercedes.actros2014.engine
{
name: "1863 OM 473 Euro VI"
price: 23160
unlock: 20
info[]: "625 @@hp@@ (460@@kw@@)"
info[]: "3@@dg@@000 @@nm@@"
info[]: "1@@dg@@100 @@rpm@@"
icon: "engine_01"
torque: 3000
rpm_limit: 2300
volume: 15.6
defaults[]: "/def/vehicle/truck/mercedes.actros2014/badge_b/badge_xx63.sii"

defaults[]: "/def/vehicle/truck/mercedes.actros2014/sound/interior_16.sii"
defaults[]: "/def/vehicle/truck/mercedes.actros2014/sound/exterior_16.sii"
Yes, but what I'm saying is this line here:
"accessory_engine_data : engine63.mercedes.actros2014.engine"
is loaded when the game starts and it has default engine sounds declared.
That's okay.

When your mod loads, it loads the same accessory_engine_data (yes, you changed the horsepower and torque and engine name) and it also declares the same defaults.
The game will get confused by this and fall over.

I haven't seen your game log, so I'm guessing, but I have seen this before.
Yeah, that'd be my guess as well. Though I have no engine mods for the New Actros (didn't see a need as the best engine for it suffices with its 3k torque), here's what a standalone engine mod would look like:

SiiNunit { accessory_engine_data : 1924ls.mercedes.actros.engine { name: "1924 V8 ShadowTec 5" price: 28705 unlock: 22 info[]: "690 @@hp@@ (538@@kw@@)" info[]: "3@@dg@@215 @@nm@@" info[]: "1@@dg@@150 @@rpm@@" icon: "engine_01" torque: 3215 volume: 15.93 } }

So, if your engine is suppose to be standalone, you'll need to change its accessory data to something else. I think the game is freaking out because of that and you're making a new file perhaps.
< >
Сообщения 110 из 10
Показывать на странице: 1530 50

Дата создания: 1 июн. 2015 г. в 16:48
Сообщений: 10