the Phrozen Forums
  Graphics and Animation
  DCC qn (Page 1)

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone!
This topic is 2 pages long:   1  2 
next newest topic | next oldest topic
Author Topic:   DCC qn
- SubSanity -
Moderator

Posts: 1202
From: Singapore
Registered: Aug 2001

posted 28 December 2001 09:38     Click Here to See the Profile for - SubSanity -   Click Here to Email - SubSanity -        Reply w/Quote   Visit - SubSanity -'s Homepage!
Just another question. If my neutral and my attack animations are of a different size, and I save both as offset 0. Does that mean it will jerk between neutral and attack?

------------------
Try the BG Mod Beta 1.04.. Available NOW!

Get it here!

IP Logged

NefariusDX
Honorary Warlord

Posts: 1392
From: The Hadal Abyss of Eternal Oblivion
Registered: Jun 2001

posted 28 December 2001 09:58     Click Here to See the Profile for NefariusDX   Click Here to Email NefariusDX        Reply w/Quote   Visit NefariusDX's Homepage!
yes, every direction has a different offset as well so up/down wont have the same offset for d1 monsters u can use the same offset since they are always the same size.

------------------
Nefarius' Secondary Mod Site
Nefarius' Primary Mod Site

------------------
XyRAX v21.00 Comming Soon!
------------------
NëƒarIu§ ÖƒƒiçláL [V]oÞÞ¦hg §¡Nce D2C V1.02!!!

quote:
Gaze into the Oblivion within yourself and you shall become your greatest fears.
the escence of leeching is to request before you try

IP Logged

- SubSanity -
Moderator

Posts: 1202
From: Singapore
Registered: Aug 2001

posted 28 December 2001 10:56     Click Here to See the Profile for - SubSanity -   Click Here to Email - SubSanity -        Reply w/Quote   Visit - SubSanity -'s Homepage!
Argh.. I got different sizes for my various dccs and they shift about when they change from 1 dcc to another. Any easy way to fix it besides trying to fit all of them in the same size?

2ndly, my monster floats above my players. That means if my player runs past it. It seems like the monster is flying.

I'm replacing the hawks' nest if this help.

------------------
Try the BG Mod Beta 1.04.. Available NOW!

Get it here!

IP Logged

NefariusDX
Honorary Warlord

Posts: 1392
From: The Hadal Abyss of Eternal Oblivion
Registered: Jun 2001

posted 28 December 2001 10:57     Click Here to See the Profile for NefariusDX   Click Here to Email NefariusDX        Reply w/Quote   Visit NefariusDX's Homepage!
i had the same bugs with my orc nests, you need to adjust the offsets since right now they make the anime float

------------------
Nefarius' Secondary Mod Site
Nefarius' Primary Mod Site

------------------
XyRAX v21.00 Comming Soon!
------------------
NëƒarIu§ ÖƒƒiçláL [V]oÞÞ¦hg §¡Nce D2C V1.02!!!

quote:
Gaze into the Oblivion within yourself and you shall become your greatest fears.
the escence of leeching is to request before you try

IP Logged

- SubSanity -
Moderator

Posts: 1202
From: Singapore
Registered: Aug 2001

posted 29 December 2001 01:34     Click Here to See the Profile for - SubSanity -   Click Here to Email - SubSanity -        Reply w/Quote   Visit - SubSanity -'s Homepage!
What offset should I set? :|

------------------
Try the BG Mod Beta 1.04.. Available NOW!

Get it here!

IP Logged

NefariusDX
Honorary Warlord

Posts: 1392
From: The Hadal Abyss of Eternal Oblivion
Registered: Jun 2001

posted 29 December 2001 03:29     Click Here to See the Profile for NefariusDX   Click Here to Email NefariusDX        Reply w/Quote   Visit NefariusDX's Homepage!
bottom center should fix it im not sure thought

------------------
Nefarius' Secondary Mod Site
Nefarius' Primary Mod Site

