Raised This Month: $12 Target: $400
 3% 

Sven Coop - Altering the damage


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
rauros
Member
Join Date: Dec 2007
Old 01-02-2022 , 09:01   Sven Coop - Altering the damage
Reply With Quote #1

Hi everyone,

I'm trying to alter how much damage players are doing/receiving either by increasing or decreasing the amount of it.

The first thing I tried to (which I don't know whether this would work) is to use HamSandwich to listen to TakeDamage. However, this doesn't work using 1.82 in the current version of sven coop, where I'm getting:

Code:
[HAMSANDWICH] Error: pev and base not set for section "svencoop windows", cannot register natives.
Maybe this is a well known problem but I couldn't find anything (anything up to date).

Is there a way to achieve what I'm trying?

Thank you.

Last edited by rauros; 01-02-2022 at 09:01.
rauros is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 01-03-2022 , 03:07   Re: Sven Coop - Altering the damage
Reply With Quote #2

Append the missing hamdata.ini information from dev version of Amxx. e.g.: same issue with other mod.
__________________
DJEarthQuake is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-03-2022 , 22:38   Re: Sven Coop - Altering the damage
Reply With Quote #3

It looks like there was data set for SvenCoop (Windows) back in 2007 so this error that you're seeing shouldn't occur if your files are properly installed and hamdata.ini unmodified. You might want to properly re-install AMX Mod X.

However, you may want to simply upgrade to 1.9.0. This was required for Day of Defeat when it was updated in the last couple years so maybe it would be wise to do this. I found one merge commit that mentions adding a bunch of SvenCoop functions with some limited testing for SvenCoop 5.17.
__________________
fysiks is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:43.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode