Bully-Board

Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: DreamEvo on May 17, 2013, 02:22:22 AM

Title: Motel population
Post by: DreamEvo 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
Title: Re: Motel population
Post by: SWEGTA on May 17, 2013, 02:32:16 AM
Maybe it's like when dogs, elders or ordelies spawn?
Title: Re: Motel population
Post by: supersonic7628 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?
Title: Re: Motel population
Post by: deadpoolXYZ 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.
Title: Re: Motel population
Post by: DreamEvo 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.
Title: Re: Motel population
Post by: DreamEvo on May 17, 2013, 10:36:36 PM
Yup i cant find it. Any help will be thankful for.
Title: Re: Motel population
Post by: MadmaN 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.


Title: Re: Motel population
Post by: DreamEvo on May 18, 2013, 02:23:54 AM
Thats strange. Thanks.
Title: Re: Motel population
Post by: MadmaN 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.
Title: Re: Motel population
Post by: DreamEvo 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