• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Modding on block that bounce zombie away?

skyraven

New member
inspired by Fortnite STW, I'm thinking of making a mod block (trap) that apply zero damage but bounce the zombie away (just like vehicle that bang the zombie away, this block will launch the zombie to the sky). I dont think the effect are from applying the Buff anymore, it should have something to do with the ragdoll collision physic.

can someone point me the direction on this topic ?

Thank you.

 
Last edited by a moderator:
Something like this?  There is a class called JumpPad that will launch a zombie vertical.  In this example i edited the code to add a horizonal vector, but you get the idea.




        <block name="JumpPad">
            <property name="Shape" value="ModelEntity" />
            <property name="Model" value="#@modfolder:Resources/JumpPlate.unity3d?JumpPlate"/> <!-- or use a vanilla switchplate  -->
            <property name="Collide" value="sight,movement,melee,bullet,arrow,rocket"/>
            <property name="Class" value="JumpPad" /> 
            <property name="StabilitySupport" value="true"/>
            <drop event="Destroy" count="0" />
            <property name="Material" value="Mwood"/>
            <property name="ImposterExclude" value="true"/>
            <property name="ImposterDontBlock" value="true"/>
            <property name="CreativeMode" value="Player"/>
            <property name="CanPlayersSpawnOn" value="true"/>
            <property name="CanPickup" value="true"/>
        </block>     

 
Last edited by a moderator:
2 hours ago, xyth said:

Something like this?  There is a class called JumpPad that will launch a zombie vertical.  In this example i edited the code to add a horizonal vector, but you get the idea.

Wow !

Thank you so much for the great advice! 

 
Back
Top