Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. Gameplay
      2. Missions
      3. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Arena War
      2. After Hours
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA Next

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. News

    2. Forum Support

    3. Site Suggestions

sjaak327

Simple Trainer for GTAV

Recommended Posts

doubledecker
11 minutes ago, doubledecker said:

Does anyone know if this project will become open sourced or not? I'm struggling with remaking one feature Simple Trainer has,

 

"Last Spawned Object Static"

 

I'm really curious on what natives are used to make this happen because I'm experiencing issues that can be fixed with that one option :D

I assume what is used is setting the prop to non-dynamic in the first place, BUT, that isn't the case because when you spawn a prop, it already isn't dynamic. 

When I spawn a prop with the parameter for "isDynamic" to false, many props are still dynamic. Does Simple Trainer use some other way of achieving this? o.o

Share this post


Link to post
Share on other sites
allmight

Uninstall the complete game and reinstalled from scratch, then install the add-ons ASI, scripthookV and everything else needed for the mods, then install it in fair play without any modification to the mod trainerV and still remains uppercase when looking for a vehicle in specif (dlc / add-on) I really get tired and I do not know if it is some kind of .ini file or any other kind of file that I should edit.

Share this post


Link to post
Share on other sites
sjaak327
On 1/22/2019 at 5:04 PM, doubledecker said:

Does anyone know if this project will become open sourced or not? I'm struggling with remaking one feature Simple Trainer has,

 

"Last Spawned Object Static"

 

I'm really curious on what natives are used to make this happen because I'm experiencing issues that can be fixed with that one option :D

basically just this:

 

if (ENTITY::DOES_ENTITY_EXIST(object))
                {
                    ENTITY::FREEZE_ENTITY_POSITION(object, 1);

}

 

providing the object was spawned with collision, not sure it that matters.

On 1/24/2019 at 2:43 PM, allmight said:

Uninstall the complete game and reinstalled from scratch, then install the add-ons ASI, scripthookV and everything else needed for the mods, then install it in fair play without any modification to the mod trainerV and still remains uppercase when looking for a vehicle in specif (dlc / add-on) I really get tired and I do not know if it is some kind of .ini file or any other kind of file that I should edit.

I honestly don't know what you are talking about, the search function for vehicles works just fine, I am using it all the time.

Anyway, new version 9.7:

 

Changes from 9.6
-Since people have found a way to add radio stations, I have updated the way I detect those stations, so that any added stations can also be used to lock the radio to that station.
-Next Song (N) is back ! Thanks to Unknown who provided me with code to re-implement the skip to next song function.
This means the key to deploy mines has changed from N to L+num1.
-Option to display Artist and Track each time you use N to change the station. This is optional, add DisplaySong=1 in defaults section of the ini.
-On some people's computers the new way of getting livery names led to a crash, so I added an additional check to prevent that from happening.

No ini changes. 

Share this post


Link to post
Share on other sites
Pizzahut

Another suggestion: can you make it so certain cutscene peds do not spawn with spawn random bodyguard/ped/att. ped/driver? Some cutscene peds hold their guns f*cked up, and if they go ragdoll, the game crashes.

Share this post


Link to post
Share on other sites
sjaak327
7 hours ago, Pizzahut said:

Another suggestion: can you make it so certain cutscene peds do not spawn with spawn random bodyguard/ped/att. ped/driver? Some cutscene peds hold their guns f*cked up, and if they go ragdoll, the game crashes.

Why are you spawning bodyguards during cutscenes ? i can certainly make a check for them, but in the end, it's you who spawns them.

Share this post


Link to post
Share on other sites
Pizzahut
42 minutes ago, sjaak327 said:

Why are you spawning bodyguards during cutscenes ? i can certainly make a check for them, but in the end, it's you who spawns them.

No, what I meant is that the random spawner function can also spawn cutscene (cs_) models. The cutscene models/peds are only the peds that hold the weapon weirdly and crash the game when in ragdoll.

Share this post


Link to post
Share on other sites
sjaak327
28 minutes ago, Pizzahut said:

No, what I meant is that the random spawner function can also spawn cutscene (cs_) models. The cutscene models/peds are only the peds that hold the weapon weirdly and crash the game when in ragdoll.

Ah, now I understand, so you want me to ignore the CS_ peds ? I didn't know this happened. Is this the same for animals ?

Share this post


Link to post
Share on other sites
Pizzahut
13 hours ago, sjaak327 said:

Ah, now I understand, so you want me to ignore the CS_ peds ? I didn't know this happened. Is this the same for animals ?