------------------
XyRAX v21.00 Comming Soon!
------------------
NëƒarIu§ ÖƒƒiçláL [V]oÞÞ¦hg §¡Nce D2C V1.02!!!

quote:
Gaze into the Oblivion within yourself and you shall become your greatest fears.
the escence of leeching is to request before you try

IP Logged

- SubSanity -
Moderator

Posts: 1202
From: Singapore
Registered: Aug 2001

posted 29 December 2001 08:55     Click Here to See the Profile for - SubSanity -   Click Here to Email - SubSanity -        Reply w/Quote   Visit - SubSanity -'s Homepage!
Does saving it as 0,0 offset make the item float of sorts?

By the way, let's say the original animation is 50x50 with offset 15,4. If I replace it with an animation of 45x30, what would my new offset be?

------------------
Try the BG Mod Beta 1.04.. Available NOW!

Get it here!

IP Logged

NefariusDX
Honorary Warlord

Posts: 1392
From: The Hadal Abyss of Eternal Oblivion
Registered: Jun 2001

posted 29 December 2001 09:16     Click Here to See the Profile for NefariusDX   Click Here to Email NefariusDX        Reply w/Quote   Visit NefariusDX's Homepage!
i think you should learn some of the basics of X/Y cordinate system:
UP= -Y
DOWN= +Y
LEFT= -X
RIGHT= +X

so 0/0 means in the upper left corner which will probably make it float


if the animation is 300x300px down center would be 300Y 150X

------------------
Nefarius' Secondary Mod Site
Nefarius' Primary Mod Site

------------------
XyRAX v21.00 Comming Soon!
------------------
NëƒarIu§ ÖƒƒiçláL [V]oÞÞ¦hg §¡Nce D2C V1.02!!!

quote:
Gaze into the Oblivion within yourself and you shall become your greatest fears.
the escence of leeching is to request before you try

IP Logged

- SubSanity -
Moderator

Posts: 1202
From: Singapore
Registered: Aug 2001

posted 29 December 2001 09:54     Click Here to See the Profile for - SubSanity -   Click Here to Email - SubSanity -        Reply w/Quote   Visit - SubSanity -'s Homepage!
So offset basically locates the centre of the creature?

------------------
Try the BG Mod Beta 1.04.. Available NOW!

Get it here!

IP Logged

Apocalypse Demon
Moderator

Posts: 4023
From: Mississauga, Ontario
Registered: Oct 2001

posted 29 December 2001 11:20     Click Here to See the Profile for Apocalypse Demon   Click Here to Email Apocalypse Demon        Reply w/Quote   
Yes, the correct monster will make the animation appear where the monster is actually located...What are you converting anyways?

------------------
God gave me a brain to use but I miserably failed to use it to my advantage

IP Logged

- SubSanity -
Moderator

Posts: 1202
From: Singapore
Registered: Aug 2001

posted 29 December 2001 11:22     Click Here to See the Profile for - SubSanity -   Click Here to Email - SubSanity -        Reply w/Quote   Visit - SubSanity -'s Homepage!
I'm porting some BG stuff

A mushroom to be specific.
So my offset will point to the centre or where the mushroom is supposed to touch the ground?

------------------
Try the BG Mod Beta 1.04.. Available NOW!

Get it here!

IP Logged

Apocalypse Demon
Moderator

Posts: 4023
From: Mississauga, Ontario
Registered: Oct 2001

posted 29 December 2001 11:28     Click Here to See the Profile for Apocalypse Demon   Click Here to Email Apocalypse Demon        Reply w/Quote   
Ok, there is a certain location where the monster actually is right? You have to line up the animation to where the monster actually is. That is why the offset is needed as it basically moves the animation and places it where the monster is supposed to be located. Basically centering it(not necessarily where the monster touches the floor because some monsters do fly right? )

------------------
God gave me a brain to use but I miserably failed to use it to my advantage

IP Logged

- SubSanity -
Moderator

