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. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Online

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

      1. Recruitment
    2. Events

    1. GTA Online

      1. DLC
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
      7. The Diamond Casino Heist
    2. Grand Theft Auto Series

    3. GTA 6

    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 IV 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 SA Mods
    10. GTA Vice City

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

      1. Guides & Strategies
      2. Help & Support
      3. GTA III 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

Sign in to follow this  
jpm1

searching for precise location tool

Recommended Posts

jpm1

everything is in title . i'm searching for a script that read the coordinates IG but also shows the rotation values . someone knows if such script exists . it would save me dozens of hours of testing with quaternion thing

Share this post


Link to post
Share on other sites
ch3y3zze

yeah i made as part of my trainer (has dev features like this)

 

user posted image

 

i could easily add rotation and anything else id like to know, i have a same tool for vehicles too, just use perframe draw to display all ped properties on screen, mine grabs targeted peds wink.gif

Edited by ch3y3zze

Share this post


Link to post
Share on other sites
jpm1

yeah i saw you released a kind of trainer . i'll check this . it takes hours each times to place a vehicle pfff . thanks

 

edit : the pic appeared with delay . no that's not what i'm looking for . i want the exact rotation values that are in wpl

 

user posted image

Edited by jpm1

Share this post


Link to post
Share on other sites
ch3y3zze

i havent released but send me a private message and i will make the script for u, ohh sorry i thought u meant for the ped in game, my bad

Share this post


Link to post
Share on other sites
jpm1

man i don't know why i can't send you a pm . but yes if you don't mind i would like such script , that allows you to see coordinates of vehicle with the rotation numbers (values #4 , #5 , #6 of wpl) . honestly i don't know what exactly values #4 , #5 , #6 are , but i know they are a kind of rotation rolleyes.gif

Edited by jpm1

Share this post


Link to post
Share on other sites
ch3y3zze

yeah ok, ill post it here later tonight, just have to copy the code out of my trainer

Share this post


Link to post
Share on other sites
ch3y3zze

check out this vid and let me know if that's what ur looking for, havent lokoed at wpl fiiles too much but im able to grab quaternion rotation from vehicles in game

 

http://www.youtube.com/watch?v=0YX-UogSkpA&hd=1

Edited by ch3y3zze

Share this post


Link to post
Share on other sites
jpm1

yes , i think this is it smile.gif

Share this post


Link to post
Share on other sites
jpm1
ok enjoy, use the M key to enable and disable. So first enable and then walk up to a car and to close that car's info just press M again (like vid) enjoy!

 

https://dl.dropbox.com/u/55310026/VehiclePropertyTool.rar

Awesome man , thanks a lot ! icon14.gif . i tell ya if that fits my expectations , or not smile.gif

Share this post


Link to post
Share on other sites
jpm1

got error : 'error in script vehiclepropertytool.main' something like that . i'm using 1.0.7.0

Edited by jpm1

Share this post


Link to post
Share on other sites
ch3y3zze

i can fix it but i need to know what it said in console when error happened, make sure u have 0.5.1 scripthook c++ and scripthookdotnet 1.7.1.7 beta

Share this post


Link to post
Share on other sites
jpm1

i have latest scripthook things

 

 

2012-09-15 17:39:31 - Initializing ScriptHookDotNet v1.7.1.4 BETA (GTA IV version 1.0.7.0)2012-09-15 17:40:05 - Direct3D device created!2012-09-15 17:40:05 - SEARCHING FOR SCRIPTS...2012-09-15 17:40:05 - Loading scripts in Assembly 'scripts\Open Liberty.net' ...2012-09-15 17:40:05 -  ...found script 'OpenLibertyMod'!2012-09-15 17:40:05 - Loading scripts in Assembly 'scripts\VehiclePropertyTool.net' ...2012-09-15 17:40:05 -  ...found script 'VehiclePropertyTool.Main'!2012-09-15 17:40:05 - Loading scripts in Assembly 'scripts\Strobes.net.dll' ...2012-09-15 17:40:05 -  ...found script 'Strobes.Strobes'!2012-09-15 17:40:05 - DONE! 3 valid scripts found!2012-09-15 17:40:05 - STARTING SCRIPTS...2012-09-15 17:40:05 - Error during GetPhoneNumber (Phone checks will be disabled):                     System.Exception: Accessing Globals failed! Invalid Memory Address!                        at unmanaged.MemoryAccess.GetGlobalAddress(Int32 index)                        at unmanaged.MemoryAccess.GetPhoneNumber()                        at GTA.NetHook.CheckPhone()2012-09-15 17:40:05 -  ...successfully started script 'Strobes.Strobes'!2012-09-15 17:40:06 -  ...successfully started script 'VehiclePropertyTool.Main'!2012-09-15 17:40:06 -  ...successfully started script 'OpenLibertyMod'!2012-09-15 17:40:11 - Error during Tick in script 'VehiclePropertyTool.Main':                     System.MissingMethodException: Method not found: 'Boolean GTA.Game.Exists(GTA.base.Object)'.                        at VehiclePropertyTool.Main.CarIDTool()                        at GTA.Script.ProcessBoundKey(Keys Key)                        at GTA.Script.ProcessEvents()                        at GTA.Script.DoTick()                        at GTA.ScriptThread.OnTick()2012-09-15 17:40:11 - Error in Thread.Abort:                     System.Threading.ThreadAbortException: Thread was being aborted.                        at System.Threading.Thread.AbortInternal()                        at System.Threading.Thread.Abort()                        at GTA.NetThread.Abort()2012-09-15 17:40:23 - Direct3D device lost!2012-09-15 17:40:23 - SCRIPTS TERMINATED!

 

