Bully-Board
Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: Mick3Mouse on May 08, 2013, 04:00:07 PM
-
Is there any LUA/mod code that makes that students can hit prefects. ?
-
I suspect them halting their aggression near a prefect isn't controlled through lua.
-
can i do it in the Attitudie file?
-
Nope.
Attitude, FYI, is far more limited than the lua method.
-
:(. but is it any kind of mod or something i can download.
Someone should make a mod that this is posible
-
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.
-
His question is how to make stop from "stopping" the second they get near authority.
-
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.
-
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).
-
Couldn't you upload you pedstats file. I really want it. :)))
-
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.
-
Post your pedstats.dat here and I will change the authority's health to low then if you want the Attitude.dat too.
-
Can you upload your pedstats and attitude file?
-
Mick3, editing pedstats is very easy. If you want, I can teach you how to edit it.
-
Yes teach him!
And teach him how to edit Attitude.dat too!
-
I wonder how the Player Selector mod is going.
-
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.
-
Yes please. xD
-
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.
-
I have already read that tutorial. And i didnt understand it so good. It would be awsome if you could help me.
-
Okay, I will work with SWEGTA on another video to explain it thoroughly.