Jump to content

Melee Weapons Glow


 Share

Recommended Posts

  • 2 weeks later...
  • 2 weeks later...
On 5/12/2020 at 5:40 PM, adv0cate said:

the mod creator can add 


GRAPHICS::_SET_PICKUP_OBJECT_GLOW_ENABLED(content, false);

to stop items from glowing

 

I didnt find this method in the native database (searched for "glow"). Where did you find it?

Link to comment
Share on other sites

  • 6 months later...

any progress on this? was playing RDR2 in first person with UI turned off the other day, those flashing glowing dropped enemy weapons, glowing throwing weapons/arrows and it is the same for dropped enemy hats! They were infuriating and very unattractive while playing in some an otherwise realistic mode!
No need for them, too, given the clarity and realism of graphics, I can see enemy weapons, hats and my arrows, and if I cannot, then so be it, just like RL..
completely deterimental to my experience.
 

So I am confused. I used to do a bit of OPENiv modding on gta5... openIV now supports rdr2... is that what you're using? I don't even know what program or rdr2 package or whatever to use any of the clues from above... where 0x7DFB49BCDB73089A  might be useful for example, or 

GRAPHICS::_SET_PICKUP_OBJECT_GLOW_ENABLED(content, false);

^

yet you guys sound like you know what you're talking about. I hope someone can eventually make this -

I am looking into trying to disable this dropped item glowing effect overall from all rdr2, lol, myself... but it is maybe above my pay-grade lol, i only just installed latest openiv 10minutes ago so i will have to see if that's even the right direction, given the vagueness of the info i'm working off..., and also I am seriously suprised, because the flashing glowing effect is very cheesy in such an otherwise HD and amazingly realistic game... I hope if i can't do it... in the great words of Homer Simpson, at least "can't somebody else do it?"..

Link to comment
Share on other sites

@egg6 The native function you quoted can only be used in script mods (so no OpenIV). And OpenIV currently does not allow the modifying of files, so no chance of doing it there either (yet).

I havent looked into it really. I suppose what you would have to do is iterate through all the pickups and disable the glow for each one using the native function you quoted.

I dont know how to get the pickups, though. I would have to do some research, but dont really have a lot of time, unfortunately. If you manage to find out how to get all the pickups, I could do it for you.

Link to comment
Share on other sites

pickups.meta files are scattered all over the .rpf files, each of them lists items, it has glow settings...
      <GlowRed value="x.000000" />
      <GlowGreen value="x.000000" />
      <GlowBlue value="x.000000" />
      <GlowIntensity value="x.000000" />
      <GlowRange value="x.000000" />

The weapons and items specifically are..

Spoiler

