[Solved]Passenger seat not working in modded tractor

Your forum for all discussions around Modding.
asundrus
Posts: 7
Joined: Fri Jan 05, 2024 1:20 pm
Location: Denmark

[Solved]Passenger seat not working in modded tractor

Post by asundrus »

So I picked the Vario 1000 to play around with, changed colors and wheels, all worked just fine, except, the passenger seat is not working, it works just fine with the non modded from the store, what causes this?
Last edited by asundrus on Fri Apr 19, 2024 12:29 pm, edited 1 time in total.
User avatar
Dogface
Posts: 1090
Joined: Mon Nov 28, 2016 3:02 pm
Location: PC ⛽ USA

Re: Passenger seat not working in modded tractor

Post by Dogface »

any errors or warnings in the log file?
asundrus
Posts: 7
Joined: Fri Jan 05, 2024 1:20 pm
Location: Denmark

Re: Passenger seat not working in modded tractor

Post by asundrus »

I'm not sure what to look for, but in the log, the only errors I see is from a mod I really don't use:
2024-04-07 22:51 Error: Invalid customEnvironment given for SpecializationManager.addSpecialization. Should be a string or nil.
2024-04-07 22:51 LUA call stack:
dataS/scripts/mods.lua (468) : printCallstack
=C:/Users/jt/Documents/My Games/FarmingSimulator2022/mods/FS22_TrailerJointBlock/RegisterSpecialization.lua (80) : addSpecialization
=[C] (4294967295)
dataS/scripts/mods.lua (419) : source
dataS/scripts/mods.lua (920) : source
dataS/scripts/xml/XMLFile.lua (296) : closure
dataS/scripts/mods.lua (917) : iterate
dataS/scripts/gui/MPLoadingScreen.lua (765) : loadMod
dataS/scripts/misc/AsyncTaskManager.lua (41) : lambda
dataS/scripts/misc/AsyncTaskManager.lua (120) : runLambda
dataS/scripts/misc/AsyncTaskManager.lua (146) : runTopTask
dataS/scripts/main.lua (1226) : update
2024-04-07 22:51 Error: Too many arguments for SpecializationManager.addSpecialization. (Arguments should be: name, className, filename, customEnvironment)
2024-04-07 22:51 LUA call stack:
dataS/scripts/mods.lua (473) : printCallstack
=C:/Users/jt/Documents/My Games/FarmingSimulator2022/mods/FS22_TrailerJointBlock/RegisterSpecialization.lua (80) : addSpecialization
=[C] (4294967295)
dataS/scripts/mods.lua (419) : source
dataS/scripts/mods.lua (920) : source
dataS/scripts/xml/XMLFile.lua (296) : closure
dataS/scripts/mods.lua (917) : iterate
dataS/scripts/gui/MPLoadingScreen.lua (765) : loadMod
dataS/scripts/misc/AsyncTaskManager.lua (41) : lambda
dataS/scripts/misc/AsyncTaskManager.lua (120) : runLambda
dataS/scripts/misc/AsyncTaskManager.lua (146) : runTopTask
dataS/scripts/main.lua (1226) : update
*EDIT* Besides the Kubota DLC, I'm using the Kubota Pack Passenger Extension mod.
asundrus
Posts: 7
Joined: Fri Jan 05, 2024 1:20 pm
Location: Denmark

Re: Passenger seat not working in modded tractor

Post by asundrus »

I've now tried with 6 different tractors made using GE, all of them are missing the passenger seat feature, nothing have been done to those 6 mods besides creating in GE, saving, adding to my mod folder, and no errors in the log.
User avatar
Dogface
Posts: 1090
Joined: Mon Nov 28, 2016 3:02 pm
Location: PC ⛽ USA

Re: Passenger seat not working in modded tractor

Post by Dogface »

Are you using a passenger mod?
asundrus
Posts: 7
Joined: Fri Jan 05, 2024 1:20 pm
Location: Denmark

Re: Passenger seat not working in modded tractor

Post by asundrus »

I have tried with and without Kubota Pack Paasenger Extension mod, same results, not working with modded tractors.

Mod: https://www.farming-simulator.com/mod.p ... tle=fs2022
norfolk farmer
Posts: 2320
Joined: Sat Oct 13, 2018 3:36 pm
Location: United Kingdom

Re: Passenger seat not working in modded tractor

Post by norfolk farmer »

Have you looked at another modded tractor which works to compare how that is setup compared to what you have done?
User avatar
Dogface
Posts: 1090
Joined: Mon Nov 28, 2016 3:02 pm
Location: PC ⛽ USA

Re: Passenger seat not working in modded tractor

Post by Dogface »

Did you add a passenger seat to your mod?
asundrus
Posts: 7
Joined: Fri Jan 05, 2024 1:20 pm
Location: Denmark

Re: Passenger seat not working in modded tractor

Post by asundrus »

I thought, that when making a mod from Giants Editor of a base game vehicle, that works with passenger seat, I could then use the mod as is, without having to add any codes, I guess I was wrong. And yes, I just found a Vario 1000 mod that has a working passenger seat, and eventhough I'm very new to this kind of modding, I looked in the vehicle xml and found a passenger code, I could then copy paste, but then I looked in the .i3d file from the mod I just mentioned, it also has passenger code, so I guess that means, I would have to use Giants Editor to make TransformGroups, or could I copy paste that as well?

And I'm so sorry of all this sounds like giberish, but again, I'm a noob at modding, but I'm really greatful for your replies, and hope with your help I can get this done.
User avatar
Dogface
Posts: 1090
Joined: Mon Nov 28, 2016 3:02 pm
Location: PC ⛽ USA

Re: Passenger seat not working in modded tractor

Post by Dogface »

asundrus wrote: Tue Apr 09, 2024 12:05 pm ... so I guess that means, I would have to use Giants Editor to make TransformGroups, or could I copy paste that as well?
Yes, you can copy paste. but you will probably have to reposition everything.
asundrus
Posts: 7
Joined: Fri Jan 05, 2024 1:20 pm
Location: Denmark

Re: Passenger seat not working in modded tractor

Post by asundrus »

*UPDATE*

Erhmm, I did it.

Here's what I did:

I open the i3d files from my own mod, the working mod in 2 Giants Editors, screwed around, got pi**, lost all my hair, Alt+F4.
Tried again, carefully looked at the working mod in GE, found out how to create TransformGroups, adjusted nodes ( never looked at that before ) added the code and mappings ( also new to me ) to the .xml, and voila.

*EDIT* And ofcourse I just found this now, a tutorial from 82 Studio: https://www.youtube.com/watch?v=lDOIx2OYLuw anywho, now I'm off to throw passengers in everything I can get my hands on hehe.
Post Reply