@CatFromTheSevenSeas Great. Enjoy.
Best posts made by JohnFromGWN
-
RE: Spawning a Streamed ped with a hotkey c++posted in General Modding Discussion
@NotOfTheWorld If you want to customize your ped at spawn, you can also do something like this (streaming or normal ped).
Assuming Jesus is customizable that is. There are 12 components (0 to 11) and also Props as well. This is C# not C++ although I wouldn't know the difference.
`Game.Player.ChangeModel(PedHash.Trevor); // Ped PP = Game.Player.Character; if you want cleaner code Function.Call(Hash.SET_PED_COMPONENT_VARIATION, Game.Player.Character, 0, 0, 1, 2); //head Function.Call(Hash.SET_PED_COMPONENT_VARIATION, Game.Player.Character, 1, 1, 0, 2); // beard Function.Call(Hash.SET_PED_COMPONENT_VARIATION, Game.Player.Character, 2, 3, 0, 2); // hair Function.Call(Hash.SET_PED_COMPONENT_VARIATION, Game.Player.Character, 3, 22, 5, 2); //torso, jacket Function.Call(Hash.SET_PED_COMPONENT_VARIATION, Game.Player.Character, 4, 0, 2, 2); //jeans Function.Call(Hash.SET_PED_COMPONENT_VARIATION, Game.Player.Character, 6, 9, 0, 2); //shoes Function.Call(Hash.SET_PED_**PROP_INDEX**, Game.Player.Character, 1, 3, 1, 2); //Glasses`If you want a spawn rather than a change:
Ped Dante = World.CreatePed(PedHash.Trevor, Game.Player.Character.GetOffsetPosition(new Vector3(1, 5, 0)));@Jitnaught : I apologize if I'm old school, usually go for the native function because when I started playing with scripts that's the only documentation I could find.
-
RE: Rockstar Launcher Offline Mode: Could Not Establish Connection Can Anyone Help Me PLZ?posted in Installation Help & Troubleshooting
@Rafi-Snih Can you share what the solution was?
-
RE: Scripthook Vposted in General Modding Discussion
@Dogamizer I fully agree with you. I hate all the platforms forced upon us - Steam, Epic, Ubiconnect etc. And I also agree if you paid for the game and you want to crack it to remove unnecessary garbage go for it although I would definitely not recommend this for the average user, not because of legal issues, but more because of malicious code that might elude an anti-virus (another reason to backup systems). Hell, even a script here, could have a timer that is set to delete data or system files because that can be done with VB.net, C#, C++ etc. So unless you reviewed the source code you could have a nasty surprise. Not being paranoid, just talking theoretically.
P.S. In the old days it was common to install software allowing us to play without our CDs - eliminating the need for them in the drive, CD switching for some games, and also getting rid of that horrible humming sound as the CD whirred. Ofc the biggest benefit was speed - running off a HDD vs a CD drive. The first game I ever bought was the first Tomb Raider - and I eventually played it without the CD, on my HDD. It was wonderful. -
RE: Script Hook V workaround - Thank me later.posted in General Modding Discussion
@Radman2307 Good. Pretty sad however that most of the community depends on one person, AB, to update one file. Like I said before, if he disappears from the scene either someone will have to step in or tons of users will be flooding all forums crying that their modded SP game is gone for good. Or, they could backup a few files (only took 1 this update) and rest easy. When I see new DLC is coming, it's like "Ok, big deal. I don't play online. Go ahead Steam. I'm ready to restore my game"
-
RE: Who passed the wind? This is SO annoying!posted in General Modding Discussion
@a63nt-5m1th I have to apologize to you for this very late feedback and an earlier DM saying the core.ypt had not solved the issue. I think I had placed it in the wrong folder (game or mods, not sure). I went back, did it properly this time and it did solve the issue. so THANK YOU!
-
RE: Scripthook Vposted in General Modding Discussion
@ItsJustCurtis Which would seem to confirm that the only reason SH breaks is because it checks the GTA5 version.
-
All my game peds disappeared - destroyed by Lamboposted in Installation Help & Troubleshooting
Posting this here in case it happens to anyone else. Has a happy ending but still unclear as to the actual mechanics.
Here we go. I'm in SP and using my personal menu I spawn a car and a few addon peds. Then I spawn a vanilla ped (Lost MC girl) through my menu and I get a script exception error - no spawn.
Hmmm. Strange. Look at the code in VS, everything looks fine which is expected since no recent changes were made. Decide to spawn through Menyoo trainer this time and I get nothing. Try another model. Nothing. No game peds will spawn, but all addon peds spawn as expected. This is an "Oh Fudge" moment.
I search for game models in Open IV, restricting search to Mods folder only, and they appear - they are there!
Ok, let's not panic because I'm religious when it comes to backups. Go into OpenIV and I extract the 2 files that I've updated lately. One of which is dlclist.xml. I delete my update.rpf file and restore it from backup. Launch GTA 5, everything is restored, everything works perfectly but the last addons won't appear yet because i need to update dlclist.xml.
So I go into OpenIV and copy dlclist.xml and the other file and restart the game. Peds don't spawn! This is a WTF moment. Time to inspect those files. I open dlclist.xml and it's all good. Next I open the second file, a file which i NEVER update yet I did this time. The file? extratitleupdatedata.meta.
And what do I notice, the addition I made to it, right out of the mod creator's installation instructions, is full of unnecessary spaces which obviously were not parsed or ignored. So this simple edit error resulted in all my game peds (from the Mods folder ofc) no longer spawning.
Now I know the veterans here will roll their eyes and say you don't need to update that file. And this was the first time I ever did - because the author had several extra steps which I stupidly believed were necessary. I never update this file, in fact I never even follow instructions - the only reason I open the instruction file is to see if the spawn name is different from the folder name.
Moral of the story: backup your update.rpf and other files, don't update extratitleupdate.meta and if you do make sure the tags are correct and free of extra spaces.
<Item type = "SExtraTitleUpdateMount"> <DeviceName> dlc_lp700r: / </ deviceName> <Path> update: / dlc_patch / lp700r / </ path> </ Item>This is the code that broke my update.rpf file and resulted in game peds no longer spawning thru C# or Menyoo.
-
RE: Clothing Mega Add-On Mods?posted in General Modding Discussion
@T-Rent You can think of ped clothes (includes face, hair, legs, outfits) and ped props (glasses, necklaces, watches, etc) like the customizations for your car addons (wheels, liveries, extras, paints,) etc.
Cheers -
RE: Clothing Mega Add-On Mods?posted in General Modding Discussion
@T-Rent It would be impossible to do because you can't have a one size fits all approach with different vanilla and/or addon peds.
There is a menyoo mod with outfits for the MP characters if you use those (I think they suck, but that's just me).https://www.gta5-mods.com/player/ultimate-outfit-pack-menyoo
What you can do with other peds, is create your own textures and then customize an individual model. You might be limited to the number of slots but you can always rename the model. You will need OpenIV and textures will be in the ytd files. You will also need a photo/graphics/imaging software with support (native or plugin) for .dds files (for example paint.net or photoshop with an intel or nvidia plugin).
-
RE: How to PED use vehicle weaponsposted in General Modding Discussion
@edwardduck I'm not sure what you want to do but it seems you want to use this for multiplayer online rather than single player sandbox. I only do the latter and I rarely do anything police or military themed.
If you want to learn how to script, which is what you will need to do, then google how to script for GTA5. I can't recommend any because I never really watched them, I learned almost exclusively by trial and error with timely help from one or two real experts here. Would recommend you code in C# and take a tutorial in that language if you're not familiar with it.
Is this what your trying to do. In this video the player drives, one of the peds uses the gun mounted on the roof.
-
Personal Sandbox Menuposted in General Modding Discussion
This project has moved along nicely - Sandbox Menu (personal trainer) created with Lemon UI.
Specs:- 22 CS files in one solution
- over 140 vehicle addons, all C# scripted to spawn customized (or customized within Sandbox Menu)
- all vehicles categorized by brand or function (still a WIP)
- options to turn radio on or off in vehicles with personal radio set as default
- over 120 ped addons, all scripted to spawn with component and props - and additionally customized through menu
- all peds categorized
- locations (teleport) menu with categories
- session functions to change player or customize peds including god mod, bodyguard (companion) etc
- tasks and animations (WIP).
Also did quite a bit of customization on peds. I have my own addon ped process with 2 addonped folders, each one with 3 rpfs.
Created variations of peds by combining parts and changing textures. Same with vehicles, converting replacements to addons etc.
Learned quite a bit in the process, much of it by trial and error.UPDATE: This is not a future release mod and it is only a WIP in that I'm still customizing and adding items as I go along without and set plans. If however, anyone needs help on how to create a personal menu/trainer for themselves, I'll be more than happy to help if I can.
-
RE: Videoposted in Site-Related Questions & Feedback
This comment is for Jitnaught, lets please consider this matter closed afterwards.
A few weeks ago, I was called a F****** Troll on these forums because I pointed out that the instructions for a mod, both in the description and in the downloaded package, stated the following in very clear English:
7) Once you've extracted the "update" folder to your "mods" folder you want to use OpenIV and navigate to GTA V > mods > update > x64 > dlcpacks and delete everything in there.That is the most absurd instruction I've ever seen on any forum. Being called names normally doesn't bother me, but given the context it did - so I reported it. The mods did nothing. I reported it a second time. The mods did nothing. I posted about this on this forum. The mods did nothing.
Finally the insulting comment was removed. Why? Because Jitnaught intervened on my behalf, calling the person who made the public insult out.
What do I think of Jitnaught overall? This was my last interaction with him:
@Jitnaught P.S. If it wasn't for your help, I would have given up scripting pretty quickly.Jitnaught is the one person here who helped me progress from total noob to at least being able to create my own UI menus, more importantly the person who kept me from giving up totally on scripting and I think it's important, out of respect, to ensure he clearly understands the nature and intent of my remark that was removed. By removing it, although you did requote it, it could have been sadly left up to the imagination on how hurtful and insulting it might have been - which in no way it was, quite on the contrary.
The OP in this thread, thankfully solved so no hijack, made the usual "Please help me with my very very vague request". Reacon wasn't clear on the request, I sure as hell didn't know what the OP was trying to do, but Jitnaught figured it out right - the OP was trying to merge two video files - what this has to do with mods I really don't know but that's not relevant.
So when I wrote "you're mind reader too", it was indeed a sincere compliment. The part that was missing, the reference to "too" is that I also consider Jitnaught the resident expert on scripting here - and one of the few, along with IAmJFry, who has taken the time to help me personally. I'm leaving out AgentSmith because his invaluable help has been related to meta data etc rather than scripts.
One last word, I refuse to walk on eggshells here or in any other forum. I was here to learn and help if I could as well, not to insult people.
-
RE: Who passed the wind? This is SO annoying!posted in General Modding Discussion
@JohnFromGWN
One thing is important to keep in mind (btw these particles can be much worse than in the screenshot) is that these particles can be removed, as in my original post, in Menyoo (wind speed =0) or through a script which is what I do every time i play. The particles do move (not dirt on my monitor), they will move across the screen with the wind, and they are the worst at startup and will often dissipate afterwards - quite annoying.