PICKUP_WEAPON_MELEE_LANTERN_ELECTRIC
PICKUP_WEAPON_MELEE_KNIFE
PICKUP_WEAPON_MELEE_KNIFE_JOHN
PICKUP_WEAPON_MELEE_KNIFE_MINER
PICKUP_WEAPON_MELEE_KNIFE_VAMPIRE
PICKUP_WEAPON_MELEE_KNIFE_CIVIL_WAR
PICKUP_WEAPON_MELEE_KNIFE_BEAR
PICKUP_WEAPON_MELEE_BROKEN_SWORD
PICKUP_WEAPON_MELEE_CLEAVER
PICKUP_WEAPON_MELEE_HATCHET
PICKUP_WEAPON_MELEE_MACHETE
PICKUP_WEAPON_REVOLVER_CATTLEMAN
PICKUP_WEAPON_REVOLVER_CATTLEMAN_JOHN
PICKUP_WEAPON_REVOLVER_CATTLEMAN_MEXICAN
PICKUP_WEAPON_REVOLVER_CATTLEMAN_PIG
PICKUP_WEAPON_REVOLVER_DOUBLEACTION
PICKUP_WEAPON_REVOLVER_DOUBLEACTION_EXOTIC
PICKUP_WEAPON_REVOLVER_DOUBLEACTION_MICAH
PICKUP_WEAPON_REVOLVER_SCHOFIELD
PICKUP_WEAPON_REVOLVER_SCHOFIELD_CALLOWAY
PICKUP_WEAPON_REVOLVER_SCHOFIELD_GOLDEN
PICKUP_WEAPON_PISTOL_VOLCANIC
PICKUP_WEAPON_PISTOL_MAUSER
PICKUP_WEAPON_PISTOL_MAUSER_DRUNK
PICKUP_WEAPON_PISTOL_SEMIAUTO
PICKUP_WEAPON_REPEATER_CARBINE
PICKUP_WEAPON_REPEATER_WINCHESTER
PICKUP_WEAPON_REPEATER_HENRY
PICKUP_WEAPON_RIFLE_SPRINGFIELD
PICKUP_WEAPON_RIFLE_BOLTACTION
PICKUP_WEAPON_RIFLE_VARMINT
PICKUP_WEAPON_SHOTGUN_DOUBLEBARREL
PICKUP_WEAPON_SHOTGUN_DOUBLEBARREL_EXOTIC
PICKUP_WEAPON_SHOTGUN_SAWEDOFF
PICKUP_WEAPON_SHOTGUN_REPEATING
PICKUP_WEAPON_SHOTGUN_PUMP
PICKUP_WEAPON_SHOTGUN_SEMIAUTO
PICKUP_WEAPON_SNIPERRIFLE_ROLLINGBLOCK
PICKUP_WEAPON_SNIPERRIFLE_ROLLINGBLOCK_EXOTIC
PICKUP_WEAPON_SNIPERRIFLE_CARCANO
PICKUP_WEAPON_BOW
PICKUP_WEAPON_FISHINGROD
PICKUP_WEAPON_MELEE_ANCIENT_HATCHET
PICKUP_WEAPON_MELEE_HATCHET_VIKING
PICKUP_WEAPON_MELEE_HATCHET_HEWING
PICKUP_WEAPON_MELEE_HATCHET_DOUBLE_BIT
PICKUP_WEAPON_MELEE_HATCHET_DOUBLE_BIT_RUSTED
PICKUP_WEAPON_MELEE_HATCHET_HUNTER
PICKUP_WEAPON_MELEE_HATCHET_HUNTER_RUSTED
PICKUP_WEAPON_MELEE_KNIFE_MP
PICKUP_WEAPON_MELEE_KNIFE_JAWBONE
PICKUP_WEAPON_MELEE_BROKEN_SWORD_MP
PICKUP_WEAPON_MELEE_CLEAVER_MP
PICKUP_WEAPON_MELEE_HATCHET_MP
PICKUP_WEAPON_MELEE_MACHETE_MP
PICKUP_WEAPON_MELEE_LASSO_MP
PICKUP_WEAPON_MELEE_TORCH
PICKUP_WEAPON_MELEE_TORCH_MP
PICKUP_WEAPON_REVOLVER_CATTLEMAN_MP
PICKUP_WEAPON_REVOLVER_DOUBLEACTION_MP
PICKUP_WEAPON_REVOLVER_SCHOFIELD_MP
PICKUP_WEAPON_PISTOL_VOLCANIC_MP
PICKUP_WEAPON_PISTOL_MAUSER_MP
PICKUP_WEAPON_PISTOL_SEMIAUTO_MP
PICKUP_WEAPON_REPEATER_CARBINE_MP
PICKUP_WEAPON_REPEATER_WINCHESTER_MP
PICKUP_WEAPON_REPEATER_HENRY_MP
PICKUP_WEAPON_RIFLE_SPRINGFIELD_MP
PICKUP_WEAPON_RIFLE_BOLTACTION_MP
PICKUP_WEAPON_RIFLE_VARMINT_MP
PICKUP_WEAPON_SHOTGUN_DOUBLEBARREL_MP
PICKUP_WEAPON_SHOTGUN_SAWEDOFF_MP
PICKUP_WEAPON_SHOTGUN_REPEATING_MP
PICKUP_WEAPON_SHOTGUN_PUMP_MP
PICKUP_WEAPON_SHOTGUN_SEMIAUTO_MP
PICKUP_WEAPON_SNIPERRIFLE_ROLLINGBLOCK_MP
PICKUP_WEAPON_SNIPERRIFLE_CARCANO_MP
PICKUP_WEAPON_BOW_MP
PICKUP_WEAPON_THROWN_DYNAMITE
PICKUP_WEAPON_THROWN_DYNAMITE_VOLATILE
PICKUP_WEAPON_THROWN_MOLOTOV
PICKUP_WEAPON_THROWN_MOLOTOV_VOLATILE
PICKUP_WEAPON_SINGLE_ARROW
PICKUP_WEAPON_SINGLE_ARROW_FIRE
PICKUP_AMMO_SINGLE_ARROW
PICKUP_AMMO_SINGLE_ARROW_FIRE
PICKUP_AMMO_SINGLE_ARROW_DYNAMITE
PICKUP_AMMO_SINGLE_ARROW_SMALL_GAME
PICKUP_AMMO_SINGLE_ARROW_IMPROVED
PICKUP_AMMO_SINGLE_ARROW_POISON
PICKUP_AMMO_SINGLE_ARROW_CONFUSION
PICKUP_AMMO_SINGLE_ARROW_DISORIENT
PICKUP_AMMO_SINGLE_ARROW_DRAIN
PICKUP_AMMO_SINGLE_ARROW_TRAIL
PICKUP_AMMO_SINGLE_ARROW_WOUND
PICKUP_WEAPON_AMMO_ARROW_DYNAMITE_BUNDLE
PICKUP_WEAPON_THROWN_THROWING_KNIVES
PICKUP_WEAPON_THROWN_THROWING_KNIVES_IMPROVED
PICKUP_WEAPON_THROWN_THROWING_KNIVES_POISON
PICKUP_WEAPON_THROWN_THROWING_KNIVES_CONFUSE
PICKUP_WEAPON_THROWN_THROWING_KNIVES_DISORIENT
PICKUP_WEAPON_THROWN_THROWING_KNIVES_DRAIN
PICKUP_WEAPON_THROWN_THROWING_KNIVES_TRAIL
PICKUP_WEAPON_THROWN_THROWING_KNIVES_WOUND
PICKUP_WEAPON_THROWN_TOMAHAWK
PICKUP_WEAPON_THROWN_TOMAHAWK_ANCIENT
PICKUP_WEAPON_THROWN_TOMAHAWK_HOMING
PICKUP_WEAPON_THROWN_TOMAHAWK_IMPROVED
PICKUP_WEAPON_THROWN_DYNAMITE_MP
PICKUP_WEAPON_THROWN_MOLOTOV_MP
PICKUP_WEAPON_THROWN_THROWING_KNIVES_MP
PICKUP_WEAPON_THROWN_TOMAHAWK_MP
PICKUP_AMMO_ARROW
PICKUP_AMMO_ARROW_CONFUSION
PICKUP_AMMO_ARROW_DISORIENT
PICKUP_AMMO_ARROW_DRAIN
PICKUP_AMMO_ARROW_WOUND
PICKUP_AMMO_THROWING_KNIVES_CONFUSION
PICKUP_AMMO_THROWING_KNIVES_DISORIENT
PICKUP_AMMO_THROWING_KNIVES_DRAIN
PICKUP_AMMO_THROWING_KNIVES_WOUND
PICKUP_AMMO_PISTOL
PICKUP_AMMO_REVOLVER
PICKUP_AMMO_RIFLE
PICKUP_AMMO_REPEATER
PICKUP_AMMO_SHOTGUN
PICKUP_HEALTH_STANDARD
PICKUP_MONEY_VARIABLE
PICKUP_PORTABLE_PACKAGE
PICKUP_PORTABLE_EXPLOSIVE
PICKUP_WEAPON_MOONSHINEJUG
PICKUP_ROBBED_SATCHEL_ITEM
PICKUP_CUSTOM_SCRIPT
PICKUP_WEAPON_REPEATER_EVANS
PICKUP_WEAPON_PISTOL_M1899
PICKUP_WEAPON_REVOLVER_DOUBLEACTION_GAMBLER
PICKUP_WEAPON_REVOLVER_LEMAT
PICKUP_WEAPON_REVOLVER_DOUBLEACTION_GAMBLER
PICKUP_WEAPON_LASSO_REINFORCED
PICKUP_WEAPON_MELEE_HAMMER
PICKUP_WEAPON_MELEE_KNIFE_TRADER
PICKUP_WEAPON_MELEE_MACHETE_COLLECTOR
PICKUP_WEAPON_THROWN_BOLAS
PICKUP_WEAPON_MOONSHINEJUG_MP
PICKUP_WEAPON_THROWN_POISONBOTTLE
PICKUP_WEAPON_REVOLVER_NAVY
PICKUP_WEAPON_REVOLVER_NAVY_CROSSOVER
PICKUP_WEAPON_RIFLE_ELEPHANT
PICKUP_WEAPON_BOW_IMPROVED
PICKUP_WEAPON_MELEE_MACHETE_HORROR

Is that any help? Hope so!
 

Link to comment
Share on other sites

@egg6 I cant promise or predict any time frame, but I will see what I can do.

 

Edit: So I quickly searched the natives to check if there is a method which returns a pickup, but the only ones I could find were methods with which you can create pickups.

The plan was to check with DOES_PICKUP_OBJECT_EXIST if one of the mentioned pickups exists (to then disable the glow), but this method only takes a pickup object as input and I dont know how to convert the name or a hash into such an object.

I searched all the methods which return objects and entities, but none are for pickup objects or generic objects (like e.g. the function GET_HASH_KEY which returns the hash for anything in the game, it seems).

So what Im trying to say is that I dont really know how to proceed with the only thing available being the name of the pickups (and no function to do something with it).

Edited by HughJanus
Link to comment
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.

 Share

×
×
  • Create New...