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-24 (original capture). Forum · All archived topics · Wiki · Bug tracker · Blog
Chat

War3:Source
October 24, 2012, 09:14:09 AM *
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: War3_DeadDamage Weapon String is not passed further TakeDamage  (Read 152 times)
nvn
Full Member
***
Posts: 133


View Profile
« on: December 14, 2011, 02:13:33 PM »

Since 610 svn revision "SDKHook'S TakeDamage instead of W3S point_hurt entity" weapon string from War3_DealDamage is not passed.
Check like 560 from Engine_DamageSystem for better understanding:
http://ownageclan.com/websvn/diff.php?repname=war3source&path=%2FWar3Source_Engine_DamageSystem.sp&rev=610&peg=610
1.2.3.5
Logged

Ownz
Developer
Administrator
Hero Member
*****
Posts: 2045



View Profile WWW Email
« Reply #1 on: December 14, 2011, 02:17:01 PM »

uggh
native SDKHooks_TakeDamage(entity, inflictor, attacker, Float:damage, damageType=DMG_GENERIC, weapon=-1, const Float:damageForce[3]=NULL_VECTOR, const Float:damagePosition[3]=NULL_VECTOR);
 doesnt take a weapon string, only weapon id

discuss this with Revan
Logged

DarkEnergy
Revan
Sr. Member
****
Posts: 274



View Profile
« Reply #2 on: December 16, 2011, 01:20:38 AM »

we could revert back to the old one or I try some hooking stuff to change the weapon name.. but best should be reverting
Logged

#war3source
Ownz
Developer
Administrator
Hero Member
*****
Posts: 2045



View Profile WWW Email
« Reply #3 on: December 16, 2011, 01:21:48 AM »

sdkhooks should change to take a custom weapon string, but im probably beating a dead horse by requesting that.
Logged

DarkEnergy
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!