Intellect Posted December 11, 2022 Report Share Posted December 11, 2022 Hi all! I have been working in C++ for a while now and was wondering if I could contribute to engine development. I was wondering if the game logic/engine was written in C++, and if so, if there is a way to work to develop a certain mod/style of UI for a game design that I have, or if I could contribute directly to the game development directly! Thanks Quote Link to comment Share on other sites More sharing options...
Silier Posted December 11, 2022 Report Share Posted December 11, 2022 Hi, The engine is in c++, movement manager, pathfinder, ui components, los logic. Anything related to simulation logic, ui/gui handling is in JavaScript/xml. Quote Link to comment Share on other sites More sharing options...
Intellect Posted December 11, 2022 Author Report Share Posted December 11, 2022 Ah, I see. Have any recent mods been made that make deep changes to the c++ state of the game? I'd be interested in poking around in those! Quote Link to comment Share on other sites More sharing options...
Silier Posted December 11, 2022 Report Share Posted December 11, 2022 I don't think there are any mods changing cpp. They would need to recompile and distribute their binaries for all platforms. making essentially own standalone version of the game. Quote Link to comment Share on other sites More sharing options...
Silier Posted December 11, 2022 Report Share Posted December 11, 2022 Also what exactly do you want to do. For changing ui you do not need to change cpp, xml and js is enough, unless you need some functionality that does not exist yet. Quote Link to comment Share on other sites More sharing options...
Intellect Posted December 11, 2022 Author Report Share Posted December 11, 2022 1 minute ago, Silier said: Also what exactly do you want to do. For changing ui you do not need to change cpp, xml and js is enough, unless you need some functionality that does not exist yet. Are you familiar with the Age of Empires online Celeste Project? Basically, I'd like to change the game function so that it no longer requires "territory" space to build. This is a major hindrance to aggressive gameplay because buildings cannot be built forward outside of territorial spaces. However, there are a few game elements that would need to be changed as well. Quote Link to comment Share on other sites More sharing options...
Silier Posted December 11, 2022 Report Share Posted December 11, 2022 (edited) There is component in templates (xml) of structures where they can be build. I suggest to go through components and check what each of them do so you get overview https://github.com/0ad/0ad/tree/master/binaries/data/mods/public/simulation/components Any structure or unit in game is defined by its template. https://github.com/0ad/0ad/tree/master/binaries/data/mods/public/simulation/templates E.g. for your change you need to edit the building restrictions https://github.com/0ad/0ad/blob/b0214ff96935f45e2ff46d8127e2ed38639a013e/binaries/data/mods/public/simulation/templates/template_structure.xml#L6 Edited December 11, 2022 by Silier Quote Link to comment Share on other sites More sharing options...
alre Posted December 11, 2022 Report Share Posted December 11, 2022 there is a (js) mod by @wowgetoffyourcellphone that does that already. don't know if it's updated to this alpha though. anyway, c++ programmers are in high demand, if you stay you'll find out you could easily make yourself very useful the moment you wanted to. for instance there is much room for optimiziation. Quote Link to comment Share on other sites More sharing options...
Stan` Posted December 11, 2022 Report Share Posted December 11, 2022 Could use a review on https://code.wildfiregames.com/D1581 to toggle the visibility in C++ Quote Link to comment Share on other sites More sharing options...
Danathar Posted December 15, 2022 Report Share Posted December 15, 2022 What is Rust used for? (noticing that in the build instructions). thanks! Quote Link to comment Share on other sites More sharing options...
Stan` Posted December 15, 2022 Report Share Posted December 15, 2022 6 minutes ago, Danathar said: What is Rust used for? (noticing that in the build instructions). thanks! Only for Spidermonkey(Mozilla's js interpretor) 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.