Posts: 1202
From: Singapore
Registered: Aug 2001

posted 29 December 2001 11:43     Click Here to See the Profile for - SubSanity -   Click Here to Email - SubSanity -        Reply w/Quote   Visit - SubSanity -'s Homepage!
but how do I know where the monster is supposed to be?

------------------
Try the BG Mod Beta 1.04.. Available NOW!

Get it here!

IP Logged

Apocalypse Demon
Moderator

Posts: 4023
From: Mississauga, Ontario
Registered: Oct 2001

posted 29 December 2001 11:46     Click Here to See the Profile for Apocalypse Demon   Click Here to Email Apocalypse Demon        Reply w/Quote   
Either trial and error or try to test it in game. Like, look at approximately how far X and Y pixels the actual monster is from the animation of the monster and then edit the offsets and check again. It takes a few tries since it is trial and error...

------------------
God gave me a brain to use but I miserably failed to use it to my advantage

IP Logged

Apocalypse Demon
Moderator

Posts: 4023
From: Mississauga, Ontario
Registered: Oct 2001

posted 29 December 2001 11:47     Click Here to See the Profile for Apocalypse Demon   Click Here to Email Apocalypse Demon        Reply w/Quote   
Also, check this link:

http://dynamic2.gamespy.com/~phrozenkeep/ubb/Forum38/HTML/000073.html

------------------
God gave me a brain to use but I miserably failed to use it to my advantage

IP Logged

- SubSanity -
Moderator

Posts: 1202
From: Singapore
Registered: Aug 2001

posted 29 December 2001 11:57     Click Here to See the Profile for - SubSanity -   Click Here to Email - SubSanity -        Reply w/Quote   Visit - SubSanity -'s Homepage!
quote:
Originally posted by Apocalypse Demon:
Either trial and error or try to test it in game. Like, look at approximately how far X and Y pixels the actual monster is from the animation of the monster and then edit the offsets and check again. It takes a few tries since it is trial and error...



Eh, what exactly do you mean the actual monster?

By the way, does the cursor detect where the painted monsters or the entire DCC?

------------------
Try the BG Mod Beta 1.04.. Available NOW!

Get it here!

IP Logged

Apocalypse Demon
Moderator

Posts: 4023
From: Mississauga, Ontario
Registered: Oct 2001

posted 29 December 2001 12:07     Click Here to See the Profile for Apocalypse Demon   Click Here to Email Apocalypse Demon        Reply w/Quote   
"Eh, what exactly do you mean the actual monster?"

There is the actual monster itself and there is the animation. The animation is not necessarily where the monster is initially located, that's why to make it look correct, you need to put the animation over where the monster is originally located. For example, set the X and Y to some large value(not too large). You will notice that the animation is hitting you from a very far location. That's because the animation is not the monster itself, the monster is standing right beside you, the offset of the animation is basically how far away the animation is from the original monster itself. This is why you need to find the correct offset so your animation appears where the monster actually is.

"By the way, does the cursor detect where the painted monsters or the entire DCC?"

Not sure what you are asking here

------------------
God gave me a brain to use but I miserably failed to use it to my advantage

IP Logged

- SubSanity -
Moderator

Posts: 1202
From: Singapore
Registered: Aug 2001

posted 29 December 2001 12:12     Click Here to See the Profile for - SubSanity -   Click Here to Email - SubSanity -        Reply w/Quote   Visit - SubSanity -'s Homepage!
Erm, so when I'm adjusting the offsets, I'm adjusting the size of the actual monster to envelope the animation just nicely?

------------------
Try the BG Mod Beta 1.04.. Available NOW!

Get it here!

IP Logged

Apocalypse Demon
Moderator

Posts: 4023
From: Mississauga, Ontario
Registered: Oct 2001

posted 29 December 2001 12:23     Click Here to See the Profile for Apocalypse Demon   Click Here to Email Apocalypse Demon        Reply w/Quote   
"Erm, so when I'm adjusting the offsets, I'm adjusting the size of the actual monster to envelope the animation just nicely?"

