Howdy, I have been looking through the JSON files trying to change values so forth like for the Metal Extractor and Energy Plant I tried to double their output so the following code. but the changes have made no effect in game, I am trying to test just using some AI's. Am I doing something wrong? Code: "production": { "energy": 1400 }, "production": { "metal": 14 },
Currently, you are only able to mod clientside files. This means Textures, (possibly) Effects, and (possibly) models. For everything else mod-related, you have to wait until Uber releases the server files and, in your case, allows people to use their machine as their own local server. This won't be for a while, it should be available by beta though.
Oh man ofc it is I can't believe I was that stupid, completely forgot the client server architecture. Thanks for that saved me some headaches haha. I feel so stupid now.
People are already modding effects and textures. They're purely client side, so people can change them however they want.
But you can change what units each building can build. Why is this clientside? Dosent this allow for very easy cheats/hacks?
Because we forgot to make the server validate build orders... (it is a known issue, probably be fixed early next week).
So you should change it to serverside, like the most features in PA. The local settings should only be used for Single Player. Edit: Oh wait.. the Single Player mode also use a (localhost) server. So why should the settings be saved local?
Clients have to have a way to request to build something. Right now it does so by asking a factory to build a specific unit, and the server goes "ok!". It'll be fixed.
Let's try this. So I added " | Land & Structure" to the buildable_types of the air factory. And it broke the UI, because there were too many units. Changed to " | Factory & Tech1 & Air | Land & Structure & MetalProduction & Tech1" (metal extract and air factory) And neither were able to be built
This won't work for much longer at all, btw. We're not properly checking against the server for build restrictions. This is something that has to be controlled by the server for obvious reasons. Even once you all have your own servers.
I'd assumed it was one of those things on the "to do" list when legiondarrath first mentioned he could change the available builds on a factory It's highly tempting to mod one of the basic factories to take advantage of this while I still can, but effort :mrgreen: