Rusted Warfare - RTS

Rusted Warfare - RTS

48 ratings
A starter guide to custom units (pre-workshop) (Archived)
By LeeIzaZombie
A starter guide to get into making custom units. This guide was made before workshop was added to the game and is archived, I will no longer be able to provide support, please look for other guides if you need more help, thanks.
   
Award
Favorite
Favorited
Unfavorite
Introduction
Welcome to my guide on making custom units for Rusted Warfare - RTS.

Please note that some information may be inaccurate or unecessary as we don't know a lot since it's recent release on PC, if you see something wrong please comment below, thank you!

To make a unit you will be making a new sprite and editing a text file to add configuration and such.

Gimp
I will be going through this exclusively with the paint program called Gimp https://www.gimp.org/ as I find it very easy to handle with transparency and scaling images, which is what you will be doing a lot of with making units.

If you prefer the likes of photoshop, it shouldn't be too hard to follow on!
Getting Started
Unit Directory
First of all head over to the directory where all custom units will be placed:
C:\Program Files (x86)\Steam\steamapps\common\Rusted Warfare\assets\units

You will notice that there are a few vanilla units already here. These files can be edited for singleplayer preference but you can't use modified vanilla units on multiplayer.

To keep things simple, we will use one of these units as an example, I'm going to take 'test_tank' for this tutorial.


Once you have copied over that folder you can now rename it to anything you like, this won't effect the name of the unit in the game. In this case I will call it guide_tank

Let's open up our new folder and see what's inside:

While I'm unsure if it's required, let's just rename these files respective to the folder name, the textures don't need to be renamed unless you prefer to, you will later have to rename some text in the .ini file.

Editing Textures
Before we get into the advanced parts of the guide, let's start editing our tank now!

Open up gimp and we'll start off with guide_tank.png, this is clearly going to be the base of our unit, where any turrets and such will be placed on.

Zoom in on the image and you will see 3 pixelated tanks, why 3? Well this is for animating your object, this can be very simple and I will explain in the next section. Below is an image breaking down how this recognises each of your animations:


This image has the width of 48 pixels (you can see on top of gimp 48x30), since this tank has 3 animations, each tank should be 16 pixels wide at most (48 divided by 3)

It is possible to leave it without animations and rescale the image if it's too complicated or if you make a turret!

In this case, for fun and a great example we can make our tank change color 3 times as it drives.

Also a quick tip if you plan to add filters to your units I suggest you use the magic selection too to select all the green parts then press CTRL + i, this in invert your selection so your filters will not edit the green. The green seems to be how the game reads to change the color for team recognition.


Now you can save your changes and click File -> Overwrite guide_tank.png

Now before you can even test this out, you must open up the .ini file. (You can use wordpad, but I recommend notepad++)

I'm going to leave the guide at this for the moment and just show you that you can rename the unit to test it out in Sandbox mode.



If you opened it up with notepad++ you should see this.

1): Rename to what you want your unit to be called in-game.
2): Make sure these are the exact names as the files in your folder.



Save and try it out!



I will finish the guide as soon as I can!

51 Comments
HolyKnight69 23 Mar, 2024 @ 3:42am 
i have tried but im no good for modding, if anyone has spare time could they make a mod for the community based off tokyo revengers
InfamousJarbeafis 6 Dec, 2023 @ 1:53pm 
thank you this is very helpful
Duckland1099 30 Jun, 2023 @ 6:54pm 
Can someone tell me how to upload custom music to the rusted warfare workshop?
Louis 13 Mar, 2023 @ 5:36pm 
how do u make infantry like units. like mine when the turret (thats the head arm and gun) turns to shot they come off the body
Zacky Femboy :3 22 Feb, 2022 @ 12:17am 
hey this helped me but can you add how to mess with the guns
Anarchyの海豚 11 Jun, 2021 @ 8:21am 
would you talk about the data and the function in the future?
{ZET} Inflitor 3 Jun, 2021 @ 9:51am 
okay thanks.
LeeIzaZombie  [author] 3 Jun, 2021 @ 4:17am 
If much hasn't changed since I last touched this game then yes you can, as long as you configure for the right total frames and telling it which frames to use for your extra animation
{ZET} Inflitor 1 Jun, 2021 @ 3:10pm 
if you take 4 or 5 pictures to animate the unit would that work too?
LeeIzaZombie  [author] 25 Apr, 2021 @ 2:32am 
Or if you mean you want to an option to build a "class" or optional building at the start you can replace builder with a custom unit that can build your desired building and use the config to make it die after build or either edit maps for custom unit placement for said unit, I'm not sure how it will work with replacing builders incase there's maps that spawn you with more than one? I don't remember, but also you would have to make a custom builders unit in that case aswell