Please Help Support E-Mods.net by Donating

e-mods.net

  • 2019-08-19, 23:17:20
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search

News:

Looking for VTMR Modding Tutorials? Check out the Modding Tutorials section of e-mods.net.

Author Topic: VTMR mod (available), private chest and LVL-up from UI  (Read 715 times)

Amarok

  • Member
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 2

I have made a mod that add two new button to UI.
One for access the private chest of character and another one for level up screen.
For this mod I have to rewritten Vampire.exe the main execute file. (1.1 eng.)
(Other modified files: statusBarSP.nui, StatusBarSP_01.tga)

Mod:
https://ufile.io/pbfew


Install instructions:
  • Please backup your original files before you unpack this zip and overwrite any file. (example: Varmire.exe)
  • Unpack the mod package file with any application (7zip, rar, totalcmd, etc.) into a new folder (anywhere)
  • Check files that these haven't overwrite your existing mod. (exception: Vampire.exe)
  • If yes for 3. you have to merge these files in right place.
  • Copy these files from new folders (2.) to your game installation folder.
  • Play
« Last Edit: 2018-06-14, 13:21:33 by Amarok »
Logged

samspin

  • Horses Dick
  • Member
  • *****
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: VTMR mod (available), private chest and LVL-up from UI
« Reply #1 on: 2018-06-15, 16:48:44 »

Very interesting, it appears to work on my end! I'm just wondering, if it's also possible to do this for the multiplayer UI too? It would be interesting to be able to access the user chest to store character overskin items during multiplayer (as in, via LAN multiplayer. these days people use VPN's to access LAN multiplayer online in this game) I wouldn't quite condone level-up in the UI for this case... Although there's technically nothing to stop a player from making a character, creating their own game, leveling up using the ST options there to notch their character up, then connecting to someone else's game. So it probably wouldn't be *that* much different. Would you be able to do that, or perhaps detail how to disassemble the main executable to do this? Even so, for single player this is a tremendous achievement!
Logged

Javokis

  • Horses Dick
  • Member
  • *****
  • Karma: 22
  • Offline Offline
  • Posts: 2389
    • E-Mods.net
Re: VTMR mod (available), private chest and LVL-up from UI
« Reply #2 on: 2018-06-16, 15:48:44 »

Agreed. I was curious about MP functionality as well. Wouldn't really see a major issue with it as long as it was localized to the player who activated it like "resting" at a coffin, but without the ST tweak options. I heard long ago that some one hacked the exe to allow players to utilize ST tools in MP as a client rather than host only. I know a number of RP groups that would really like a resource like that to have multiple ST's in a game.
Logged
"There's nothing wrong with horses dicks, there's nothing wrong with sucking horses dicks." -Signo

Amarok

  • Member
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 2
Re: VTMR mod (available), private chest and LVL-up from UI
« Reply #3 on: 2018-06-19, 14:52:25 »

I think this can be works with the MP UI as well, because I have seen similar GUI elements (chest + coffin) in MP.

I tested today the MP.
I modified the nui and the tga, but the MP has different endpoints, so it couldn't works at first.
I'm going to search and analyze the relevant MP code, based on the original mechanism.

How the mod works:
I searched the UI click event and original code-points (and call parameters) where the program initialize target GUI elements.
The bottom of the UI click event I added a call into my new function.
This function checks the clicked elements name and when it is similar that I coded into my code (and nui-file) it calls (with right parameters) the original GUI function.
So we can add new UI elements when we know the starting point where the original code calls the target GUI function (but of course it have to access and pass right parameters, player-structure, etc.)
« Last Edit: 2018-06-19, 17:31:05 by Amarok »
Logged
 

Page created in 0.077 seconds with 24 queries.