TheUnknownCod3r / BO4-Lucy-Menu

Updated Version of @G1llam 's BO4 Lucy Menu for PC.
19 stars 11 forks source link

Fixed a few shield names + removed unnecessary hashes #13

Closed TubBuddy closed 1 year ago

TubBuddy commented 1 year ago

The "zhield_gauntlet_dw" doest work so the hash way is the way for now. the only weapons/items are needed are only the Pegasus strike and Matryoskha Dolls, Maybe dynamite for tag in the future? I wonder if u can do inf sliding like bo3? Also if there is a function that give u all the parts in a map would be cool.

TheUnknownCod3r commented 1 year ago

Im not sure I said, that was just a rough guess off the top of my head, which is why its probably wrong. Try zhield_dw, thats the one from the hashes, the upgraded variant should be zhield_dw_upgraded.

Pegasus Strike Hash should be hash_27e4878539bc7f72, I don't know about a stringname, maybe pegasus_strike, but I doubt it.

Movement I honestly don't know off the top of my head, I suppose it should be possible.

Craftables, there should be a way yeah, I think you can do it through zm_crafting or zm_items, probably zm_items::player_take, not sure. I'd need to look into it.

As a side note, i'd prefer you didn't remove comments from the code, as thats also my way of remembering stuff. I don't mind removing the unnecessary functions like weapons etc, but comments also help others who look at it sometimes, even if they seem excessive.

TubBuddy commented 1 year ago

I do know the string name for Pegasus strike i just don't know to to implement it in to the menu i guess there isn't a &giveclientequipment?. i added back the comment i just thought it wasn't really needed now buuuuut yeah. zhield works so ill add them right now, the upgrade didn't though.

TheUnknownCod3r commented 1 year ago

Its more if someone else wanted to work on it, they know where I got the stringname, also for myself as a reminder the stringnames ARE in the raw files, lol.

There is a function in zm_equipment.gsc, you'd call it as zm_equipment::give(equipment);, but I never did any work with it except looking at nesting dolls, and it didn't work. I'd assume using GiveClientWeapon would work though, like it does for Monkey Bombs.

I'll check my notes for the upgraded shield, but if that works for the default one the upgraded variant will be similar, just like the Attuned Spectral Shield EDIT: If everything here's tested, im happy to merge.

TubBuddy commented 1 year ago

everything is tested. Giveclientweapon does work but u need the string name for it not the hashes

TheUnknownCod3r commented 1 year ago

yeah giveClientWeapon doesn’t work for hashes, I honestly have no idea why, even a function like below doesn’t work.

GiveHashedWeapon(hash) { self giveWeapon(getWeapon(#””+hash)); }

TubBuddy commented 1 year ago

Im guessing that its not a weapon? But even then it gave Samantha Box when i used music_box so i don't even know anymore lol

TheUnknownCod3r commented 1 year ago

I have no bloody idea lol. But if there’s nothing else, I’m happy settling with the hashes for now till someone else figured it out XD

TubBuddy commented 1 year ago

Pegasus and Dolls are the only thing left besides the rest of the guns like Zweihander and Rampage etc etc.

TheUnknownCod3r commented 1 year ago

So to confirm, so I can do some local testing, is the pegasus strike just pegasus_strike?

TubBuddy commented 1 year ago

No its not. You can try if u want but i literally tried everything in the script hashes and it doesnt work.

TheUnknownCod3r commented 1 year ago

Ah alright, I’ll see what I can do. I think I’ve at least figured out why the voyage upgraded shield is stupid for applying the effect, so I’ll check that in the morning. I’ll see about Pegasus strike as well, the matryoshka dolls are just weird, I can’t seem to find a valid hash for them at all, which I can normally get.

TubBuddy commented 1 year ago

3c0d17bad169557b if for the doll ill do Pegasus later.

TheUnknownCod3r commented 1 year ago

The Pegasus strike should be the hash I provided, it’s literally direct from the zm_red gsc files, and it’s in Hashed-3, in the pegasus_strike thing.

TubBuddy commented 1 year ago

Weird its 3c0d17bad169557b for me same as dolls... Huh Capture ?

TubBuddy commented 1 year ago

Ok so Pegasus strike works with Hashes the one you provided. That means that the dolls hashes are wrong... huh? Anyways now the only thing left is Dolls.

TubBuddy commented 1 year ago

Nevermind... I got the dolls now... Finally!