Raised This Month: $ Target: $400
 0% 

csdm.cfg question


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sytremelaker
Senior Member
Join Date: Jun 2006
Location: Staples Center, Los Ange
Old 03-09-2007 , 04:00   csdm.cfg question
Reply With Quote #1

I know that if I don't want endless rounds I would have to put the map objectives back into the server.

There is also a cvar that allows me to take out the bomb, making rounds that end but not because of a planted/defused bomb.

But how about the hostages in CS_ maps? I want to have a round end but is there a way to take out the hostages too?
__________________
@ PC Shop Gaming
LetShannonDunk.com - 2010 All-Star Dunk Contest hopeful!
sytremelaker is offline
Send a message via AIM to sytremelaker
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 03-09-2007 , 09:47   Re: csdm.cfg question
Reply With Quote #2

Quote:
Originally Posted by csdm.cfg
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;You must be running the Misc plugin for this section
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[misc]
;Map objectives are removed by their flags.
; a - as_ maps
; b - buyzones are removed
; c - cs_ maps
; d - de_ maps
remove_objectives = abcd
No way to do it from csdm.cfg right now. You can just find in csdm_misc.sma the function DoMapStrips and remove (or comment out) the lines for removing func_hostage_rescue and info_hostage_rescue
Code:
public DoMapStrips()
{
	if (g_MapStripFlags & MAPSTRIP_BOMB)
	{
		RemoveEntityAll("func_bomb_target")
		RemoveEntityAll("info_bomb_target")
	}
	if (g_MapStripFlags & MAPSTRIP_VIP)
	{
		RemoveEntityAll("func_vip_safetyzone")
		RemoveEntityAll("info_vip_start")
	}
	if (g_MapStripFlags & MAPSTRIP_HOSTAGE)    // this line
	{                                              // this line
		RemoveEntityAll("func_hostage_rescue") // this line
		RemoveEntityAll("info_hostage_rescue")  // and this line
	}                                              // this line
	if (g_MapStripFlags & MAPSTRIP_BUY)
	{
		RemoveEntityAll("func_buyzone")
	}
}
This function contains all entities You may need to be removed or not.
After changing the code You nee to recompile the plugin and copy compiled vesrion to amxmodx\plugins folder.
__________________
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.

Last edited by KWo; 03-09-2007 at 09:51.
KWo is offline
sytremelaker
Senior Member
Join Date: Jun 2006
Location: Staples Center, Los Ange
Old 03-09-2007 , 09:55   Re: csdm.cfg question
Reply With Quote #3

So, if i remove that code and just recompile it, it should remove the hostages?
__________________
@ PC Shop Gaming
LetShannonDunk.com - 2010 All-Star Dunk Contest hopeful!
sytremelaker is offline
Send a message via AIM to sytremelaker
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 03-10-2007 , 13:16   Re: csdm.cfg question
Reply With Quote #4

Yes - because the hostages are removed somewhere else in the code.
__________________
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
praykiller
New Member
Join Date: Apr 2010
Old 04-02-2010 , 02:43   Re: csdm.cfg question
Reply With Quote #5

those who r unable to get weapons menu
must have problem in csdm.cfg.
even I 2 hai same problem
praykiller 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 03:34.


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