The Dink Network

adding graphics

December 17th 2008, 11:41 AM
wizard.gif
anubis
Peasant He/Him Bulgaria
 
guys,I've serious problem with the adding of graphics.Can someone explain me what to do?
December 17th 2008, 12:16 PM
duck.gif
LordDan
Peasant She/Her
ppeanut? 
well i am new and many people probably think that i don't know much about modding but first of all make sure you make a new folder into the graphics folder. (or add a new folder into one of the old ones e.g. FOES folder) then copy the graphics into the folder. next thing you need to do is add the (right) text to the DINK.ini (look from how others have added their graphics in there). it may feel complicaded at the first few tries but it'll get easier.
December 18th 2008, 09:32 PM
slayer.gif
rabidwolf9
Peasant He/Him United States
twitch.tv/rabidwolf9 
What exactly about it do you not understand or are having problems with?

The first thing you need to do is put them in a named folder in the graphics directory of your DMOD. For future refrence, I'll refer to this folder as 'Things'

After your graphics are in the 'Things' folder, you need to make sure they are the correct type (have to be .bmp it's easiest to copy one from the original graphics and use that as a template).

When you know your graphics are the correct format, you need to name them properly. Here's the example:


object-01.bmp
object-02.bmp
object-03.bmp
And so on...


Make sure they have the same name and there are no missing numbers. These particular numbers are the frames. They can go up to 50. Also try to keep the names a reasonable length because there are limitations.

With your graphics in place and correctly numbered, the next step is to define them in dink.ini. It should be located in your DMOD directory. Open it up and go to the bottom. Here we will add in the code to load the graphics so that they may be used in the editor and game. Here's the example line:


load_sequence_now graphics\things\object- 98 75


The first part is the location of the new graphics. We leave off the numbers because the game already knows to load all the frames. The 98 represents the sequence slot that the graphics will go to. There are plenty unused ones, but if you don't feel like searching for them, 850-999 are unused. The 75 represents delay inbetween each frame for animation. If your graphics aren't animated then you don't need it.

Now that the graphics are loaded in the game, all that's left is to go into the editor and edit the depth dot and hardness box.

In DinkEdit, open the page that has your sequence of graphics and press 'E' over the one you want to edit. Press tab to switch between editing the depth dot and hardness. When you are finished editing these, press 'S' to save the changes.

In WinDinkEdit, select your graphic so that it is on the map, but attached to the mouse. Press 'Q' (I think) to edit the graphic. With this one you just have to point, click, and drag to edit the graphic. Again, you should press 'S' to save the changes.

Now set your new graphic and it should work
December 19th 2008, 06:53 AM
wizard.gif
anubis
Peasant He/Him Bulgaria
 
well,thanks guys..
yesterday,I've learned how to add 'em.but thanks a lot guys,anyway.