Gildor's Forums

Author Topic: Changing the size of a uasset without corrupting it possible?  (Read 497 times)
nnvt
Newbie
*
Posts: 5


View Profile
Changing the size of a uasset without corrupting it possible?
« on: January 31, 2019, 23:28 »

Hi there!

I'm looking into modding uassets for friday the 13th and currently we are only able to replace items with others that have the same length. Example of this:

We can replace battleaxe with pitchfork like this:
Code:
���/Game/Blueprints/Items/Large/Weapons/Killer/Machete/Battleaxe�$¤ÁJ��� > ���/Game/Blueprints/Items/Large/Weapons/Killer/Machete/Pitchfork�ˆú¦BJ���

This works because they are exactly the same length so it will not break the index of the uasset.

This however, will not work:
Code:
���/Game/Blueprints/Items/Large/Weapons/Killer/Machete/Battleaxe�$¤ÁJ��� > ���/Game/Blueprints/Items/Large/Weapons/Killer/Machete/FireAxe�u®#_F���

These are not the same length, the index of the uasset is no longer correct and the game will crash.

Is there any way to bypass this? Maybe modding the index? I've looked around but can't really seem to find anything.
Logged
Legend4ever
Newbie
*
Posts: 1



View Profile
Re: Changing the size of a uasset without corrupting it possible?
« Reply #1 on: June 13, 2019, 17:03 »

Hi nnvt

This may be something you've already tried and might be some what of a dumb answer... but your Pitchfork is 18 characters from the last slash....   Your FireAxe is only 16... have you tried altering the name of your FireAxe to add 2 extra characters to it example: Fire_Axxe … or just keep it simple, call it BattleAxe as you mentioned because he has the same number of characters needed.

Best of luck on this.

Legend4ever
Logged
Jump to:  

Powered by SMF | SMF © 2006-2009, Simple Machines LLC
Leviathan design by Bloc | XHTML | CSS