[GUIDE] [1.19.2.1] Vehicle physics explained.

Forum rules
SCS as a company do not wish to have paid mods on this forum. While we understand that not all paid mods use the Intellectual Property of other companies/people, it is very hard to moderate what is and isn't acceptable when money is involved. There are also concerns that it could look unfavorable to potential work partners going forward if SCS allow mods that may potentially use unlicensed branding.
Posting in the Mods forum (ATS and ETS2) is restricted to sharing free-to-the-public mods and providing support for mods. For more details, please check chapters [4] and [5] of Forum Rules.

What are your thoughts on this thread and threads like it?

I appreciate and support this fully
123
97%
I appreciate it but i already knew these things
2
2%
I am indifferent
0
No votes
I already knew and don't appreciate it
0
No votes
I don't appreciate this at all
0
No votes
Other / Abstain
2
2%
 
Total votes: 127

User avatar
La_FuAzz
Posts: 1991
Joined: 30 Apr 2014 11:22

Re: [GUIDE] [1.19.2.1] Vehicle physics explained.

#11 Post by La_FuAzz » 27 Aug 2015 15:52

Again, thank you very much!

Lomic6
Posts: 197
Joined: 31 Mar 2015 11:02
Location: Singapore & France

Re: [GUIDE] [1.19.2.1] Vehicle physics explained.

#12 Post by Lomic6 » 27 Aug 2015 16:58

Hi Cadde,
I am not a modder, but very interested to learn new things.
Thanks for this technical but very well explained thread. :)

cleber_oro
Posts: 326
Joined: 20 Dec 2012 21:21
Location: Brazil
Contact:

Re: [GUIDE] [1.19.2.1] Vehicle physics explained.

#13 Post by cleber_oro » 27 Aug 2015 18:34

Cadde, in "Engine specific settings" volume is used to calculate the motor brake power too.

By the way, you can add:
engine_brake: 1.0 // default 1.0, relative brake strength value
Image

User avatar
Cadde
Posts: 9535
Joined: 24 Apr 2013 18:08
Location: Have no fear, i am from the internets!

Re: [GUIDE] [1.19.2.1] Vehicle physics explained.

#14 Post by Cadde » 28 Aug 2015 00:05

Sbout that cleber, engine_brake used to be in the engine definitions in the past but were removed.
So my question is, does it still affect the performance of the engine brake when changed?

If you say yes then i will add it.

Thanks for the engine volume bit though. I knew there was something i had missed.

And thanks to everyone else for your support and kind words.
On extended hiatus.

cleber_oro
Posts: 326
Joined: 20 Dec 2012 21:21
Location: Brazil
Contact:

Re: [GUIDE] [1.19.2.1] Vehicle physics explained.

#15 Post by cleber_oro » 28 Aug 2015 02:30

Yes Cadde, this affect directly. If you set it in 0.5 means the motor brake will have 50% of "standard power".

Another thing, if you add the parameter 'motor_brake_downshift: 0' when you use motor brake in automatic transmission mode, the transmission will not reduce the gear.
Image

User avatar
Cadde
Posts: 9535
Joined: 24 Apr 2013 18:08
Location: Have no fear, i am from the internets!

Re: [GUIDE] [1.19.2.1] Vehicle physics explained.

#16 Post by Cadde » 28 Aug 2015 02:49

Code: Select all

    motor_brake_downshift: 0    // Default: 1,      When set to 1, the automatic transmission will downshift with the motor brake. When set to 0, the automatic transmission will maintain the current gear until the motor brake is released.
Adding that to engine_data presents this error in the log:

Code: Select all

00:00:07.461 : <ERROR> [unit] File '/def/vehicle/truck/scania.r/engine/dc12_380_test.sii', line 43:
00:00:07.461 : <ERROR> [unit] The unit 'dc12_380test.scania.r.engine' of type 'accessory_engine_data' has no attribute named 'motor_brake_downshift'.
00:00:07.461 : <ERROR> load_unit() - Failed to load units from file (/def/vehicle/truck/scania.r/engine/dc12_380_test.sii)
On extended hiatus.

User avatar
Cadde
Posts: 9535
Joined: 24 Apr 2013 18:08
Location: Have no fear, i am from the internets!

Re: [GUIDE] [1.19.2.1] Vehicle physics explained.

#17 Post by Cadde » 28 Aug 2015 03:36

I updated all file contents in the first post. One cannot start a .sii file with comments as the games parser cannot find the SiiNunit magic marker if you do.
I also spell checked and fixed a few comment errors.

Added the "engine_brake" hidden/obsolete parameter back to the engine definitions.
However, be warned that hidden parameters are bound to be removed from the game at any given time and thusly stop working.
On extended hiatus.

cleber_oro
Posts: 326
Joined: 20 Dec 2012 21:21
Location: Brazil
Contact:

Re: [GUIDE] [1.19.2.1] Vehicle physics explained.

#18 Post by cleber_oro » 28 Aug 2015 04:10

For me works perfectly...

Code: Select all

SiiNunit #Scania R and Streamline Modifications V1.1 by RJL
{
accessory_engine_data : dc16_580.scania.rs.engine
{
	name: "DC16 102 580 Euro 6 V8"
	price: 27300
	unlock: 18
	info[]: "580 @@hp@@ (427@@kw@@)"
	info[]: "2@@dg@@950 @@nm@@"
	info[]: "1@@dg@@000-1@@dg@@300 @@rpm@@"
	icon: "engine_01"
	torque: 2950
	volume:	26.4
	engine_brake: 0.5
	engine_brake_downshift: 0

	defaults[]: "/def/vehicle/truck/scania.rs/badge/r580.sii"
	defaults[]: "/def/vehicle/truck/scania.rs/c_equip/e6_badge.sii"
	defaults[]: "/def/vehicle/truck/scania.rs/sound/interior_v8.sii"
	defaults[]: "/def/vehicle/truck/scania.rs/sound/exterior_v8.sii"

}
}
About engine_brake, it's not obsolete, he "replaced" motor_brake (obsolete).

Thanks Cadde for the awesome work!
Image

User avatar
Cadde
Posts: 9535
Joined: 24 Apr 2013 18:08
Location: Have no fear, i am from the internets!

Re: [GUIDE] [1.19.2.1] Vehicle physics explained.

#19 Post by Cadde » 28 Aug 2015 04:32

Well, you said "motor", not "engine" in your first post.
cleber_oro wrote:Another thing, if you add the parameter 'motor_brake_downshift: 0'
And the engine_brake setting used to be in the file by default. It no longer is there hence i believe SCS are looking to rid of the setting in the future.
On extended hiatus.

cleber_oro
Posts: 326
Joined: 20 Dec 2012 21:21
Location: Brazil
Contact:

Re: [GUIDE] [1.19.2.1] Vehicle physics explained.

#20 Post by cleber_oro » 28 Aug 2015 13:23

Sorry, I was not on my pc. I wrote (and write right now) from my smartphone. It's a little hard to remember correctly.
Image

Post Reply

Return to “Modding Guides”

Who is online

Users browsing this forum: No registered users and 1 guest