![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Swabbie
![]() Join Date: May 2010
Posts: 12
Downloads: 47
Uploads: 0
|
![]()
Hello fellow modders.
All of us know that we are pretty much limited about modding this game. Because modding in its traditional way is mostly changing parameters or graphics given by developers. At this point ive got an idea how we can overcome those limits and maybe offer much more exiting mods. Im talking about game hooks. Not sure if this has been ever tried before so lets discuss. for lads im not talking about hacking the game. A game hook in its general form must not be a hack. Basically it is an external tool that injects code into running process (i.e. sh5.exe). It can read out what is going on inside the game engine and eventualy bring its own logic in by reading private parameters (what you would call "hardcoded stuff") and/or calling functions under certain circumstances. just a few examples what might be possible when we use a game hook for moding the game: + we can change the game logic. Like spawn other submarines in order to make a real dynamic wulfspack operations. + we can make dramatic changes to the AI + we can change the way how the 3d engine renders the scene. + we can fix bugs that are outside of moding area in its traditional way + we can add new game content basically our options are only limited by our fantasy and coding skills. Actualy i feel absolutely confident about what is possible. Because i doubt that the devs has put much effort into hiding code entries because there is no need in a wallhacks or aimbots in a subsim. discuss Last edited by Klub Bilderberg; 05-21-10 at 07:59 AM. |
![]() |
![]() |
![]() |
#2 | |
Black Magic
![]() |
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
#3 |
Swabbie
![]() Join Date: May 2010
Posts: 12
Downloads: 47
Uploads: 0
|
![]()
not realy. I was thinking about simple dll injection. after all sh5 is a windows process.
|
![]() |
![]() |
![]() |
#4 |
The Old Man
![]() Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 26
Uploads: 3
|
![]()
My speech mod uses an injected DLL. Technically, it's not even injecting, because you do not need to do tricky stuff, you can load any DLL from script. Hooking the DirectX functions or other functions, is very easy now (as opposed to SH3/4 where you actually need to inject a DLL using an injector). It all runs in the same process space so no memory related problems either.
__________________
![]() SH5 mods: Speech Recognition for SH5 | Digital UI Clock Tutorials: [TEC] Import/export 3D models to/from game using S3D [TEC] How to work with the model viewer in S3D - VIDEO |
![]() |
![]() |
![]() |
#5 |
Seasoned Skipper
![]() Join Date: Jan 2010
Posts: 713
Downloads: 209
Uploads: 0
|
![]()
but doesnt each one become outdated as soon as a new patch rolls around? (not much of an issue for SH5 but....) Someone made an excellent hook for Empire Total War that solved all the 3d models turning into 2d sprites at X distance, but only for one patch, and he wont make it again because it was such a pain to go through all the variables ect.
|
![]() |
![]() |
![]() |
#6 |
Chief
![]() Join Date: May 2010
Location: France
Posts: 326
Downloads: 23
Uploads: 1
|
![]()
Before thinking about more advanced stuff I wish there was an easy way to just display a form on top of a fullscreen DX application.
|
![]() |
![]() |
![]() |
#7 |
Sea Lord
![]() Join Date: Mar 2005
Location: Deep down in Germany
Posts: 1,969
Downloads: 42
Uploads: 0
|
![]()
nice idea!!!
__________________
|
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|