Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[WIP] Vehicle Gadgets+

You're viewing a summary of the most helpful posts in this topic — about 2 minutes of reading instead of 9 minutes for all 33 posts.

Featured Replies

  • Popular Post

This is a new plugin I'm working on. It aims to expand the functionality of new vehicles, in a centralized manner, so, hopefully, you won't end up needing a different plugin/script for each function vehicle models authors want to implement in their models.

Currently, the vehicles are configured via XML files, alongside the changes needed in the model itself. So, no, it doesn't support already released models.

 

Current Gadgets

  • Ladder
    Spoiler

    This gadget will allow you to add a working ladder to your model, which can be controlled via the NumPad.

     

     

    XML Entry Example:

    Spoiler
    
    
        <Entry xsi:type="Ladder">
          <Base>
            <BoneName>ladder_base</BoneName>
            <RotationSpeed>11</RotationSpeed>
            <RotationAxis X="0" Y="0" Z="1" />
          </Base>
          <Main>
            <BoneName>ladder_main_0</BoneName>
            <RotationSpeed>11</RotationSpeed>
            <RotationAxis X="1" Y="0" Z="0" />
            <MinAngle>0</MinAngle>
            <MaxAngle>65</MaxAngle>
          </Main>
          <ExtensionParts>
            <Entry>
              <BoneName>ladder_main_1</BoneName>
              <MoveSpeed>3</MoveSpeed>
              <ExtensionDistance>6</ExtensionDistance>
            </Entry>
          </ExtensionParts>
          <Bucket>
            <BoneName>ladder_bucket</BoneName>
            <RotationSpeed>10</RotationSpeed>
            <RotationAxis X="1" Y="0" Z="0" />
            <MinAngle>-85</MinAngle>
            <MaxAngle>85</MaxAngle>
          </Bucket>
        </Entry>

     

     

  • Outriggers
    Spoiler

    This one, adds animated outrrigers that can extend and retract by pressing a key.

     

     

    XML Entry Example:

    Spoiler
    
    
        <Entry xsi:type="Outriggers">
          <LeftOutriggers>
            <Outrigger>
              <HorizontalBoneName>outr_out_l1</HorizontalBoneName>
              <VerticalBoneName>outr_down_l1</VerticalBoneName>
              <HorizontalDistance>0.8</HorizontalDistance>
              <HorizontalMoveSpeed>0.625</HorizontalMoveSpeed>
              <VerticalDistance>0.48</VerticalDistance>
              <VerticalMoveSpeed>0.625</VerticalMoveSpeed>
            </Outrigger>
            <Outrigger>
              <HorizontalBoneName>outr_out_l2</HorizontalBoneName>
              <VerticalBoneName>outr_down_l2</VerticalBoneName>
              <HorizontalDistance>0.8</HorizontalDistance>
              <HorizontalMoveSpeed>0.625</HorizontalMoveSpeed>
              <VerticalDistance>0.48</VerticalDistance>
              <VerticalMoveSpeed>0.625</VerticalMoveSpeed>
            </Outrigger>
          </LeftOutriggers>
          <RightOutriggers>
            <Outrigger>
              <HorizontalBoneName>outr_out_r1</HorizontalBoneName>
              <VerticalBoneName>outr_down_r1</VerticalBoneName>
              <HorizontalDistance>0.8</HorizontalDistance>
              <HorizontalMoveSpeed>0.625</HorizontalMoveSpeed>
              <VerticalDistance>0.48</VerticalDistance>
              <VerticalMoveSpeed>0.625</VerticalMoveSpeed>
            </Outrigger>
            <Outrigger>
              <HorizontalBoneName>outr_out_r2</HorizontalBoneName>
              <VerticalBoneName>outr_down_r2</VerticalBoneName>
              <HorizontalDistance>0.8</HorizontalDistance>
              <HorizontalMoveSpeed>0.625</HorizontalMoveSpeed>
              <VerticalDistance>0.48</VerticalDistance>
              <VerticalMoveSpeed>0.625</VerticalMoveSpeed>
            </Outrigger>
          </RightOutriggers>
        </Entry>

     

     

  • Radar
    Spoiler

    This one is similar to the already existing VEHICLE_WEAPON_RADAR from the vanilla game, except it doesn't take a vehicle weapon slot and you can modify the rotation speed.  

     

    XML Entry Example:

    Spoiler
    
    
        <Entry xsi:type="Radar">
          <BoneName>radar_part</BoneName>
          <RotationSpeed>5</RotationSpeed>
          <RotationAxis X="0" Y="0" Z="1" />
        </Entry>

     

     

 

TODO:

  • Implement collisions, so, for example, you can climb up the ladder.
  • Add more gadgets.

 

 

Firetruck shown in the videos: MTL Botlle Nose Ladder 15EX Truck by @GlitchGamer

 

 

Any vehicle developer interested on implementing this plugin, with the current gadgets or with an idea for a new gadget, can contact me to discuss the implementation details, or if the gadget idea is possible.

  • Replies 32
  • Views 43.3k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • tylerlanders
    tylerlanders

    @alexguirre How do I actually install Vehicle Gadgets + ? I couldn't get the read me. 

  • GlitchGamer
    GlitchGamer

    This stuff is awesome and  can't wait to see more development!

  • Goldenman
    Goldenman

    Has anybody tried this with fivem yet?

  • 2 weeks later...

Looks promising alex! As for a suggestion, me and Thehurk were just talking about this the other day, could Starchase's GPS launcher somehow be implemented into this?  If you aren't familiar I'll link a video and the website. Could be an awesome addition to patrol cars and gameplay!

 

Website: http://www.starchase.com/

Video demo in spoiler below

Spoiler

 

 

Veni vidi vici

  • 1 year later...
  • 2 weeks later...
  • 4 months later...

Can't make an account that I have found so far, can log in as an account holder or as a developer, but if you aren't registered, you can't register. Unless I am missing something (quite possible).

Deputy Sheriff, Missouri

 

  • 3 months later...
  • 2 months later...
On 8/8/2019 at 12:08 PM, Officer Adam J Thomas said:

nvm i found it

 

go to the page click on the release then click artifacts there will be a .zip there

only question i have now is where do i put the xml

 

maybe it is like els and it has its own folder in the root dont quote me on that because idk

You load in the program and run vehicle gadgets and it will create its own folder and conditions. XMLs go into the folder much like ELS

 

  • 1 month later...
On 10/22/2019 at 5:26 PM, American101 said:

Run what program? I'm assuming LSPDFR?

no Vehicle Gadgets. It has to load the plugin the first time to create its folder and all the conditions. Once that is done you exit and drop your XMLs in the folder. 

  • 6 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Similar Content

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.