Search found 59 matches

by simskunkworks
Fri Mar 15, 2019 5:52 pm
Forum: Software Development Kit (SDK) Questions
Topic: LUA scripts and PBR material problems
Replies: 5
Views: 1962

Re: LUA scripts and PBR material problems

Hi SSW, I just did a quick test with our default F-16 which has PBR materials as well as lua scripts and albedo texture swapping seems to work. Do you have any content error reports? Hi, unfortunately nothing related with albedo texture nor lua script. Will continue to investigate. Thanks for scrip...
by simskunkworks
Thu Mar 14, 2019 6:23 pm
Forum: Software Development Kit (SDK) Questions
Topic: LUA scripts and PBR material problems
Replies: 5
Views: 1962

Re: LUA scripts and PBR material problems

Hi SSW, Lua scripting is supported by PBR materials. Do other PBR material properties work with your script? Does the PBR material itself render correctly? Script locations can also be added by using the add-on.xml method. Also, if the script is being used on a SimObject the scripts can be added lo...
by simskunkworks
Mon Mar 11, 2019 3:35 pm
Forum: Software Development Kit (SDK) Questions
Topic: LUA scripts and PBR material problems
Replies: 5
Views: 1962

LUA scripts and PBR material problems

Hi, apologize for my weak english. Below GinaTextureScript.lua lua scripts works nicely !lua --Get precip state. local raining = 0x00000004 local precipState = varget("A:AMBIENT PRECIP STATE", "Mask") precipState = math.floor(precipState) --Define textures. textureDry= "ssw_G91_R1_B_T_01_albedo.dds"...
by simskunkworks
Tue Nov 27, 2018 8:01 pm
Forum: Software Development Kit (SDK) Questions
Topic: [RESOLVED] Desperately trying to make SimConnect with C ++ work in managed code
Replies: 11
Views: 2363

Re: Desperately trying to make SimConnect with C ++ work in managed code (SOLVED)

Thanks to Ben, all is working now, i have nice managed SimConnect code on C++
/Mario
by simskunkworks
Tue Nov 27, 2018 2:33 pm
Forum: Software Development Kit (SDK) Questions
Topic: [RESOLVED] Desperately trying to make SimConnect with C ++ work in managed code
Replies: 11
Views: 2363

Re: Desperately trying to make SimConnect with C ++ work in managed code

Ben, i have to correct myself, i could have DefWndProc entrapping WM_USER_SIMCONNECT, it was my fault (a private member Handle with a name clash with SimConnect.Handle). However OnRecvOpen() not called yet, guess a faulty signature, will continue to investigate. However your code snippet will be ver...
by simskunkworks
Mon Nov 26, 2018 8:26 pm
Forum: Software Development Kit (SDK) Questions
Topic: [RESOLVED] Desperately trying to make SimConnect with C ++ work in managed code
Replies: 11
Views: 2363

Re: Desperately trying to make SimConnect with C ++ work in managed code

Ben, just tried your work around, no joy, still DefWnd procedure do not receive any WM_USER_SIMCONNECT message :-( had previously tried something like before using: gcnew SimConnect(safe_cast<String^>("tf104gconfig"), Handle,WM_USER_CONNECT,nullptr,0); instead this->Handle (anlogous), did not work e...
by simskunkworks
Sat Nov 24, 2018 10:55 am
Forum: Software Development Kit (SDK) Questions
Topic: [RESOLVED] Desperately trying to make SimConnect with C ++ work in managed code
Replies: 11
Views: 2363

Re: Desperately trying to make SimConnect with C ++ work in managed code

Hi Mario, I can see the point, where using WinForms and P3D in conjunction with C++/CLI in an internal scenario might come in usefull , so maybe I will do some experimenting next week and come back to you. Of course it would be nice to know, if this can be worked out. Maybe, unil then, some of the ...
by simskunkworks
Fri Nov 23, 2018 8:13 pm
Forum: Software Development Kit (SDK) Questions
Topic: [RESOLVED] Desperately trying to make SimConnect with C ++ work in managed code
Replies: 11
Views: 2363

Re: Desperately trying to make SimConnect with C ++ work in managed code

Hi Mario, not that I am an expert on the matter, but if you're trying to write a purely external program in connection with WinForms and SimConnect, why do you want to use C++/CLI, in the first place? Why not sticking with C#, which is completely managed and where a SimConnect wrapper is available?...
by simskunkworks
Thu Nov 22, 2018 8:53 am
Forum: Software Development Kit (SDK) Questions
Topic: [RESOLVED] Desperately trying to make SimConnect with C ++ work in managed code
Replies: 11
Views: 2363

[RESOLVED] Desperately trying to make SimConnect with C ++ work in managed code

(Using Visual Studio 2017) I've had some success using the CLR and the Forms even though in the P3D SDK there is no mention of C ++ but only for C#. I could connect with the SimConnect server: private: System::Void MainForm_Load(System::Object^ sender, System::EventArgs^ e) { try { Sim_Connect = gcn...
by simskunkworks
Sat Apr 14, 2018 5:28 pm
Forum: Multiplayer Specific Questions
Topic: Client out of sync when players above 7-8
Replies: 12
Views: 9143

Re: Client out of sync when players above 7-8

HI, all players have same version obviously, otherwise MP does not connect. It happens with all aircrafts either default or not, out of syncs happen with several players (generally more than 6) and are worst if connections are not that good. This problems began after version 3.2, earlier versions we...
by simskunkworks
Sat Apr 14, 2018 5:21 pm
Forum: Multiplayer Specific Questions
Topic: [RESOLVED] Problem viewing aircraft, in the session
Replies: 6
Views: 5884

Re: Problem viewing aircraft, in the session

Yes,
still unresolved, you are forced to share all the same content among all players.
/SSW
by simskunkworks
Wed Apr 11, 2018 10:18 am
Forum: Prepar3D Client Application Questions
Topic: DLL not found
Replies: 1
Views: 682

DLL not found

HI, i have set a debug console in simconnect and obtained this output: 0.00000 SimConnect version 4.2.0.0 0.01741 DLL Loaded: Path="radar.dll" Version="3.0.0.0" 0.01988 DLL Load Failed: Error=-1 Path="VirtualReality.dll" 0.02099 DLL Loaded: Path="ControllableCamera.dll" Version="<Unknown>" 0.02207 D...
by simskunkworks
Sat Mar 17, 2018 4:03 pm
Forum: Multiplayer Specific Questions
Topic: Client out of sync when players above 7-8
Replies: 12
Views: 9143

Client out of sync when players above 7-8

It's an old issue that is still not corrected. This issue appeared for the first time on latest version of P3D 3 and still remains on all 4.x version. It happens that when neighbors players are more than 6-8 most of them go out of sync showing ingoing p2p connection problems and seeing other players...

Go to advanced search