Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] Transforming help...
#1
? 
i have 2 transforming problems...

1)when i hit the transform buttons it doesn't use the right sprites, it just freaks out and then i cant see my character for about half a second

2)after he transforms all the frames are messed up...

P.S. this only happens when i choose the original and hit the buttons not the transformed version from the menu

P.S.S. i did do a Forums search and found nothing that helped me

P.S.S.S. click teh vid to see what i'm talking...(^_^)

Video Link ---> http://www.youtube.com/watch?v=cCQZNzLkDmk
F***ing computer and it's viruses!!
Reply
Thanks given by:
#2
If you use the state: 80xx then you have to make another sprite sheet to prevent the + 140 pics

EDIT: Yeah, what MH said.
Damn, he's good. (bad word)
Reply
Thanks given by:
#3
the video is very helpful, thumbs up for this

about the search: this is the result if you search for transform in the dc-forums:
http://www.lf-empire.de/forum/search.php?action=results&sid=e86b4769500321ddaa7766039ac12717&sortby=lastpost&order=desc

don't tell me you didnt find anything ;)

now for you:
you ignored the +140 images if you use state 8000. See the guy standing around after the transform? he use the same pictures while breathing, just that they're from a special attack.

WHat you have to do: CHange the bmp-part, this is from mainsite:
http://www.lf-empire.de/lfev9/en/lf2-emp...ges/states
Quote:State 8000 - Transform

With state 8000, you can transform one character into another. There is another transform state, but it only works with id-numbers 6 and 50: the transformation of Louis to LouisEX (see state: 9995). Here is some basic info about transforming:

* Use state 8000 + id-number of the object you want to transform into (ex: state 8030 to transform into id: 30).
* When you transform, the computer takes a frame's pic-number, adds 140 to it, and uses that pic instead. Because of this, you usually have to change the way the character's spritesheets are defined in the bmp-part. If you select the character from the menu, they'll use their normal sprites, but if you transform into him, they'll use the pic-number + 140 sprites.
* The computer calculates the number of pics using the product of the "row" and "col" parts of the file tag, so sometimes you'll have to "waste" pic-numbers to guarantee that the transformed character will use the proper sprites.
* In the bmp part, you have to remember that you are limited to 10 picture files!
* If a character has more than 140 pictures, you have to use pic 0 to 139 for the first 140 pictures and 280 to 419 for the following pictures.

If you want to transform into one of the original characters, you can use the files in the "Random Criminal" download. In that file, I modified all of the characters (except for LouisEX) so that you can transform into them.
(sry, this page isn't done yet so you have to scroll down)

so change the bmp-part so it works for transform and then change the pic-numbers for all images noted as 140 and above right now to 280 and above (simply add 140). That should di it. If it still don't work post the bmp-part in code-tags, if you don't it'll be hard to help...
[Image: random.php?pic=random]
www.lf-empire.de
Once I had a fortune, it said: "Leave now. Life is short. Time is luck"
Don't dream your life, live your dream!
Reply
Thanks given by:
#4
k...after reading it a couple thousand times i still don't know what to do...(just started DCing)

here's the info i think u need

<bmp_begin>
name: Dennis
head: sprite\sys\dennis_f.bmp
small: sprite\sys\dennis_s.bmp
file(0-69): sprite\sys\dennis_0.bmp w: 79 h: 79 row: 10 col: 7
file(70-139): sprite\sys\dennis_1.bmp w: 79 h: 79 row: 10 col: 7
file(140-209): sprite\sys\dennis_2.bmp w: 79 h: 79 row: 10 col: 7
file(302-307): sprite\sys\dennis_t.bmp w: 79 h: 79 row: 10 col: 10
----------------------------------------
<frame> 302 zero
pic: 188 state: 0 wait: 7 next: 303 dvx: 0 dvy: 0 dvz: 0 centerx: 38 centery: 78 hit_a: 0 hit_d: 0 hit_j: 0
bdy:
kind: 1003 x: 21 y: 18 w: 43 h: 62
bdy_end:
<frame_end>

<frame> 303 zero
pic: 189 state: 0 wait: 5 next: 304 dvx: 0 dvy: 0 dvz: 0 centerx: 38 centery: 78 hit_a: 0 hit_d: 0 hit_j: 0
bdy:
kind: 1003 x: 21 y: 18 w: 43 h: 62
bdy_end:
<frame_end>

<frame> 304 zero
pic: 190 state: 0 wait: 10 next: 305 dvx: 0 dvy: 0 dvz: 0 centerx: 38 centery: 78 hit_a: 0 hit_d: 0 hit_j: 0
bdy:
kind: 1003 x: 21 y: 18 w: 43 h: 62
bdy_end:
<frame_end>

<frame> 305 zero
pic: 191 state: 0 wait: 2 next: 306 dvx: 0 dvy: 0 dvz: 0 centerx: 38 centery: 78 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>

<frame> 306 zero
pic: 192 state: 0 wait: 2 next: 307 dvx: 0 dvy: 0 dvz: 0 centerx: 38 centery: 78 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>

<frame> 307 zero
pic: 193 state: 8013 wait: 2 next: 999 dvx: 0 dvy: 0 dvz: 0 centerx: 38 centery: 78 hit_a: 0 hit_d: 0 hit_j: 0
opoint:
kind: 1 x: 1 y: 44 action: 51 dvx: 0 dvy: 0 oid: 13 facing: 1
opoint_end:
<frame_end>
F***ing computer and it's viruses!!
Reply
Thanks given by:
#5
one more thing I need to ask: Is this the guy who can transform or the char which you will transform into
Reply
Thanks given by:
#6
the guy who can transform
F***ing computer and it's viruses!!
Reply
Thanks given by:
#7
Then give me the <bmp_begin> of the other guy
Reply
Thanks given by:
#8
<bmp_begin>
name: Zero
head: sprite\template1\zero\zero_f.bmp
small: sprite\template1\zero\zero_s.bmp
file(0-69): sprite\template1\zero\zero_0.bmp w: 79 h: 79 row: 10 col: 7
file(70-139): sprite\template1\zero\zero_1.bmp w: 79 h: 79 row: 10 col: 7
file(140-209): sprite\template1\zero\zero_2.bmp w: 79 h: 79 row: 10 col: 7
F***ing computer and it's viruses!!
Reply
Thanks given by:
#9
replace these:

file(0-69): sprite\template1\zero\zero_0.bmp w: 79 h: 79 row: 10 col: 7
file(70-139): sprite\template1\zero\zero_1.bmp w: 79 h: 79 row: 10 col: 7
file(140-209): sprite\template1\zero\zero_2.bmp w: 79 h: 79 row: 10 col: 7


With these:

file(0-69): sprite\template1\zero\zero_0.bmp w: 79 h: 79 row: 10 col: 7
file(70-139): sprite\template1\zero\zero_1.bmp w: 79 h: 79 row: 10 col: 7
file(140-209): sprite\template1\zero\zero_0.bmp w: 79 h: 79 row: 10 col: 7
file(210-279): sprite\template1\zero\zero_1.bmp w: 79 h: 79 row: 10 col: 7
file(280-349): sprite\template1\zero\zero_2.bmp w: 79 h: 79 row: 10 col: 7
Reply
Thanks given by:
#10
coo it works now...somewhat... :( ... the first prob is still there, i don't see a transformation sprite...should the transformation sprite(.bmp) be in the person who transforms?
F***ing computer and it's viruses!!
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)