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!



*



October 17, 2019, 09:20:05 AM

Author Topic: i need help with scripting in 15  (Read 1419 times)

0 Members and 1 Guest are viewing this topic.

Offline farmerboy69 (OP)

  • ScreaminEagle
  • *
  • Posts: 1327
i need help with scripting in 15
« on: February 20, 2015, 11:08:45 PM »
i got me a johndeere moco mower i hand it ingame but when i went back in to add all the moveing parts useing a lua
this is what i get in my log
Code: [Select]
Load mod: JD_956_moco
Warning: Only zip mods are supported in multiplayer. You need to zip the mod JD_956_moco to use it in multiplayer.
Error: invalid key 'KEY_N'  for input event 'SWING'
Warning: Missing l10n for button SWING in JD_956_moco
Error: Not all prerequisites of specialization mower are fulfilled
data/sky/sky_day_night.i3d (15.77 ms)
data/sky/rain.i3d (2.73 ms)
data/sky/hail.i3d (1.56 ms)
data/sky/dust.i3d (1.56 ms)
data/maps/map02.i3d (11147.46 ms)
dataS/character/player/playerCCT.i3d (415.78 ms)
Error loadVehicle: unknown type 'JD_956_moco.moco' in 'C:/Users/donald/Documents/My Games/FarmingSimulator2015/mods//JD_956_moco/MOCO.xml'

heres my moddesc
Code: [Select]
<vehicleTypes>
        <type name="moco" className="Vehicle" filename="$dataS/scripts/vehicles/Vehicle.lua">
            <specialization name="attachable"/>
<specialization name="mower" />
<specialization name="foldable" />
<specialization name="mouseControlsVehicle"/>
<specialization name="cylindered"/>
<specialization name="animatedVehicle"/>
<specialization name="workArea" />
<specialization name="turnOnVehicle" />
            <specialization name="powerConsumer" />
<specialization name="mountable" />
<!-- <specialization name="AnimationClips"/>-->
<!-- <specialization name="additionalLights" />-->
</type>
    </vehicleTypes>
i dont know im i missing anything or what any help wold be grate







 

Offline westmorgan

Re: i need help with scripting in 15
« Reply #1 on: February 20, 2015, 11:55:30 PM »
One thing that I see is that "workArea" will need to come before "mower", that would explain the prereq problem.
 

Offline LMBFarmer

  • Sr. Member
  • *
  • Posts: 497
    • OS-FS
Re: i need help with scripting in 15
« Reply #2 on: February 21, 2015, 12:22:23 AM »
You need to change the type to mower, from JD JD_956_moco.


Everyday's a revolution, welcome to the future.
 

Offline farmerboy69 (OP)

  • ScreaminEagle
  • *
  • Posts: 1327
Re: i need help with scripting in 15
« Reply #3 on: February 21, 2015, 11:27:26 AM »
thanks to a friend at fs uk i now have a list of all the specialization for all the vehicle types

and LMBFarmer if i did that i would have to do a ton more work  on the mower then to get it to work right







 

Offline LMBFarmer

  • Sr. Member
  • *
  • Posts: 497
    • OS-FS
Re: i need help with scripting in 15
« Reply #4 on: February 21, 2015, 12:30:56 PM »
thanks to a friend at fs uk i now have a list of all the specialization for all the vehicle types

and LMBFarmer if i did that i would have to do a ton more work  on the mower then to get it to work right

A ton of mods I had been working on converting had to get that change just to make it buy in the store.


Everyday's a revolution, welcome to the future.
 

Offline farmerboy69 (OP)

  • ScreaminEagle
  • *
  • Posts: 1327
Re: i need help with scripting in 15
« Reply #5 on: February 21, 2015, 01:34:13 PM »
well that is true but when i mower i can cut and everything but no animation  but now i got it







 

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
948 Views
Last post December 13, 2015, 01:05:39 PM
by AlbertL
1 Replies
770 Views
Last post May 22, 2016, 08:26:21 PM
by JohnDeere1952
2 Replies
1388 Views
Last post November 01, 2016, 05:54:31 PM
by alfalfa6945
4 Replies
894 Views
Last post January 22, 2018, 05:59:45 PM
by Jachin
3 Replies
664 Views
Last post October 13, 2018, 02:37:54 PM
by MikeLowery

Powered by EzPortal