jpm1 Posted September 14, 2012 Share Posted September 14, 2012 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 Link to comment Share on other sites More sharing options...
ch3y3zze Posted September 14, 2012 Share Posted September 14, 2012 (edited) yeah i made as part of my trainer (has dev features like this) 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 Edited September 14, 2012 by ch3y3zze Link to comment Share on other sites More sharing options...
jpm1 Posted September 14, 2012 Author Share Posted September 14, 2012 (edited) 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 Edited September 14, 2012 by jpm1 Link to comment Share on other sites More sharing options...
ch3y3zze Posted September 14, 2012 Share Posted September 14, 2012 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 Link to comment Share on other sites More sharing options...
jpm1 Posted September 14, 2012 Author Share Posted September 14, 2012 (edited) 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 Edited September 14, 2012 by jpm1 Link to comment Share on other sites More sharing options...
ch3y3zze Posted September 14, 2012 Share Posted September 14, 2012 yeah ok, ill post it here later tonight, just have to copy the code out of my trainer Link to comment Share on other sites More sharing options...
ch3y3zze Posted September 15, 2012 Share Posted September 15, 2012 (edited) 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 September 15, 2012 by ch3y3zze Link to comment Share on other sites More sharing options...
jpm1 Posted September 15, 2012 Author Share Posted September 15, 2012 yes , i think this is it Link to comment Share on other sites More sharing options...
ch3y3zze Posted September 15, 2012 Share Posted September 15, 2012 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 Link to comment Share on other sites More sharing options...
jpm1 Posted September 15, 2012 Author Share Posted September 15, 2012 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 ! . i tell ya if that fits my expectations , or not Link to comment Share on other sites More sharing options...
jpm1 Posted September 15, 2012 Author Share Posted September 15, 2012 (edited) got error : 'error in script vehiclepropertytool.main' something like that . i'm using 1.0.7.0 Edited September 15, 2012 by jpm1 Link to comment Share on other sites More sharing options...
ch3y3zze Posted September 15, 2012 Share Posted September 15, 2012 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 Link to comment Share on other sites More sharing options...
jpm1 Posted September 15, 2012 Author Share Posted September 15, 2012 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! Link to comment Share on other sites More sharing options...
ch3y3zze Posted September 15, 2012 Share Posted September 15, 2012 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 Link to comment Share on other sites More sharing options...
jpm1 Posted September 15, 2012 Author Share Posted September 15, 2012 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 and here's the result 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 Link to comment Share on other sites More sharing options...
ch3y3zze Posted September 15, 2012 Share Posted September 15, 2012 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 Link to comment Share on other sites More sharing options...
jpm1 Posted September 15, 2012 Author Share Posted September 15, 2012 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 . 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 Link to comment Share on other sites More sharing options...
ch3y3zze Posted September 15, 2012 Share Posted September 15, 2012 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 Link to comment Share on other sites More sharing options...
ch3y3zze Posted September 17, 2012 Share Posted September 17, 2012 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: Link to comment Share on other sites More sharing options...
jpm1 Posted September 17, 2012 Author Share Posted September 17, 2012 (edited) 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 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 September 18, 2012 by jpm1 Link to comment Share on other sites More sharing options...
ch3y3zze Posted September 17, 2012 Share Posted September 17, 2012 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 ill post back soon when i make some more progress Link to comment Share on other sites More sharing options...
jpm1 Posted September 18, 2012 Author Share Posted September 18, 2012 ok man , i tried with an helo and couldn't manage to make it spawn with correct rotation Link to comment Share on other sites More sharing options...
ch3y3zze Posted September 18, 2012 Share Posted September 18, 2012 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! Link to comment Share on other sites More sharing options...
jpm1 Posted September 18, 2012 Author Share Posted September 18, 2012 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 Link to comment Share on other sites More sharing options...
jpm1 Posted September 18, 2012 Author Share Posted September 18, 2012 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 and here's what i get whatever i enter quaternion data or rotation data i get this Link to comment Share on other sites More sharing options...
ch3y3zze Posted September 18, 2012 Share Posted September 18, 2012 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 Link to comment Share on other sites More sharing options...
ch3y3zze Posted September 18, 2012 Share Posted September 18, 2012 http://dl.dropbox.com/u/55310026/Vehicle%2...%20ch3y3zze.rar ok added position and rotation, now can save and set as well, now u should be able to dset vehicles how u like Link to comment Share on other sites More sharing options...
ch3y3zze Posted September 19, 2012 Share Posted September 19, 2012 (edited) 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 September 19, 2012 by ch3y3zze Link to comment Share on other sites More sharing options...
jpm1 Posted September 19, 2012 Author Share Posted September 19, 2012 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 Link to comment Share on other sites More sharing options...
ch3y3zze Posted September 19, 2012 Share Posted September 19, 2012 Yeah just the 2 files in the folder. (.net & .dat file) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now