Sandbox+ for SRTT

Permeable? You mean you can move through it? There's nothing that can be done about something like that. That would be a problem with the geometry of the zone itself.

I'll look into the other notoriety stuff.
Yeah, it is surely vanilla bug. I am just reporting it.
 
I looked at trying to enable the biker, bum, and mascot survival notoriety spawning, but didn't have any luck. From what I can see, the special survival groups are defined in notoriety_spawns.xtbl and are:
survival_mascots
survival_bikers
survival_bums

The closest function I can see that I thought might work was notoriety_set(). I believe that the first parameter though is for the team (Teams.xtbl) and the second is the notoriety (star) level. For example:
notoriety_set("Deckers", 5)

^That's how we already have the notoriety setup for each gang type in Sandbox+ with that same format.

For a goof I tried:
notoriety_set("survival_mascots",5)

^This didn't error out or break the function when triggered (which is a good sign,) but there was no visible effect. I even turned on the mascot cheat to see if they would aggro and it still didn't work (which really didn't surprise me.)

EDIT:
notoriety_set("stag",5)

^This does nothing as well even though there is a stag entry in teams.xtbl and also notoriety_spawns.xtbl. The first parameter must be referencing something else.
 
I love Sandbox+ but for some weird reason even when my Team is set to Police Saints dont shoot me on sight even if i shoot them once? Is this a bug or intentional? I also love going to the Military Base and Recruiting Tons of Soldiers to Raid the Saints HQ with me. ( I made the Saints look like Terriosts lul )

I don't know why they wouldn't shoot. Does it do the same thing for all gangs? Like if you switch to Deckers or something?

EDIT: I figured it out. I needed to use the set_team() function instead of set_player_undercover_team()
 
Give the attached script a try and see if it works out.
 

Attachments

  • sr3_city.lua
    121.2 KB · Views: 424
About teleport markers (re certain vehicles place the player inside the building mesh) usually anything larger than a van including fire engine, aircraft and boats which I believe is due to the spwn target being within the centre of the vehicle for any given location. An example when teleporting with a fire engine to the airdrome, the player (and half the length of the vehicle) is trapped within the hangar building mesh while the other half of the vehicle is in the game world. The exception to this would be helicopters (I only tested the thompson) which spawned inside the penthouse of the saints hq facing the landing pad when teleported with the player. Moving the markers further from the entrance to buildings would solve this problem.

Also confirmed the love hate relationship with gangs when adding as crew, such as luchadores (sp) causes no gangs to fire at you even when attempting city take overs. Note I have not updated SB+ or the city_lua as above so these issues may already be fixed.
 
Ok this is crazy but interesting and bloody hilarious. Using the new city_lua I set DEckers as crew (cntrl+pgdwn) then went to a take over location and no deckers spawned. I then answered a phone call calling for help against the deckers and when I got to the location, they (deckers) did not shoot (although the girls with shock hammers attacked me) I then changed crew to morningstar (they did not turn up) but the deckers attacked peds, so I called shaundi and they ganged up on her when she arrived. The only way I could get the deckers who carried firearms to shoot at me was to use one of them as a shield.

Edit update: same senario set police as crew and deckers attacked in droves.
 
So, more stuff about emulating survival mode and having mascots, bikers, and bums attack you with a Sandbox+ key combo...

spawn_info_ranks.xtbl has different categories for an npc depending on what Team he is on. For example, the Biker, Mascot, and Bum entries have both a Civilian and a Neutral Gang category (unlike many of the other npcs.) The Neutral Gang one has the weapon loadouts you would see in that Survival instance. It seems that the survival instance is somehow switching their team from Civilian to Gang Neutral, and that is what we'll need to figure out how to do via lua to make this work.
 
set_team(character_name, "Deckers")?

That would be to easy though, wouldn't it?

EDIT: oh, there's something else - ai_set_personality(M01_gat, "gang normal") but it still needs specific character name...
 
set_team(character_name, "Deckers")?

That would be to easy though, wouldn't it?

set_team() is looking for a specific character like, say, LOCAL_PLAYER or a specific npc that's part of a mission group. I don't believe that it's going to work for an actual whole group.
 
Forgot to Relay my report on that SR3 Lua File... Lets just say... It Worked... FLAWLESSLY :) Except on the saints that were drinking they ignored you until they dropped their drink.

Goddamn lushes. :p
 
Back
Top