Question about mod tools and techniques

Modding school: Learn it from the masters
User avatar
MandelSoft
Lead Developer
Posts: 3754
Joined: 08 Aug 2013 10:48
Location: Libeň, Praha, Czechia

01 Dec 2014 17:51

What is the content of your file?
That might help us identify the problem.
Your daily dose of wisdom!
╔═══╗────╔═╗╔═╗────╔╗
║╔═╗║────║║╚╝║║────║║
║╚═╝╠═╦══╣╔╗╔╗╠══╦═╝╠══╗
║╔══╣╔╣╔╗║║║║║║╔╗║╔╗║══╣
║║──║║║╚╝║║║║║║╚╝║╚╝╠══║
╚╝──╚╝╚══╩╝╚╝╚╩══╩══╩══╝
Don't ask us for a release date; we don't know either.
Don't let the flag fool you; I'm Dutch, actually

sw3gameboy
Posts: 179
Joined: 11 Aug 2013 18:40
Location: Ljungby

01 Dec 2014 17:56

Here's the content for the test def files (hence the "relozz" fictional name)
city.mod.sii

Code: Select all

    SiiNunit
    {@include "city/relozz.sii"}

relozz.sii:

Code: Select all

    city_data: city.relozz
    {
       city_name: "Relozz"
       short_city_name: "Relozz"
       city_name_uppercase: "RELOZZ"
       country: germany

       map_x_offsets[]: 0
       map_x_offsets[]: 0
       map_x_offsets[]: 0
       map_x_offsets[]: -10
       map_x_offsets[]: 0
       map_x_offsets[]: 0
       map_x_offsets[]: -20
       map_x_offsets[]: -15

       map_y_offsets[]: 0
       map_y_offsets[]: 0
       map_y_offsets[]: 25
       map_y_offsets[]: -28
       map_y_offsets[]: -30
       map_y_offsets[]: -30
       map_y_offsets[]: -18
       map_y_offsets[]: -15

       vehicle_brands[]: "renault"


       truck_lp_template[]:"HRO033 21"

       truck_lp_def0[]:"<offset hshift=4 vshift=-5><img src=/material/ui/lp/germany/b.mat color=FFFFFFFF><offset hshift=4 vshift=5>"

       truck_lp_def1[]:"1"
       truck_lp_def1[]:"2"
       truck_lp_def1[]:"3"
       truck_lp_def1[]:"5"
       truck_lp_def1[]:"6"
       truck_lp_def1[]:"7"
       truck_lp_def1[]:"9"
       truck_lp_def1[]:"0"

       truck_lp_def2[]:"5"
       truck_lp_def2[]:"6"
       truck_lp_def2[]:"7"

       truck_lp_def3[]:"B"
       truck_lp_def3[]:"F"
       truck_lp_def3[]:"G"
       truck_lp_def3[]:"I"
       truck_lp_def3[]:"K"
       truck_lp_def3[]:"M"
       truck_lp_def3[]:"N"
       truck_lp_def3[]:"O"
       truck_lp_def3[]:"P"
       truck_lp_def3[]:"R"
       truck_lp_def3[]:"T"
       truck_lp_def3[]:"U"
       truck_lp_def3[]:"V"
       truck_lp_def3[]:"W"
       truck_lp_def3[]:"X"
    }

Sorry if the last one is a bit long :roll:

User avatar
plykkegaard
Modeller
Posts: 2548
Joined: 19 Sep 2014 19:18
Donation rank:
Location: Jylland
Contact:

01 Dec 2014 18:05

Which editor do you use for the sii files?
Try notepad++ (free) it'll let view eol markets and has curly bracket pairing
3D Artist - Moderator - Beta tester

sw3gameboy
Posts: 179
Joined: 11 Aug 2013 18:40
Location: Ljungby

01 Dec 2014 18:10

plykkegard: I use ordinary notepad

User avatar
plykkegaard
Modeller
Posts: 2548
Joined: 19 Sep 2014 19:18
Donation rank:
Location: Jylland
Contact:

01 Dec 2014 18:16

Notepad can't sdt the correct eol marker might be the problem
Use notepad++
3D Artist - Moderator - Beta tester

User avatar
MandelSoft
Lead Developer
Posts: 3754
Joined: 08 Aug 2013 10:48
Location: Libeň, Praha, Czechia

01 Dec 2014 18:26

You shouldn't put the brackets in-line. Instead of this:

Code: Select all

SiiNunit
{@include "city/relozz.sii"}
Do this:

Code: Select all

SiiNunit
{
    @include "city/relozz.sii"
}
That will work.

Best,
MandelSoft
Your daily dose of wisdom!
╔═══╗────╔═╗╔═╗────╔╗
║╔═╗║────║║╚╝║║────║║
║╚═╝╠═╦══╣╔╗╔╗╠══╦═╝╠══╗
║╔══╣╔╣╔╗║║║║║║╔╗║╔╗║══╣
║║──║║║╚╝║║║║║║╚╝║╚╝╠══║
╚╝──╚╝╚══╩╝╚╝╚╩══╩══╩══╝
Don't ask us for a release date; we don't know either.
Don't let the flag fool you; I'm Dutch, actually

sw3gameboy
Posts: 179
Joined: 11 Aug 2013 18:40
Location: Ljungby

01 Dec 2014 18:48

Mandelsoft: Yep this did definitely get it working! :D :D Seriously can't thank you enough... :mrgreen:

User avatar
n4gix.bill.leaming
Posts: 1196
Joined: 07 Aug 2013 18:22
Donation rank:
Location: Hammond, Indiana
Contact:

01 Dec 2014 19:14

A blank space after the opening brace { and before the closing brace } should also work, but carriage returns make it more obvious visually... 8-)
Fr. Bill
Global Moderator

Interests: Gauge Programming - 3d Modeling for Milviz

User avatar
plykkegaard
Modeller
Posts: 2548
Joined: 19 Sep 2014 19:18
Donation rank:
Location: Jylland
Contact:

05 Dec 2014 16:33

Anyone know how to track down this little beauty?

Code: Select all

02:16:40.923 : <ERROR> Terrain segment is too short! (0x3453ddeaa900001)
I assume it's only road- and node textures I need to hunt?
Do we have a search tool in the editor?
3D Artist - Moderator - Beta tester

User avatar
ETS2-User
Developer
Posts: 2933
Joined: 06 Aug 2014 22:34
Location: Oberösterreich resp. Vienna

05 Dec 2014 16:53

Yes, press F and type that code in uid (or copy/paste it from the log :D )
Developer for Austria and Svalbard
Creator of the Radiator Springs mod for ATS
Mods by ETS2-User: Facebook page

Image



Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests