Trying to turn off collisions on the Komatsu pw-98 bucket

Do you need help with a mod? Do not work, don´t know how solve?

Precisas de ajuda com um mod? Não funciona, não sabes como resolver?
Post Reply
FatStash
Posts: 2
Joined: Thu Apr 22, 2021 12:50 pm

Trying to turn off collisions on the Komatsu pw-98 bucket

Post by FatStash »

so, i have two copy's of the Komatsu pw-98, one from maybe original author, one a CYSG/FS miner edit... The original one has backup lights with white squares around them when the lights turn on... the CYSG/FS miner edit works way better, but comes without buckets (the original comes with the GODET pack), is there a way to modify the GODET buckets to have an option to turn off and on collisions? I am using these small guys to mine out the streams on Yukon Valley v2.4 and there are rocks ALLLLL over, so digging with a bucket with collisions on is basically impossible....

Link to the 'original' with the godet pack: http://www.fs19mods.com/komatsu-pw98-v1-0-0-0-mod/
Link to the one that works better, but doesn't have shovels/buckets with it (makes you download huddig pack): http://www.fs19mods.com/komatsu-pw98-v1-0-0-0-mod/

In a perfect world i would get to use the godet shovels from the first link, with the better working pw-98 from CYSG, and give them a button to turn on and off the collisions (the godets already work with both, just need to add the collision button)... I tried adding xml code from a bucket with activatable collisions but that did not work... I am kinda new to editing xml and LUA files, and just signed up for GE like last week and haven't even downloaded/installed it yet even...

Can anyone help/point me in the right direction?
FatStash
Posts: 2
Joined: Thu Apr 22, 2021 12:50 pm

Re: Trying to turn off collisions on the Komatsu pw-98 bucket

Post by FatStash »

So upon further testing, the Godet pack only works with the 'original' while the FS Miner/CYGS edit only works with the huddig pack... so yeah... if you inspect closely it might actually be 2 seperate models they used, but same machine, so they might be completely different yet the same... but the FS Miner/CYGS edit is the 'good' one, just need that no collision bucket haha
Nonnus
Site Admin
Posts: 21
Joined: Wed Apr 14, 2021 5:32 pm

Re: Trying to turn off collisions on the Komatsu pw-98 bucket

Post by Nonnus »

What you have to do is put this code on the buckets xml

Code: Select all

        <foldable>
		<foldingParts posDirectionText="help_colOn" negDirectionText="help_colOff">
			<foldingPart animationName="colisao" speedScale="1" />
		</foldingParts>
	</foldable>
	
	<animations>
		<animation name="colisao">
            <part node="0>4" startTime="0" endTime="0.001" startScale="1 1 1" endScale="0 0 0"/>
        </animation>
	</animations>
	
You need pay attention on node. For example on that mod the collisions is node="0>4" but on other mods you need see with Giants Editor and point to the right node.
Post Reply