Log in to reply
 

Real Punisher in the gta5



  • Hey,guys.I have been considering a punisher in Losanto.Not like the batman,punisher is always killing.and I think it should not be a simply texture. It should have some certain codes.for example :wearing a ballistic suit like I showed in the picture, when he is shot, No blood appears but sparks,also no bleeding. Here is the code for sparks, but I can not create cool clothes for M,F and T. May be we can work together.

    Code
    Dim tmpBone As Bone
    Dim tmpRes As Native.OutputArgument = New Native.OutputArgument

            If Native.Function.Call(Of Boolean)(Native.Hash.GET_PED_LAST_DAMAGE_BONE, user, tmpRes) Then
                Native.Function.Call(Native.Hash.REMOVE_PARTICLE_FX_FROM_ENTITY, user)
    
                tmpBone = tmpRes.GetResult(Of Integer)()
    
                If TRandom.NextDouble < 0.5 Then
                    THelper.ptfx_triggerOnEntity(user, "ent_dst_concrete_large", "core", Vector3.Zero, Vector3.Zero, 0.0001)
                Else
                    THelper.ptfx_triggerOnEntity(user, "ent_brk_concrete", "core", Vector3.Zero, Vector3.Zero, 0.0001)
                End If
    
                THelper.ptfx_triggerOnPedBone(user, tmpBone, "cs_trev1_lighter_sparks", "cut_jh_trev", Vector3.Zero, New Vector3(TRandom.Next(0, 90), 0, TRandom.Next(0, 90)), 1.5 + TRandom.NextDouble * 0.5)
    
                Native.Function.Call(Native.Hash.CLEAR_PED_LAST_DAMAGE_BONE, user)
            End If
    

    I can not update the picture,I can describe it. Just like the mad killer in the movie rampage.



  • Dim tmpBone As Bone
    Dim tmpRes As Native.OutputArgument = New Native.OutputArgument

            If Native.Function.Call(Of Boolean)(Native.Hash.GET_PED_LAST_DAMAGE_BONE, user, tmpRes) Then
                Native.Function.Call(Native.Hash.REMOVE_PARTICLE_FX_FROM_ENTITY, user)
    
                tmpBone = tmpRes.GetResult(Of Integer)()
    
                If TRandom.NextDouble < 0.5 Then
                    THelper.ptfx_triggerOnEntity(user, "ent_dst_concrete_large", "core", Vector3.Zero, Vector3.Zero, 0.0001)
                Else
                    THelper.ptfx_triggerOnEntity(user, "ent_brk_concrete", "core", Vector3.Zero, Vector3.Zero, 0.0001)
                End If
    
                THelper.ptfx_triggerOnPedBone(user, tmpBone, "cs_trev1_lighter_sparks", "cut_jh_trev", Vector3.Zero, New Vector3(TRandom.Next(0, 90), 0, TRandom.Next(0, 90)), 1.5 + TRandom.NextDouble * 0.5)
    
                Native.Function.Call(Native.Hash.CLEAR_PED_LAST_DAMAGE_BONE, user)
            End If

Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.