Results 1 to 2 of 2
  1. #1
    Onetimeuser's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0

    Trying to lower Ump45 damage

    Hey. So few weeks ago, we started our own 4d1 server which has became kinda popular. Now we're wondering on how to lower ump damage since it's heavily overpowered. I read the tutorial regarding modifying weapon stats, but no matter how I type the code, ump damage stays the same in game. This is what my currect damage gsc looks like (the important part):
    Code:
    Callback_PlayerDamage_internal( eInflictor, eAttacker, victim, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, psOffsetTime )
    {
    
    	if ( getDvar("g_gametype") == "oitc" && sWeapon == "turret_minigun_mp" || getDvar("g_gametype") == "gg" && sWeapon == "turret_minigun_mp" || getDvar("g_gametype") == "ss" && sWeapon == "turret_minigun_mp" )
    	{
    		iDamage = 0;
    	}
    	if(isSubStr(sWeapon, "ump45_")) // if you want the weapon to do the damage no matter which attachments
    	
    		iDamage = 1;
    	
    	if ( !isReallyAlive( victim ) )
    		return;
    So, I download my server's iw_25.iwd, change it to .zip, extract it, modify the .gsc file like that and then reverse the progress and upload it back. Nothing happens, the damage stays the same.

    I also noticed that there's a separate _damage.gsc file in a different folder, but replacing that doesn't help neither.

    I tried searching, but none of the threads I came across really proved to be much help.

    Thanks, onetimeuser.

  2. #2
    Nachos's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Between Equator and The North Pole
    Posts
    2,986
    Reputation
    176
    Thanks
    913
    My Mood
    Blah
    I'm pretty sure you have to load the mod into your server. Isn't there a built-in function for that on 4D1?


    The lines in my Steam are i's

Similar Threads

  1. [Info] Example: How can we try to remove the error [Damage, Speed Hack or another]
    By Nikita1482 in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 12
    Last Post: 06-26-2012, 11:41 AM
  2. Who wants to try this?
    By arunforce in forum Entertainment
    Replies: 7
    Last Post: 06-07-2006, 05:38 PM
  3. Ammo/Damage Box Values?
    By wooden_amulet in forum WarRock - International Hacks
    Replies: 4
    Last Post: 06-02-2006, 03:55 AM
  4. Try to hack this game
    By PKDragon in forum General
    Replies: 4
    Last Post: 02-21-2006, 08:46 AM
  5. any way to use wpe for damage editing?
    By zelda803 in forum WarRock - International Hacks
    Replies: 10
    Last Post: 02-09-2006, 03:33 AM