-
RE: Freshly installed game crashes upon loading story modeposted in Installation Help & Troubleshooting
@sc4recr0w im glad you fixed it and thank you for confirming both the issue and the fix
-
RE: i am having car add on issues, is my first time that i add i did it how i use before do i need a program or script ???posted in Installation Help & Troubleshooting
@sortu You likely need a gameconfig and a few other mods. Even one car can crash a system, even a high end rig.
-
RE: Make the peds move even they are not within_brain_activation_rangeposted in General Modding Discussion
@JohnFromGWN One more test. There are 2 peds playing follow the player. One ped is on foot and I trigger the script at a pretty fair distance and she responds immediately. The other ped, just for dramatic effect, is in a helicopter.
Don't know what the magic distance is, but for practical purposes (and LOD reasons) you can trigger a ped, at least for a follow player, from the limit of your visual field.
-
RE: Make the peds move even they are not within_brain_activation_rangeposted in General Modding Discussion
Have not tried a ped on foot, but here is proof that you can trigger a ped to fly from LS Airport - with the trigger coming from Fort Z. Next attempt would be to trigger the ped in GTA V from GTA IV......just kidding.
-
RE: Make the peds move even they are not within_brain_activation_rangeposted in General Modding Discussion
@JohnFromGWN Here is another quick test. This time I went to UCLA (ULSA) and triggered the event from there. Again no issues at that particular distance.
-
How to position Peds on Chairs, or attach Props to Peds with Lemon UIposted in General Modding Discussion
Simple and efficient way to use the Lemon UI slider to position a ped or to attach and position a prop on a ped.
Requires converting integers to floats and dividing by 100 to change sensitivity of first 3 coordinates and multiplying by 10 for last 3. Of course your can change sensitivity (hard code or use another slider) if more precision is required or if you want greater speed.Thank you to IAmJFry for help on slider changes in another post.
When I have a chance I'll show a demo with a prop attached to a ped as that is one that seems to give ppl problems.
-
RE: [C#][Tutorial] Basics of creating a script PART 1posted in Tutorials
@trapx1 With dotnet3 it became
GTA.UI.Screen.ShowSubtitle -
RE: [ Tutorial ] - dlclist.xml Troubleshooting/Syntax Rules/All DLC stopped working possible FIXposted in Tutorials
@a63nt-5m1th Excellent summary. Only thing you might want to add is that there are 2 files with that name.
the one you want to update, generally speaking, is the one in the mods folder
.....**\mods\**update\update.rpf\common\dataand not this one:
your GTA install folder\update\update.rpf\common\data