American Eagles Modding Forums


Hi! You are currently viewing forum as a guest. For more features please login or register!

Member Login



Lost your password?

Forum Stats

Latest Member


Not a member yet? Sign Up!



*



November 29, 2022, 09:38:58 PM

Author Topic: IH 700 Automatic/FS11plogh script to FS13 script help  (Read 2744 times)

0 Members and 1 Guest are viewing this topic.

Offline AlbertL (OP)

IH 700 Automatic/FS11plogh script to FS13 script help
« on: March 27, 2013, 06:03:32 AM »
Need code conversion to update this script to the F's13 so that i get the full direction changes.

thank you very much.

this is the only location that plough is listed in lua. was changed from cultivator it had in 2011 mod, to plough.
however it only provids the F's11 single direction.

Code: [Select]
  end;
if self.turnOn and self.go and not self.rotParts then

if table.getn(self.cuttingAreas) > 0 then
local x,y,z = getWorldTranslation(self.cuttingAreas[1].start);
local x1,y1,z1 = getWorldTranslation(self.cuttingAreas[1].width);
local x2,y2,z2 = getWorldTranslation(self.cuttingAreas[1].height);
Utils.updatePloughArea(x, z, x1, z1, x2, z2);
end;
end;

any help converting these lines, or to change this lua to refer to the fs13 plough lua i have would be a most appreciated.
"I asked Jesus, "How much do you love me?" Jesus replied, "This much" and stretch






 

Offline Pawel Lipiec

  • Rookie
  • *
  • Posts: 1
Re: IH 700 Automatic/FS11plogh script to FS13 script help
« Reply #1 on: April 02, 2013, 02:40:29 PM »
   Hi hello
   It was best to remove the script from a different point from LS 2013 and podmieić it with what you have to plow today. There is a problem with the file conversion example xxx.lua moddesc.xml only need to properly rewrite some liniki xxx.lua. I'm sorry if something is not clearly written, I use a translator because I communicate poorly in English in the U.S. version :)
Greetings from Polish
 

 

Related Topics

  Subject / Started by Replies Last post
7 Replies
3523 Views
Last post June 27, 2012, 09:00:26 PM
by am98712
1 Replies
1974 Views
Last post August 26, 2012, 11:03:44 PM
by AlbertL
0 Replies
1738 Views
Last post November 23, 2012, 12:04:37 AM
by gm_dude_03
0 Replies
1995 Views
Last post March 17, 2013, 11:59:48 PM
by AlbertL
1 Replies
3369 Views
Last post September 03, 2014, 05:11:48 PM
by JohnDeere1952


Powered by EzPortal