AFC~Gagi2~

still no godmode with ryanzombies yet

19 posts in this topic

hey chris!

godmode is still not working in combination with ryanzombies

it works with the npcs of A3XAI but not the zombies... you still get damage from every hit

 

any chance to get this fixed?

Share this post


Link to post
Share on other sites
Advertisement

Hey

simply because ryanzombies is doing

 

setDamage X -- if that's to big you simply die . no matter if you have

player allowDamage false

or add an eventhanlder to handleDamage on your playerobject. You die and that's it.^^

Share this post


Link to post
Share on other sites

generally - yes sure :)
might be best if the zombies surrounding you are local to your client because then we don't need new BE exceptions 

I will take a look at ryanzombies now well once somebody posts me the github repo of the ryanzombies that people run on their servers -- there is so many zombie things around and I've not looked at any of it yet

  • Like 1

Share this post


Link to post
Share on other sites

okay looking into it now :)
you should btw edit that mod a bit as it is using triggers :-/
 

for example:
_trigger setTriggerStatements["this && {vehicle _x isKindOf 'Man'} count thislist > 0", "{if (_x isKindOf 'Man') then {_x setdamage 1; deleteVehicle _x;}; }foreach thislist;", ""];

 

we don't like triggers! :P

Share this post


Link to post
Share on other sites
17 hours ago, infiSTAR said:

Hey

simply because ryanzombies is doing

 

setDamage X -- if that's to big you simply die . no matter if you have

player allowDamage false

or add an eventhanlder to handleDamage on your playerobject. You die and that's it.^^

you get damage lower than 1 too... which the allowdamage should prevent

Share this post


Link to post
Share on other sites

nono it is too different pair of shoes

the "AllowDamage" has nothing to do with damage that is set by "setDamage" as setDamage doesn't cause damage on your like a bullet or falling would do- it just sets the damage value to your object. So you don't get damage or get it "removed" you simply have the damage value changed :)

Share this post


Link to post
Share on other sites

Somebody that has zombies on his server could try if this works as "zombieshield" not sure if it is all classes and if the zombies are not local to your client it will force kick you for deleteVehicle, unless the server admin has changed the deleteVehicle filter :P

Spoiler

ZED_CLASSES = [];
if(!isNil'slowCivilians')then{ZED_CLASSES append slowCivilians;};
if(!isNil'slowSoldiers')then{ZED_CLASSES append slowSoldiers;};
if(!isNil'mediumCivilians')then{ZED_CLASSES append mediumCivilians;};
if(!isNil'mediumSoldiers')then{ZED_CLASSES append mediumSoldiers;};
if(!isNil'fastCivilians')then{ZED_CLASSES append fastCivilians;};
if(!isNil'fastSoldiers')then{ZED_CLASSES append fastSoldiers;};
if(!isNil'boss')then{ZED_CLASSES append boss;};
if(!isNil'spiders')then{ZED_CLASSES append spiders;};
if(!isNil'crawlers')then{ZED_CLASSES append crawlers;};
KILL_ZED_CODE = {
	if(player isEqualTo vehicle player)then
	{
		if(alive player)then
		{
			_position = getPos player;
			{deleteVehicle _x;} forEach (_position nearEntities[ZED_CLASSES,12]);
		};
	};
};
if(!isNil'kill_zed_thread')then{[kill_zed_thread] call ExileClient_system_thread_removeTask;};
kill_zed_thread = [1, {[] call KILL_ZED_CODE}, [], true] call ExileClient_system_thread_addtask;

 

 

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.