proximity mines

Started by 1cy, December 13, 2005, 05:58:10 PM

Previous topic - Next topic

1cy

hi i played on a server a couple of weeks ago and they had these mines, now i searched the forums and it said it should be on the downloads page...either im blind and cant find it or its in another file that includes it or is it really not there? and if its not there can some tell me where to get it, cuz i read on one of the forum posts that you guys made a mistake in the code, but i dont mind running it cuz that server i played in seemed to work fine so plz re post it or send it to me via e-mail =)  

   

   thanks!

Elgan {sfx}

They are now a part of admin pro.

   

   You can happily run them only. [topic]2341[/topic]

1cy

wow you guys are quick, thats really cool

   love the support great mods and support

   

   ok so its in the admin pro, umm is there anyway to separate it from that file? cuz im afraid it might interfer with my MAM-Mods for CI like can i extract it from the pk3 somehow and put it a separate pk3, cuz i have some knowledge in scripting jus not to a very big extent =S

   

   

   but thanks again for the quick reply

Elgan {sfx}

errm,

   

   The only way AP conflicts with MAM is the ambient.scr, combine them and they will run together. however you may still wish to run these seperate.

   

   You will need to go into ap , get the mines script you want.

   

   global/ac/mines

   

   Then go through the script and find each place where it has a  waitexec::getcmd "NAME", then replace that with the setting is is getting from the settings file "mines.txt"

   

   then, you will have to extract the scripts on their own. You will need, the mines folder of course and each inside it. in the mines.scr set which mines you want to use, this is usualy recieved from the mines.txt

   

   Now that they will work without ap, YOu need to exec them without AP. You need to exec them each time someone spawns. You need exec use_hold or usehold check or something like that. you will see it in the mines folder.hehe. You can either edit that script to never stop looping whena player is spec/died. That way u will only have to exec the script once for each player. Else you will have to exec it each time for each player when they spawn.