-
Who's Online 2 Members, 0 Anonymous, 502 Guests (See full list)
-
Topics
-
Posts
-
That's not possible, unfortunately. Essentially, the engine creates different JS script interfaces for different purposes - one for the GUI (scripts in gui/), one for the simulation (scripts in simulation/ and trigger scripts in maps/scenarios/) and one for map generation (scripts in maps/random/). And those Engine functions are always registered in specific contexts. Engine.QueryInterface, for example, is obviously only available in simulation context, since that's were simulation components and interfaces are. Similarly, Engine.SetSimRate and Engine.GetSimRate are only registered in the GUI scripting context, meaning you can only call them from GUI scripts. What exactly are you trying to achieve? There are some possible workarounds because the engine allows you to communicate between contexts and modifying the engine to register SetSimRate and GetSimRate in simulation scripting context too is quite straightforward actually.
-
The easiest would probably be using the windows binary with wine / proton. You might see a warning at the start tho as wine doesn't support numa and as such the hardware detection will fail. Just click continue in that case.
-
By Adriano0ad · Posted
Hello everyone! I’d like to share the latest updates from the project as we wrap up the year. I’ve redone many textures and improved several in-game structures. At the moment, I’m reworking all terrain textures, developing the building damage system, and refining many core gameplay mechanics. I hope you enjoy the updates and continue following the development. Wishing everyone a Happy New Year! -
By NewWorldHero · Posted
I have played this version almost daily for what seems like a decade. My scenarios and skirmishes (single player mode only) are somewhat modified and ONLY work w/ v23 Ken Wood. Have tried many times installing a new or latest version for Linux thru the Mint repositories and moving the maps etc to new version. Never works. I have searched and read here and everywhere else for almost a year merely trying to find the Ken Wood v23 in a Ubuntu .deb package to install on a new PC build. Running Mint 22.2 now the repos and everywhere else only have the latest 0AD versions, or the tar gz versions that I have no idea how to "compile" or install. Even tried a Debian version that of course will not work in Mint 22.2. Finally decided to ask for help and need a good Linux pro. Thanks
-
