I thought about making the entities allies instead of enemies as well, but I think the map would need to be recompiled to actually change it without entmod. If the map was recompiled, people would need to have the recompiled version to play or else they wouldn't be able to join the server running that version (unless Sven Coop decides to do this themselves with a future release, which would be great).. EntMod is probably our best bet for a temporary fix. I still haven't quite figured out how it works, and am not so sure it will even work to manipulate the values like how we want it to. There are other ways to make a custom version of the maps, but it probably isn't the best idea just to do it for SCXPM. The SCXPM code could be changed, or manipulated for the maps with probems in a separate plugin"
Something like http://www.amxmodx.org/api/amxmodx/has_map_ent_class
my idea for an amxx plugin specialized for the map (to be enabled in /addons/amxmodx/configs/maps/mapname.ini)
lol I just came up with that and it is just an idea of how it could be .. I could probably make a plugin that actually subtracts xp whenever they shoot the entity LOL!
There is probably some engine code that would need to go into the plugin once it is identified as a victim of the person who XP would be given to...
another idea: I guess there is a way to just remove an entity altogether.. http://www.amxmodx.org/api/engine/remove_entity
http://www.amxmodx.org/api/engine/__functions reference to engine functions for entity handling
Another way that this might be done is through using HamSandwich (?) This method is very interesting to me http://www.amxmodx.org/api/ham_const Look for the Monster portion of the code. I think the monster code in Sven Coop can be compatible with HamSandwich
And yet another potential method for solving this type of problem is to give the entity a "God Mode" status so whenever anyone attacks it there is no damage given to the entity.
Something like http://www.amxmodx.org/api/amxmodx/has_map_ent_class
my idea for an amxx plugin specialized for the map (to be enabled in /addons/amxmodx/configs/maps/mapname.ini)
Code:
if (has_map_ent_class == "monster_scientist")
{
if victim == "monster_scientist" // ex. walter on toonrun3
{ return PLUGIN_HANDLED } // don't give xp
else
{ givexp(id)} // give xp to the person who shot the
}
lol I just came up with that and it is just an idea of how it could be .. I could probably make a plugin that actually subtracts xp whenever they shoot the entity LOL!
There is probably some engine code that would need to go into the plugin once it is identified as a victim of the person who XP would be given to...
another idea: I guess there is a way to just remove an entity altogether.. http://www.amxmodx.org/api/engine/remove_entity
http://www.amxmodx.org/api/engine/__functions reference to engine functions for entity handling
Another way that this might be done is through using HamSandwich (?) This method is very interesting to me http://www.amxmodx.org/api/ham_const Look for the Monster portion of the code. I think the monster code in Sven Coop can be compatible with HamSandwich
And yet another potential method for solving this type of problem is to give the entity a "God Mode" status so whenever anyone attacks it there is no damage given to the entity.