Bully-Board

Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: S O Z on November 09, 2013, 02:51:37 PM

Title: how do i change the students respect ?
Post by: S O Z on November 09, 2013, 02:51:37 PM
i completed the game and i hate it when nobody tries to fight with me ..

is there a mod to change their respect for me ?
or can someone teach me how to do it ?
and i'm sorry i know i'm a total loser at modding ...
Title: Re: how do i change the students respect ?
Post by: c00ld0c26 on November 09, 2013, 03:28:46 PM
Use LUA.
PedSetTypeToTypeAttitude(gPlayer,Faction,0)
Title: Re: how do i change the students respect ?
Post by: S O Z on November 10, 2013, 05:51:55 AM
Use LUA.
PedSetTypeToTypeAttitude(gPlayer,Faction,0)
thanks for trying to help .. but i don't have a clue on how to use that ..
you mind explaining a little bit more ?
because i don't know a thing about modding...
Title: Re: how do i change the students respect ?
Post by: SWEGTA on November 10, 2013, 06:20:48 AM
Don't call yourself a loser just because you don't mod.
There are a few different ways of doing this.

My favourite method is Lua coding. Lua is a coding language that is used in Bully, mainly when it comes to missions.
You could setup a mission that makes all cliques either hate or dislike you.

Though since you're new, I'd suggest checking out the tutorials in the Scripts section.
Best of luck!
Title: Re: how do i change the students respect ?
Post by: S O Z on November 10, 2013, 06:54:04 AM
Don't call yourself a loser just because you don't mod.
There are a few different ways of doing this.

My favourite method is Lua coding. Lua is a coding language that is used in Bully, mainly when it comes to missions.
You could setup a mission that makes all cliques either hate or dislike you.

Though since you're new, I'd suggest checking out the tutorials in the Scripts section.
Best of luck!

what if i want to change their respect in freeroam ?
i tried to figure some stuff out
i wanted everyone to hate jimmy and the townies ..
so i changed the code of the Attitude file to this V

Code: [Select]
# Attitudes of each faction to each other faction, students and the player
#
# Attitudes: Adore, Dig, Dispassionate, Averse, Abhor (c. ScriptEnums.h)
# Towards: Prefect, Nerd, Jock, Dropout, Greaser, Preppy, Student, Cop, Teacher, Townsperson, ShopKeep, Bully, Player
#
# Prefect's
Adore, Averse, Averse, Abhor, Averse, Averse, Dispassionate, Dispassionate, Adore, Abhor, Dispassionate, Dispassionate, Abhor
#
# Nerd's
Dispassionate, Adore, Averse, Dispassionate, Dispassionate, Dispassionate, Dispassionate, Dispassionate, Dispassionate, Abhor, Dispassionate, Averse, Abhor
#
# Jock's
Dispassionate, Averse, Adore, Averse, Dispassionate, Dispassionate, Dispassionate, Dispassionate, Dispassionate, Abhor, Dispassionate, Dispassionate, Abhor
#
# Dropout's
Dispassionate, Averse, Averse, Adore, Averse, Averse, Dispassionate, Dispassionate, Dispassionate, Abhor, Dispassionate, Dispassionate, Abhor
#
# Greaser's
Dispassionate, Dispassionate, Dispassionate, Averse, Adore, Averse, Averse, Dispassionate, Dispassionate, Abhor, Dispassionate, Dispassionate, Abhor
#
# Preppy's
Dispassionate, Dispassionate, Dispassionate, Averse, Averse, Adore, Dispassionate, Dispassionate, Dispassionate, Abhor, Dispassionate, Dispassionate, Abhor
#
# Student's
Dispassionate, Dispassionate, Dispassionate, Averse, Dispassionate, Dispassionate, Dispassionate, Dispassionate, Dispassionate, Abhor, Dispassionate, Dispassionate, Abhor
#
# Cop's
Adore, Dispassionate, Dispassionate, Dispassionate, Dispassionate, Dispassionate, Dispassionate, Adore, Dispassionate, Abhor, Dispassionate, Dispassionate, Abhor
#
# Teacher's
Adore, Dispassionate, Dispassionate, Abhor, Dispassionate, Dispassionate, Dispassionate, Dispassionate, Adore, Abhor, Dispassionate, Dispassionate, Abhor
#
# Townsperson's
Dispassionate, Dispassionate, Dispassionate, Dispassionate, Dispassionate, Dispassionate, Dispassionate, Dispassionate, Dispassionate, Adore, Dispassionate, Dispassionate, Adore
#
# ShopKeeper-- really vagrants
Dispassionate, Dispassionate, Dispassionate, Dispassionate, Dispassionate, Dispassionate, Dispassionate, Dispassionate, Dispassionate, Dispassionate, Dispassionate, Dispassionate, Dispassionate
#
# Bully's
Dispassionate, Averse, Dispassionate, Averse, Dispassionate, Dispassionate, Averse, Dispassionate, Dispassionate, Abhor, Dispassionate, Adore, Abhor


but that didn't work ... everyone still adores me ..
Title: Re: how do i change the students respect ?
Post by: c00ld0c26 on November 10, 2013, 07:04:34 AM
the game's script that controls the attitude overrides it when u pass certain missions.
The only way is to use LUA man.
Title: Re: how do i change the students respect ?
Post by: S O Z on November 10, 2013, 07:17:27 AM
the game's script that controls the attitude overrides it when u pass certain missions.
The only way is to use LUA man.

i'm sorry for trying very hard to do what i want ...
but i finish all the missions and i don't think i will have a problem with that ...
can you please tell me whats the problem and why the code of the attitude has no effects on the game bots ?
Title: Re: how do i change the students respect ?
Post by: c00ld0c26 on November 10, 2013, 07:22:39 AM
The attitude file has no effect on the game because its overrided by the game script's when u pass missions.
LUA is the language Bully is scripted, and a script is a file which has all the LUA codes for a certain mission or anything else.
Go to the script modding section to my tutorial to learn all u need about LUA and make your own mods (and make people hate u).
Title: Re: how do i change the students respect ?
Post by: deadpoolXYZ on November 10, 2013, 02:34:28 PM
Madman said that the attitude file was overridden only when you beat the game, not when you beat some missions.

There is another way than using LUA, but I still recommend using it since it works for other usefull things too. Just load a save game that isn't in chapter 6 and the attitude file will work.
Title: Re: how do i change the students respect ?
Post by: GaryHarrington on November 10, 2013, 07:18:58 PM
Madman said that the attitude file was overridden only when you beat the game, not when you beat some missions.

There is another way than using LUA, but I still recommend using it since it works for other usefull things too. Just load a save game that isn't in chapter 6 and the attitude file will work.

so we must restart the game?
Title: Re: how do i change the students respect ?
Post by: c00ld0c26 on November 11, 2013, 08:13:46 AM
You can reset the game and yeah it will work.
If you dont want to reset the game then try using LUA.
if you decide to do LUA but u still dont understand make sure to add me on xfire or skype and I'll help.