This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

CSDM 2.1.3d KWo beta


Post New Thread Reply   
 
Thread Tools Display Modes
Momento
Junior Member
Join Date: Jun 2011
Old 03-22-2012 , 13:05   Re: CSDM 2.1.2k beta
Reply With Quote #401

I have a little problem with healkit i try to make 250 max health but after 250 it drops to 0

Here is what i changed

Code:
stock bool:giveItemMedkit(ptd, full_ack = true)
{
	static Float:fValue, Float:fMaxHealth

	pev(ptd, pev_max_health, fMaxHealth)
	
	fValue = float(get_user_health(ptd))
	if(fValue >= 250)
		return false
	 
	fValue += g_medkit
	if(fValue > 250)
		fValue = 250

	set_pev(ptd, pev_health, fValue)

	if (!is_user_bot(ptd))
		sendItemPickupMsg(ptd, "item_healthkit")

	if(full_ack) {
		emit_sound(ptd, CHAN_ITEM, "items/smallmedkit1.wav", VOL_NORM, ATTN_NORM, 0, PITCH_NORM)
	}

	return true
}
is there anyone can help me?
Momento is offline
SyluxLockjaw100
Senior Member
Join Date: Jul 2010
Location: Novaya Russia
Old 07-19-2012 , 04:34   Re: CSDM 2.1.2k beta
Reply With Quote #402

Quote:
Originally Posted by Momento View Post
I have a little problem with healkit i try to make 250 max health but after 250 it drops to 0

Here is what i changed

Code:
stock bool:giveItemMedkit(ptd, full_ack = true)
{
    static Float:fValue, Float:fMaxHealth

    pev(ptd, pev_max_health, fMaxHealth)
    
    fValue = float(get_user_health(ptd))
    if(fValue >= 250)
        return false
     
    fValue += g_medkit
    if(fValue > 250)
        fValue = 250

    set_pev(ptd, pev_health, fValue)

    if (!is_user_bot(ptd))
        sendItemPickupMsg(ptd, "item_healthkit")

    if(full_ack) {
        emit_sound(ptd, CHAN_ITEM, "items/smallmedkit1.wav", VOL_NORM, ATTN_NORM, 0, PITCH_NORM)
    }

    return true
}
is there anyone can help me?
The game engine has a limit of 255 HUD health,you should use a plugin that shows a health HUD message.
SyluxLockjaw100 is offline
extream87
Senior Member
Join Date: Aug 2011
Old 07-19-2012 , 13:57   Re: CSDM 2.1.2k beta
Reply With Quote #403

New valve updates cause crash in the sv when ffa is enabled.
extream87 is offline
RuRuRu612754
Senior Member
Join Date: Sep 2011
Old 08-07-2012 , 11:35   Re: CSDM 2.1.2k beta
Reply With Quote #404

hello

radar_disable = 1
radar will disappear if you use this command.
however, the radar itself will no longer be displayed when you use this command.
how to display the radar, not to appear in the enemy Do you have radar?

best regards,

Last edited by RuRuRu612754; 08-07-2012 at 12:22.
RuRuRu612754 is offline
mockefella
New Member
Join Date: Jul 2012
Old 08-07-2012 , 20:21   Re: CSDM 2.1.2k beta
Reply With Quote #405

HEY!

Just downloaded this great plugin, how come when you throw a grenade, the "fire in the hole" message and sound is gone in FFA mode???

Any way I can turn it back on for FFA???

thanks!

Last edited by mockefella; 08-07-2012 at 20:25.
mockefella is offline
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 03-30-2013 , 13:38   Re: CSDM 2.1.3b KWo unnoficial
Reply With Quote #406

I've just updated the first post. New version is there.
2.1.3b is an update for feb 2013 steam update (thanks to arkshine). Optimized the code for finding dropped weapons they need to be removed by CSDM - thanks again to arkshine to figure it out. It requires AMX X 1.8.2.
Let me know how is this working. I'm expecting a better performance with this version than with previous one. If somebody can check that performance difference (if it really exists) - please use 2.1.2k plugins with this module (2.1.3 KWo unnoficial). Then use 2.1.3b complete package. The best would be test i.e. with 24 or more bots on the same map on the same server.
__________________
The Fullpack of podbot mm V3B22 - 24 apr 2012!!! is available here.
The All-In-One 3.2a package - 02 jun 2013 (AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available here.
The newest Beta V3B23a (rel. 28 august 2018!!!) is available here.
KWo is offline
jonnzus
Epic Member
Join Date: Oct 2010
Location: Finland
Old 03-31-2013 , 13:07   Re: CSDM 2.1.3b KWo beta
Reply With Quote #407

Everything seems fine, server is running and no crashes. Hlds on running in debian server.
__________________
Quote:
367. Everyone's copyright will be broken. No exceptions.
jonnzus is offline
TRUE RED
Senior Member
Join Date: Mar 2012
Location: Ukraine
Old 03-31-2013 , 21:38   Re: CSDM 2.1.3b KWo beta
Reply With Quote #408

Yep, no errors finally. Thank you.
TRUE RED is offline
Send a message via ICQ to TRUE RED Send a message via Skype™ to TRUE RED
jonnzus
Epic Member
Join Date: Oct 2010
Location: Finland
Old 04-05-2013 , 18:11   Re: CSDM 2.1.3b KWo beta
Reply With Quote #409

Players can't hear shooting sounds with this mod.
__________________
Quote:
367. Everyone's copyright will be broken. No exceptions.
jonnzus is offline
1337
Senior Member
Join Date: Mar 2009
Old 05-18-2013 , 13:02   Re: CSDM 2.1.3b KWo beta
Reply With Quote #410

btw, whats difference betwen metamod 1.20 and 1.21 (not Metamod-P) ?
1337 is offline
Reply



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 17:18.


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