Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
show an image in lf2
#1
! 
Describtion:

I change the skills of Davis.
After the "singlong" (the attack with the arm in the air) , I want that it will be show pictures of "thunder". (only for better "electric[/code][/spoiler] design" because davis ist in my lf2 an "electronic char" )

I made a new data file, :

I tryed state: 3000, state: 15, and without any states.
I tryed with and without sound:
Davis ball sound (Click to View)

The names of the data files are correct. The object ID ist 220.
Quote:
Code:
[...]
id: 228  type: 3  file: data\julian_ball.dat
id: 229  type: 3  file: data\julian_ball2.dat
[b]id: 220  type: 3  file: data\davis_electr_pic.dat[/b]

id: 998  type: 5  file: data\etc.dat
id: 999  type: 5  file: data\broken_weapon.dat
[...]
<object_end>



When I start the attack, windows show me, that lf2 don't work.


Have some one an idea, what I could make wrong?

And it is anyway possible to show only pics which don't make thomething?



Sorry for my very bad English. :D
Reply
Thanks given by:
#2
Hi and welcome to LFE!

Let's see....
The custom file looks faultless (I assume that your original bitmap is 804x804 pixels?). There might be an issue with the newly added attack of Davis. Can you determine the frame that is causing the crash? As in: set some totally different pictures for each frame of the sequence and advance via F2. That way, you can pretty quickly find the evil part ;)
Also, we might be able to help you if you paste the sequence of the move in here.
Additionally, you might want to check >this thread<.

Feel free to report us any progress :)
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

"Freeze, you're under vrest!" - Mark, probably.

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by: unterstrichoben3
#3
Thanks for the answer :)

I have found the problem, I changed :
at:
And I changed the Object ID in the data file of Davis from 230 to 997.

:D Merry Christmas!!!!!!!!!!:)
Reply
Thanks given by:
#4
My picture fly on the screen down, if "dvy: 0". What can I do, if I want to fix the position of the picture?

Reply
Thanks given by:
#5
dvy: 550. 550 in dvy or dvx means absolutely no change. Otherwise the object is affected by gravity unless it has one of the ball states.
FOLLOW THE RULES!

LFE Forum Rules (Click to View)
Grand Fonic Hymn - Orchestral Arrangement. Arranged by me. I promise it's not horribad.
Reply
Thanks given by: unterstrichoben3
#6
Thanks Drahcir, I going to try it :)
Reply
Thanks given by:
#7
(12-26-2010, 09:04 PM)Drahcir Wrote:  dvy: 550. 550 in dvy or dvx means absolutely no change.
Actually it means reset to 0.
"0" means no change.
It also works in dvz.
@below:
Thanksbutton.
Age ratings for movies and games (and similar) have never been a good idea.
One can learn a lot from reinventing wheels.
An unsound argument is not the same as an invalid one.
volatile in C++ does not mean thread-safe.
Do not make APIs unnecessarily asynchronous.
Make C++ operator > again
Trump is an idiot.
Reply
Thanks given by: unterstrichoben3
#8
thx. 
Reply
Thanks given by:
#9
(12-28-2010, 08:08 PM)Someone else Wrote:  
(12-26-2010, 09:04 PM)Drahcir Wrote:  dvy: 550. 550 in dvy or dvx means absolutely no change.
Actually it means reset to 0.
"0" means no change.

That's kind of what I meant. Sorry if I bork'd the post.
FOLLOW THE RULES!

LFE Forum Rules (Click to View)
Grand Fonic Hymn - Orchestral Arrangement. Arranged by me. I promise it's not horribad.
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)