User Information

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

Author Topic: Unused content  (Read 566 times)

Trololp
Oct 18, 2021, 08:39:40 AM
Topic on: Oct 18, 2021, 08:39:40 AM
Hello!
This topic made for placing some interesting unused content found or will be found in this game.
You can suggest some hints for what to look for, or you can post something you found.
Enjoy!

Navigation:
Spoiler (click to show/hide)



Speargun/Crossbow:



For those who interesting in how do I do that or want to repeat/improve.

If you want it to be loaded not only in multiplayer, if not skip these instructions:
First speargun files located at multiplayer resource folder
location: [Game]/Characters/Multiplayer.asr
Unpack this .asr .pc files with QuickBMS script you will found in archive:

Then you need to locate all files related to this crossbow/speargun.
Those include:
Model itself: Speargun.RSCF
Bolt model: Speargun_bolt.RSCF
Textures: graphics/objects/weapons/spear_gun/...
Sounds: sounds/weapons/predator/crossbow/...
Materials: MARE_chunk/*.MARE
This .MARE file needs to contain only information related to models you need to export
You will found C program in archive that will strip useless info from this file
You need to Compile it :) I will remake it probably. But still, I write it for brave enough people.
Skeleton: HSKN_chunk/Speargun.HSKN and Speargun_bolt.HSKN
Bound volume: HSBB_chunk/Speargun.HSBB and Speargun_bolt.HSBB
Animations: HANM_chunk/ just all HANM files containing "speargun" word.
Sokets: 7343.HMPT and 7353.HMPT
maybe some other files

Then you need to pack all this in order:
just make a folder named "1" , "2" etc.
1: HSKN
2: HSBB
3: HANM
4: HMPT
5: graphics
6: MARE
7: sound
etc...

Use pack/unpack program you know where it can be found

Now go to *.lst file of mission you wanted to speargun be loaded and edit it, examples lies in the archive
Also rename mission .pc file like that: P06_Pyramid.pc -> P06_Pyramid_.pc

Now all preparations complete:
Use cheat engine before you load game on AVP_DX11.exe (ver 1.0.0.7) with ASLR disabled.

set breakpoint on address: 0x7BC25D
inside ebp register lies weapon class hash:
Speargun hash is: 0x80C6D6C7
For a predator, press continue until you see ebp = 0x085d304f (this is fireblaster) change it to Speargun hash, and now follow to address
0x7BC2A4, there in eax lies weapon type need to set it to 0xC and continue until game loads.
For human press continue until you see ebp = 0x7c87d718 (this is pistol) change it to Speargun hash

Note: there small amount of ammo so you can change it by following further until reach constructor function and then it will return
inside eax weapon class, follow in dump, then press F5 (continue) it will fill all data it needed.
ammo location is follow: type float (ptr)((ptr)(eax + 0x1C) + 0x0) + 0x10
max ammo location:type float (ptr)((ptr)(eax + 0x1C) + 0x0) + 0x14

Archive: https://mega.nz/file/XBAyHDbL#YoJ2iKu7VjxRZR2BegDr0PuzhlCxSeEZCTw0i4jUsQg

« Last Edit: Oct 18, 2021, 09:42:19 AM by Trololp »

SiL
Oct 26, 2021, 10:16:20 PM
Reply #1 on: Oct 26, 2021, 10:16:20 PM
This is interesting! Looking forward to see what else you find.


SuperiorIronman
Oct 29, 2021, 01:29:24 AM
Reply #2 on: Oct 29, 2021, 01:29:24 AM
It's a cool idea. One that I wish ended up getting used as ultimately I think it would've made the Predator in this game more distinct. Like after beating the praetorian this is what the player got instead since the spear is only thrown and never used in melee.


Corporal Hicks
Oct 30, 2021, 08:04:25 AM
Reply #3 on: Oct 30, 2021, 08:04:25 AM
Oh damn, that would be have been really cool to have in the game. Would have given the game another very distinct unique flavour.


 

Facebook Twitter Instagram YouTube RSS Feed