Help with removing SimpleIC from a mod.

Your forum for all discussions around Modding.
BL4STER
Posts: 2
Joined: Tue Mar 23, 2021 7:59 am

Help with removing SimpleIC from a mod.

Post by BL4STER »

I found a nice Mercedes Sprinter van, which unfortunately is meant for SimpleIC, which I am not very fond of, but because I don't have it or want it, it means I can't open or close the doors on the van. I followed some tutorials, found on google, on how to remove it, but just can't find the code at all. I really hope someone with a little more experience than me will try and give it a shot.

Thank you very much for your time and effort.

Mod:https://1drv.ms/u/s!AkOsh1m8JummomydWHa ... R?e=yeJCPB
(Onedrive)https://fs19.net/farming-simulator-2019 ... -mk4-v0-5/
(Fs19.net)

Edit don_apple: topic moved from german to english section.
s8080t
Posts: 712
Joined: Wed Nov 20, 2019 9:26 pm

Re: Help with removing SimpleIC from a mod.

Post by s8080t »

If you don't plan to use SimpleIC at all, you could ignore the SimpleIC parts in the XML (and modDesc) and just focus on how to implement opening doors without it.

The animations are already there, should be fairly easy. You probalby want to use mousecontrol or other key bindings. But: this will only work when you entered the vehicle. Which is why people use SimpleIC ;)
Languages: DE/EN
Plattform: PC
Meine Mods
Grünlandsuchti
IT-Spezialexperte
OpenSource-Verfechter
User avatar
Bear_from Oz
Posts: 11
Joined: Mon Mar 15, 2021 5:28 am

Re: Help with removing SimpleIC from a mod.

Post by Bear_from Oz »

No need to remove anything, you can use the simpleIC animations that are already there.
Add these lines to your vehicle xml

<foldable>
<foldingParts startMoveDirection="1">
<foldingPart animationName="doorSideRight" speedScale="1" />
<foldingPart animationName="doorSideLeft" speedScale="1" />
<foldingPart animationName="backdoorRight" speedScale="1" />
<foldingPart animationName="backdoorLeft" speedScale="1" />
</foldingParts>
</foldable>
All the back and side doors will open when you press X
If you want to get real funky, add these lines
<cover>
<coverConfigurations>
<coverConfiguration openCoverWhileTipping="true">
<cover openAnimation="doorLeft" fillUnitIndices="1"/>
<cover openAnimation="doorRight" fillUnitIndices="1"/>
</coverConfiguration>
</coverConfigurations>
</cover>
The front doors will open but in a sequence as the game sees the doors as 2 covers. It will open the drivers door, close it and open the passenger door, then close it, each time you press N
BL4STER
Posts: 2
Joined: Tue Mar 23, 2021 7:59 am

Re: Help with removing SimpleIC from a mod.

Post by BL4STER »

Bear_from Oz wrote: Wed Mar 24, 2021 12:59 am No need to remove anything, you can use the simpleIC animations that are already there.
Add these lines to your vehicle xml

<foldable>
<foldingParts startMoveDirection="1">
<foldingPart animationName="doorSideRight" speedScale="1" />
<foldingPart animationName="doorSideLeft" speedScale="1" />
<foldingPart animationName="backdoorRight" speedScale="1" />
<foldingPart animationName="backdoorLeft" speedScale="1" />
</foldingParts>
</foldable>
All the back and side doors will open when you press X
If you want to get real funky, add these lines
<cover>
<coverConfigurations>
<coverConfiguration openCoverWhileTipping="true">
<cover openAnimation="doorLeft" fillUnitIndices="1"/>
<cover openAnimation="doorRight" fillUnitIndices="1"/>
</coverConfiguration>
</coverConfigurations>
</cover>
The front doors will open but in a sequence as the game sees the doors as 2 covers. It will open the drivers door, close it and open the passenger door, then close it, each time you press N
I see you also helped out in Reddit XD

As I wrote there: Holy **** dude! You are a legend.
Does it matter where I add in the code? And can use that code in other mods made for SimpleIC?

Thank you so much, I really do appreciate it!
Post Reply