

Pikey
ED Beta Testers-
Posts
5909 -
Joined
-
Last visited
-
Days Won
4
Content Type
Profiles
Forums
Events
Everything posted by Pikey
-
Baked in reflections are so horrible for VR. For 2D I think it somewhat adds something. An option would be awesome.
-
It took me maybe an hour in MOOSE (and I'm an idiot) to do a bespoke one from scratch rather than change an existing one, I know that is slightly unhelpful but the point is, that the MOOSE absolutely simplifies heavy scripting and stops the need to rely on folks' existing work and editing, which is often harder than starting from scratch. Happy to share the core of the message below and you can easily read it as a non coder and work out the simplicity, maybe folks can start to see the advantages over more basic frameworks. --FUNCTION CONVERTS INTEGER HEADING TO CARDINAL function bearingToCardinal(hdg) if hdg >= 0 and hdg <= 22 then return "NORTH" elseif hdg >= 23 and hdg <= 66 then return "NORTH-EAST" elseif hdg >= 67 and hdg <= 101 then return "EAST" elseif hdg >= 102 and hdg <= 146 then return "SOUTH-EAST" elseif hdg >= 147 and hdg <= 201 then return "SOUTH" elseif hdg >= 202 and hdg <= 246 then return "SOUTH-WEST" elseif hdg >= 247 and hdg <= 291 then return "WEST" elseif hdg >= 292 and hdg <= 338 then return "NORTH-WEST" elseif hdg >= 339 then return "NORTH" end end --FUNCTION BRAA message function braa(PlayerClientObj,rngGroup ) GroupNumber = rngGroup:GetSize() if GroupNumber == 1 then GroupWords = "SINGLETON" elseif GroupNumber == 2 then GroupWords = "TWO-SHIP" elseif GroupNumber == 3 then GroupWords = "HEAVY" end local grpLeadUnit = rngGroup:GetUnit(1) local tgtCoord = grpLeadUnit:GetCoordinate() local currentCoord = PlayerClientObj:GetCoordinate() local hdg = UTILS.Round(rngGroup:GetHeading()/100,1)*100 local bearing = UTILS.Round(currentCoord:HeadingTo(tgtCoord),0) local rangeMetres = tgtCoord:Get2DDistance(currentCoord) local rangeNM = UTILS.Round( UTILS.MetersToNM(rangeMetres), 0) local aspect = tgtCoord:ToStringAspect(currentCoord) local alt = UTILS.Round(UTILS.MetersToFeet(grpLeadUnit:GetAltitude())/1000,0)--*1000 if rangeNM <= 3 then MESSAGE:New("BIGFOOT, FAT 3, MERGED.", 15):ToBlue() else MESSAGE:New("GROUP ".. GroupWords .. ", BRAA, ".. bearing .. ", "..rangeNM.." miles, ANGELS "..alt..", ".. aspect ..", TRACK " .. bearingToCardinal(hdg).." , SPADES.", 15):ToBlue() end endTo make that a full GCI (it was only for one target) I'd take a list of all red air groups and build a single message with that function executed on each of them. For WW2, not sure what format they would use for the message, this is obviously modern, but the end result of mine is more accurate than anything else I've seen out there (for modern NATO types) including the inbuilt AWACS call. I was considering doing a voice for it, that was a lot more effort in fact, as I'd have liked to use the RADIO module in MOOSE to generate line of sight and attentuation of the radio call, but apparently that causes message clipping which affects the spacing of number and message calls and makes it sound bad. I never wanted to recreate EWRS for that mission, just a quick custom call. Pretty sure it could go further with a lot of effort to do an entire GCI simulation, using New Picture and checking in mechanics, popup and threat calls, converting from Bullseye to Tactical at the 30nm mark, dropping fillers inside 30nm, breaking the timing from minutes above a certain range to 15s in close all automatically or with options... but honestly I've lost my motivation with scripting after ED willfully destroyed a lot of scripting in 2.5.6 and keep shunting visuals over core despite all of what they said at the begining of the year. TLDR; you have choices, choose the exact messaging yourself rather than bend something else.
-
MOOSE - Mission Object Oriented Scripting Framework
Pikey replied to FlightControl's topic in Scripting Tips, Tricks & Issues
Great stuff! Next week someone else will have the same problem because of the way DCS works. Feel free to pile in and tell them how it works/doesn't work/behaves unexpectedly/is silly* *delete as appropriate. :) -
[MOOSE] RAT - Random Air Traffic
Pikey replied to funkyfranky's topic in Scripting Tips, Tricks & Issues
He is, he's being very helpful and there are many more folks also doing that. For NTTR fix ask Eagle Dynamics, they broke airbases, not us. -
[MOOSE] RAT - Random Air Traffic
Pikey replied to funkyfranky's topic in Scripting Tips, Tricks & Issues
Copy and paste the contents. This is a github problem so direct your complaints to Microsoft. You are not the first to find this stupid/confusing at all. There's nothing we can do about that because Moose is generated dynamically when people make code changes and when it's compiled it sits there but not as a file, just as a vomit of code on a web page. -
MOOSE - Mission Object Oriented Scripting Framework
Pikey replied to FlightControl's topic in Scripting Tips, Tricks & Issues
aye. If you use the slot type of "Client" which works as a multiplayer slot, you get presented with the slot selection screen. At this point the mission is paused and no scripts have run. If you press escape immediately, you get a spectator view and scripting starts. If you press Escape again, you get the slot screen again, but this time since the script is running, it will find you entered the slot and things happen. EDIT: as a player type slot the same issue will happen I think, except youve been directly taken to the slot marked player and didnt need to select it. Unless you can get out of that role and back in, you choices will be limited to making it a client again. It's all about the chicken and the egg. Script needs to start before you get there, whcih is always the normal case with multiplayer, but in single player can be a bit off. -
just showing up to another Phantom thread with my support. I hope that the 2 seat aspect is not too challenigng to make fun for a DCS module but I suspect that's what makes this thing late to the party. Wasn't completely happy about the E version though, would want to see a carrier version.
-
Yeah it's puzzling to not see the famous D-30 in game.
-
Dedicated server keeps reverting to manual start
Pikey replied to Pikey's topic in Multiplayer Server Administration
Hi ViFF, thanks for reaching out. This didnt help, I could use ServerSettings from a working autoload server and it still didnt work, but I'll write everything down that I had to do to fix it. Firstly, I reinstalled DCS Server to the C:\ drive, it was on E:\ First ran with --server --norender stalled because it had no mission which was expected. The serverSettings was created with one line cfg={advanced={resume_mode=1}} I created the mission folder, dropped in a mission and opened the webgui to add this to the list. serverSettings.lua was then generated more in full I closed the server app and edited the serverSettings with a few things like name, port, description, but touched nothing else. I ran the server again, it fully went into the mission first time. Conclusions: would be guessing. I had no 3rd party mods, clean profile, clean install and config. The logs were certainly different. from comparisons it was like the original server couldnt find the mission. However it was there with the correct UNC path. I suspect some NTFS shenanigans with the two seperate drives and the web server being locked down, but I cannot prove it. Thanks for offering to help again my friend! -
I'd help out someone that was sincere. But not for money, just to know they enjoyed themselves and learned something.
-
Will be nice to feel uboats from the other side of the surface for a change. I reckon they could really conjur up some horror.
-
MOOSE - Mission Object Oriented Scripting Framework
Pikey replied to FlightControl's topic in Scripting Tips, Tricks & Issues
It is and has been working fine on that. You need to look through your dcs.log to see what the problem is. -
MOOSE - Mission Object Oriented Scripting Framework
Pikey replied to FlightControl's topic in Scripting Tips, Tricks & Issues
Be very happy then! 2 folks reported RH coming to a standstill on the deck and fouling it by staying down. I've also seen a recovery tanker decide to try to take off from an Oil rig. The code hasnt been changed, DCS can do some weird things. -
This issue caused me to learn how to script so I could enjoy my own content. It's not a happy path unless the idea appeals to you. Squadrons are better propositions. You get intel that the mission designer wants to pass to the package leader/side commander. The package leader briefs the package. The flight leader plans his flight and then briefs his flight. At the end of the process, the veil of fog comes down and no one knows what is going to happen. Usually as a result of humans doing human things and DCS going tits up.
-
OB would be fine if it werent for the fact that most servers run on it and many users want it to. Which places this fully in the realm of user driven disatisfaction. OB is fairly a victim of it's own success, ED release it usually playable in most respects. The problems arise when issues affect multiplayer, servers, mission creation, or sometimes the plain and obvious issues that affect everyone equally. Then servers roll back, people get annoyed because they have to eithe rplay single player or suffer some bug they dont want. ED on the other hand love that as the noisy complaints come in thick and fast and they get to see the temperature of the issues fast. So, ED dont want to change it, Many people dont want to change it, and server admins are miserable watching progress bars for days on end. It's absolutely abused to hell and wrong. We live in OB. and should not, for the want of waiting a bit more we are essentially forcing ourselves to play a less stable/optimised/bugfree game.
-
Hi, I cannot get a mission to automatically start with dedicated. The three options of Resume Manual, Resume with clients and resume on load keep reverting to "Resume Manual" I tried changing the ["resume_mode"] setting in serverSettings and even if I set another number, if I open the WebGui it shows incorrectly at resume manual. Then if I change the number via the GUI, press save, it reverts back to manual again. How can I autostart a mission when the Dedicated server first runs? Is there another hack? Also - I can connect a webGui even without using the --WebGui startup parameter. Which is weird.
-
I must be missing something. We used to have a line Ciribob made for autostarting a mission. I figured it should do this now automatically if [listLoop] = true but my dedicated has to be manually started by the webgui to get it to load the only miz in the list. What am I missing?
-
MOOSE - Mission Object Oriented Scripting Framework
Pikey replied to FlightControl's topic in Scripting Tips, Tricks & Issues
I would certianly verify the names, especially with respect to UNIT and GROUP names and case sensitivity. Rescue Helo is misbehaving since 2.5.6 released, best to avoid it, it can land and not take off and similar. -
HB, being HB, are nice people and don't want to say the obvious and lay blame. Laying blame usually backfires in some way or another. They've been drawn into this before and it takes effort to read between the lines where ED have let everyone down. (I could reference a certain missile) for one example but there's many cases where 3rd parties are forced in between a rock and a hard place. It's currently happening again, the OB needs plenty more work before becoming "stable". For third parties, they could either say nothing, or sound like us lot, blaming ED for everything. Instead of assuming it's HB first, have a look up, a little further... bit further still and see what is actually going on at the moment. It's a shit show. and if you missed it, then OK, you didnt know, but don't make an assumption if you haven't kept your eye on the ball. The other thing you know is that they didn't post an update. Most likely because they don't have one that anyone would like. Saying nothing is the go-to when saying anything is worse. Now you know that, you are up to date and don't need to ask. It's not like anyone forgot! Go ask Cobra about all the cool posts where he dropped his foot in it. Updates will be made, when there is an actual update.
-
[WIP] Helicopters are invisible to JF-17 radar
Pikey replied to GIGA_HORSE's topic in Bugs and Problems
There are clear accounts of rotor blades shining bright on doppler returns, they are literally huge bats whacking energy in all directions. Unfortunatley, the DCS filter looks at the aircraft speed and disregards the rotor effect.This should be fixed across the board in DCS. -
MOOSE - Mission Object Oriented Scripting Framework
Pikey replied to FlightControl's topic in Scripting Tips, Tricks & Issues
When you are told you _can_ commence you actually have to use the menu to say you _are_ commencing. Nothing triggers without indicating. You drop out of marshall as per the diagrams and run in on initials from 3nm astern on the starboard side. As you run in, Marshall will give a call on checking hook down. if you dont get that call at least a couple of nm away then you have somehow lined up wrong or not informed you are commencing. -
MOOSE - Mission Object Oriented Scripting Framework
Pikey replied to FlightControl's topic in Scripting Tips, Tricks & Issues
No need to simulate it. If the runway is destroyed, it wrecks DCS AI, they wont taxi. What you have to do in fact is stop the spawning disaster after that. The way is through an event Handler set to look for the death of the runway. When that fires, recall the Squadron line with Zero as the number of planes and they will stop. -
A timezone would have been good. English is spoken from Australia to the UK without interuption and then east to India and Pakistan where they have interests in the JF-17.
-
Hi Kris, even on CV1 with a 2500K which was beneath the CV1 minimum spec I struggled with DCS, and there weren't issues with "normal VR optimised" games, jsut DCS. It's absolutley about the CPU. Most people recognise enormous changes in fluidity in VR the more modern architecture they have for their CPU. Whilst I'm happy with a 6700, the "over ninethousand gang" report smoother, less jitters and stops etc. You can still get those on good CPU's with DCS, it's absolutley packing the single thread with work, I'm afraid it is likely to be a terribly unworkable configuration.
-
I've given up asking for this. I even offered to write things on one patch to test on another and it was ignored. They say we will do better and they do the same: Visual fixes on statics was so predictable. Meanwhile so many scripts are broken without possibility to repair due to ID's being changed. it's like it isnt actually happening. Servers are dead, you can already see the reduction, people dont care unless they can see it and touch it, the entire thing is propelling itself so we live in a permanently degraded beta state with OB servers running broken and no one seems to care. I'm outraged.