-
Posts
531 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by Chump
-
Add a sound file to be used by trigger.action.outSound
Chump replied to R.MES's topic in Scripting Tips, Tricks & Issues
To keep sounds from unwanted playing during map load (used to be a MP problem), I use a ONCE trigger, with a LUA PREDICATE condition with "return false" and SOUND TO ALL. Agreed that there should be a built-in way to accomplish this. -
{ display_name = _('BIO'); beaconId = 'airfield20_0'; type = BEACON_TYPE_HOMER; callsign = 'BIO'; frequency = 205000000000.000000; position = { -12635.139794, 275.999849, -903425.845883 }; direction = 0.000000; positionGeo = { latitude = -51.608281, longitude = -72.221030 }; sceneObjects = {'t:13140007'}; };
-
Check out [DCS]/Doc/Sounds/sdef_and_wave_list.txt for a listing of sound files and their paths. But, as @Elphaba already mentioned, you cannot get to the original sound files.
-
I thought it more appropriate to put this here than in the Wish List for the core game. Mods, please move it if it is not in the right place. I think it would be a great improvement to find/narrow User Files missions (both SP & MP) by theater/map. Currently, searching for SP missions returns 2,474 results that must be combed through if only looking for Persian Gulf missions.
-
Modded Missions made in 2.7 standard ver Not working in 2.8
Chump replied to DishDoggie's topic in DCS Modding
@DishDoggie As @Morpheus mentioned, if you provide your dcs.log (not dcs.*.crash file), maybe we can help troubleshoot or at least see what's throwing an error to look into a fix. -
ED did include this functionality with one of the last releases: local magvar = require("magvar") magvar.init(month, year) magvar.get_mag_decl(lat, lon)
-
Modded Missions made in 2.7 standard ver Not working in 2.8
Chump replied to DishDoggie's topic in DCS Modding
Got a dcs.log for us to look at? -
Please attach your dcs.log if it isn't working and we can see if any errors stand out.
-
I got tired of JTAC not prioritizing targets correctly (BMP before SAM etc.) so I wrote a workaround @ https://github.com/chump29/DCS_Mod/blob/master/JTAC_Priority.lua Description @ https://github.com/chump29/DCS_Mod#jtac-priority Suggestions/complaints welcome.
-
Pretty much no single player missions anywhere for this map?
Chump replied to imacken's topic in South Atlantic
@imacken TTI also supports the SA map. Through The Inferno (South Atlantic/Falklands - Punta Arenas) -
@daemon1808 Gotcha. My bad. Thanks for clarifying the issue. Fix one thing, break two! Hopefully ED will take a look at this.
-
@daemon1808 Event.initiator returns a Unit object. There is no Unit.getCategory(), so it defaults back to its base Object.getCategory(). event.initiator:getCategory() -- returns Object.Category If you want to get the Unit.Category, you will need to get it from the descriptor. event.initiator:getDesc().category -- returns Unit.Category
-
Change the following line in scratchpad-hook.lua elseif ac == "M-2000C" then return {DDM = {precision = 1, lonDegreesWidth = 3}} to elseif ac == "M-2000C" then return {DDM = {lonDegreesWidth = 3}} This will default back to DD°MM.MMM (three places of precision)
-
I didn't see this mentioned already. Steps to recreate: New mission in editor (I chose Caucasus, seems to happen on all maps) Select Overcast 3 preset Make sure BASE slider is maxed out (11024ft) Save mission Choose Fly Mission from editor NOTE: briefing will show Cloud Cover BASE @ 3360m Cancel Save mission Choose Fly Mission from editor NOTE: briefing will show Cloud Cover BASE @ 3400m Rinse, repeat (cancel, save, will toggle between 3360 & 3400) DCS v2.8.0.33006, no mods enabled, ran repair/clean to no avail.
-
- 1
-
-
@ollk22 I just tested it and it is working for me in 2.8. It should work in 2.7 also. Make sure that you have the latest version @ https://github.com/rkusa/dcs-scratchpad/releases/tag/0.6.1
-
Any help to get three random unique flags values :?
Chump replied to Presidium's topic in Mission Editor
@toutenglisse has the right answer here with minimal processing. -
Anyone else notice the witches? Thanks for the tension breaker, ED!
-
I can confirm that #3 is on purpose, given the new \Mods\aircraft\Ka-50\Cockpit\IndicationTextures\SHKVAL_MASK.bmp file.
-
trigger.action.radioTransmission("music.ogg", point, radio.modulation.AM, true, 123000000, 1000, "myTransmission") trigger.action.stopRadioTransmission("myTransmission") This is a pretty old post, but for those interested, here is the usage.
-
@Elphaba getCategory() isn't overridden for Airbase, so it uses the base class (Object) function in this case. Here is what you get when using getCategory(): object:getCategory() returns Object.Category group:getCategory() returns Group.Category spot:getCategory() returns Spot.Category For other classes, you need to access it's Desc struct: unit:getDesc().category returns Unit.Category airbase:getDesc().category returns Airbase.Category weapon:getDesc().category returns Weapon.Category