Quantcast

Jump to content

» «
Photo

So it seems there's absolutely no possible way to get homies to spawn in any interior.

22 replies to this topic
Veigar
  • Veigar

    Dark Sorcerer

  • Members
  • Joined: 21 Apr 2012
  • United-States

#1

Posted 3 weeks ago

Yes. I've tried what Zaz said a few months ago - to raise the zone's Z axis to be above an interior that spawns peds (for example, The Four Dragon's) which didn't do anything. Having the entire San Andreas zone be highlighted green doesn't work either. 

 

And by getting homies to spawn in interiors, I mean like how they do in say, Grove Street. You know, how you see them in groups smoking in drinking? Yeah, that, but in interiors. I don't think that's possible to do!

 

Anyone want to prove me wrong? I'd love to be proven wrong honesty, as I've tried to get this to work for a while now. 


OrionSR
  • OrionSR

    Chain Game Development Team

  • Feroci
  • Joined: 23 May 2007
  • None
  • Helpfulness Award [GTA & Modding]

#2

Posted 3 weeks ago

So why do these guys spawn in the burglary interiors?

 

6ZLN2LAl.jpg


Arrow
  • Arrow

    Good Life

  • Facade
  • Joined: 26 Oct 2016
  • India
  • Helpfulness Award [WD&P Mega Topic]

#3

Posted 3 weeks ago

I think he means if it's possible to have any of the GSF Members spawn in free roam, maybe in interiors like Safehouses.
  • The_Human likes this

OrionSR
  • OrionSR

    Chain Game Development Team

  • Feroci
  • Joined: 23 May 2007
  • None
  • Helpfulness Award [GTA & Modding]

#4

Posted 3 weeks ago

First find a crack, then pry it open. The screenshot above was taken at one of those blue apartments near the LS burglary garage and the location of the Sweet's Girl mission. I forget which but can recheck tomorrow. NTAuthority has a good reference somewhere on the interiors used for each burglary door. I remembered seeing gangs in these interiors before, but I'm sure there are others.


Veigar
  • Veigar

    Dark Sorcerer

  • Members
  • Joined: 21 Apr 2012
  • United-States

#5

Posted 3 weeks ago Edited by Veigar, 3 weeks ago.

That's because for Burglary Missions, it just takes the pedgrp from where you were prior to entering the interior. Yes, they appear in burglary houses like that, but they don't stand around in groups and such. Also, these homies attack you :p

 

 

Also, to elaborate

 

I mean having them act as they do on the streets - not any unique interactions like Burglary Missions. Just imagine groups of Grove Street members spawning and acting as how they do normally in Ganton, but in an interior like The Four Dragon's. 


OrionSR
  • OrionSR

    Chain Game Development Team

  • Feroci
  • Joined: 23 May 2007
  • None
  • Helpfulness Award [GTA & Modding]

#6

Posted 3 weeks ago

I understand your goal, but I don't expect any easy solutions. It's not just the gangs that aren't spawning. Cops won't spawn without a wanted level, and there are no prozzies, criminals or dealers either. Just the popcycle peds that were in play when CJ entered the interior. I don't expect changes to the zone coordinates to make any difference. While CJ is considered to be within an interior the popcycle will be drawn from the enex stack. If he is pulled out of that interior using gray hell exploits the popcycle and ped limits from that interior transition will continue to be in play no matter where CJ is on the map.


Veigar
  • Veigar

    Dark Sorcerer

  • Members
  • Joined: 21 Apr 2012
  • United-States

#7

Posted 3 weeks ago

Hmmm.... well, it's still probably possible - do you know where to find this "enex stack" so I could edit the popcycle? 


OrionSR
  • OrionSR

    Chain Game Development Team

  • Feroci
  • Joined: 23 May 2007
  • None
  • Helpfulness Award [GTA & Modding]

#8

Posted 3 weeks ago Edited by OrionSR, 3 weeks ago.

Hm... Interesting idea. I'm know the enex stack is used to predict the destination as CJ starts a transition for the purpose of the area name that's displayed, but I'm not completely convinced about the popcycle. I might save in the casino and play with my enex stack using a hex editor to see if the peds change. If the enex stack doesn't determine the peds I'm not sure what does. I'm not terribly optimistic about reaching your ultimate goal so it's hard to get too enthusiastic about running more tests.

 

The enex stack isn't all that interesting. The game keeps track of the series of enexes entered. The stack is usually 1 in a normal safehouse. If you saved inside of the wardrobe or the Penthouse Suites of the casino, or the casino floor if CJ entered through the rooftop, then you'd have 2 in the stack. There's not really much point of manipulating the stack. It's awkward to get at without a hex editor. It's much easier to modify the zones where the enex starts. The Savegame Editor 3.x has a really good zone editor. You can edit the popcycles and gang density.

 

I've been experimenting with enex flags, the control bits for enex door properties. These can be managed with cleo scripts but there aren't many tools that can read them. Doesn't matter though. Nothing about the flags seems to have any influence on gangs spawning. I'll keep my eye on the flags but I'm not expecting it to help.

 

If I get motivated enough I'll unlock that interior without using the burglary van and see if gangs spawn without the mission running. There's a pretty good chance you were right and these guys only spawn during the mission.

 

Something else to keep in mind. The save file only tracks the door flags and the links between the enexes. All of the other information about the enex is read from text IPL files when the game starts. And, the problem with burglary doors is they don't count as normal enexes. Their coordinates are hardcoded and I only see shadows of their existence in the save file. Still, it might be interesting to learn if some interiors are somehow different and allow gangs inside.


Veigar
  • Veigar

    Dark Sorcerer

  • Members
  • Joined: 21 Apr 2012
  • United-States

#9

Posted 3 weeks ago Edited by Veigar, 3 weeks ago.

Golly, thank you for that ridiculously detailed response! And yeah, this seems to be super complicated, even if the idea itself is simple - gangs spawning in interiors as they do in the normal world. Yes, Gang members still spawn in Burglary Houses even if you aren't on a Burglary mission. For example, say you go into the Crack Den and use a mod to go into the interior universe. There will be a Burglary House right next to the Crack Den. Go there, and gang members may spawn. This isn't because of gang members though, it's because Burglary Houses act the same even if you're not on a burglary mission - you can still pick up and do things with the TV's and such.

 

 

Also, I forgot to note this. GANG MEMBERS SPAWN IN THE LIL'PROBE INN INTERIOR. I really don't know why! If you put a green zone above where the Lil'Probe Inn is located (somewhere in the desert) and change the zone type to anything that isn't desert or countryside, they spawn in here like normal. I should take a picture of it in a bit, I'll edit this post when I have it.

 

As far as I know, that's the ONLY interior that spawns gangs that aren't modified by Burglary House scripts. 


OrionSR
  • OrionSR

    Chain Game Development Team

  • Feroci
  • Joined: 23 May 2007
  • None
  • Helpfulness Award [GTA & Modding]

#10

Posted 3 weeks ago

Lil Probe Inn is an unusual interior in that it is not located at Z 1000 or so like most other interiors. I think it's hidden in the hill behind it. Another example would be the generator room of the Sherman Dam but peds don't spawn there - except for cops if you've got a wanted level. And that's what we're fighting against. The rules are different above Z 900 or so - the lowest level of interiors is about Z 950 but I forget at which level things start acting normally again.

 

I suspect the "easy" solution is to drop the interior coordinates below Z 900. I don't think you'll need to put a zone around it though.


Veigar
  • Veigar

    Dark Sorcerer

  • Members
  • Joined: 21 Apr 2012
  • United-States

#11

Posted 2 weeks ago

Yeah, I thought as much. Thanks for the input! I'll test this and bump my results. 


Veigar
  • Veigar

    Dark Sorcerer

  • Members
  • Joined: 21 Apr 2012
  • United-States

#12

Posted 2 weeks ago

Alright - I first tested this on the Inside track betting shop.

 

I moved the X coordinates of the interior down to 150.0 - whether or not this is too high aside, Homies didn't seem to spawn in the interior. 

 

I believe that I messed something up though (Perhaps they have to be underground?)  but so far, that test wasn't successful.


OrionSR
  • OrionSR

    Chain Game Development Team

  • Feroci
  • Joined: 23 May 2007
  • None
  • Helpfulness Award [GTA & Modding]

#13

Posted A week ago

Did any peds spawn at all? I'm not sure how this works, but perhaps the ped paths are still at the original Z level.


Veigar
  • Veigar

    Dark Sorcerer

  • Members
  • Joined: 21 Apr 2012
  • United-States

#14

Posted A week ago

Yes, they did spawn. However, it was strange, I had to exit the interior (not through the marker) and go back inside it to make pedestrians spawn. I assume this has to do with the awkwardly placed yellow marker, seeing as I just moved everything down to 150.0 for the Z axis... the marker appeared slightly above the door. It still doesn't explain why no homies spawned, but it also brings up the question in terms of why pedestrians spawn only if you exit the interior (not far at all, literally just like an inch out of it) and back in makes them appear. However, the betting shop peds (the ones that appear behind the glass) spawn in the original Z axis but they don't die when they fall from the height... those are unique peds though, they don't walk or have paths, so I'm assuming they're unrelated to the other stuff I brought up. 


OrionSR
  • OrionSR

    Chain Game Development Team

  • Feroci
  • Joined: 23 May 2007
  • None
  • Helpfulness Award [GTA & Modding]

#15

Posted A week ago

I would expect the tellers to be scripted. I've seen the thread but haven't had a reason to look inside.


Veigar
  • Veigar

    Dark Sorcerer

  • Members
  • Joined: 21 Apr 2012
  • United-States

#16

Posted A week ago

Do you think 150.0 is too high for the Z axis? The Lil'Probe Inn is underground after all... maybe that somehow affects it. 


OrionSR
  • OrionSR

    Chain Game Development Team

  • Feroci
  • Joined: 23 May 2007
  • None
  • Helpfulness Award [GTA & Modding]

#17

Posted A week ago Edited by OrionSR, A week ago.

I have no idea. I think I'll stop offering suggestions. I seem to be wasting your time.

 

I've been trying to make a little sense of the internal data, and not having much luck. But it appears that there is an enex routine to remove dodgy peds. However, there are several exceptions. The following interiors appears to skip the remove dodge peds routine, or maybe have something extra.

 

Request: bar1, strip2, LAstrip, Mafcas, and Tricas.

Generate: LAstrip, Mafcas and Tiacas, and the 4 police interiors.

 

Main.scm will spawn bar staff when CJ enters any of the three bars, BAR1, BAR2, or UFOBAR.

 

Y'know... Since my predictions have been so terrible. It might be worth the trouble to test your original plan and raise the upper Z level of the zone to include your lowered interior.


Veigar
  • Veigar

    Dark Sorcerer

  • Members
  • Joined: 21 Apr 2012
  • United-States

#18

Posted A week ago Edited by Veigar, A week ago.

No, don't worry, your suggestions are fine! I'm trying to learn more things about how the game works that very little know (such as this, and that jetpack glitch that activates when you kill everyone in the gym for some bizarre reason.)

 

I believe raising the zone's Z axis doesn't help, because the zones stretch up to 150.0 for the Z axis - but I won't give up yet, I believe that I can try this with a different interior (perhaps the strip clubs) and make it underground instead of 150.0. Perhaps I'll reverse test the Lil Probe Inn and raise the Z axis of that to 1000+ (where the other interiors are located) and see if it still spawns grove street homies. Thanks for your time, I appreciate it! 


ZAZ
  • ZAZ

    Kernlochbohrer

  • Feroci
  • Joined: 10 Jan 2005
  • European-Union
  • Contribution Award [Mods]
    Helpfulness Awards [Mods]

#19

Posted A week ago

Yes. I've tried what Zaz said a few months ago - to raise the zone's Z axis to be above an interior that spawns peds (for example, The Four Dragon's) which didn't do anything. Having the entire San Andreas zone be highlighted green doesn't work either.


Gangspawn needs path and zone,
The cloths shops and casino have paths.
Raise the zone's Z axis bleow of cloths shops and casino have a chance to spawn gangs
Now it needs valid codes for main.scm or cleo to spawn gang at Four Dragon's
Show us your script. Opcode 076C: is required


 

So why do these guys spawn in the burglary interiors?

6ZLN2LAl.jpg


Spawned by 2dfx section inside of ide
I know for shure that the furnitur and peds inside of paperchase construction office of int_veg.ide are done by 2dfx

look also inside of gen_int2.ide and gen_intb.ide
they should contain the burglarys and other interiors
btw. the enex of their ipl have flags to activate the burglary mode



-------




How ever, its easy it spawn gangmembers by script where ever you want.

And then?

Gangwar? no, gangwar requires car path

smoking? drinking? should be possible

Veigar
  • Veigar

    Dark Sorcerer

  • Members
  • Joined: 21 Apr 2012
  • United-States

#20

Posted A week ago Edited by Veigar, A week ago.

I've tried raising the zones of exteriors already.

 

For example, we'll take The Four Dragons Casino zone. I've raised the Z axis of it up to about 1300 or so - more than enough for most interiors. I put the territory over it, walk in, and no one spawns inside. Same thing with every other interior that has paths. I'm pretty sure they're influenced by some other factor, perhaps the enex stack popcycle thing OrionSR mentioned a few posts above this one. 

 

The thing that perplexes me though is how the Lil' Probe Inn seems to bypass this, though. Yes, I understand that it's located on ground level unlike most interiors (it's inside of the cliff behind the Lil' Probe Inn's exterior) and that means it is within the Z axis of the zones that are on the map nearby. That would imply that Interiors are effected by gang territories if they're within the zone - I believe the zone that the Lil' Probe Inn is located within is "The Big Ear" zone. So if this is covered by GSF territory, they spawn in the inn. Except this seems to only happen with this interior specifically, even if any other interiors are within zones. Something interesting I found is that the text displayed when entering the Lil probe inn is the same text that displays when you are in the actual zone around it - this doesn't happen for either casino. Woozie's casio is displayed as "The Four Dragon's Casino" but the marker displays it as "The Four Dragon's." I'm doubting this has any relevance, but I feel it was worth mentioning. 

 

Anyways, I still have my save file with each zone and the axis being extended up to 1300 or so - here it is, if any of you want to play with it. http://gtasnp.com/Ienspj


OrionSR
  • OrionSR

    Chain Game Development Team

  • Feroci
  • Joined: 23 May 2007
  • None
  • Helpfulness Award [GTA & Modding]

#21

Posted A week ago

I think it's worth the trouble to repeat your raised zone test on the interior altered to the lower Z level. Before the interior was above 900 meters, now it isn't. I'm expecting the enex stack to determine the interior peds but it's never a good idea to ignore ZAZ's suggestions. I won't be confident in our conclusions if we don't run the test.

 

Thanks for the save, but I can easily manipulate the zone data in my saves. In fact, if you'd like to have a few tweaks to your save to help with testing then I might be able to help you out. Some suggestions:

  • Reset global timers to 0 to disable all threads and eliminate their influence on experimental results.
  • Disable specific threads by increasing their wake timer. (These changes can also be fine tuned to disable threads for a limited time period.)
  • Redirecting enex connections. A second or third entrance to the UFO bar would provide useful stack information.

DK22Pac
  • DK22Pac

  • Feroci
  • Joined: 12 Apr 2009
  • Ukraine
  • Best WIP Mod 2014 [Grand Theft Auto 3D Contribution]
    Contribution Award [Mods]
    Helpfulness Award [Mods]

#22

Posted A week ago Edited by DK22Pac, A week ago.

Let's say, game uses another way to spawn peds in interiors, it's not the same as spawning peds on street.
As ZAZ said, interior paths are generated from information inside 'furnitur' 2dfx section.

You say you want to spawn peds inside interiors, just like they are spawned on streets.
But do you know and understand how they are spawned on streets?

Also: you can enable burglary interiors with ENABLE_BURGLARY_HOUSES


Veigar
  • Veigar

    Dark Sorcerer

  • Members
  • Joined: 21 Apr 2012
  • United-States

#23

Posted A week ago Edited by Veigar, A week ago.

 

I think it's worth the trouble to repeat your raised zone test on the interior altered to the lower Z level. Before the interior was above 900 meters, now it isn't. I'm expecting the enex stack to determine the interior peds but it's never a good idea to ignore ZAZ's suggestions. I won't be confident in our conclusions if we don't run the test.

 

Thanks for the save, but I can easily manipulate the zone data in my saves. In fact, if you'd like to have a few tweaks to your save to help with testing then I might be able to help you out. Some suggestions:

  • Reset global timers to 0 to disable all threads and eliminate their influence on experimental results.
  • Disable specific threads by increasing their wake timer. (These changes can also be fine tuned to disable threads for a limited time period.)
  • Redirecting enex connections. A second or third entrance to the UFO bar would provide useful stack information.

 

Appreciate any edits made to that save - it's the only one I can conduct tests on anyways because the zone information is savegame specific. Thank you! And I'll take you up on the altering interiors to a lower Z level. I suppose it doesn't matter which interior I lower, as long as it has the paths ZAZ listed in his posts. 

 

 

Edit: alright, I have tested lowering the interior (and every prop, including the yellow marker, have a z axis of 15.0) within the stretched Z axis zone. Results? Well, not successful. I've had different type of pedestrians spawn, from countryside themed ones, to normal suburban ones... here is a picture:

871cfeb1d5.jpg

Sadly, no GSF. The Z axis for this interior are exactly 15.0 in this picture. The security guard and the waitress both have set coordinates to spawn from, so they fell from the sky. As for these peds, they seemed to only spawn if I exit the interior via blue hell and come back to it using a trainer. The interior is located within the Fern Ridge zone, which is owned by GSF in the save I've provided earlier. The zone type is "Gangland", so it's not a zone type issue. The results here are the same as the Betting Shop, exactly. 

 

Orion, I believe you were correct with the marker and enex stacks pulling a certain group of pedestrians to spawn in these interiors. Now our only question is - why doesn't this happen with the UFO bar? 





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users