Raised This Month: $ Target: $400
 0% 

demoman mines


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wee017
Junior Member
Join Date: Oct 2005
Old 09-16-2004 , 20:04   demoman mines
Reply With Quote #1

I set the:
#define MAX_MINES 1000
for Demolition Man AMX .98
But i still get the default number of 2 max mines, help?
Thanks in advance
wee017 is offline
Chivas2973
Veteran Member
Join Date: Mar 2004
Location: Wisconsin
Old 09-16-2004 , 20:23  
Reply With Quote #2

you have recompile the sma and get a new amx, then put the new amx in the plugins ini
__________________
Chivas2973 is offline
wee017
Junior Member
Join Date: Oct 2005
Old 09-16-2004 , 20:25   unlimited
Reply With Quote #3

also how would i put unlimited number of mines?
wee017 is offline
Chivas2973
Veteran Member
Join Date: Mar 2004
Location: Wisconsin
Old 09-16-2004 , 20:27  
Reply With Quote #4

with that many models, you may get some problems, I think even 1000 is overkill
__________________
Chivas2973 is offline
wee017
Junior Member
Join Date: Oct 2005
Old 09-16-2004 , 20:29   true
Reply With Quote #5

true,
im new at this.. so how would i recompile the .sma?
wee017 is offline
Chivas2973
Veteran Member
Join Date: Mar 2004
Location: Wisconsin
Old 09-16-2004 , 20:37  
Reply With Quote #6

make sure you have all of the components for the compile here
http://forums.alliedmods.net/showthread.php?t=30372
then put the new edited sma in the examples folder, then use the compile batch file, it will open a dos window and take a min but it will recompile all the heros in your examples folder, it will have created a compiled folder which contain all the new amx's for your edited sma's

then take the new amx and put it in the plugins folder, change will take effect on map change
__________________
Chivas2973 is offline
Prowler
Senior Member
Join Date: Nov 2004
Old 09-17-2004 , 00:53  
Reply With Quote #7

i think -1 means infinite, but that may be only applicable to certain cases.
Prowler is offline
imported_Phiber
Senior Member
Join Date: Jul 2004
Location: Sweden
Old 09-17-2004 , 06:23  
Reply With Quote #8

i think over 50 is overkill so this would be insane lol
imported_Phiber is offline
Send a message via MSN to imported_Phiber Send a message via Yahoo to imported_Phiber
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 09-17-2004 , 08:48  
Reply With Quote #9

the define esentially defines the size of an array.... so if you make it huge the plugin will becode huge and then it will slow down the server.

you cannot make it -1, that would be bad.
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
FLASHBANGER14
Senior Member
Join Date: Aug 2004
Location: Aberdeen, SD
Old 09-17-2004 , 22:15  
Reply With Quote #10

ya if the heros coding dont allow that itll kinda screw up the hero ive had that problem before so dont use -1 like jtp says lol
FLASHBANGER14 is offline
Send a message via AIM to FLASHBANGER14 Send a message via MSN to FLASHBANGER14 Send a message via Yahoo to FLASHBANGER14
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 20:00.


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