-
Posts
324 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by PravusJSB
-
Check that none of your assets have changed 'task' and invalidated an option set within them, it will show red in the 'advanced' list of said asset. I've never had this happen unless that was the cause.
-
The explosion method would be the best bet, as although you can get them to 'work' in MP (failures) they do not work as expected and bug the client. If you get the unit vector and work out the offset to the wing and trigger an explosion underneath at a small yield (you'll have to experiment, I suggest starting at 0.001) you might be able to consistently get it to work as intended. Edit: if the client is airborne then you'll have to factor in their velocity vector to ensure correct positional placement each time.
-
My mission runs Syria exclusively and I posted this workaround in my Discord some time ago to help my pilots, and it has yielded good results for the people that have tried it. You need another HDD and preferably a SSD but it's OK if not. Excuse the quality/production it was never intended for public viewing. https://drive.google.com/file/d/1tfMXDFo3mHjxjoJW5b-HpyhbRciusbf1/view?usp=sharing It works because thereafter windows will not push the almost 20GB of surface files into memory and instead said memory will be used for other things. It will not give FPS but will give stability and reduce stuttering.
-
Yes I feel your frustration with Syria parking, the best way I found to get around this is to delete all the hanger objects and make all the spots open air 'big' spots. Far less problems and more spots to use.
-
Are you playing single player? or MP?
-
it could be a number of things but my goto and most likely is that you have a bad lua function causing it. I lean that way because you say it resolves and repeats. Do you have the mission code to share? I can take a look. Nothing in that log file indicates an issue.
- 6 replies
-
- liberation
- dedicated server
-
(and 1 more)
Tagged with:
-
Weather Injection Or Weather Tool for mission designer
PravusJSB replied to Raviar's topic in Mission Editor
Yea you just need to write something to open the miz file before DCS starts and amend the weather settings in the mission file, put it back together and pass it back to DCS. I do this in the 'dedicatedServer.lua'. 7Zip is a good external program to use as you can send command lines to it via os.execute. -
XSAF - Training and Check rides not necessary
PravusJSB replied to PravusJSB's topic in Squadron Recruiting
-
XSAF - Training and Check rides not necessary
PravusJSB replied to PravusJSB's topic in Squadron Recruiting
We just recently started a new variation on the original campaign and the op is only a few days old. Should last 3-4 weeks. -
Reload or end mission with LUA only, no trigger possible?
PravusJSB replied to Amarok_73's topic in Mission Editor
It seems (not sure if intended or not) but the net class is now available and usable in the mission scripting not just GUI/Hooks. So yes, you can call the function responsible for restart and mission changes and much more directly from mission code. -
You're much better running a dedicated server to test code really, and yes you can make a change to any user scripts and reload in mission using DCS.reloadUserScripts (Im not sure if that's the right one but you'll see it if you print the function names from the DCS class to log). I also use a call back tied to a chat command which re-loads a script file and outputs the result which allows for quick changes and code dynamism live in mission. That way I can effectively use my IDE as a console.
-
Hi, yea I think you're correct in most of what you understand at the minute, of course you cant normally run the function or have access to the net class in the mission (normally), and as far as I know it only returns from the flag function, but the netdostring function is pretty powerful and contrary to popular understanding it can run any code in any of the lua states, it just doesnt return via normal methods, so you have to think outside the box. To experiment you can 'return' via the print function and observe the log file live to see any results. That way you should be able to refine your understanding. Hit me up on Discord if you need any more info I'll try to help.
-
Yes its possible if you're OK with programming
-
Its map dependent, for example Syria seems to have lights on all the time regardless of incoming aircraft. There is no direct way to turn off the lights in ME, or indeed in code unless you are a C++ proficient programmer. The only final solution is to identify the lights (as a scenery object) using worl.d search SE function and delete them.
-
Base capture is triggered by statics and units, so if your CSAR script replaces the downed pilot with either of those things (sounds like a unit) the base will be captured by it. The only way you're going to get around it is to change the unit spawned to Neutral, or to amend the spawned unit to something else or to delete said unit if within 3km or so of an airfield (off the top of my head without seeing the code youre using)
-
Message text on left side of screen instead of right?
PravusJSB replied to Gambit21's topic in Mission Editor
Yes it can be done, but it will not work across multiplayer, only singleplayer. and you have to trigger the text from the GUI(server) environment with the module gameMessages. -
XSAF - Training and Check rides not necessary
PravusJSB replied to PravusJSB's topic in Squadron Recruiting
Sure thing, we did have one in the USA for a while and a second server in the UK on a different map, someone would have to fund the server, hit me up on Discord to discuss PravusJSB#9484 -
XSAF - Training and Check rides not necessary
PravusJSB replied to PravusJSB's topic in Squadron Recruiting
Its up 24/7 hosted in the uk. -
XSAF - Training and Check rides not necessary
PravusJSB replied to PravusJSB's topic in Squadron Recruiting
Mutley means theres no requirement to give any minimum commitment or to be on at X time ect, you wouldnt want to dip in to the mission on your own any that wont be much fun and there will be some grumpy people asking why you wasted their time, this is a team sport and that what the rules are there for. -
How to make a player unit immortal in zone?
PravusJSB replied to PanzerPunisher's topic in Mission Editor
Yes this is possible to do with code, just push the immortal command (or option? I think its command) using the controller of the player unit, when in zone (simple way is to use a spinning function to check vec2 in zone) then remove said command the same way if the vec does not return in zone. -
Random Aircraft Patrol spawn for a persistent online mission
PravusJSB replied to Tank50us's topic in Mission Editor
There are lots of ways to do this, a lot easier to code it than make it all work in ME. It's not a simple thing to do as there would be a number of variables to consider but it's not a difficult programming task. I could probably help you put something together, drop me a PM on Discord. PravusJSB#9484 -
XSAF - Training and Check rides not necessary
PravusJSB replied to PravusJSB's topic in Squadron Recruiting
Opening post has been edited to reflect current state of development, and to add details of our monthly prize draw. Monthly Competition As of the start of the next operation, we will be running a new competition which will run monthly for the foreseeable future. The entry requirements and win conditions are very simple, anyone who within the competition period defined by start and end dates increases their 'flight time' by 15 hours will be entered into a draw to win a module/map of their choosing from the ED store. Each 15 hours will count as 1 entry into the draw, and the winner will be chosen live with some custom random code i will write live on the stream of the draw. Have you found your way around the Discord now? If not drop me a PM on Discord -
You mean the white text in the top left? I cannot see your image.