Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] New - Not Replaced
#1
Hey, I'm a n00b here, read a lot of tutorials and started making my own character, things are working out pretty well for the most part...

Problem is he's currently just a Davis replacement (completely custom sprites and working on giving him non-Davis attacks, but the files are still davis.dat, davis_ball.dat, etc), and I want to make him a not-replacement. But the problem is when I try to add something new that's not a replacement it doesn't seem to work properly...for instance I currently gave him a new attack, a clone of Firzen's Cannon, and removed Davis' Singlong attack. I added my own custom beam and made a sheet lemmy_beam.bmp for it, copied the firzen_ball.dat data into a davis_beam.dat I made, added the hit_Fj to the standing and first defend frames, added davis_beam.dat to the data.txt file, everything works perfectly. Problem is it still calls on firzen_ball.dat for the graphics and not my davis_beam.dat...which is the same exact data, I just replaced the sprites. I checked over the frames and can't figure out why it's still calling Firzen's move and not mine, and it only works when I overwrite firzen_ball.dat to use lemmy_beam.bmp...in other words, I can only seem to 'replace' existing data, but not create new data properly. None of the tutorials I've read have helped me really figure out how to do that right or tell me what I'm doing wrong, so I'm asking here. Sorry if it's a n00b question, I'm trying ^^;

Anyways here is the frames of his beam attack if someone can show me where in the data it is calling on firzen_ball.dat instead of davis_beam.dat. I would very much appreciate it so I can continue to make my character :D

[Image: T79k9.gif]
[Image: Hwv0J.png]
Reply
Thanks given by:
#2
file(0-3): sprite\sys\lemmy_beam.bmp w: 120 h: 382 row: 4 col: 1

Check that line first to see if the dat file is loading the right bmp.

If you have already done that then goes to the beam opointing frame in the char, see if the oid in the opoint is the same as the id of the davis_beam.dat in the data.txt.
Reply
Thanks given by: SG2
#3
opoint:
kind: 1 x: 150 y: 42 action: 2 dvx: 0 dvy: 0 oid: 223 facing: 0
opoint_end:

just change the oid to the id of your davis_beam.dat
Reply
Thanks given by: Alblaka , SG2
#4
Thanks, that did the trick. :)
[Image: T79k9.gif]
[Image: Hwv0J.png]
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)