![]() |
![]() |
#601 |
Hobbyist
Join Date: Nov 2019
Location: Dallas, TX
Posts: 18
|
![]()
EDIT: Didn't realize I'd posted this in the wrong thread: I'll move it.
Last edited by Kidd Bowyer; 14-11-19 at 03:31. |
![]() |
![]() |
![]() |
#602 |
Historian
Join Date: Dec 2017
Location: I am female
Posts: 267
|
![]()
AkyV, you had asked only about reflection and mist intensities. Everything else I do not know for sure.
NGLE sets IndexTabWater in StrRoomTr4 to these values:
You can change IndexTabWater at any time, but it is not savegame stable. |
![]() |
![]() |
![]() |
#603 |
Moderator
Join Date: Dec 2011
Location: Hungary
Posts: 3,756
|
![]()
Thanks, I'll try this soon. (I am only at the first steps of this feature now.)
About the savegame stability, hopefully it can be easily solved with a "MyData.Save" variable by Paolone, restoring the value from that eg. with the Load Game callback. This is the last feature in my WIP third Mix plugin, at the latest I would like to send it to test in December. |
![]() |
![]() |
![]() |
#604 | |
Moderator
Join Date: Dec 2011
Location: Hungary
Posts: 3,756
|
![]() Quote:
Unfortunately, it seems only readable, forced value is detected, but has no effect. ![]() EDIT: It seems, anyway, that forcing/removing the mist flag itself has also no effect... EDIT2: Very intersting! It seems if the flag is set, and I only change the intensity value, then that works! Last edited by AkyV; 18-11-19 at 20:16. |
|
![]() |
![]() |
![]() |
#605 |
Moderator
Join Date: Dec 2011
Location: Hungary
Posts: 3,756
|
![]()
There is a trng.dll rain (or also snow?) bug I'd like to (try to) fix in my WIP plugin:
It is that higher rain intensities won't be seeable, showing a lower (the lowest?) intensity. It can be fixed with Lara being/stepping into that room, or activating an F361 trng.dll trigger, but the effect will be lost with loading a savegame. And it seems to work only once. Another "brench" of this bug is if you have different rain intensities in adjacent rooms, then always Lara's actual room intensity will be shown for both rooms. It seems to work always. (Till fixing that bug, probably the lowest rain intensity should be always used.) F361 is made to show the right intensity if you are at the border between two rooms and the intensity in the adjacent room seems wrong. EDIT: The question is that I don't know the method I should follow now. Last edited by AkyV; 24-11-19 at 12:34. |
![]() |
![]() |
![]() |
#606 |
Historian
Join Date: Jul 2007
Location: Italy
Posts: 280
|
![]()
Premise that i'm not used to either c/c++ nor Visual Studio, i'm not sure what am i doing wrong:
I'd like to work with multiple files so i took a look at JMN and TokyoSU plugins sources, and i tried their solution: I moved all the include directives in an external header named trng_core.h, in their place (in Plugin_TRNG.cpp) i included this new header with this syntax: Code:
#include <trng_core.h> Code:
#include "trng_core.h" ![]() What's wrong? Any idea? Last edited by Delta; 03-12-19 at 23:29. |
![]() |
![]() |
![]() |
#607 |
Explorer
Join Date: Sep 2006
Posts: 539
|
![]() |
![]() |
![]() |
![]() |
#608 |
Historian
Join Date: Jul 2007
Location: Italy
Posts: 280
|
![]()
I cannot check the Include Directories right now, but i remember there was ${SolutionDir}, that should be the Plugin_TRNG.cpp directory, where i also placed trng_core.h ...
I will check this evening Last edited by Delta; 04-12-19 at 08:22. |
![]() |
![]() |
![]() |
#609 |
Historian
Join Date: Jul 2007
Location: Italy
Posts: 280
|
![]()
Yes, ${SolutionDir} is present in the Additional Include Directories list as i said, also Plugin_TRNG.cpp and trng_core.h are placed in the same folder:
https://imgur.com/6XavCTq (Sorry for italian language) This is my trng_core.h: Code:
#pragma once #pragma pack(push,1) #include <string> #include "bass.h" // prototypes for extra sound library: bass.dll #include "Tomb_NextGeneration.h" // mnemonic constants defined in tomb_NextGeneration.dll #include "structures.h" // structure of tomb4 program and trng dll #include "DefTomb4Funct.h" // defines of tomb4 procedure prototypes #include "macros.h" // definition of macros // FOR_YOU: // While the followings are the headers you can use // to type your structures, constants and new tomb4 procedures you // discovered. // Following files are only yours and trng will not ever change them: #include "macros_mine.h" // here you define your own macros #include "constants_mine.h" // here you define your mnemonic constants #include "structures_mine.h" // here you type your structure definitions #include "Tomb4Discoveries_mine.h" // here type tomb4 procedures you discovered #include "trng.h" // list of trng functions imported from trng.cpp source. #pragma pack(pop) Last edited by Delta; 04-12-19 at 21:50. |
![]() |
![]() |
![]() |
#610 |
Explorer
Join Date: Sep 2006
Posts: 539
|
![]()
Try using $(SolutionDir) instead of ${SolutionDir}.
Currently it's not evaluating the paths correctly. |
![]() |
![]() |
![]() |
Bookmarks |
Thread Tools | |
|
|