Author
|
Topic: changing offsets
|
Baldrick Moderator
   
Posts: 1334 From: The ShadowHaven Registered: Oct 2001 |
posted 16 March 2002 15:03
i can't get past the very beginning of offsets in nefarius' tutorial. What exactly does this mean: The best way I found to get offsets is to do original offsets +new width-old width which will be like this: If the original offset 20x 20y and size is 100x100px, the new animation is 150x150px, the offsets will be 70x 70y. It is enough to get one offset for ALL the animations (thx to foxbat for clearing this up that you need only 2 matching offset instead of 16 ) Thanks in advance.  ------------------ Baldrick Your Mother is a hampster and your father smells of elderberries! If you leave the k I will have to taunt you a second timea! Keeper of the ShadowHaven and QFG mod assistant developer. [This message has been edited by Baldrick (edited 16 March 2002).]

|
Baldrick Moderator
   
Posts: 1334 From: The ShadowHaven Registered: Oct 2001 |
posted 16 March 2002 17:17
alright i'll be more specific. what does 100x and 100px mean or just x and px.------------------ Baldrick Your Mother is a hampster and your father smells of elderberries! If you leave the k I will have to taunt you a second timea! Keeper of the ShadowHaven and QFG mod assistant developer.

|
Alkalund Honorary Warlord
   
Posts: 964 From: Florianópolis, Santa Catarina, Brazil Registered: Apr 2001 |
posted 16 March 2002 17:32
"100x100px" is just a way of saying the animation size is 100 pixels horizontal and 100 pixels vertical.  ------------------ "Get me a balrog attack-1 hand-to-hand animation, and I want it yesterday, the paladin is almost here!" ---> DMA1HTH @ offset 0006A480h. - Myhrginoc

|
Baldrick Moderator
   
Posts: 1334 From: The ShadowHaven Registered: Oct 2001 |
posted 16 March 2002 18:11
now what does this mean: The best way I found to get offsets is to do original offsets +new width-old width thanks for the help. ------------------ Baldrick Your Mother is a hampster and your father smells of elderberries! If you leave the k I will have to taunt you a second timea! Keeper of the ShadowHaven and QFG mod assistant developer.

|
54x Moderator
   
Posts: 3080 From: Wellington, New Zealand Registered: Apr 2001 |
posted 16 March 2002 20:05
he's saying that if you know the offsets for the old image, (in his example this was 20x, 20y) and you know the size of both images, then you can work out the new offsets-New image size (this was 150x150 in his example) - Old image size (this was 100x100 in his example) + Old offset (20x20 in the example) = New offset (70x70 in the example) Any clearer? ------------------ 54x. "My computer has wheels on giant stilts that allow me to drive it over all the other, slower computers." "For great bandwidth!" http://www.planetdiablo.com/newdawn/ New Dawn Forum

|
Baldrick Moderator
   
Posts: 1334 From: The ShadowHaven Registered: Oct 2001 |
posted 16 March 2002 20:37
My offsets show as zero for both torch ants and frog demons. Is this natural?------------------ Baldrick Your Mother is a hampster and your father smells of elderberries! If you leave the k I will have to taunt you a second timea! Keeper of the ShadowHaven and QFG mod assistant developer.

|