Procsimo Posted June 25, 2020 Share Posted June 25, 2020 In fact, the question is simple: how to search for .cs (dso) and .gui in the specified folders or only run the specified .cs (dso) and .gui files when starting the game client!If this is already described somewhere, please give a link to the topic.P.S. My English is very bad, I strongly ask you not to scold that I could not find by search if this question was already Quote Link to comment Share on other sites More sharing options...
Duion Posted June 25, 2020 Share Posted June 25, 2020 I do that in Uebergame for auto executing game mode scripts and auto executing mission scripts:https://github.com/Duion/Uebergame/blob/master/scripts/server/server.cs#L319This searches for any .cs file ending with "Game" and executes themFurther below this:https://github.com/Duion/Uebergame/blob/master/scripts/server/server.cs#L327Just searches and executes any .cs file in the levels folderAdjust this to your needs. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.