| closedReinforcements |
| Started by Kiel |17.SS| on 02-18-2007, 07:03 AM |
Threads: 12
Joined: Jul 2006
Can someone make a plugin where you could change the time or turn off reinforcements? Thanks.
Threads: 12
Joined: Jul 2006
Can anyone help me out?
Threads: 103
Joined: May 2005
i would suggest to have something like this added to Wilson's DoD MapSettings plugin (as the respawn times are also found in the dod_detect or whatever entity)
Threads: 37
Joined: Mar 2007
is it even possible? ive been looking at a few pugins made for ALL MODS to change the reinforcement time and i had Hawk and SweatyBanana (my ex moderator) from amxmodx community try and come up with one and none could. And bail will never re-code his csdm to dod ive talked about it to him and was willling to pay him but he just said itd take months
Threads: 103
Joined: May 2005
well ive changed my respawn times on some maps by editing the keys in that entity thru bspedit, so im sure amxx could do it too
Threads: 37
Joined: Mar 2007
how did u manage that if you don't mind sharing? Id love to be able to respawn ppl as soon as 1 sec sort of like death match.
Threads: 103
Joined: May 2005
well in the info_doddetect entity.. theres two keys:n
- n
- detect_allies_respawnfactorn
- detect_axis_respawnfactor
Threads: 37
Joined: Mar 2007
works just beautifully thanks man. rnrnFYI: for those who are gonna try to or do this...u cant go lower than 0.3 and the only lowest number of sec a player respawn can go to is 3. if u put 0.2 or even 0.1 wont work still will give 3 secs. Dunno why but thats how it is. Same for 0.0
Threads: 12
Joined: Jul 2006
Where is the info_doddetect entity? I would like to try this out too.
Threads: 37
Joined: Mar 2007
inside the map. dl a program called BSPEdit then open dod_avalanche.bsp (the map itself) and search for that entity and change the numbers, save, and upload and rewrite current one
Threads: 12
Joined: Jul 2006
So you'd have to do it for all the maps?
Threads: 37
Joined: Mar 2007
yea unless one of these nice coders can write a plugin like that and i think it might have been done already not sure too lazy to search
Threads: 24
Joined: Oct 2006
This works if you want to set all maps and both teams to the fastest possible respawn. But like SoCal says, the fastest it gets is 3 seconds. I'm not sure why either. I've written another version of this plugin that allows you to set the respawn factor on a 'per-map' / 'per-team' basis and adds an admin command. If you're interested in that one, let me know.rnrnPlease note that this requires the 'fakemeta_util' include.rnrn
// DOD Fast Respawn - AmxmodX plugin. Written by Vet(3TT3V) - www.rip2001.comrnrn#include <amxmodx>rn#include <fakemeta>rn#include <fakemeta_util>rnrn#define DOD_CLASSNAME "info_doddetect"rn#define ALLIES_KEY "detect_allies_respawnfactor"rn#define AXIS_KEY "detect_axis_respawnfactor"rn#define RS_FACTOR "0.1"rnrnpublic plugin_init() {rn register_plugin("DOD Fast Respawn", "0.91", "Vet(3TT3V) - www.rip2001.com")rn new entrn new keyname[32] = ALLIES_KEYrn new keyvalue[5] = RS_FACTORrnrn ent = fm_find_ent_by_class(0, DOD_CLASSNAME)rn if (!ent) {rn ent = fm_create_entity(DOD_CLASSNAME)rn fm_DispatchSpawn(ent)rn }rnrn fm_set_kvd(ent, keyname, keyvalue)rn keyname = AXIS_KEYrn fm_set_kvd(ent, keyname, keyvalue)rnrn log_message("[AMXX] Fast Respawn enabled")rn return PLUGIN_HANDLEDrn}Threads: 6
Joined: Aug 2005
inside the map. dl a program called BSPEdit then open dod_avalanche.bsp (the map itself) and search for that entity and change the numbers, save, and upload and rewrite current onernrnWhile i did find this in many stock and some custom maps , dod_avalanche doesn't have that text, i have searched for it.rnIs there any other way to do this. because this rocks. I have set all of my maps 160 of them to 0.5 and theres almost no waiting at all.rnrnall of these custom edits i have been doing is really making my server popular, Were are now ranked 9th in the USA.
Threads: 27
Joined: Apr 2006
You can try copying the ones from other maps and put it into avalanche... Dunno if that will work though...
Threads: 103
Joined: May 2005
if the keys are in the entity.. just add them..
Threads: 6
Joined: Aug 2005
if the keys are in the entity.. just add them..rnrnThats just it, that entity is not there to adjust the key values.rnNot sure why the entity isn't there.
Threads: 6
Joined: Aug 2005
This works if you want to set all maps and both teams to the fastest possible respawn. But like SoCal says, the fastest it gets is 3 seconds. I'm not sure why either. I've written another version of this plugin that allows you to set the respawn factor on a 'per-map' / 'per-team' basis and adds an admin command. If you're interested in that one, let me know.rnrnPlease note that this requires the 'fakemeta_util' include.rnrnrnrnWere would i find the "fakemeta_util" include ?// DOD Fast Respawn - AmxmodX plugin. Written by Vet(3TT3V) - www.rip2001.comrnrn#include <amxmodx>rn#include <fakemeta>rn#include <fakemeta_util>rnrn#define DOD_CLASSNAME "info_doddetect"rn#define ALLIES_KEY "detect_allies_respawnfactor"rn#define AXIS_KEY "detect_axis_respawnfactor"rn#define RS_FACTOR "0.1"rnrnpublic plugin_init() {rn register_plugin("DOD Fast Respawn", "0.91", "Vet(3TT3V) - www.rip2001.com")rn new entrn new keyname[32] = ALLIES_KEYrn new keyvalue[5] = RS_FACTORrnrn ent = fm_find_ent_by_class(0, DOD_CLASSNAME)rn if (!ent) {rn ent = fm_create_entity(DOD_CLASSNAME)rn fm_DispatchSpawn(ent)rn }rnrn fm_set_kvd(ent, keyname, keyvalue)rn keyname = AXIS_KEYrn fm_set_kvd(ent, keyname, keyvalue)rnrn log_message("[AMXX] Fast Respawn enabled")rn return PLUGIN_HANDLEDrn}
Threads: 57
Joined: Oct 2005
Threads: 103
Joined: May 2005
Thats just it, that entity is not there to adjust the key values.nNot sure why the entity isn't there.nnnwell.. adding the entity should work fine too..
Threads: 24
Joined: Oct 2006
Thats just it, that entity is not there to adjust the key values.rnNot sure why the entity isn't there.rnThe entity isn't REQUIRED. The map will simply use default values if its omitted. Just add the entity and the desired key/values to your ripent file if you decide to go that route. Check THIS SITE for more info on default values.
Threads: 6
Joined: Aug 2005
The entity isn't REQUIRED. The map will simply use default values if its omitted. Just add the entity and the desired key/values to your ripent file if you decide to go that route. Check THIS SITE for more info on default values.rnrnfunny i was just on that page last night, but what i didn't know is what you have said here, that i can just add that entity to avalanche.rnSo if i just add the following it should work.rn{ rn"origin" "16 224 384" rn"detect_wind_velocity_y" "0.0" rn"detect_wind_velocity_x" "0.0" rn"detect_axis_respawnfactor" "0.5" rn"detect_allies_respawnfactor" "0.5" rn"detect_points_timerexpired" "5" rn"detect_points_allieseliminated" "5" rn"detect_points_axiseliminated" "5" rn"detect_axis_infinite" "1" rn"detect_allies_infinite" "1" rn"classname" "info_doddetect" rn}rnrnor do i just omit everything that i dont want to change and add the things i do.rncan i just keep the origin the way it is or do i have to find the actual x,y,z for it.rnrnI thank you for the clarification Vet. :)rnrnrn[EDIT] Ok here is what i added and it seems to work very well so far.rnI shortend the axis respawn time to 0.8 and the allies to 0.3 because i feel the axis have an advantage on ava.rnrn{ rn"origin" "82.11938 305.6021 357.5038" rn"detect_axis_respawnfactor" "0.8" rn"detect_allies_respawnfactor" "0.3" rn"classname" "info_doddetect" rn}
Threads: 24
Joined: Oct 2006
Right, just add the keys you want to change. The others will default. The 'origin' values don't matter much since the entity will be invisible. So they don't need to be THAT exact. Just pick a point up in the air somewhere and round it off.

