portzy.blogg.se

Death road to canada console commans
Death road to canada console commans












  1. #Death road to canada console commans mod#
  2. #Death road to canada console commans update#
  3. #Death road to canada console commans code#
  4. #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#

  • Lastly, organizing your weapons in a consistent manner will aid you when the game recieves updates: New updates will often include more weapons, which means you will need to edit code to indicate changed placement of existing weapons.
  • #Death road to canada console commans update#

  • Try to avoid changing the placement of vanilla weapons, you'll need to update those too if you decide to do that.
  • Avoid adding partial transparency to your weapons, the game doesn't quite handle that well.
  • Don't be afraid to introduce more colors to help differientiate darker tones, but avoid making your sprites too complex. Most colors will have up to three variations in value, with high saturation and prominent shading.
  • Using already provided colors is helpful in retaining the original theme.
  • Be sure to use "nearest neighbor" and non-antialiasing options to retain the pixel-art style.
  • You should be using the dropper, selection/move/resize and pencil tools exclusively.
  • There's not much I can cover in regards to actually drawing the weapons, though I can give a few tips: Organizing your weapons will be helpful in adding them through code later. You can place your weapons anywhere on the sheet, but if necessary you can also extend the image to add more rows: The game will be able to detect extensions without any issues. You can use these provided templates to help edit your weapons by placing it a layer below that of what you're working on: 8x32, 16x32

    death road to canada console commans

    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.

    death road to canada console commans

    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

    #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.

    death road to canada console commans

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














    Death road to canada console commans