Please I really need help for my MW2 iSnipe mod
Hi all,
I'm CriticalQs and nice to meet you and first of all i'm a beginner of GSC Coding,
so I have problems with my mod,
I would add in the mod personal killstreak rewards following how much is nice your kill,
For example: Wallbang = predator
360° on the right with silent kill (with throwing knife) = AC130
I'm using for this work the inuke iSnipe mod
Please help me,
Thanks,
Best Regards
Look in my signature dude...
Also, look in the thread where you see how to make own killstreaks.
(Look over my Threads)
ah, so you explain also for this? sorry i didn't know, If I have some doubt can I contact you or is a problem?
I'm a GSC Coding beginner,
but I tried for the wallbang = predator
a coder told me only to do this:
"In _damage.gsc
Into that function
Code:
Select allCallback_PlayerDamage_internal( eInflictor, eAttacker, victim, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, psOffsetTime )
Add that code:
Code: Select allif( iDFlags & level.iDFLAGS_PENETRATION > 0 && iDamage >= victim.health )
{
GiveYourPredatorKillstreakCode;
};"
I tried this, but it doesn't work. do you know why?
And for the 360° kill?
Hey thanks for what you think about my idea,
I have studied all your tutorials about Custom Killstreaks.
But i'm looking for the code to set it up... for example i have the code for the wallbang, but I need also the other ones, i don't think that needs a lot of codes to complete the mod.
What do you think about?
Callback_PlayerDamage_internal( eInflictor, eAttacker, victim, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, psOffsetTime )
This is the code for the wallbang, so I wrote this in the _damage.gsc file:
Callback_PlayerDamage_internal( eInflictor, eAttacker, victim, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, psOffsetTime )
{
if( iDFlags & level.iDFLAGS_PENETRATION > 0 && iDamage >= victim.health )
{
self giveWeapon("killstreak_predator_missile_mp"
, 0, false);
}
But it doesn't work, do you know why?
Thanks
What is this wallbang you guys talk about?
Wallbang is when you shoot through a wall and you kill an other player
Is the code that I wrote in damage.gsc right?
Yeah I know, I wrote that i'm GSC beginner, and what you wrote is the why i'm asking help,
Do you know a way of coding where is 360 kill silent possible?
The close bracket is at the end of the damage.gsc file of callback function
how is the command for the degrees?
for example probably failing:
{
ent function(320, 5);
}
function(dis, time)
{
ent moveZ(dis, time);
}
Something like that? what's the difference between moveX,Y,Z?
Thanks again
Hey,
Ok I understand, but what you tell me about a LOT of things to do it's not enough to leave this work for me.
I'm coding the script to insert in .gsc files. when I've finished could you check it out please?
Once that I have found the codes for the wallbang and for the 360° silent kill (with trowhing knife in this order: 360° on the right, then shoot and on the end press g as throwing knife) the work will be finished
So please don't give up on me now, I would have your high experience on GSC Coding for some advice.
Thanks again.