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.
Help with removing SimpleIC from a mod.
4 posts
Page 1 of 1
Re: Help with removing SimpleIC from a mod.
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
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
- Bear_from Oz
- Posts: 11
- Joined: Mon Mar 15, 2021 5:28 am
Re: Help with removing SimpleIC from a mod.
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
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
Re: Help with removing SimpleIC from a mod.
I see you also helped out in Reddit XDBear_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
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!
4 posts
Page 1 of 1