skyraven Posted August 29, 2020 Share Posted August 29, 2020 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. Link to comment Share on other sites More sharing options...
xyth Posted August 29, 2020 Share Posted August 29, 2020 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> Link to comment Share on other sites More sharing options...
Laz Man Posted August 29, 2020 Share Posted August 29, 2020 Didn't know a class like that existed. Thats pretty cool. Link to comment Share on other sites More sharing options...
skyraven Posted August 29, 2020 Author Share Posted August 29, 2020 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. <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> Wow ! Thank you so much for the great advice! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.