Jump to content
The latest updated version of RAGE Plugin Hook, required to play LSPDFR, can be found inside the LSPDFR download. It is not currently available on the RAGE Plugin Hook website.

Stationary Spawn of Fire Trucks at Fire Stations


JBin818

Recommended Posts

I was wondering if there is a way to have your addon Fire Trucks spawn at Fire Stations like they do normally for the Fire Truck vanilla model.  I installed a Blaine County Truck and want it to spawn in Sandy and Paleto Bay.  So when I drive by I'll see it there.  Also to use it for actual emergencies.  In BetterEMS there is a XML that you can put your Fire Truck models in any fire station.  But it doesn't spawn at the station, only the vanilla spawns.  Any of you have addon Fire Trucks and get them to spawn at certain Stations?  If so, how?

Link to comment
Share on other sites

You could probably add them to stations.xml and set lsfd_sta to spawn there. Not sure exactly how to set what specific uniform that will spawn since that's controlled by agency eup, but fire engines and peds should spawn if you set them there.

 

This is an example for the Davis Fire Station. I'll be adding these to my modification if you want to take my stations from there.

 

<Station>
        <Name>Davis Fire Station</Name>
        <Agency>lsfd_sta</Agency>
        <ScriptName>davissta</ScriptName>
        <Position>200.54, -1633.26, 29.80</Position>
        <Heading>143.74</Heading>
    </Station>

Edited by Joe C Wilson 017
Text

Video Creator & Photographer

 

https://youtube.com/@JoeCWilson

Link to comment
Share on other sites

That just gave me an idea.

 

On second thought, if you create a second agency exclusively for LSFD to spawn wearing the appropriate attire around the station you can set it up for agency eup like so.

 

Spoiler

<Agency>
        <Name>Los Santos Fire Department</Name>
        <ShortName>LSFD</ShortName>
        <ScriptName>lsfd_sta</ScriptName>
                <Loadout chance="0">
            <Name>Station</Name>
            <Vehicles>
                <Vehicle chance="100" livery="1">firetruk</Vehicle>
            </Vehicles>
            <Peds>
                                <!-- 50% chance of male peds -->
                <Ped chance="50" outfit="lsfd_fr">mp_m_freemode_01</Ped> <!-- Firefighter Bunker Pants outfit (Any variation) -->

 

                                <!-- 50% chance of female peds -->
                <Ped chance="50" outfit="lsfd_fr">mp_f_freemode_01</Ped> <!-- Firefighter Bunker Pants outfit (Any variation) -->
            </Peds>
            <Flags>
                                <Flag>SpawnsAmbiently</Flag>
            </Flags>
        </Loadout>
    </Agency>

 

Edited by Joe C Wilson 017
Spoiler

Video Creator & Photographer

 

https://youtube.com/@JoeCWilson

Link to comment
Share on other sites

14 hours ago, Joe C Wilson 017 said:

You could probably add them to stations.xml and set lsfd_sta to spawn there. Not sure exactly how to set what specific uniform that will spawn since that's controlled by agency eup, but fire engines and peds should spawn if you set them there.

 

This is an example for the Davis Fire Station. I'll be adding these to my modification if you want to take my stations from there.

 

<Station>
        <Name>Davis Fire Station</Name>
        <Agency>lsfd_sta</Agency>
        <ScriptName>davissta</ScriptName>
        <Position>200.54, -1633.26, 29.80</Position>
        <Heading>143.74</Heading>
    </Station>

I didn't think about adding then to the stations.xml.  Forgot about that.  Where did you find those line items?  Script Name, Position, Heading or did you figure that out yourself?  Also, since I have a Blaine County Truck, there would have to be a separate Blaine County area ( I guess) that the game would see.  Like GTAV has separate LSPD and BC Sheriff (LSSD).  Like the Paleto Bay or Sandy Shores Station, do those have the Agency name as lsfd_sta or is there a BC agency name for the fire stations?  I could probably figure out the outfits.  For me, first thing is can addon trucks spawn at certain stations.  Some fire truck authors show their trucks sitting in front of the station where the spawn point is.  I'm not sure if the truck spawned there or maybe they just spawned it in then took screenshot.  Not a big deal for me.  It would be nice to see a Blaine County Fire Truck spawn at a Blaine County Station area but if not possible then I could just use the BC trucks to call in a fire/EMS through Ultimate Backup or BetterEMS.  I thought maybe GTAV has a file that has the stations laid out that you could edit but maybe not.  BetterEMS has an xml with the stations but it's laid out differently and maybe that is just for calling them out not for stationary spawning.  I should contact Parks and clarify that.  EUP in their duty select xml has the agency separated.  Not sure if it's possible.  I saw your other post too.  Thanks for uploading the samples.  Helps me see what it should look like.👍

Link to comment
Share on other sites

I noticed some engines do spawn, but not directly in the bay. With stations.xml the game tries to find the closest parking spot, which usually ends up being a parking space, a sidewalk curb or a few feet away from the station.

 

I added those into agency eup xml as a separate "agency" so they can spawn without effecting the other fire uniforms.

 

With the coordinates I used simple trainer's option in the menu and copied how it was written to spawn them.

 

I'm not sure exactly how to set them in the bay without editing the game's files.

Video Creator & Photographer

 

https://youtube.com/@JoeCWilson

Link to comment
Share on other sites

15 hours ago, Joe C Wilson 017 said:

With the coordinates I used simple trainer's option in the menu and copied how it was written to spawn them.

I bet that took some time. 

 

Well these are things we do to customize the game how we like.  We spend a lot more time modding than playing the game.  But usually in the end it's worth it and you probably learned something.   I know I have in the past modding this.  👍

Link to comment
Share on other sites

You should only reply here to ask for more information from JBin818 or to answer the person's issue.

Reply to this thread only to offer help or assistance to JBin818.
If you want support, create your own thread in the appropriate forum. Non-relevant replies, derailing posts, "me too", disinformation and other support requests will be removed without warning.

Guest
You can no longer reply to this support topic as it was started over a year ago. Please make a new thread.


×
×
  • Create New...