06-25-2011, 07:20
06-25-2011, 07:51
(06-25-2011, 07:20)Pyroh Wrote: [ -> ]Does anybody have any idea how?
i do ill tell you later dont have the file with me
but basicly what you do is a bullettrace test in damagefeedback
06-25-2011, 08:13
there would be many ways todo this, there is most always 20 ways todo something.
im doing it in callbacksetup useing iDFlags however as i said there would be afew ways todo this let me know if you need help getting this done but checkout Killingdyl's way first, his a much better modder then me and i'd love to see how he would do it, i once asked him about this but i never got anywhere i dont think he seen my message
im doing it in callbacksetup useing iDFlags however as i said there would be afew ways todo this let me know if you need help getting this done but checkout Killingdyl's way first, his a much better modder then me and i'd love to see how he would do it, i once asked him about this but i never got anywhere i dont think he seen my message
06-25-2011, 09:38
Code:
start = eAttacker getTagOrigin( "tag_eye" );
end = self.origin + ( 0, 0, maps\mp\gametypes\_globallogic_util::getHitLocHeight( sHitloc ) );
if ( SightTracePassed( start, end, false, undefined ) )
eAttacker thread maps\mp\gametypes\_damagefeedback::updateDamageFeedback( hasBodyArmor, sMeansOfDeath );
This should work fine
06-25-2011, 14:44
(06-25-2011, 09:38)iAegle Wrote: [ -> ]Code:start = eAttacker getTagOrigin( "tag_eye" );
end = self.origin + ( 0, 0, maps\mp\gametypes\_globallogic_util::getHitLocHeight( sHitloc ) );
if ( SightTracePassed( start, end, false, undefined ) )
eAttacker thread maps\mp\gametypes\_damagefeedback::updateDamageFeedback( hasBodyArmor, sMeansOfDeath );
This should work fine
How is the Code for File in:
maps\mp\gametypes\_globallogic_util.gsc
and
maps\mp\gametypes\_damagefeedback.gsc
06-25-2011, 14:45
(06-25-2011, 14:44)turbo33 Wrote: [ -> ](06-25-2011, 09:38)iAegle Wrote: [ -> ]Code:start = eAttacker getTagOrigin( "tag_eye" );
end = self.origin + ( 0, 0, maps\mp\gametypes\_globallogic_util::getHitLocHeight( sHitloc ) );
if ( SightTracePassed( start, end, false, undefined ) )
eAttacker thread maps\mp\gametypes\_damagefeedback::updateDamageFeedback( hasBodyArmor, sMeansOfDeath );
This should work fine
How is the Code for File in:
maps\mp\gametypes\_globallogic_util.gsc
and
maps\mp\gametypes\_damagefeedback.gsc
Lol its actually in maps\mp\gametypes\_globallogic_players.gsc at line 910 I believe
06-25-2011, 22:29
so it doesnt even work?
06-26-2011, 12:17
Can anyone point me into the right direction, I have a good idea where i need to call the function to disable hitmarkers, but I don't know how to actually disable them.
06-27-2011, 10:14
start = eAttacker getTagOrigin( "tag_eye" );
end = self.origin + ( 0, 0, maps\mp\gametypes\_globallogic_utils::getHitLocHeight( sHitloc ) );
if ( SightTracePassed( start, end, false, undefined ) )
eAttacker thread maps\mp\gametypes\_damagefeedback::updateDamageFeedback( hasBodyArmor, sMeansOfDeath );
IS, the right direction. look for global logic players file and its around line 910 like stated earlier.
end = self.origin + ( 0, 0, maps\mp\gametypes\_globallogic_utils::getHitLocHeight( sHitloc ) );
if ( SightTracePassed( start, end, false, undefined ) )
eAttacker thread maps\mp\gametypes\_damagefeedback::updateDamageFeedback( hasBodyArmor, sMeansOfDeath );
IS, the right direction. look for global logic players file and its around line 910 like stated earlier.