Jump to content

Cadarth

Members
  • Posts

    53
  • Joined

  • Last visited

Posts posted by Cadarth

  1. I'm just thinking (fairly new to Lua coding so please bare with me). Going on gospadin's train of thought; if you have to define your wing sweep commands of 3001 and 3002 similar to how they did for engine start and engine stop found in Macro_handler.lua located in Scripts\Aircrafts\_Common\Cockpit\:

     

    Line 4: local illumination = 300

    Line 5: local iCommandEnginesStart = 309 --Запуск двигателей

    Line 6: local iCommandEnginesStop = 310 --Остановка двигателей

     

    Line 8: local dev = GetSelf()

     

    Line 10: -- subscribe

    Line 11: dev:listen_command(illumination)

    Line 12: dev:listen_command(iCommandEnginesStart)

    Line 13: dev:listen_command(iCommandEnginesStop)

    Which then is used in the A-10C's keyboard input under:

     

    Line 3: join(base.keyCommands,{

    Line 4: {combos = {{key = 'Home', reformers = {'RWin'}}} , down = iCommandEnginesStart, name = _('Start Procedure'), category = _('Cheat')},

    Line 5: {combos = {{key = 'End', reformers = {'RWin'}}} , down = iCommandEnginesStop, name = _('Stop Procedure'), category = _('Cheat')},

  2. Hi Markindel,

    It looks like these Autocannon.lua and CannonSounds.lua files are different for each ship, I think that the Roma includes the Hood and the Bismarck set up but not the other way around. So if you load these mods in the wrong order you will lose/ruin the sound from between 1 and 2 of the ships (I could easily be wrong but that is what I believe) depending on whether you load Hood or Bismarck last. You may want to merge these files so it doesn't matter in order the user loads them to avoid issues being reported to you. IE so they all have all the entries for Hood, Bismarck and Roma.

     

    The other thing I noticed which I wanted to ask you about is that when comparing to the current stock DCS files I see the new entries for the ships as expected but I also see that there seems to be changes in your versions to some of the sound entries higher up in the file like howitzer_M185 has a different start_reload and end_reload, same for tank_gun_105mm and howitzer_2A18 also gets a different sound for the shot. There are a few more with similar changes. Anyway I just wondered if that was deliberate and required to get the ships to work right or if you started the mods a long time ago and accidently used an old Autocannon.lua and CannonSounds.lua as a base?

     

    I don't have a problem either way but wanted to know so if doing a ground war style mission I can disable your mods to get back the normal tank sounds or if you accidently used an old file I can just update your new ship entries into a copy of stock so everything works without enabling/disabling mods.

     

    Thanks again for your great work, these ships really look great in game.

     

    Cheers,

    Stonehouse

     

    Hi Stonehouse.

     

    I am responsible for editing the lua code for the weapons systems and the sounder code for these mods.

     

    For the first point, indeed the prior mods will have to be updated with the same files. The same will be said for the North Carolina when released.

     

    As for the second point of your post, those changes were artifacts from my own personal modding that slipped in for some reason that I can't remember. My apologies for this mistake. I'll go ahead and have them returned to default.

     

    Thanks for your input. :)

  3. Hi to all.

    I would insert into DCS World some battleships and cruisers of WWII.

    Too bad I immediately found a big problem I can not solve:

    you do not hear the roar of the cannons.

    The animations on the 3D model are correct, the turrets aim and shoot in the right direction but in place of the cannons roar you hear only noise, And if you point with the "F9" button in front of the cannon in the line of fire, otherwise You do not feel that either.

    Can someone help me? :(

    Thanks.

    Mario.

     

    My guess is this issue could be due to sounder file configuration. noexpression.gif

     

    Since v 1.5, new .lua files were added into the sound directory, located in the sounders sub-folder. Sounders files for naval vessel weapon systems can be found in your DCS World's sound folder in > Sounders/GroundUnits/WeaponSystem/Navy.

     

    There are lua files of the ships respective of their GT.Name. Copying and renaming a sounder lua file to the GT.Name of your ship mod will do, but considering the weapons are different, the sounder code in the .lua file will have to be altered.

    • Like 1
  4. Already 1040 posts in this thread awaiting the Mirage 2000 since two weeks ago?

     

    1040/14 = about 74 posts a day. On average of roughly 3 posts an hour.

     

    This bird is really anticipated like blazing low on the deck at full afterburner! :shocking:

     

    ::props dropped jaw up::

     

    Well; when it is released, have fun. :joystick:

  5. however, i lined it up with a ship and locked on, got the LA, and pressed FIRE. but nothing happened. has anyone else gotten this to work? is there another trick i have to perform to get it to work?

     

    thanks!

     

    In such a situation, pressing the key combo for launch permission override could do. But I tried and the Kh-31P's exploded right after launch. :doh: :P

  6. Hello dear Cadarth,

     

    In first I would like excuse me for the delay of my answer...

     

    In second I would like to thank you for your explanations because now everything is OK and work fine...

     

    Once again a great great thanks for your post, best regards. Skull

     

    No worries. ^_^ I'm glad that it worked out well for you Skull. :thumbup:

     

    Happy flying. :pilotfly:

     

    - Cad.

  7. Hello dear,

     

    I would installed the NVG Mod for my DCS modules (A-10C, P-51D, Huey, Mi-8 and of course the KA-50) but for be honest to the final and today I'm very lost with this Mod.

     

    Please anybody can help me for found and install correctly this awesome Mod ?

     

    There's two version for the NVG Mod, one for the A-10C and other Mod for KA-50, right ?

     

    After all these month I'm very lost, please can you give me the good link for the NVG Mod for the A-10C and other modules and also for the KA-50 ?

     

    Because this Mod was enough complex for me I had stoped to use this Mod but today I fly by night with my modules and with the NVG Mod of DCS it's not good, your Mod it's better !!!

     

    Here I give you my monitor definition: 1920 x 1080, please can you help me the most simply as possible ?

     

    Once again I would like to thank you in advance for your help and your explanations, best regards and good sunday, Skull.

     

    PS:

    I hope that my Engish is not too poor for my explanations...

     

    Alrighty, lets roll our sleeves up:

     

    First download the nvg_mod_1.0v4b3.zip found in post #147 of page 5 on this thread. It is the latest version and should be sufficient to use for both the A-10C and Ka-50 modules. You will need Notepad++ for part of this mod installation. If you don't have it, you can find it here: http://notepad-plus-plus.org

     

    Second, unzip the nvg_mod_1.0v4b3.zip to a location of your choice, the resulting folder has the following sub-folder structure:

     

    nvg_mod_1.0v4b3\DCS World\Bazar\shaders\PostMotionEffect\NightVisionGoogle

    nvg_mod_1.0v4b3\DCS World\Bazar\shaders\MaterialFactory

     

    The NightVisionGoogle sub-folder contains the nvg_mod.hlsl and nvd.fx files.

    The MaterialFactory sub-folder contains the laserbeam.hlsl file.

     

    It also has the NVG Mod Setup.exe program. This utility will calculate the Size, Centers, and Blurred Rim values for you to replace in the nvg_mod.hlsl file in this extracted nvg_mod_1.0v4b3 folder.

     

    As with other mods, it's always good to backup these folders found in your main dcs world folder.

     

    Third, we will use the NVG Mod Setup.exe program that was extracted. Run the program, and input in your desktop resolution (1920x1080) into the Total Render and Main Device fields beneath the Monitor Setup label in the utility. Then auto calculate the values by clicking on Calculate.

     

    Next copy the resulting following line from the Centers field:

     

    const float2 EYE_CENTER = float2(0.50000f,0.55000f);

    const float2 MASK_CENTER = float2(0.50000f,0.55000f);

     

    Run Notepad++, and use it to open the nvg_mod.hlsl file found in the nvg_mod_1.0v4b3 folder you extracted earlier.

     

    Go to lines 18 and 19, and select the following:

     

    const float2 EYE_CENTER = float2(0.25000f,0.55000f);

    const float2 MASK_CENTER = float2(0.50000f,0.55000f);

     

    replace it by pasting the Center lines that you copied above.

     

    Then we do a similar procedure with the following lines copied from the Output field:

     

    const float2 EYE_SIZE = float2(0.63281f,1.12500f);

    const float2 MASK_SIZE = float2(0.63281f,1.12500f);

     

    Go to lines 39 and 40 and select the following:

     

    const float2 EYE_SIZE = float2(0.29779f,1.05882f);

    const float2 MASK_SIZE = float2(0.59559f,1.05882f);

     

    and replace by pasting with the Output lines copied above.

     

    Now comes the last part, similarly we copy the following lines from the Blurred Rim field:

    const float INNER_RANGE_MIN = 0.800f;

    const float INNER_RANGE_MAX = 0.867f;

    const float OUTTER_RANGE_MIN = 0.917f;

    const float OUTTER_RANGE_MAX = 1.000f;

    const float INNER_RANGE_DIST_MIN = 0.850f;

    const float INNER_RANGE_DIST_MAX = 0.917f;

     

    Go to lines 114 to 119 and select the following:

     

    const float INNER_RANGE_MIN = 0.850f;

    const float INNER_RANGE_MAX = 0.900f;

    const float OUTTER_RANGE_MIN = 0.938f;

    const float OUTTER_RANGE_MAX = 1.000f;

    const float INNER_RANGE_DIST_MIN = 0.887f;

    const float INNER_RANGE_DIST_MAX = 0.938f;

     

    and replace by pasting with the Blurred Rim lines copied above.

     

    Then save the nvg_mod.hlsl file in Notepad++ and that is it. Take the Bazar folder containing the sub-folders with the modded files and replace in your DCS world folder. :)

    • Like 1
  8. Sweet Swooshing Sea Flankers! :D

     

    Is this available for updating?

    I just tried and found no more update beyond 1.2.6

     

    I'm pretty sure that It's still in the works right now.

  9. Can some tell me what the version number is after you updates. I tried to update through the update program the 1.2.6 update gave the a application error. I tried the repair sequence and it does not appear to solve my problem. The version I have is 1.2.5.16508 is this correct or did something go wrong....

     

     

    Thank you

     

    Based on the installer download for DCS World 1.2.6, the version number should be updated to 1.2.6.17746. Did you try a force update or repair using the shortcuts found in your Start Menu DCS World folder? If so did you try force running the updater using Run as Administrator?

     

    If you can't get the updater or repair functions to work, I think you might have to download all the 1.2.6 installer files for DCS World and the modules which you bought for a re-install. :(

     

    If the official torrents are the faster option, then I recommend getting the files that way.

     

    thanks a lot for the 'update' shortcut trick! it worked! as im typing now it is downloading the new v1.2.6 !

     

    Glad to help. ^^

  10. still won't update to v1.2.6 here WTF? help

     

     

    I had a similar problem of finding my Eagle Dynamics folder gone in my windows 7 start menu. But this was due to me not being careful and unintentionally deleting the folder in start menu while in the process of cleaning up after uninstalling FC2, BS1, etc to free up harddrive space. :D

    I did the following as a quick go around until I have to download the installers at some point in the future:

     

    1. Copy your desktop shortcut called DCS World, right click that copied shortcut and select properties.

    2. In the shortcut tab of DCS World Properties in Target that is beneath Target Location is the following "C:\Program Files\Eagle Dynamics\DCS World\bin\DCS_updater.exe"or something similar depending on your customized install settings.

    3. Change by adding update a space after DCS_updater.exe" like this "C:\Program Files\Eagle Dynamics\DCS World\bin\DCS_updater.exe" update

    4. Click the Apply and OK buttons.

    5. Rename the copied shortcut to Update DCS World.

    6. Also make another copy from DCS World shortcut as above

    Change in similar manner as above from "C:\Program Files\Eagle Dynamics\DCS World\bin\DCS_updater.exe" to "C:\Program Files\Eagle Dynamics\DCS World\bin\DCS_updater.exe" repair

    7. Click the Apply and OK buttons.

    8. Rename the copied shortcut to Repair DCS World.

     

    Run Repair or update and see if this works for you. ^^

     

    I also made a new Eagle Dynamics Folder on desktop with a DCS World subfolder and added those modified shortcuts as well as the copied unedited DCS World and DCS Multiplayer Shortcuts, and moved them into that DCS World subfolder. I then moved the Eagle Dynamics folder with said subfolder and shortcuts into Start Menu by dragging them. But this may be unnecessary.

     

    Hope this helps. ^^

×
×
  • Create New...