Animals are all good. They don't spawn randomly and don't crash the game in ragdoll.

Edited by Pizzahut

Share this post


Link to post
Share on other sites
sjaak327
On 1/29/2019 at 10:07 AM, Pizzahut said:

Animals are all good. They don't spawn randomly and don't crash the game in ragdoll.

Ok, well I remember now, somone requested animals to be excluded as well, and they have been since that time. I now also excluded CS and CSB, next version.

Share this post


Link to post
Share on other sites
sjaak327

New version:

 

Changes from 9.7
-The option DisplaySong will now also work when a new song is played on the radio, not just when you press N for next song.
-Compatiblity with latest patch (snow, despawn, recording UI).
-Fixed a bug with Nitro not applying.

No ini changes

 

Share this post


Link to post
Share on other sites
Pizzahut

Trainer crashed a few times on me going into the bodyguard menu. Happens randomly. Worked fine on the last version just fine without changing any mods.

Edited by Pizzahut

Share this post


Link to post
Share on other sites
MisterEd

GTA V crashing with Trainer. Installing new Script Hook fixed that.

 

Script Hook V

Released: 10 Feb 2019    
Version: v1.0.1604.1
Supported patches: 1.0.335.2-1.0.1604.1

Share this post


Link to post
Share on other sites
MrAnon

So I installed it but the link to the scripthookv.dll  and dinput8.dll doesn't work. Can I get a working link?

Share this post


Link to post
Share on other sites
MrAnon

Nevermind its working now!

Share this post


Link to post
Share on other sites
EovAnonymous

Im still new to LSPDFR, but I followed the tutorial about the simple trainer and I click F3 and it pops up but I can use it?  I use the arrow keys and I use the numPad but nothing, how do I use the trainer?

Share this post


Link to post
Share on other sites
MisterEd
Posted (edited)
5 hours ago, EovAnonymous said:

Im still new to LSPDFR, but I followed the tutorial about the simple trainer and I click F3 and it pops up but I can use it?  I use the arrow keys and I use the numPad but nothing, how do I use the trainer?

The numPad only works for the Trainer if NumLock is enabled. For example for Num 0 to work for the trainer make sure NumLock is enabled.

 

The "readme.docx" has a summary on what the trainer does. It also lists keyboard shortcuts for a number of built-in functions.

 

You can use the menu to set a desire value, activate a function, or spawn something. Many or these functions have corresponding keyboard shortcuts. For example you can choose from over 100 vehicles to spawn from the menu. There are 12 shortcut keys to spawn one of 12 cars from a list of popular cars. The keys used to spawn cars and what cars are spawned are defined in the "trainerv.ini" file.

 

The file "trainerv.ini" file has what keys are bound to each trainer function.
The first set defined are those to navigate the trainer menu.

=====================================================
Default values in "trainerv.ini" file
-------------------------------------------------------------------------
[KeyBindings]
MenuKey=114        //Enter Menu, Default F3
HideMenuKey=115        //Hide Menu, Default F4
MenuKeyUp=104        //Menu go Up, Default Num 8
MenuKeyDown=98        //Menu go Down, Default Num 2
MenuKeyCancel=8        //Menu Cancel, Default Backspace
MenuKeyScrollUp=102    //Menu Scroll, Default Num 6
MenuKeyScrollDown=100    //Menu Scroll, Default Num 4
MenuKeyEnter=101    //Menu Enter, Default Num 5
MenuKeyBack=96        //Menu Back, Default Num 0
MenuKeyQF=105        //Menu Second Column, Default Num 9
MenuKeyQB=103        //Menu First Column, Default Num 7

=====================================================
These values can be changed if you wish.

I changed these menu keys in the "trainerv.ini" file.
-------------------------------------------------------------------------
MenuKeyUp=38        //Menu go Up, Up Arrow
MenuKeyDown=40        //Menu go Down, Down Arrow

MenuKeyEnter=13        //Menu Enter, Enter

MenuKeyQF=39        //Menu Second Column, Right Arrow
MenuKeyQB=37        //Menu First Column, Left Arrow

=====================================================

The section "EXPLANATION AND LIST OF KEYCODES" is very useful.

For example the arrow keys have the following key codes:

Left Arrow    37
Up Arrow    38
Right Arrow    39
Down Arrow    40

Edited by MisterEd

Share this post


Link to post
Share on other sites

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...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • 6 Users Currently Viewing
    0 members, 0 Anonymous, 6 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.