News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..


Author Topic: Student Faction Change  (Read 13012 times)

0 Members and 1 Guest are viewing this topic.

Offline Ky

  • Full Member
  • ***
  • Posts: 329
  • Gender: Male
  • <3
    • View Profile
Re: Student Faction Change
« Reply #15 on: December 05, 2014, 04:28:55 AM »
I recommend watching the videos of SWEGTA, they helped me understand a little LUA MOD .

Offline Ky

  • Full Member
  • ***
  • Posts: 329
  • Gender: Male
  • <3
    • View Profile
Re: Student Faction Change
« Reply #16 on: December 05, 2014, 04:31:21 AM »
Yes, also can not forget the tutorial c00ld0c26 and DaBoss ..
 :a-cheer:

Offline Gerry Vengeance

  • RSK the First
  • Full Member
  • ***
  • Posts: 107
  • Gender: Male
  • A Place for Hope and No Pain
    • View Profile
Re: Student Faction Change
« Reply #17 on: December 05, 2014, 02:29:48 PM »
9/10 of these replies are Out of Topic...

deadpoolXYZ

  • Guest
Re: Student Faction Change
« Reply #18 on: December 05, 2014, 03:02:23 PM »
You have to edit Pedpop.dat (\Rockstar Games\Bully Scholarship Edition\Config\dat\Pedpop.dat)
The default configuration only allow students, bullies and nerds to spawn in the boys dorm. If you want ivan (and the jocks) to spawn in the dorm just increase the red number to 1, 2 or anything else than 0:

Boys_Dorm
5,   0, 2, 0, 0, 0, 0, 2, 0, 0, 0, 0, 1,
1,   0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0,
4,    0, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 1,
1,    0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0,

The first numbers (5, 1, 4, 1) are the total, so if you increase the jocks population, you should increase the total population too (or your game will crash).

This method is very old but still efective to this day.

Offline Gerry Vengeance

  • RSK the First
  • Full Member
  • ***
  • Posts: 107
  • Gender: Male
  • A Place for Hope and No Pain
    • View Profile
Re: Student Faction Change
« Reply #19 on: December 05, 2014, 07:00:57 PM »
You have to edit Pedpop.dat (\Rockstar Games\Bully Scholarship Edition\Config\dat\Pedpop.dat)
The default configuration only allow students, bullies and nerds to spawn in the boys dorm. If you want ivan (and the jocks) to spawn in the dorm just increase the red number to 1, 2 or anything else than 0:

Boys_Dorm
5,   0, 2, 0, 0, 0, 0, 2, 0, 0, 0, 0, 1,
1,   0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0,
4,    0, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 1,
1,    0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0,

The first numbers (5, 1, 4, 1) are the total, so if you increase the jocks population, you should increase the total population too (or your game will crash).

This method is very old but still efective to this day.

thanks for the help... by the way what I mean is.. Ivan is a student but his faction is jock, I just wanted Ivan to spawn in the boys dorm not the other jock.. is that possible?

Offline Ky

  • Full Member
  • ***
  • Posts: 329
  • Gender: Male
  • <3
    • View Profile
Re: Student Faction Change
« Reply #20 on: December 08, 2014, 07:40:41 AM »
You have to edit Pedpop.dat (\Rockstar Games\Bully Scholarship Edition\Config\dat\Pedpop.dat)
The default configuration only allow students, bullies and nerds to spawn in the boys dorm. If you want ivan (and the jocks) to spawn in the dorm just increase the red number to 1, 2 or anything else than 0:

Boys_Dorm
5,   0, 2, 0, 0, 0, 0, 2, 0, 0, 0, 0, 1,
1,   0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0,
4,    0, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 1,
1,    0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0,

The first numbers (5, 1, 4, 1) are the total, so if you increase the jocks population, you should increase the total population too (or your game will crash).

This method is very old but still efective to this day.
Thanks for the tutorial, I also wanted to add the peds Boys in dorms..

deadpoolXYZ

  • Guest
Re: Student Faction Change
« Reply #21 on: December 08, 2014, 10:50:18 AM »
thanks for the help... by the way what I mean is.. Ivan is a student but his faction is jock, I just wanted Ivan to spawn in the boys dorm not the other jock.. is that possible?

Well... pedpop only works with factions, not individual peds so it's not possible that way (the same applies with population.dat).

As far as I know spawning peds using lua only makes them spawn in a specific spot and in some cases they won't even interact with people (pedmakeambient fixed this?). Maybe someone with more experience can help you.