Author
|
Topic: DCC qn
|
- SubSanity - Moderator
   
Posts: 1202 From: Singapore Registered: Aug 2001 |
posted 28 December 2001 09:38
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!

|
NefariusDX Honorary Warlord
   
Posts: 1392 From: The Hadal Abyss of Eternal Oblivion Registered: Jun 2001 |
posted 28 December 2001 09:58
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

|
- SubSanity - Moderator
   
Posts: 1202 From: Singapore Registered: Aug 2001 |
posted 28 December 2001 10:56
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!

|
NefariusDX Honorary Warlord
   
Posts: 1392 From: The Hadal Abyss of Eternal Oblivion Registered: Jun 2001 |
posted 28 December 2001 10:57
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

|
- SubSanity - Moderator
   
Posts: 1202 From: Singapore Registered: Aug 2001 |
posted 29 December 2001 01:34
What offset should I set? :|------------------ Try the BG Mod Beta 1.04.. Available NOW! Get it here!

|
NefariusDX Honorary Warlord
   
Posts: 1392 From: The Hadal Abyss of Eternal Oblivion Registered: Jun 2001 |
posted 29 December 2001 03:29
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

|
- SubSanity - Moderator
   
Posts: 1202 From: Singapore Registered: Aug 2001 |
posted 29 December 2001 08:55
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!

|
NefariusDX Honorary Warlord
   
Posts: 1392 From: The Hadal Abyss of Eternal Oblivion Registered: Jun 2001 |
posted 29 December 2001 09:16
i think you should learn some of the basics of X/Y cordinate system: UP= -Y DOWN= +Y LEFT= -X RIGHT= +Xso 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

|
- SubSanity - Moderator
   
Posts: 1202 From: Singapore Registered: Aug 2001 |
posted 29 December 2001 09:54
So offset basically locates the centre of the creature?------------------ Try the BG Mod Beta 1.04.. Available NOW! Get it here!

|
Apocalypse Demon Moderator
   
Posts: 4023 From: Mississauga, Ontario Registered: Oct 2001 |
posted 29 December 2001 11:20
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

|
- SubSanity - Moderator
   
Posts: 1202 From: Singapore Registered: Aug 2001 |
posted 29 December 2001 11:22
I'm porting some BG stuffA 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!

|
Apocalypse Demon Moderator
   
Posts: 4023 From: Mississauga, Ontario Registered: Oct 2001 |
posted 29 December 2001 11:28
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

|
- SubSanity - Moderator
   
Posts: 1202 From: Singapore Registered: Aug 2001 |
posted 29 December 2001 11:43
but how do I know where the monster is supposed to be?------------------ Try the BG Mod Beta 1.04.. Available NOW! Get it here!

|
Apocalypse Demon Moderator
   
Posts: 4023 From: Mississauga, Ontario Registered: Oct 2001 |
posted 29 December 2001 11:46
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

|
Apocalypse Demon Moderator
   
Posts: 4023 From: Mississauga, Ontario Registered: Oct 2001 |
posted 29 December 2001 11:47
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

|
- SubSanity - Moderator
   
Posts: 1202 From: Singapore Registered: Aug 2001 |
posted 29 December 2001 11:57
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!

|
Apocalypse Demon Moderator
   
Posts: 4023 From: Mississauga, Ontario Registered: Oct 2001 |
posted 29 December 2001 12:07
"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

|
- SubSanity - Moderator
   
Posts: 1202 From: Singapore Registered: Aug 2001 |
posted 29 December 2001 12:12
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!

|
Apocalypse Demon Moderator
   
Posts: 4023 From: Mississauga, Ontario Registered: Oct 2001 |
posted 29 December 2001 12:23
"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

|
- SubSanity - Moderator
   
Posts: 1202 From: Singapore Registered: Aug 2001 |
posted 30 December 2001 00:32
I think I get the gist.. will require some testing..------------------ Try the BG Mod Beta 1.04.. Available NOW! Get it here!

|
- SubSanity - Moderator
   
Posts: 1202 From: Singapore Registered: Aug 2001 |
posted 30 December 2001 02:19
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).]

|
- SubSanity - Moderator
   
Posts: 1202 From: Singapore Registered: Aug 2001 |
posted 30 December 2001 05:29
Bump------------------ Try the BG Mod Beta 1.04.. Available NOW! Get it here!

|
Apocalypse Demon Moderator
   
Posts: 4023 From: Mississauga, Ontario Registered: Oct 2001 |
posted 30 December 2001 11:51
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

|
- SubSanity - Moderator
   
Posts: 1202 From: Singapore Registered: Aug 2001 |
posted 30 December 2001 20:38
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!

|
Apocalypse Demon Moderator
   
Posts: 4023 From: Mississauga, Ontario Registered: Oct 2001 |
posted 30 December 2001 22:23
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

|