I'm working on a server mod that adds more variety to orbital, and fixes bots. Currently not much to say other than I've been working on making the dox more useful. The dox is now close-range (~inferno range) and high DPS. It shoots 6 shots a second and each shot does 3 damage. It also has a greater sight range, and can take 2 shots from an ant. However infernoes chew up dox (because they are the same range). Also to compensate, single laser turrets shoot a little faster, do a little more damage per shot, and have a small, low-damage AOE. I am looking for a bit of help with getting the stinger back into the factory (not quite sure how to do it), and getting new units and structures into the orbital layer. I will upload the mod to PAMM once it actually is a bit more substantial.
For units to be buildable and appear in the build menu, they need to be in unit_list.json (pa\units), build.js (ui\main\shared\js\) and have the appropriate unit_types for the factory.
One moment. Got the stinger working by stealing the RCBM build list. Going to figure out what's up. Testing the new unit now. If I can't figure it out, I'll put it up, but that's gonna be tomorrow, probably.
I didn't actually. I think it was a spacing issue or something. I assigned it 6, I think. EDIT: Got the new unit in. Where do I add the unit build bar icons?
Ok, so I got that working, and I got strategic icons to display when you go to build the units, but when the unit gets build it does not get the strategic icon.
Try making the UI element of your mod a client-side one. Replicate the UI file structure you have in "server_mods" into "client_mods", add a modinfo and change it to client rather than server. No idea why bot_aa isn't inheriting its icon correctly from server-side ui... something is causing it to break that I can't (yet) identify. Other units, if not assigned a specific icon are being given "blip"... but bot_aa is a special case for some reason. You could also try renaming it (its file structure and anything that references it) to something else; might fix it.
Uber straight up removed the bot_aa icon from the icon directory. You'll need to add it back in. No modifications to the icon atlas.js file will be needed. The path is as follows: \ui\main\atlas\icon_atlas\img\strategic_icons Attached is the icon from Transparent Strategic Icons mod v 3.3.1.
I added it back in. When I hover my mouse over the unit when it is in the factory, I can see it's unit icon as a preview, however, when I actually build it, it is the "broken image" picture, even though my other units that I made just have the standard dot.
So we had this problem as well. It seems that the server mods don't like when you mess with the vanilla models or icons. So you can either make a UI mod to go with the server mod, or you have to rename the aa bot to something else.
ok, so I cannot, for the life of me, get an orbital unit to have a missile weapon. Can someone help with this?
Generally I'd recommend that you keep a repo on github so that if you have an issue like this we can take a look at the code and find out what the issue is.