Adjusting offsets means you are moving the location of the animation across X and Y pixels. The size of the animation doesn't change(you have to change the size of the gifs or animated gifs to change the size of the animations).

------------------
God gave me a brain to use but I miserably failed to use it to my advantage

IP Logged

- SubSanity -
Moderator

Posts: 1202
From: Singapore
Registered: Aug 2001

posted 30 December 2001 00:32     Click Here to See the Profile for - SubSanity -   Click Here to Email - SubSanity -        Reply w/Quote   Visit - SubSanity -'s Homepage!
I think I get the gist.. will require some testing..

------------------
Try the BG Mod Beta 1.04.. Available NOW!

Get it here!

IP Logged

- SubSanity -
Moderator

Posts: 1202
From: Singapore
Registered: Aug 2001

posted 30 December 2001 02:19     Click Here to See the Profile for - SubSanity -   Click Here to Email - SubSanity -        Reply w/Quote   Visit - SubSanity -'s Homepage!
Are the following values correct?
code:

nestcorpse shroomcorpse
x y x y
offset -77 43 -186 -13
size 179 129 70 73

nestdie shroomdie
x y x y
offset -91 57 -172 -72
size 206 243 125 114

nestneutral shroomneutral
x y x y
offset -66 38 -86 -21
size 122 174 102 115

nestspawn shroomspawn
x y x y
offset -66 43 -53 -12
size 124 189 137 134

------------------
Try the BG Mod Beta 1.04.. Available NOW!

Get it here!

EDIT: UBB

[This message has been edited by - SubSanity - (edited 30 December 2001).]

IP Logged

- SubSanity -
Moderator

Posts: 1202
From: Singapore
Registered: Aug 2001

posted 30 December 2001 05:29     Click Here to See the Profile for - SubSanity -   Click Here to Email - SubSanity -        Reply w/Quote   Visit - SubSanity -'s Homepage!
Bump

------------------
Try the BG Mod Beta 1.04.. Available NOW!

Get it here!

IP Logged

Apocalypse Demon
Moderator

Posts: 4023
From: Mississauga, Ontario
Registered: Oct 2001

posted 30 December 2001 11:51     Click Here to See the Profile for Apocalypse Demon   Click Here to Email Apocalypse Demon        Reply w/Quote   
Hey, how am I supposed to know? Each monster animation requires a different offset...did you check and see if the animation is placed where the monster actually is? Because I can't tell you if the offsets are right or wrong. Is the animation inline with the monster in the game or is the animation a few pixels away from the monster itself?

------------------
God gave me a brain to use but I miserably failed to use it to my advantage

IP Logged

- SubSanity -
Moderator

Posts: 1202
From: Singapore
Registered: Aug 2001

posted 30 December 2001 20:38     Click Here to See the Profile for - SubSanity -   Click Here to Email - SubSanity -        Reply w/Quote   Visit - SubSanity -'s Homepage!
They are way off.. haha.. I think I'll resize all the DCC to be of the same size to start with.. saves me some offset problems.

------------------
Try the BG Mod Beta 1.04.. Available NOW!

Get it here!

IP Logged

Apocalypse Demon
Moderator

Posts: 4023
From: Mississauga, Ontario
Registered: Oct 2001

posted 30 December 2001 22:23     Click Here to See the Profile for Apocalypse Demon   Click Here to Email Apocalypse Demon        Reply w/Quote   
Hey SubSanity, you got the animation done? Can you send them to me then regardless if the offsets are done or not? My e-mail is e_tchernev@hotmail.com

------------------
God gave me a brain to use but I miserably failed to use it to my advantage

IP Logged


This topic is 2 pages long:   1  2 

All times are Central Standard Time

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | The PhrozenKeep

© PhrozenKeep.com . all buttons made by the Evilenglishman . swords and shields by DigiBO.


Ultimate Bulletin Board 5.47c