Share this post


Link to post
Share on other sites
ch3y3zze

u need to update your scripthookdotnet, because it is saying a valid method from 1.7.1.7 does not exist. This tells me your scripthookdotnet is old

 

edit: lol it says 1.7.1.4 at the top

Share this post


Link to post
Share on other sites
jpm1

sorry , i checked file in GTA folder and there was nothing so i checked the file in my mods folder and it said 1717 beta , i think i messed up while modding game . well i tried the script and it's great but it has a little bug seems the rotation coordinates are inverted here's the coordinates given by VPT

 

user posted image

 

and here's the result smile.gif

user posted image

 

also when playing at smaller resolution (for example 1024x768) infos canno't be seen . and if you could add a saving option to a text file for example , it would be great

Share this post


Link to post
Share on other sites
ch3y3zze

yeah i can handle all your suggestions:

 

1. Tell me what a quaternion value even is and i can write logic to revert the numbers

2. I can make an ini to poistion the menu so when u change resolution change ini values

3. And describe what and when u want to save

Share this post


Link to post
Share on other sites
jpm1

well for parked cars i think it's not the quaternion that is used but the values below on screen rotation . the 3 rotation values . quaternion i don't know what it is . only thing i know it's that it has to be with 3D positioning , but i 'm almost sure it's not used for parked vehicles but for statics only . what are the 3 rotations values i have no clue neither whatsthat.gif . what i would like to save , well personnally the x,y,z positions in game plus the quaternion values plus the 3 rotation values , and eventually heading for eventually later use

Share this post


Link to post
Share on other sites
ch3y3zze

ok i can just save everything to a dat file, maybe make a few profiles or something to save and select from to use to set car properties, give me some time but ill post it in the next day or so

Share this post


Link to post
Share on other sites
ch3y3zze

ok ive included a feature to move the menu position on screen with the arror keys and u will be able to save position and vehicle properties and also a key to load them and set the targeted vehicle with those properties

 

here is a picture of values i will save, hopefully what u will need:

 

user posted image

Share this post


Link to post
Share on other sites
jpm1

ok man i reduced the rotation x and z to 0 and y inverted to 3.18 , and the boat spawned perfectly

 

 

460, 982.89, 0, 0, 3.18, 0, reefer, -1, -1, -1, -1, -1879046304, 0, 0

 

 

user posted image

 

man thanks again for the stuff , if it's what i'm thinking of and i think it is you have an award winning mod there . i think it'll facilitate lot of modders life out there

Edited by jpm1

Share this post


Link to post
Share on other sites
ch3y3zze

i see ok, im gonna read a little on this quaternion stuff because it is all new to me. And im happy to help, always nice to find something u make is useful smile.gif

 

ill post back soon when i make some more progress

Share this post


Link to post
Share on other sites
jpm1

ok man , i tried with an helo and couldn't manage to make it spawn with correct rotation icon14.gif

Share this post


Link to post
Share on other sites
ch3y3zze

Ok give this a try, just wrote at work so maybe a bug or 2, let me know how it goes. Also seems Rot Quaternion axis and angle cannot be set on a vehicle but u can save and set a vehicle's rot Quaternion x,y,z,w values

 

http://dl.dropbox.com/u/55310026/Vehicle%2...%20ch3y3zze.rar

 

Ok let me know how it goes!

Share this post


Link to post
Share on other sites
jpm1
Ok give this a try, just wrote at work so maybe a bug or 2, let me know how it goes. Also seems Rot Quaternion axis and angle cannot be set on a vehicle but u can save and set a vehicle's rot Quaternion x,y,z,w values

 

http://dl.dropbox.com/u/55310026/Vehicle%2...%20ch3y3zze.rar

 

Ok let me know how it goes!

thanks a lot man but it's not a hurry . dling

Share this post


Link to post
Share on other sites
jpm1

with ground objects coords are false . also i would like to be able to save rotations values not only quaternion ones , as well as position height (z)

 

here is the position i want

user posted image

 

and here's what i get whatever i enter quaternion data or rotation data i get this

user posted image

 

alien.gif

Share this post


Link to post
Share on other sites
ch3y3zze

Hmm ok I'll need to test that once I get home and I'll add function to set position and normal rotation as well, will post tonight or tomorrow, I'm on west coast btw wink.gif

Share this post


Link to post
Share on other sites
ch3y3zze

ok i uploaded an incomplete version before lol, my bad

 

this is not done yet but functioning, setting Z values seem to be buggy, also there is no control for max and min values, i guess game corrects invalid values

 

anyways not perfect but give me your thoughts

 

https://dl.dropbox.com/u/55310026/Vehicle%2...%20ch3y3zze.rar

 

and to change values hold down the right or left arrow keys

Edited by ch3y3zze

Share this post


Link to post
Share on other sites
jpm1

for correct install you just have to install install these files .. folder or anything else ?? . i want to be sure before reporting any issue and wasting your time colgate.gif

Share this post


Link to post
Share on other sites
ch3y3zze

Yeah just the 2 files in the folder. (.net & .dat file)

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.
Note: Your post will require moderator approval before it will be visible.

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.

Sign in to follow this  

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

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