Bully-Board
Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: Carlosvc92 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.
-
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.
-
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.
-
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!!!!
-
I'm gonna go ahead and see if I can get something working.