Euro Truck Simulator 2
Modify cargo name mod
How do we change cargo name ? I wanted to change pork cargo and canned pork cargo to another animal’s name but I cant’t find it in files (I find beef and chicken but not pork). It would be easier if one of you can send it directly and I modify it and put in mod (I think that would be enough but i don’t know)
< >
กำลังแสดง 1-15 จาก 27 ความเห็น
It is a rather simple change of cargo name in definition files.
These are text files and can be edited without any 3D modelling knowledge at all.
If you are talking about the ETS2 cargo in-game, and not an existing mod, you'll have to unpack def.scs from your game files.
แก้ไขล่าสุดโดย room217au; 20 เม.ย. 2020 @ 6: 19am
yes, i searched into def.scs but i didnt find it
i already unpacked def
in cargo folder, i see carb_water, acetylene and even canned_beans but no canned_pork :/
do you see it in your cargo folder ? if yes, pls send the two folders to me. maybe it can work if i modify and place it into mod folder
โพสต์ดั้งเดิมโดย room217au:
It is a rather simple change of cargo name in definition files.
These are text files and can be edited without any 3D modelling knowledge at all.
If you are talking about the ETS2 cargo in-game, and not an existing mod, you'll have to unpack def.scs from your game files.
I would be happy if you can help.
Cargo names are defined in locale definition, stored in base file locale.scs. Most of language related names are stored in /locale/<lang_id>/local.sii file. For UK English language, it's defined under /locale/en_gb/local.sii:
key[]: "cn_pork_meat" val[]: "Pork" key[]: "cn_canned_pork" val[]: "Canned Pork"
โพสต์ดั้งเดิมโดย sntvb1999:
in cargo folder, i see carb_water, acetylene and even canned_beans but no canned_pork
If you close SCS Extractor too early, it will not extract all files. Just FYI.
โพสต์ดั้งเดิมโดย pieperjohanns:
โพสต์ดั้งเดิมโดย sntvb1999:
in cargo folder, i see carb_water, acetylene and even canned_beans but no canned_pork
If you close SCS Extractor too early, it will not extract all files. Just FYI.
I know that. I didn’t close it.
โพสต์ดั้งเดิมโดย madman:
Cargo names are defined in locale definition, stored in base file locale.scs. Most of language related names are stored in /locale/<lang_id>/local.sii file. For UK English language, it's defined under /locale/en_gb/local.sii:
key[]: "cn_pork_meat" val[]: "Pork" key[]: "cn_canned_pork" val[]: "Canned Pork"
I can’t extract locale.scs
{ลิงก์ถูกลบแล้ว}
Some people have trouble with it too
How did you have access to it ?
For exemple, if I want to rename pork to fish. And canned_pork to tuna. Is there a way to do it whitout accessing locale ?
Are you guys able to find pork and canned pork in def.scs or base.scs ?
โพสต์ดั้งเดิมโดย sntvb1999:
Are you guys able to find pork and canned pork in def.scs
Some cargoes are in the DLC's .scs files, not in def.scs. Like dlc_fr.scs (France), dlc_it.scs (Italy) etc.

"Canned pork" is in dlc_east.scs.
แก้ไขล่าสุดโดย pieperjohanns; 20 เม.ย. 2020 @ 8: 23pm
โพสต์ดั้งเดิมโดย pieperjohanns:
โพสต์ดั้งเดิมโดย sntvb1999:
Are you guys able to find pork and canned pork in def.scs
Some cargoes are in the DLC's .scs files, not in def.scs. Like dlc_fr.scs (France), dlc_it.scs (Italy) etc.

"Canned pork" is in dlc_east.scs.

I found them in dlc_north.scs
maybe i will change other cargo names too but first I need to figure this one out. So I can repeat it.
Now I have another question. How do we change pork name now ? I changed « name » from ‘@@cn_canned_pork@@‘ to ‘@@cn_canned_tuna@@‘ but I didnt change cargo_data: cargo.canned _pork.

But it didnt work, I still see canned pork in the game...
How do I change the name ?

--------------------------------------------------------------------------------------

i didn't change file name too.
i changed from this to this but it doesn't work:



cargo_data: cargo.canned_pork
{
name: "@@cn_canned_pork@@"
fragility: 0.4
group[]: containers
volume: 2.6
mass: 680.6
unit_reward_per_km: 0.584
unit_load_time: 78
body_types[]: refrigerated
body_types[]: insulated
}

---------------------------------------------------------------------------------------------------------------------------------

cargo_data: cargo.canned_pork
{
name: "@@cn_canned_tuna@@"
fragility: 0.4
group[]: containers
volume: 2.6
mass: 680.6
unit_reward_per_km: 0.584
unit_load_time: 78
body_types[]: refrigerated
body_types[]: insulated
}
แก้ไขล่าสุดโดย sntvb1999; 20 เม.ย. 2020 @ 9: 45pm
As pointed out above you probably have to change the name in your language localization file, not between the "@@" symbols. The "@@ words" are just placeholders that get replaced by your language in the game.
< >
กำลังแสดง 1-15 จาก 27 ความเห็น
ต่อหน้า: 1530 50

วันที่โพสต์: 20 เม.ย. 2020 @ 6: 15am
โพสต์: 27