Archived copy of war3source.com, the War3Source forum (2009–2020), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2012-10-25 (original capture). Forum · All archived topics · Wiki · Bug tracker · Blog
Chat

War3:Source
October 24, 2012, 09:15:24 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Download: http://war3source.com/index.php?board=9.0
What is War3Source?: http://war3source.com/index.php?topic=200.0
Sample Stats: http://war3source.com/war3stats
Steam Community Group: http://steamcommunity.com/groups/war3source
War3Source SVN Checkout: http://ownageclan.com/svn/war3source/
War3Source servers: http://www.game-monitor.com/search.php?vars=war3_version=
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Demon Huner  (Read 429 times)
Scyther
Full Member
***
Posts: 120


View Profile Email
« on: August 24, 2010, 06:23:03 AM »

Just a message to TC and cereal killer, the race demonhunter, the first skill has the ability to crash the CS of the person you hit and sometimes the attacker aswell... Incase you didnt notice xD

Didnt know where to put this, neither are on steam and yeah...
Logged
[Oddity]TeacherCreature
Sr. Member
****
Posts: 463


View Profile
« Reply #1 on: August 24, 2010, 08:08:03 AM »

You think so? I dont.

Code:
BurnSprite=PrecacheModel("materials/sprites/fire1.vmt");
g_iExplosionModel = PrecacheModel("materials/effects/fire_cloud1.vmt");
Code:
public OnW3TakeDmgBullet(victim,attacker,Float:damage){
if(IS_PLAYER(victim)&&IS_PLAYER(attacker)&&victim>0&&attacker>0&&attacker!=victim)
{
new vteam=GetClientTeam(victim);
new ateam=GetClientTeam(attacker);
if(vteam!=ateam)
{
new race_attacker=War3_GetRace(attacker);
new race_victim=War3_GetRace(victim);
new skill_level_evasion=War3_GetSkillLevel(victim,thisRaceID,SKILL_EVADE);
if(race_victim==thisRaceID && skill_level_evasion>0 )
{
if(GetRandomFloat(0.0,1.0)<=EvadeChance[skill_level_evasion] && !W3HasImmunity(attacker,Immunity_Skills))
{
War3_DamageModPercent(0.0);
}
}
new skill_level_mana=War3_GetSkillLevel(victim,thisRaceID,SKILL_MANABURN);
if(race_attacker==thisRaceID && skill_level_mana>0 )
{
if(!W3HasImmunity(victim,Immunity_Skills)&&!Silenced(attacker))
{
new Float:position[3];
new Float:positionclient[3];
GetClientAbsOrigin(victim,position);
GetClientAbsOrigin(attacker,positionclient);
position[2]+=35;
positionclient[2]+=35;
TE_SetupBeamPoints(position, positionclient,BurnSprite, g_iExplosionModel , 0, 8, 0.5, 10.0, 10.0, 10, 20.0, {255,0,255,255}, 70);
TE_SendToAll();
if(GetCSMoney(victim)>0){
if(GetCSMoney(victim)>ManaMoney[skill_level_mana]){
SetCSMoney(victim, GetCSMoney(victim)-ManaMoney[skill_level_mana]);
War3_DamageModPercent(1.1);
}
else {
SetCSMoney(victim,0);
}
}
if (GetCSMoney(victim)==0){
War3_DamageModPercent(3.0);
}
else {
SetCSMoney(victim,0);
}
}
}
}
}
}
Logged

Scyther
Full Member
***
Posts: 120


View Profile Email
« Reply #2 on: August 24, 2010, 03:53:56 PM »

Will test that when I get home, btw it only happens some of the time but I sprayed a clip into a friend and that's usually enough to crash one or both ofus
Logged
Scyther
Full Member
***
Posts: 120


View Profile Email
« Reply #3 on: August 25, 2010, 03:45:54 AM »

TC set my friends hp to 10000 and mine to 10000 sprayed him with a clip and it crashed us both, the effect just looks like a purple-ish line.. Attempt the same test please cause i dont see a reason why it would do it for me and not for you..
Logged
[Oddity]TeacherCreature
Sr. Member
****
Posts: 463


View Profile
« Reply #4 on: August 25, 2010, 09:28:47 AM »

purplish line means you dont have the material on the server or you didnt force client download or you didnt precache or something...
that is why you are crashign it has nothing to do with the race!

both sprites are standard HL2 sprites so no DL needed unless you didnt truly buy CS and pirated it.

then if you copied this code it precaches

BurnSprite=PrecacheModel("materials/sprites/fire1.vmt");
g_iExplosionModel = PrecacheModel("materials/effects/fire_cloud1.vmt");

so it is definitely u not me
Logged

Scyther
Full Member
***
Posts: 120


View Profile Email
« Reply #5 on: August 25, 2010, 04:03:46 PM »

I did that though that's why it's so weird, those sprites work perfectly on POTM >.> anyways I'll just probably use halosprite and beamsprite if I test tonight and it doesn't work
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!