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


Author Topic: Motel population  (Read 2837 times)

0 Members and 1 Guest are viewing this topic.

Offline DreamEvo

  • Paragon
  • Full Member
  • ***
  • Posts: 247
  • Gender: Male
    • View Profile
Motel population
« on: May 17, 2013, 02:22:22 AM »
How do you spawn people at the motel parking lot ? I always see bullies and greasers so I was wondering if there was a code for it

Offline SWEGTA

  • Da Forum Luffs Me!
  • *****
  • Posts: 6,423
  • Gender: Male
  • Swee Gee Tee Ayy
    • View Profile
    • Bully & GTA videos
Re: Motel population
« Reply #1 on: May 17, 2013, 02:32:16 AM »
Maybe it's like when dogs, elders or ordelies spawn?

Offline supersonic7628

  • Jr. Member
  • **
  • Posts: 16
  • Gender: Male
  • Yeah, but at least you still have me around.
    • View Profile
Re: Motel population
« Reply #2 on: May 17, 2013, 08:35:45 AM »
Maybe it's like when dogs, elders or ordelies spawn?
Could it be in MainMap_hangouts.dat?

deadpoolXYZ

  • Guest
Re: Motel population
« Reply #3 on: May 17, 2013, 12:01:43 PM »
Most of the exterior spawn places are located in Population.dat inside Trigger.img.
Look there, maybe you can find it.

Offline DreamEvo

  • Paragon
  • Full Member
  • ***
  • Posts: 247
  • Gender: Male
    • View Profile
Re: Motel population
« Reply #4 on: May 17, 2013, 07:15:37 PM »
Ive seen the population in trigger and i cant find that certain one. I would have reconnised the certain faction to spawn there.

Offline DreamEvo

  • Paragon
  • Full Member
  • ***
  • Posts: 247
  • Gender: Male
    • View Profile
Re: Motel population
« Reply #5 on: May 17, 2013, 10:36:36 PM »
Yup i cant find it. Any help will be thankful for.

Offline MadmaN

  • Bully-Board Admin Team
  • Newbie
  • *
  • Posts: 0
  • Gender: Male
  • Biblio-Techa Mods (retired)
    • View Profile
Re: Motel population
« Reply #6 on: May 18, 2013, 12:43:38 AM »
The population is randomly called in lua which the code for all the main populations that you cannot change via trigger...is located in main.lua and also main_map.lua.

the code is damaged but I have figured out it uses the line math.random and several other bits to randomly pick peds from a certain set of numbers that are predefined elsewhere in the same script.



Offline DreamEvo

  • Paragon
  • Full Member
  • ***
  • Posts: 247
  • Gender: Male
    • View Profile
Re: Motel population
« Reply #7 on: May 18, 2013, 02:23:54 AM »
Thats strange. Thanks.

Offline MadmaN

  • Bully-Board Admin Team
  • Newbie
  • *
  • Posts: 0
  • Gender: Male
  • Biblio-Techa Mods (retired)
    • View Profile
Re: Motel population
« Reply #8 on: May 18, 2013, 11:23:25 AM »
Np.

I will see if I can find the bits of code for the rest and post it here. If I can't then I will see about a way to manually edit one of the files in trigger and do it that way.

Offline DreamEvo

  • Paragon
  • Full Member
  • ***
  • Posts: 247
  • Gender: Male
    • View Profile
Re: Motel population
« Reply #9 on: May 19, 2013, 02:54:53 AM »
Alright cool.

By the way, do you have a updated list of the projects you are working on? Im curious