Bully-Board

Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: Mick3Mouse on May 08, 2013, 04:00:07 PM

Title: How can i make students hit prefects?
Post by: Mick3Mouse on May 08, 2013, 04:00:07 PM
Is there any LUA/mod code that makes that students can hit prefects. ?

Title: Re: How can i make students hit prefects?
Post by: Red Blaster on May 13, 2013, 01:27:46 PM
I suspect them halting their aggression near a prefect isn't controlled through lua.
Title: Re: How can i make students hit prefects?
Post by: Mick3Mouse on May 13, 2013, 01:40:12 PM
can i do it in the Attitudie file?
Title: Re: How can i make students hit prefects?
Post by: Red Blaster on May 13, 2013, 01:46:02 PM
Nope.

Attitude, FYI, is far more limited than the lua method.
Title: Re: How can i make students hit prefects?
Post by: Mick3Mouse on May 14, 2013, 04:04:46 AM
:(. but is it any kind of mod or something i can download.

Someone should make a mod that this is posible
Title: Re: How can i make students hit prefects?
Post by: MadmaN on May 23, 2013, 03:27:29 AM
The best way to do this is to use:

PedSetTypeToTypeAttitude(faction id, faction id, attitude) which each of those is a number.

I don't have a complete list atm of what does what for each number.....so what I suggest is experimenting and see what happens.

attitude is 1 to 5 if I remember correctly. I could be wrong since I haven't looked at this for a while so I may have forgotten something.
Title: Re: How can i make students hit prefects?
Post by: Red Blaster on May 23, 2013, 08:54:50 AM
His question is how to make stop from "stopping" the second they get near authority.
Title: Re: How can i make students hit prefects?
Post by: MadmaN on May 24, 2013, 07:28:45 PM
Aye I know......heh

I have several times gotten students to attack authority figures without having any issues with them stopping the attack at the last minute or running away after attacking.

The code I posted above is the first step to achieve this....you also have to edit pedstats to make sure the peds in question you want to be able to attack authority figures will have absolutely no fear....and have them set to 100% for crimminality and other things and that usually works pretty well.

You also can enable the rumble mode too but hard set peds to only attack authority figures which happens on sight.....that also works but I don't know what amount of control you want over this.
Title: Re: How can i make students hit prefects?
Post by: Phap on May 25, 2013, 10:33:24 PM
The Attitude.dat works well for me. I edited pedstats and put all prefects and polices' health low and vision range low so they can die easily and won;t chase after you unless your trouble meter is red. Attitude.dat, I edited it so everyone will hate the prefects and attack them on sight (abhor).
Title: Re: How can i make students hit prefects?
Post by: Mick3Mouse on May 27, 2013, 05:52:24 AM
Couldn't you upload you pedstats file. I really want it.   :)))
Title: Re: How can i make students hit prefects?
Post by: Red Blaster on May 27, 2013, 06:06:40 AM
The Attitude.dat works well for me. I edited pedstats and put all prefects and polices' health low and vision range low so they can die easily and won;t chase after you unless your trouble meter is red. Attitude.dat, I edited it so everyone will hate the prefects and attack them on sight (abhor).

It can be done, yes, but it gets overridden at some point.
Title: Re: How can i make students hit prefects?
Post by: Phap on May 27, 2013, 11:15:08 AM
Post your pedstats.dat here and I will change the authority's health to low then if you want the Attitude.dat too.
Title: Re: How can i make students hit prefects?
Post by: Mick3Mouse on May 27, 2013, 12:31:50 PM
Can you upload your pedstats and attitude file?
Title: Re: How can i make students hit prefects?
Post by: Red Blaster on May 27, 2013, 03:33:10 PM
Mick3, editing pedstats is very easy. If you want, I can teach you how to edit it.
Title: Re: How can i make students hit prefects?
Post by: Phap on May 27, 2013, 06:17:40 PM
Yes teach him!
And teach him how to edit Attitude.dat too!
Title: Re: How can i make students hit prefects?
Post by: Phap on May 27, 2013, 06:18:04 PM
I wonder how the Player Selector mod is going.
Title: Re: How can i make students hit prefects?
Post by: Red Blaster on May 27, 2013, 10:03:54 PM
Not the place to be asking that.

Anyways, it's going fine, and a demo version of the mod should be released soon, though how soon is "soon" I can't say.
Title: Re: How can i make students hit prefects?
Post by: Mick3Mouse on May 28, 2013, 05:39:53 AM
Yes please. xD
Title: Re: How can i make students hit prefects?
Post by: Red Blaster on May 28, 2013, 12:52:00 PM
Well, first read this: http://www.bully-board.com/index.php?topic=14626.0 (http://www.bully-board.com/index.php?topic=14626.0)

If you can't understand it, then I'll go through it step by step.
Title: Re: How can i make students hit prefects?
Post by: Mick3Mouse on May 28, 2013, 05:18:53 PM
I have already read that tutorial. And i didnt understand it so good. It would be awsome if you could help me.
Title: Re: How can i make students hit prefects?
Post by: Red Blaster on May 28, 2013, 06:01:25 PM
Okay, I will work with SWEGTA on another video to explain it thoroughly.