@Dilapidated That file is still encrypted but it would give us a lot of control over what peds could do, such as use stealth.
Phnx
View profile on GTA5-Mods.com »
Posts made by Phnx
-
RE: Dilapidated gameconfig.xml
-
RE: Dilapidated gameconfig.xml
@Dilapidated I know this is totally OT and I apologize, but is there any chance you could take a look at pedpersonality.ymt?
-
RE: Dilapidated gameconfig.xml
Thanks! I guess your World of Variety gameconfig.xml is already compatible with the doomsday DLC?
-
Illuminated clothing?
Hey. I haven't checked GTA Online in a while and just noticed there are options for the illuminated clothing: "off", "pulse" and "flash". Is there any way we could control that through scripting?
-
RE: Hairdresser & Clothes XML/meta files location?
I think I found the files for the outfits but they are encrypted:
player_one.ymt
player_two.ymt
player_zero.ymt
mp_f_freemode_01.ymt
mp_m_freemode_01.ymtI tried switching them up for testing and it had an effect but not the one I wanted.
-
Director Mode watermark?
Hi. Does anyone know how to remove it?
-
Hairdresser & Clothes XML/meta files location?
Heya. I recently used the Character Swap mod and noticed you can actually get a haircut at the hairdresser as a freemode character. But the choice is bugged and limited by the style and number of hairstyles the character has whose hash you are using.
TL;DR
If someone knows where to find the config files for hairstyles and clothes of Michael (player_zero), Franklin (player_one) and Trevor (player_two) I think it might be possible to actually use the hairdresser and clothing shops after some modding.
-
RE: Native to make game register bumping into and getting jacked?
Hey. I was wondering what the code for that was. Thanks. Also, I'm sooo stupid. Actually the script DOES work, finally! Thanks again SO MUCH!!! I used incorrect code for the speech. It's just funny that even when bumping into ANYTHING my character now comments on how rude the dust bin is for standing in her way, lol!
using GTA.Math; using GTA.Native; using System; using System.Windows.Forms; public class Bumped : Script { public Bumped() { Tick += OnTick; } System.Random random1 = new System.Random(); void OnTick(object sender, EventArgs e) { Ped player = Game.Player.Character; if (player.HasCollidedWithAnything) switch (random1.Next(3)) { case 2: Function.Call(Hash._0x8E04FEDD28D42462, (InputArgument)Game.Player.Character, (InputArgument)"BUMP", (InputArgument)"SPEECH_PARAMS_FORCE", (InputArgument)0); break; case 1: Function.Call(Hash._0x8E04FEDD28D42462, (InputArgument)Game.Player.Character, (InputArgument)"PROVOKE_BUMPED_INTO", (InputArgument)"SPEECH_PARAMS_FORCE", (InputArgument)0); break; } if (player.IsJacking) switch (random1.Next(3)) { case 2: Function.Call(Hash._0x8E04FEDD28D42462, (InputArgument)Game.Player.Character, (InputArgument)"NICE_CAR", (InputArgument)"SPEECH_PARAMS_FORCE", (InputArgument)0); break; case 1: Function.Call(Hash._0x8E04FEDD28D42462, (InputArgument)Game.Player.Character, (InputArgument)"NICE_CAR_SHOUT", (InputArgument)"SPEECH_PARAMS_FORCE", (InputArgument)0); break; } if (player.IsBeingJacked) { Function.Call(Hash._0x8E04FEDD28D42462, (InputArgument)Game.Player.Character, (InputArgument)"JACKED_GENERIC", (InputArgument)"SPEECH_PARAMS_FORCE", (InputArgument)0); } } }
-
RE: Native to make game register bumping into and getting jacked?
Thanks again for the help!
The script currently looks like this but isn't working:
using GTA;
using GTA.Math;
using GTA.Native;
using System;
using System.Windows.Forms;public class Blergh : Script
{
enum Touchable
{
Nothing,
Vehicle,
Ped,
Object,
Entity
}public Blergh() { Tick += OnTick; } System.Random random1 = new System.Random(); //public void OnTick(object sender, EventArgs e) //{ //Ped[] nearbyPeds = World.GetNearbyPeds(Game.Player.Character, 1); //foreach (Ped p in nearbyPeds) //{ //if (p.IsTouching(Game.Player.Character)) void OnTick(object sender, EventArgs e) { Ped player = Game.Player.Character; if (player.HasCollidedWithAnything) { // do something //switch (random1.Next(4)) //{ //case 3: Function.Call(Hash._0x8E04FEDD28D42462, (InputArgument)Game.Player.Character, (InputArgument)"BUMP_01", (InputArgument)"SPEECH_PARAMS_FORCE", (InputArgument)0); //break; //case 2: //Function.Call(Hash._0x8E04FEDD28D42462, (InputArgument)Game.Player.Character, (InputArgument)"BUMP_02", (InputArgument)"SPEECH_PARAMS_FORCE", (InputArgument)0); //break; //case 1: //Function.Call(Hash._0x8E04FEDD28D42462, (InputArgument)Game.Player.Character, (InputArgument)"BUMP_03", (InputArgument)"SPEECH_PARAMS_FORCE", (InputArgument)0); //break; } //if (p.IsBeingJacked) if (player.IsJacking) //switch (random1.Next(4)) { //case 3: Function.Call(Hash._0x8E04FEDD28D42462, (InputArgument)Game.Player.Character, (InputArgument)"Hash._0x0006D643", (InputArgument)"SPEECH_PARAMS_FORCE", (InputArgument)0); //break; //case 2: //Function.Call(Hash._0x8E04FEDD28D42462, (InputArgument)Game.Player.Character, (InputArgument)"Hash._0x00BED030", (InputArgument)"SPEECH_PARAMS_FORCE", (InputArgument)0); //break; //case 1: //Function.Call(Hash._0x8E04FEDD28D42462, (InputArgument)Game.Player.Character, (InputArgument)"Hash._0x042EA3B4", (InputArgument)"SPEECH_PARAMS_FORCE", (InputArgument)0); //break; } //if (p.IsJacking) if (player.IsBeingJacked) //switch (random1.Next(4)) { //case 3: Function.Call(Hash._0x8E04FEDD28D42462, (InputArgument)Game.Player.Character, (InputArgument)"JACKED_GENERIC_01", (InputArgument)"SPEECH_PARAMS_FORCE", (InputArgument)0); //break; //case 2: //Function.Call(Hash._0x8E04FEDD28D42462, (InputArgument) Game.Player.Character, (InputArgument) "JACKED_GENERIC_02", (InputArgument) "SPEECH_PARAMS_FORCE", (InputArgument) 0); //break; //case 1: //Function.Call(Hash._0x8E04FEDD28D42462, (InputArgument) Game.Player.Character, (InputArgument) "JACKED_GENERIC_03", (InputArgument) "SPEECH_PARAMS_FORCE", (InputArgument) 0); //break; } //} }
}
As you can see by the parts commented out I have also experimented with a method different from yours, but it's not working as well.
-
RE: Can't download
https://www.gta5-mods.com/scripts/emergency-strobes/download/33013
Oh, that's funny. I post this and suddenly now it's working.