Posts: 5
Threads: 1
Joined: Dec 2010
12-23-2010, 05:01 PM
(This post was last modified: 12-23-2010, 05:04 PM by unterstrichoben3.)
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, :
DC-Code:
<bmp_begin>
file(0-15): sprite\sys\davis_electr_pic.bmp w: 200 h: 200 row: 4 col: 4
<bmp_end>
<frame> 0 flying
pic: 0 state: 3000 wait: 100 next: 1 dvx: 0 dvy: 0 centerx: 100 centery: 100 hit_a: 0 hit_d: 0 hit_j: 0
bdy:
kind: 0 x: 26 y: 12 w: 45 h: 24
bdy_end:
<frame_end>
<frame> 1 flying
pic: 1 state: 3000 wait: 1 next: 2 dvx: 0 dvy: 0 centerx: 100 centery: 100 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 2 flying
pic: 2 state: 3000 wait: 1 next: 3 dvx: 0 dvy: 0 centerx: 100 centery: 100 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 3 flying
pic: 3 state: 3000 wait: 1 next: 4 dvx: 0 dvy: 0 centerx: 100 centery: 100 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 4 flying
pic: 4 state: 3000 wait: 1 next: 5 dvx: 0 dvy: 0 centerx: 100 centery: 100 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 5 flying
pic: 5 state: 3000 wait: 1 next: 6 dvx: 0 dvy: 0 centerx: 100 centery: 100 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 6 flying
pic: 6 state: 3000 wait: 1 next: 7 dvx: 0 dvy: 0 centerx: 100 centery: 100 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 7 flying
pic: 7 state: 3000 wait: 1 next: 8 dvx: 0 dvy: 0 centerx: 100 centery: 100 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 8 flying
pic: 8 state: 3000 wait: 1 next: 9 dvx: 0 dvy: 0 centerx: 100 centery: 100 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 9 flying
pic: 9 state: 3000 wait: 1 next: 10 dvx: 0 dvy: 0 centerx: 100 centery: 100 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 10 flying
pic: 10 state: 3000 wait: 1 next: 11 dvx: 0 dvy: 0 centerx: 100 centery: 100 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 11 flying
pic: 11 state: 3000 wait: 1 next: 12 dvx: 0 dvy: 0 centerx: 100 centery: 100 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 12 flying
pic: 12 state: 3000 wait: 1 next: 13 dvx: 0 dvy: 0 centerx: 100 centery: 100 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 13 flying
pic: 13 state: 3000 wait: 1 next: 14 dvx: 0 dvy: 0 centerx: 100 centery: 100 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 14 flying
pic: 14 state: 3000 wait: 1 next: 15 dvx: 0 dvy: 0 centerx: 100 centery: 100 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 15 flying
pic: 15 state: 3000 wait: 1 next: 1000 dvx: 0 dvy: 0 centerx: 100 centery: 100 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
|
I tryed state: 3000, state: 15, and without any states.
I tryed with and without sound:
weapon_hit_sound: data\020.wav
weapon_drop_sound: data\020.wav
weapon_broken_sound: data\020.wav
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
Thanks given by:
Posts: 4,878
Threads: 162
Joined: Mar 2008
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
Posts: 5
Threads: 1
Joined: Dec 2010
12-24-2010, 02:01 PM
(This post was last modified: 12-24-2010, 02:03 PM by unterstrichoben3.)
Thanks for the answer
I have found the problem, I changed :
[...]
id: 226 type: 3 file: data\justin_ball.dat
id: 228 type: 3 file: data\julian_ball.dat
id: 229 type: 3 file: data\julian_ball2.dat
id: 230 type: 3 file: data\davis_electr_pic.dat
id: 998 type: 5 file: data\etc.dat
id: 999 type: 5 file: data\broken_weapon.dat
<object_end>
[...]
at:
[...]
id: 226 type: 3 file: data\justin_ball.dat
id: 228 type: 3 file: data\julian_ball.dat
id: 229 type: 3 file: data\julian_ball2.dat
id: 997 type: 5 file: data\davis_electr_pic.dat
id: 998 type: 5 file: data\etc.dat
id: 999 type: 5 file: data\broken_weapon.dat
<object_end>
[...]
And I changed the Object ID in the data file of Davis from 230 to 997.
Merry Christmas!!!!!!!!!!
Thanks given by:
Posts: 5
Threads: 1
Joined: Dec 2010
My picture fly on the screen down, if " dvy: 0". What can I do, if I want to fix the position of the picture?
DC-Code:
<bmp_begin>
file(0-15): sprite\sys\davis_electr_pic.bmp w: 200 h: 200 row: 4 col: 4
<bmp_end>
<frame> 0 flying
pic: 0 state: 15 wait: 1 next: 1 dvx: 1 dvy: -25 centerx: 100 centery: 100 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 1 flying
pic: 1 state: 15 wait: 1 next: 2 dvx: 2 dvy: 0 centerx: 100 centery: 100 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 2 flying
pic: 2 state: 15 wait: 1 next: 3 dvx: 3 dvy: 0 centerx: 100 centery: 100 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 0 y: 0 w: 200 h: 200 dvx: 0 dvy: -1 fall: 50 vrest: 10 bdefend: 10 injury: 5
itr_end:
<frame_end>
<frame> 3 flying
pic: 3 state: 15 wait: 1 next: 4 dvx: 4 dvy: 0 centerx: 100 centery: 100 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 0 y: 0 w: 200 h: 200 dvx: 0 dvy: -1 fall: 50 vrest: 10 bdefend: 10 injury: 5
itr_end:
<frame_end>
<frame> 4 flying
pic: 4 state: 15 wait: 1 next: 5 dvx: 0 dvy: 0 centerx: 100 centery: 100 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 0 y: 0 w: 200 h: 200 dvx: 0 dvy: -1 fall: 50 vrest: 10 bdefend: 10 injury: 5
itr_end:
<frame_end>
<frame> 5 flying
pic: 5 state: 15 wait: 1 next: 6 dvx: 0 dvy: 0 centerx: 100 centery: 100 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 0 y: 0 w: 200 h: 200 dvx: 0 dvy: -1 fall: 50 vrest: 10 bdefend: 10 injury: 5
itr_end:
<frame_end>
<frame> 6 flying
pic: 6 state: 15 wait: 1 next: 7 dvx: 0 dvy: 0 centerx: 100 centery: 100 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 0 y: 0 w: 200 h: 200 dvx: 0 dvy: -1 fall: 50 vrest: 10 bdefend: 10 injury: 5
itr_end:
<frame_end>
<frame> 7 flying
pic: 7 state: 15 wait: 1 next: 8 dvx: 0 dvy: 0 centerx: 100 centery: 100 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 0 y: 0 w: 200 h: 200 dvx: 0 dvy: -1 fall: 50 vrest: 10 bdefend: 10 injury: 5
itr_end:
<frame_end>
<frame> 8 flying
pic: 8 state: 15 wait: 1 next: 9 dvx: 0 dvy: 0 centerx: 100 centery: 100 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 0 y: 0 w: 200 h: 200 dvx: 0 dvy: -1 fall: 50 vrest: 10 bdefend: 10 injury: 5
itr_end:
<frame_end>
<frame> 9 flying
pic: 9 state: 15 wait: 1 next: 10 dvx: 0 dvy: 0 centerx: 100 centery: 100 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 0 y: 0 w: 200 h: 200 dvx: 0 dvy: -1 fall: 50 vrest: 10 bdefend: 10 injury: 5
itr_end:
<frame_end>
<frame> 10 flying
pic: 10 state: 15 wait: 1 next: 11 dvx: 0 dvy: 0 centerx: 100 centery: 100 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 0 y: 0 w: 200 h: 200 dvx: 0 dvy: -1 fall: 50 vrest: 10 bdefend: 10 injury: 5
itr_end:
<frame_end>
<frame> 11 flying
pic: 11 state: 15 wait: 1 next: 12 dvx: 0 dvy: 0 centerx: 100 centery: 100 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 0 y: 0 w: 200 h: 200 dvx: 0 dvy: -1 fall: 50 vrest: 10 bdefend: 10 injury: 5
itr_end:
<frame_end>
<frame> 12 flying
pic: 12 state: 15 wait: 1 next: 13 dvx: 0 dvy: 0 centerx: 100 centery: 100 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 0 y: 0 w: 200 h: 200 dvx: 0 dvy: -1 fall: 50 vrest: 10 bdefend: 10 injury: 5
itr_end:
<frame_end>
<frame> 13 flying
pic: 13 state: 15 wait: 1 next: 14 dvx: 0 dvy: 0 centerx: 100 centery: 100 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 0 y: 0 w: 200 h: 200 dvx: 0 dvy: -1 fall: 50 vrest: 10 bdefend: 10 injury: 5
itr_end:
<frame_end>
<frame> 14 flying
pic: 14 state: 15 wait: 1 next: 15 dvx: 0 dvy: 0 centerx: 100 centery: 100 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 0 y: 0 w: 200 h: 200 dvx: 0 dvy: -1 fall: 50 vrest: 10 bdefend: 10 injury: 5
itr_end:
<frame_end>
<frame> 15 flying
pic: 15 state: 15 wait: 1 next: 1000 dvx: 0 dvy: 0 centerx: 100 centery: 100 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 0 y: 0 w: 200 h: 200 dvx: 0 dvy: -1 fall: 50 vrest: 10 bdefend: 10 injury: 5
itr_end:
<frame_end>
|
Thanks given by:
Posts: 723
Threads: 29
Joined: Apr 2008
12-26-2010, 09:04 PM
(This post was last modified: 12-26-2010, 09:05 PM by Drahcir.)
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!
Rule 1: English only (+10%, 1 week)
The forum is a meeting place for people from any nation to talk and have fun. Therefore, to ensure that everybody is able to participate and understand you, please stick to English with proper spelling and grammar.
Rule 2: Think before posting (+10%, 2 weeks)
Spam (posts that contain literally no useful information at all), off-topic discussion, gravedigs (posting in threads that have been inactive for several weeks) or generally senseless posts (posts that are hard or impossible to understand) of any form won't be accepted.
If you want to ask questions, search the Mainsite ( http://www.lf-empire.de) or the forums first to check if your enquiry has been answered elsewhere.
Rule 3: Etiquette (+30%, 2 weeks)
Generally, common sense applies here. Do not offend, harass, curse, show disrespect, or be rude towards anyone. Newcomers shall be treated, like anybody else, with respect.
Additionally, sexual or illegal content (such as pirated software, plagiarisms) are not allowed and will immediately be removed.
Rule 4: No multi-accounting (+40%, 1 month)
You may only have one single account on LFE. Bans will be allotted upon disregard.
Rule 5: Follow posting guidelines (+10%, 2 weeks)
- As LFE offers you to select differently colored themes, submitting posts with excessive color formatting is strongly prohibited as it possibly makes it hard to read them in other themes.
- If you submit an excerpt from .dat-files, use [code=dc]Your code here[/code] for clear presentation.
- Use descriptive titles when posting a thread. “Help” does not tell a whole lot.
- Click the [Solved]-button when a thread of yours has been cleared of your problems.
Rule 6: Follow profile guidelines (+10%, 2 weeks)
- Please keep your signatures under 150 pixels in size, including text. Refrain from using animated pictures as they can take longer to load on some computers. Using sounds or anything which interferes with the forum layout is forbidden.
- Do not upload avatars larger than 100 KB.
Rule 7: No backseat moderating (+10%, 1 week)
If you feel that a person has broken one of the above rules, please use the report-button located under each post. You may write the user a personal message (PM) but do not post in the respective thread to inform about the violation.
Grand Fonic Hymn - Orchestral Arrangement. Arranged by me. I promise it's not horribad.
Posts: 5
Threads: 1
Joined: Dec 2010
Thanks Drahcir, I going to try it
Thanks given by:
Posts: 746
Threads: 55
Joined: Apr 2008
12-28-2010, 08:08 PM
(This post was last modified: 01-07-2011, 03:25 PM by Som1Lse.)
(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.
Posts: 5
Threads: 1
Joined: Dec 2010
01-07-2011, 02:39 PM
(This post was last modified: 01-07-2011, 02:44 PM by unterstrichoben3.)
thx.
Thanks given by:
Posts: 723
Threads: 29
Joined: Apr 2008
(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!
Rule 1: English only (+10%, 1 week)
The forum is a meeting place for people from any nation to talk and have fun. Therefore, to ensure that everybody is able to participate and understand you, please stick to English with proper spelling and grammar.
Rule 2: Think before posting (+10%, 2 weeks)
Spam (posts that contain literally no useful information at all), off-topic discussion, gravedigs (posting in threads that have been inactive for several weeks) or generally senseless posts (posts that are hard or impossible to understand) of any form won't be accepted.
If you want to ask questions, search the Mainsite ( http://www.lf-empire.de) or the forums first to check if your enquiry has been answered elsewhere.
Rule 3: Etiquette (+30%, 2 weeks)
Generally, common sense applies here. Do not offend, harass, curse, show disrespect, or be rude towards anyone. Newcomers shall be treated, like anybody else, with respect.
Additionally, sexual or illegal content (such as pirated software, plagiarisms) are not allowed and will immediately be removed.
Rule 4: No multi-accounting (+40%, 1 month)
You may only have one single account on LFE. Bans will be allotted upon disregard.
Rule 5: Follow posting guidelines (+10%, 2 weeks)
- As LFE offers you to select differently colored themes, submitting posts with excessive color formatting is strongly prohibited as it possibly makes it hard to read them in other themes.
- If you submit an excerpt from .dat-files, use [code=dc]Your code here[/code] for clear presentation.
- Use descriptive titles when posting a thread. “Help” does not tell a whole lot.
- Click the [Solved]-button when a thread of yours has been cleared of your problems.
Rule 6: Follow profile guidelines (+10%, 2 weeks)
- Please keep your signatures under 150 pixels in size, including text. Refrain from using animated pictures as they can take longer to load on some computers. Using sounds or anything which interferes with the forum layout is forbidden.
- Do not upload avatars larger than 100 KB.
Rule 7: No backseat moderating (+10%, 1 week)
If you feel that a person has broken one of the above rules, please use the report-button located under each post. You may write the user a personal message (PM) but do not post in the respective thread to inform about the violation.
Grand Fonic Hymn - Orchestral Arrangement. Arranged by me. I promise it's not horribad.
Thanks given by:
|