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


Author Topic: Rumbles like Complete Mayhem  (Read 2497 times)

0 Members and 1 Guest are viewing this topic.

Offline FearlessBloodseeker

  • X-Strygwyr-X
  • Jr. Member
  • **
  • Posts: 24
  • Gender: Male
  • X-Bloodseeker-X
    • View Profile
Rumbles like Complete Mayhem
« on: June 16, 2012, 03:37:02 AM »
Hi guys, how do I make rumbles around the school like the "Complete Mayhem" rumble?

Offline MadmaN

  • Bully-Board Admin Team
  • Newbie
  • *
  • Posts: 0
  • Gender: Male
  • Biblio-Techa Mods (retired)
    • View Profile
Re: Rumbles like Complete Mayhem
« Reply #1 on: June 16, 2012, 03:50:57 AM »
The only possible way is via editing the lua source code of bully. Once I finish rewriting every script I will release all of them including the final rumble script.

I can easily code up a rumble script from scratch but that will have to wait a while until I finish with several smaller scripts which will be released complete with sourcecode and a tutorial on how to edit bully lua.

This will be sometime in the coming week.

Offline FearlessBloodseeker

  • X-Strygwyr-X
  • Jr. Member
  • **
  • Posts: 24
  • Gender: Male
  • X-Bloodseeker-X
    • View Profile
Re: Rumbles like Complete Mayhem
« Reply #2 on: June 16, 2012, 03:54:04 AM »
I see. Alright man  :D

Offline Hopking

  • Jr. Member
  • **
  • Posts: 67
  • Gender: Male
    • View Profile
Re: Rumbles like Complete Mayhem
« Reply #3 on: June 16, 2012, 03:54:46 AM »
Actually, there is a file in config/dat called attitude.dat which handles the relationships between each clique, so you could change 'Adore', 'Dig', 'Dispassionate' and 'Averse' to 'Abhor' meaning they will attack on sight, you can even make a clique fight memebers of the same clique, I do hope i expalined this sufficiently.

However, as MadMan said, the lua version may be more accurate to the Rumble.

Offline MadmaN

  • Bully-Board Admin Team
  • Newbie
  • *
  • Posts: 0
  • Gender: Male
  • Biblio-Techa Mods (retired)
    • View Profile
Re: Rumbles like Complete Mayhem
« Reply #4 on: June 16, 2012, 04:04:03 PM »
Actually changing the attitudes that way only works in hte start of the game.

as you progress that file gets bypassed and anything its set to will cease to work since 90% of this is in lua.

Offline Evolution

  • Elitist
  • *********
  • Posts: 13,574
  • Gender: Male
    • View Profile
Re: Rumbles like Complete Mayhem
« Reply #5 on: June 16, 2012, 11:22:56 PM »
Yeah, I wondered why it didn't work when I first changed the Attitude. I guess I know now.

Cool Madman!

Offline MadmaN

  • Bully-Board Admin Team
  • Newbie
  • *
  • Posts: 0
  • Gender: Male
  • Biblio-Techa Mods (retired)
    • View Profile
Re: Rumbles like Complete Mayhem
« Reply #6 on: June 17, 2012, 09:16:01 PM »
np.

In lua attitudes work like this:

For Faction respects towards the player:

Code: [Select]
  SetFactionRespect(11, 25)
  SetFactionRespect(1, 50)
  SetFactionRespect(5, 50)
  SetFactionRespect(4, 50)
  SetFactionRespect(2, 50)
  SetFactionRespect(3, 0)


in that example above the first number value is the faction....which would be the nerds...bullies...preps...etc..and the second number is the amount of respect. 0 means no respect and 100 means fully respected.

for attitudes of peds both towards the player as well as one another....this is the lua code used:

Code: [Select]
PedSetPedToTypeAttitude(Mascot, 13, 0)
PedSetPedToTypeAttitude(gHobo, 13, 3)
PedSetPedToTypeAttitude(gHobo, 3, 0)
PedSetPedToTypeAttitude(gEdna, 13, 0)
PedSetPedToTypeAttitude(gEdna, gPlayer, 4)
PedSetPedToTypeAttitude(idDarby, 13, 4)

I have not figured out yet how the above code works quite yet but that controls the attitudes directly.