
- #Death road to canada console commans mod#
- #Death road to canada console commans update#
- #Death road to canada console commans code#
- #Death road to canada console commans Pc#
For instance, the first sprite in dr2c_weapons.png is the purple/gold placeholder book in index 0, followed by the hunting rifle in index 1, the shotgun in index 2, and continuing onwards to the cleaver in index 16 the row below. Weapondef.dfThe first property of any weapon you create (aside from the name) will be it's graphic: Weapon indexes under dr2c_weapons.png and dr2c_weapons_16x32px.png are sorted by row, then column, in rows of 16 sprites and starting from zero.
#Death road to canada console commans code#
#Death road to canada console commans update#

If the sprites in that file are not large enough, you can instead use /gfx/items/ dr2c_weapons_16x32px.png, which allows for double width.Įach weapon in dr2c_weapons.png has a maximum size of 8x32 pixels, 16x32 in dr2c_weapons_16x32px.png. You will need to access the console regularly to test your changes.įor the majority of weapons, you'll be editing /gfx/items/ dr2c_weapons.png. This will enable you to access console commands with the ~/` key, located on the upper left of your keyboard. Note that DRTC's programming language is stack oriented, so it might be a bit harder to find documentation or wrap your head around what's going on.īefore you do anything else, open up boot.df under /deathforth and add the line "1 console!" (without quotes) under the line ": debugcheck DEBUG_BUILD console! debugcheck", which should be line 11.

This will help you do more complex/varied actions with your weapons. Basic programming knowledge, enough to understand what variables, if/for statements, classes and methods are.You can work off of the sprites already in-game but it helps to know your way around a program.
#Death road to canada console commans Pc#
Note this guide is intended for PC users. You're gonna be hopping around a lot, so get comfortable with navigating your folders. If you're coming in with a bit of knowledge, that helps too.

#Death road to canada console commans mod#
If you plan on keeping your mod updated, I would highly recommend getting a diff plugin if you're using notepad++. df file type used to hold code can just be treated as. Notepad++ or other similarly powerful programs are required, a basic notepad editor may not have all the capabilities you need. Anything more powerful than MS Paint will do. Since we're doing pixel art, I'd recommend Paint-dot-NET [or GNU Image Manipulation Program [If you already have it, Photoshop, Aseprite or other similarly powerful programs should be fine.

Anyone with any level of experience can mess with the game, but you'll need a few tools to help you out.
