mod help please

Post Reply
User avatar
TexasWhirlwind
Posts: 1525
Joined: 22 Mar 2016 16:11
Location: The United State of TEXAS
Contact:

mod help please

#1 Post by TexasWhirlwind » 18 Jun 2017 15:30

I have a mod that keeps popping up in the job selection window to many times. How would on turn it down. Is the fertility setting number set to a higher number for it to show up more or less:

Example.... fertility: 1.6

Should this number be higher for less or higher for more.

Thanks for any and all help.....

TW
-.- -.-. ..... -- ...- ...-
User avatar
Mohegan13
Global moderator
Posts: 19285
Joined: 05 Jul 2013 09:44
Location: West Yorkshire; Mars
Contact:

Re: mod help please

#2 Post by Mohegan13 » 18 Jun 2017 17:17

Open mod and open the file found in > /def/cargo/*nameofcargo*/*nameoftrailer*.sii

add

prob_coef: X

where X is a number. I think 1 is generally default so 0.5 would half the spawn rate in job market. You may need to do this multiple times depending on how many cargoes the trailer is assigned to.
[ external image ]
I reserve the right to be 100% wrong.
Something isn't right, nothing feels the same.
Everyone around me Is a different shade of grey.
User avatar
Rig Runner
Posts: 237
Joined: 30 Nov 2015 16:10
Location: Denver, CO

Re: mod help please

#3 Post by Rig Runner » 28 Jun 2017 11:08

I tried to do this, but for opposite reasons, I want my cargo to spawn more. I added the line prob_coef: 3.0 right after cog_height_offset: 1.0 and before the } symbol and it makes my trailer disappear. ideas?

Code: Select all

SiiNunit
{
trailer_def : .newwalmart48
{
trailer: trailer.newwalmart48
mass: 25000.0
cog_height_offset: 1.0
prob_coef: 3.0
}
}
User avatar
piva
Posts: 2377
Joined: 29 Oct 2014 16:41

Re: mod help please

#4 Post by piva » 28 Jun 2017 11:14

"cog_height_offset" now obsolete parameter in 1.6.2, you must use "cog_offset" parameter instead.

Code: Select all

SiiNunit
{
trailer_def : .box
{
	trailer: trailer.box
	mass: 11113.1
	cog_offset: 1
	cog_offset[]: (0.0, 1, 0.0)
}
}
User avatar
Rig Runner
Posts: 237
Joined: 30 Nov 2015 16:10
Location: Denver, CO

Re: mod help please

#5 Post by Rig Runner » 28 Jun 2017 11:24

Even with this, trailer still doesn't show

Code: Select all

SiiNunit
{
trailer_def : .newwalmart48
{
trailer: trailer.newwalmart48
mass: 25000.0
cog_offset: 1
cog_offset[]: (0.0, 1, 0.0)
prob_coef: 3.0
}
}
User avatar
Max
SCS Software
Posts: 6480
Joined: 26 Nov 2012 10:00
Location: SCS, Prague

Re: mod help please

#6 Post by Max » 29 Jun 2017 15:12

prob_coef is for cargo, not trailer.
loading of trailer die on unknown attribute error and the trailer won't exist at all.
Nobody can tell you anything about it. Those who know about it aren't allowed to talk. And those who talk know nothing.
User avatar
Rig Runner
Posts: 237
Joined: 30 Nov 2015 16:10
Location: Denver, CO

Re: mod help please

#7 Post by Rig Runner » 30 Jun 2017 00:19

Yup, I figured that out! Thanks Max!
Post Reply

Return to “Help center - player to player”

Who is online

Users browsing this forum: No registered users and 8 guests