Jacobob

Looking for a PVE script

8 posts in this topic

Hi all

 

im new to developing so not capable of making a script/addon however i dont suppose anyone has a PVE script that works? by this i mean if I was to shoot a player and it hit him i would die myself? Ive seen this on an exile server so i know its possible... Anyone got ideas ?

 

cheers

 

Jacobob

Share this post


Link to post
Share on other sites
8 hours ago, Jacobob said:

Hi all

 

im new to developing so not capable of making a script/addon however i dont suppose anyone has a PVE script that works? by this i mean if I was to shoot a player and it hit him i would die myself? Ive seen this on an exile server so i know its possible... Anyone got ideas ?

 

cheers

 

Jacobob

Yeah, purchase infiSTAR has the features built in.

Share this post


Link to post
Share on other sites
Advertisement
4 hours ago, Super Jerome said:

Yeah, purchase infiSTAR has the features built in.

Dont suppose you can tell me which infistar file it will be under please?

Share this post


Link to post
Share on other sites
5 hours ago, Jacobob said:

Dont suppose you can tell me which infistar file it will be under please?

If you have infiSTAR it is under the EXILE_AHAT_CONFIG.hpp:

class infiSTAR_handleDamage {
	/*
		This whole handleDamage does not effect admins!
	*/
	enable = "true";

	/*
		PvP_ReflectDamage option should reflect damage from player vs player (the player still takes damage)
	*/
	PvP_ReflectDamage = "false";

	/*
		PvP_BlockDamage option should block damage from player vs player
	*/
	PvP_BlockDamage = "true";

	/*
		PvP_useZones will load PvP_ReflectDamage and PvP_BlockDamage only if people are not within a range of the given xyz coordinates!
		{{X,Y,Z},RADIUS}
	*/
	PvP_useZones = "false";
	zones[] = {
		{{0,0,0},1},
		{{1,1,1},1},
		{{2,2,2},1}
	};

	/*
		block damage completely if the source of the damage is NULL
		(for example if you crash into a bush the source is NULL)
	*/
	BlockNullSource = "true";
};

 

  • Like 1

Share this post


Link to post
Share on other sites
22 hours ago, Super Jerome said:

If you have infiSTAR it is under the EXILE_AHAT_CONFIG.hpp:


class infiSTAR_handleDamage {
	/*
		This whole handleDamage does not effect admins!
	*/
	enable = "true";

	/*
		PvP_ReflectDamage option should reflect damage from player vs player (the player still takes damage)
	*/
	PvP_ReflectDamage = "false";

	/*
		PvP_BlockDamage option should block damage from player vs player
	*/
	PvP_BlockDamage = "true";

	/*
		PvP_useZones will load PvP_ReflectDamage and PvP_BlockDamage only if people are not within a range of the given xyz coordinates!
		{{X,Y,Z},RADIUS}
	*/
	PvP_useZones = "false";
	zones[] = {
		{{0,0,0},1},
		{{1,1,1},1},
		{{2,2,2},1}
	};

	/*
		block damage completely if the source of the damage is NULL
		(for example if you crash into a bush the source is NULL)
	*/
	BlockNullSource = "true";
};

 

Found it and now is working. Thank you for your help :)

  • Like 1

Share this post


Link to post
Share on other sites
On 01/03/2018 at 4:56 PM, Super Jerome said:

If you have infiSTAR it is under the EXILE_AHAT_CONFIG.hpp:


class infiSTAR_handleDamage {
	/*
		This whole handleDamage does not effect admins!
	*/
	enable = "true";

	/*
		PvP_ReflectDamage option should reflect damage from player vs player (the player still takes damage)
	*/
	PvP_ReflectDamage = "false";

	/*
		PvP_BlockDamage option should block damage from player vs player
	*/
	PvP_BlockDamage = "true";

	/*
		PvP_useZones will load PvP_ReflectDamage and PvP_BlockDamage only if people are not within a range of the given xyz coordinates!
		{{X,Y,Z},RADIUS}
	*/
	PvP_useZones = "false";
	zones[] = {
		{{0,0,0},1},
		{{1,1,1},1},
		{{2,2,2},1}
	};

	/*
		block damage completely if the source of the damage is NULL
		(for example if you crash into a bush the source is NULL)
	*/
	BlockNullSource = "true";
};

 

@Super Jerome i have found that and tested and it worked however players can kill admins how to me make it completely PVE?

 

class infiSTAR_handleDamage {
    /*
        This whole handleDamage does not effect admins!
    */
    enable = "true";

    /*
        PvP_ReflectDamage option should reflect damage from player vs player (the player still takes damage)
    */
    PvP_ReflectDamage = "false";

    /*
        PvP_BlockDamage option should block damage from player vs player
    */
    PvP_BlockDamage = "true";

    /*
        PvP_useZones will load PvP_ReflectDamage and PvP_BlockDamage only if people are not within a range of the given xyz coordinates!
        {{X,Y,Z},RADIUS}
    */
    PvP_useZones = "false";
    zones[] = {
        {{0,0,0},1},
        {{1,1,1},1},
        {{2,2,2},1}
    };

    /*
        block damage completely if the source of the damage is NULL
        (for example if you crash into a bush the source is NULL)
    */
    BlockNullSource = "false";
};

Share this post


Link to post
Share on other sites
On 05/03/2018 at 3:45 AM, Super Jerome said:

@Jacobob You can't change the admin thing.  Admins have the ability to know where players are at and to revive themselves. Just work around it.

Thats a pain. No problem mate thank you

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.