How do the graphic "tiles" work?

Post your mods and custom content here

Re: How do the graphic "tiles" work?

Postby JackPS9 » Sat Sep 21, 2013 4:34 pm

I dont mind helping out new modders.
Its amusing to see what people come out with.
JackPS9
 
Posts: 1088
Joined: Mon Sep 03, 2012 4:15 pm

Re: How do the graphic "tiles" work?

Postby LittleMikey » Sun Sep 22, 2013 2:09 am

Haggy wrote:^Okay, graphics modding can be complicated, but here's the two minute version:
Every image in the game is on a 1024x1024 PNG image. In game, a standard "Unit" is 64x32, however as you can see in graphics.ini you can change this with the lines IMAGE_HEIGHT and IMAGE_WIDTH. Say you want to add an item that is 64x64, you would simply add the line IMAGE_WIDTH=64. You wouldn't need to add the height line because the game defaults to 64.

Sorry, is the width is 64 as Standart, and height is 32. You switched the values...


Ack, my bad, that's what happens when you write a tutorial post at midnight XD
User avatar
LittleMikey
 
Posts: 986
Joined: Sat Nov 10, 2012 10:32 am
Location: Perth, Australia

Previous

Return to Modding

Who is online

Users browsing this forum: No registered users and 3 guests