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


Author Topic: Characters inside interiors  (Read 2734 times)

0 Members and 1 Guest are viewing this topic.

Offline Carlosvc92

  • Full Member
  • ***
  • Posts: 132
    • View Profile
Characters inside interiors
« on: August 03, 2011, 01:09:23 PM »
How can I  spawn characters inside interiors not listed in pedpop.dat? Plz someone help, I'm going crazy here.

Offline Red Blaster

  • The BB Arab
  • More Than Halfway There
  • *****
  • Posts: 5,649
  • Gender: Male
  • Hi
    • View Profile
Re: Characters inside interiors
« Reply #1 on: August 03, 2011, 02:49:37 PM »
Have you tried changing the names of the interiors in pedpop to the ID of an unlisted interior (probably a rhetorical question, but just wondering)?

So far, the only person I've seen pull this off is GovernmentMan with his Blue Balls and Harrington House mod.

Offline Carlosvc92

  • Full Member
  • ***
  • Posts: 132
    • View Profile
Re: Characters inside interiors
« Reply #2 on: September 02, 2011, 07:28:56 PM »
I think I have discovered how Governmentman123 performs his magic tricks, but it takes some patience and a lot of hard work.
Maybe there is an easier way but the way I've theorized requires editing Scripts.img and Trigger.img; who here knows how to decompile lua language and codes?

I've taken a good look at scripts.img and there are codes that I can't edit but I clearly understand how they might function, such as spawning peds inside interiors, most of which are not listed in pedpop.dat.

Example code AreaSpawnPopulationData TRIGGER _SP_PREPHOUSE.DAT with some odd little characters in the middle of each phrase that I don't know.

Some one who knows lua, C++, and programming in general could do the trick after reading how the files work.
Correct me if I'm wrong and help me with this.

Offline Carlosvc92

  • Full Member
  • ***
  • Posts: 132
    • View Profile
Re: Characters inside interiors
« Reply #3 on: September 02, 2011, 07:48:03 PM »
I think I have discovered how Governmentman123 performs his magic tricks, but it takes some patience and a lot of hard work.
Maybe there is an easier way but the way I've theorized requires editing Scripts.img and Trigger.img; who here knows how to decompile lua language and codes?

I've taken a good look at scripts.img and there are codes that I can't edit but I clearly understand how they might function, such as spawning peds inside interiors, most of which are not listed in pedpop.dat.

Example code AreaSpawnPopulationData TRIGGER _SP_PREPHOUSE.DAT with some odd little characters in the middle of each phrase that I don't know.

Some one who knows lua, C++, and programming in general could do the trick after reading how the files work.
Correct me if I'm wrong and help me with this.


That said, we might even be able to create our own missions, scripts!!!!

Offline Carlosvc92

  • Full Member
  • ***
  • Posts: 132
    • View Profile
Re: Characters inside interiors
« Reply #4 on: September 03, 2011, 11:06:06 PM »
I'm gonna go ahead and see if I can get something working.