Community Forum

Mower.lua still needs work. fillPlane - FillTypes still broken after 1.4

Forum Overview >> Scripting

CategoryScripting
Created12.02.2017 13:54


Andy .... (Unknown) 12.02.2017 14:02
First issue - mower.luadoc

After the release of patch 1.4 it seems the mower lua doc has been fixed to now allow full function. It does seem however that no testing was carried out with a Big M mod or the like. The issue is now that when wide spread mode is activated the grass builds up under the mower so fast it lifts it off the ground.


Second issue. - Fillable.luadoc

I see that the fillPlane feature is also not working still as it did in FS15. When written as follows the image should be different for each fill type and blank when neither fill type is used. It seems however to not look past the first fillPlane and use it for all fill types.
<fillPlanes>
<fillPlane fillUnitIndex="1" fillType="wheat">
<node index="0>2|3|5|0" alwaysVisible="false">
<key time="0" y="1.969" scale="1 1 1"/>
<key time="1" y="1.969" scale="1 1 1"/>
</node>
<node index="0>2|3|5|1" alwaysVisible="false">
<key time="0" y="1.969" scale="1 1 1"/>
<key time="1" y="1.969" scale="1 1 1"/>
</node>
</fillPlane>
<fillPlane fillUnitIndex="1" fillType="barley">
<node index="0>2|3|5|2" alwaysVisible="false">
<key time="0" y="1.969" scale="1 1 1"/>
<key time="1" y="1.969" scale="1 1 1"/>
</node>
<node index="0>2|3|5|3" alwaysVisible="false">
<key time="0" y="1.969" scale="1 1 1"/>
<key time="1" y="1.969" scale="1 1 1"/>
</node>
</fillPlane>
</fillPlanes>

Feedback from Giants would be great... I can also provide the work in progress Mower I am building to Giants if they need a bases to test with.

Emil Drefers (Unknown) 20.02.2017 17:13
Hi,

jap, there is a problem in the Fillable.lua.
The tbale for the fillPlanes is created with the index of the fillType as the table index (line 316), but later on the name of the fillType is used to index the table of the fillPlanes (line 1011).
That's why a valid filPlane can never be found (only the falllback fillplane, which is the first one) can be found and used.

That bug appeared because we don't use fillPlanes anymore, so we did not test that feature.

Sorry for that!

Gonna try to incorporate a fix in the upcoming patch, but can't guarantee anything.

Cheers,
Emil




Andy .... (Unknown) 21.02.2017 10:42
Hi Emil,

Thanks for the reply.. Hoping there is a fix as i use this feature to change images and fake pallets on a couple mods i have made. If it is not fixed then i will just do a quick lua to do as i require. Down side is that this will again leave the Console people out...

Are you also able to pass on the issue with the Mower? This almost seems like a conflict with the tip to ground feature...
There will be a lot of happy people if this issue is fixed i promise you. :-)

Thanks again and i anticipate your responce

Emil Drefers (Unknown) 21.02.2017 13:40
Hi,

for the 'mower problem' I would suggest to move the 'drop areas' behind the physical bodies of the vehicle/tool.
That should be enough, I guess.

The fix for the Fillable.lua will be in the next patch.

Cheers,
Emil

Andy .... (Unknown) 22.02.2017 06:32
Hi,

Great to here about the Fillable.lua being fixed in the next patch :-) Looking foward to it.

I had another look at the mower. It is a improved model from FS13 i have upgraded textures and interior and added blades etc so it will be most welcomed by all including Console as i have a no scripts version also...

The issue is still showing for me so i have a link to some images i took one after another. This shows the outcome when sitting still on a grass field and turning on wide spread... this takes about 3 to 4 sec....

https://s20.postimg.org/5lui7kjgt/Mower_Drop.jpg

I am happy to supply the model and xml if it helps the team with testing :-)

Emil Drefers (Unknown) 22.02.2017 07:13
Hi,

okay, that BigM problem seems to be weird.

I don't think that there is a problem with our default scripts.
But I might be wrong.

Anyhow, eventually the BigM uses some custom scripts?
This might explain some problems.

Well, testing would be easier with the complete mod, that's for sure.
Normally there is no time for us to test mods, but currently I might be able to spare a minute.

Cheers,
Emil

Andy .... (Unknown) 22.02.2017 10:53
The only custom script it uses is the Passenger script. I was looking to upload two versions to your modhub so both console and pc could have the new 2017 version. As i said i have spent a bit of time cleaning up the model and adding suspension and a new cab etc to make it more FS17 worthy.

You would not be waiting your time i promise as this one is a mod a lot of people want working properly again in Game...

Are you able to see the email linked to my account to send me an email address to send the mod link? (If you have time to look at it as do understand your busy.)

Thankyou
Andy

Emil Drefers (Unknown) 23.02.2017 07:46
Hi,

nope, I can't see your email.
I could ask a colleague to check that for me in the database, but I guess if you just upload the mod to the ModHub (and ad a comment why you did so) should work.

Cheers,
Emil

Andy .... (Unknown) 23.02.2017 08:27
I can put it to modhub or I have you can contact me at this email. (email removed by moderator)

This may be easier if you need more info sent. This is however up to you and i will do either option.

p.s. If you choose to email rest assured i will not abuse your help and will only reply to your emails now and in the future.

Regards,

Andy

Andy .... (Unknown) 01.03.2017 06:34
Hey Emil,

Did you still want me to upload this mod to Mod Hud for you to look at?

Regards,

Andy

Emil Drefers (Unknown) 10.03.2017 16:55
Hi Andy,

jap, you could upload it, if you still want me to have a look at it.

btw: sorry for the prolongued break.

Cheers,
Emil

Andy .... (Unknown) 15.03.2017 10:59
Hey Emil,

I have just uploaded the Mod to modHub for you to look at when you have the time.

I have flagged it quite well asking for it to be passed on to you.

Thanks again and I look forward to hearing your findings :-)

Please not the Mod still needs some things to be finished and a small amount of clean up so that the Consoles can also have this great Mod.

If you see something that will stop the consoles from working and you have time let me know and i will fix it before final submission.

Kind Regards,

Andy

Andy .... (Unknown) 15.03.2017 11:25
Hey Emil,

I have just uploaded the Mod to modHub for you to look at when you have the time.

I have flagged it quite well asking for it to be passed on to you.

Thanks again and I look forward to hearing your findings :-)

Please not the Mod still needs some things to be finished and a small amount of clean up so that the Consoles can also have this great Mod.

If you see something that will stop the consoles from working and you have time let me know and i will fix it before final submission.

Kind Regards,

Andy

Andy .... (Unknown) 16.03.2017 09:33
Hi Emil,

Thanks for taking the time to look over the Mod i sent you. I am glad you have found the issue in the scripts and i look forward to the next Patch with the fix :-) as do the people waiting for this Mod.....

Can i ask if there will be a way to add the effects for both windrow and widespread? or is this a limitation where we can only have one?

Thanks again :-)

Andy

Emil Drefers (Unknown) 21.03.2017 06:53
Hi,

it's very likely not possible to switch the effects without a custom script.

Cheers,
Emiil



Note: Log in to post. Create a new account here.