Hi anyone has time to explane me properly how to set the y and the x of a sprite my tables a floating in the air.
I use DoomBuilder 2, Slade 3. http://www.youtube.com/watch?v=L_vPg-ODPVM&feature=plcp
Sprites Offset
Re: Sprites Offset
You will need to define the offsets in IMAGES.DDF if you haven't already.
This is assuming your images are external (JPG, PNG, or TGA).
Code: Select all
X_OFFSET [integer] The X offset for sprites.
Y_OFFSET [integer] The Y offset for sprites.
\(סּںסּَ` )/ۜ
-
- Posts: 14
- Joined: Sat Jul 28, 2012 7:40 am
Re: Sprites Offset
the file is internal.
Thing.ddf
[WOOD_TABLE:2080]
RADIUS=32;
HEIGHT=32;
SPECIAL=SOLID;
STATES(IDLE)=WOTA:A:1:NORMAL:NOTHING;
WOTAA1.png in the wad
Thing.ddf
[WOOD_TABLE:2080]
RADIUS=32;
HEIGHT=32;
SPECIAL=SOLID;
STATES(IDLE)=WOTA:A:1:NORMAL:NOTHING;
WOTAA1.png in the wad
Re: Sprites Offset
Find the [WOTAA1] entry in IMAGES.DDF and add the X/Y Offset code I provided. That way you can tweak it until it sits normal (so probably the Y offset). Usually for images the offsets can only be tweaked in IMAGES.ddf.
\(סּںסּَ` )/ۜ
-
- Posts: 14
- Joined: Sat Jul 28, 2012 7:40 am
Re: Sprites Offset
image.dff
[spr:WOTAA1]
IMAGE_DATA=FILE:"c:\RISE\DATA\GRAPHIC\TABLEPNG.png";
SCALE=1;
Y_OFFSET=0;
thing.dff
[WOOD_TABLE:2080]
RADIUS=32;
HEIGHT=32;
SPECIAL=SOLID;
STATES(IDLE)=WOTA:A:1:NORMAL:NOTHING;
Only yellow ? appear instead of the table http://www.youtube.com/watch?v=ZwifRteu ... e=youtu.be
=(
[spr:WOTAA1]
IMAGE_DATA=FILE:"c:\RISE\DATA\GRAPHIC\TABLEPNG.png";
SCALE=1;
Y_OFFSET=0;
thing.dff
[WOOD_TABLE:2080]
RADIUS=32;
HEIGHT=32;
SPECIAL=SOLID;
STATES(IDLE)=WOTA:A:1:NORMAL:NOTHING;
Only yellow ? appear instead of the table http://www.youtube.com/watch?v=ZwifRteu ... e=youtu.be
=(