07-18-2013, 12:06 PM (This post was last modified: 08-15-2013, 05:34 AM by Hero destroyer.)
Nope. Frame ends in 399. NEVER EVER use frame 400 or larger.
Anyway, I got no work?
*Totally excited* xD
This place motivates me to become an artist, this place motivates me to learn coding, this place made me grow up, showed me the ways to interact with people. Unlike the old childish of me myself, I've learned a lot and gotten some experiences. For me, it's not just a fan forum, it's a helpful community. From a noob to someone who would think before he speaks, looking back at my old post made me laugh hard, I'm grateful of the differences between these 2 years.
~Thank You All and Farewell
~Goodbye, LFE.
RIP - 14/04/2014
@v
sure you can join. and i will not make it once a year but when other needs it. now just do homeworks that i have given.
and yeah i remember that thread.
07-18-2013, 07:41 PM (This post was last modified: 07-18-2013, 07:52 PM by Draya Vartaila.)
I know nothing about kinds 0-?
and nothing about cpoint XD...the rest advanced knowledghe
To learn a Fusion would be nice!
Kind: 8 made objekts join the objekts that The kind: 8 objekt hit?
The ne knowledges mutivate me to create a char XD! thanks Empirefantasie
(07-15-2013, 12:19 PM)The Hari Wrote: - Don't you think it's easier to just read few articles from mainsite?
- I don't have to spend 2 days for understanding how to change name of character.
- Everyone will get all basic of dc in about 15-30 minutes.
-might be easier. but for some who are 0 in dc its better to read mine lessons.
--Nope you dont need to spend 2 days nor 15-30 minutes, you just spend 3-4 minutes by reading my post and some mins more to work by yourself.
First sorry, but i forgot yesterday so we will continue today.
--------------------------------------------------------------------------------------------------------------------------------
Today i will tell you about frames organisation and connection. A frame is a moment of character moving. Frames begin with "<frame> xxx name" and end with "<frame_end>", where xxx is frame number and "name" is frame's name. Frames usually are connected with each-other with "next: xxx". xxx is the number of the next frame that will come.
Let's take an example.
DC-Code:
<frame>0 standing <--- from here we read that this is frame number 0 and it is called "standing".
pic:0state:0wait:5next:1dvx:0dvy:0dvz:0centerx:39centery:79hit_a:0hit_d:0hit_j:0hit_Fa:240hit_Ua:300hit_Da:270hit_Uj:290"pic: 0" meas that it shows image with number 0, we will learn later about these things. "state: 0" is character state! "wait: 5" means we will wait 5 TU* before character goes in the next frame. "next: 1" means character will go to frame number 1.
bpoint:x:39y:34bpoint_end:wpoint:kind:1x:23y:55weaponact:23attacking:0cover:0dvx:0dvy:0dvz:0wpoint_end:bdy:kind:0x:21y:18w:43h:62bdy_end:<frame_end><frame>1 standing <---- frame number 1, the one where character goes after frame 0(the frame above).
pic:1state:0wait:3next:2dvx:0dvy:0dvz:0centerx:39centery:79hit_a:0hit_d:0hit_j:0hit_Fa:240hit_Ua:300hit_Da:270hit_Uj:290bpoint:x:39y:33bpoint_end:wpoint:kind:1x:23y:54weaponact:23attacking:0cover:0dvx:0dvy:0dvz:0wpoint_end:bdy:kind:0x:21y:18w:43h:62bdy_end:<frame_end>
next: 999 means that character have finished that move and he will go to frame that we have determined usually in standing frames. But after a move (D>A) which finishes with next: 999 we press buttons for another move (D^A), char will go directly from finishing D>A, to D^A.
*1 TU= 1/30 second.
Job1
Open some character dat files and look how frames are connected with each other via "next:" tag.
Except next there are other tags which make the character goes to the next frame.
hit_a: xxx <-- xxx the frame where character goes when we press attack
hit_j: xxx <-- xxx the frame where character goes when we press jump
hit_d: xxx <-- xxx the frame where character goes when we press defend
For special moves. since all special moves start with D, we dont write it, so we write only the direction "U" (up), "D" (down), "F" (forward (left or right)) and "a" or "j". So the direction is always with capital letter with jupm and attack are always with small letters. Example:
hit_Fa: xxx <-- xxx the frame where character goes when we press D>A.
The DJA case: hit_ja: xxx
Job2
Open deep.dat and go to dash sword (D>J), you know that since it is a long move it should have many frames. (To notice where are move's frames, look in standing and walking frames and watch commands of special moves (like: hit_Da: xxx or hit_Uj: xxx), that becaouse usually moves starts from standing or walking, in original version we cant do any special move when we are jumping.) It starts from frame 290 to frame 309. Now your job is to make it do DvA move after he finishes D>J. To do that you delete 999 number in the last frame's next: and replace it with the first frame number of DvA, which is frame 260.
DC-Code:
the beggingin of D>J
<frame>290 dash_sword
pic:160state:301wait:1next:291dvx:3dvy:0dvz:0centerx:25centery:78hit_a:0hit_d:0hit_j:0mp:150sound: data\045.wav
wpoint:kind:1x:31y:52weaponact:31attacking:0cover:1dvx:0dvy:0dvz:0wpoint_end:bdy:kind:0x:8y:14w:18h:60bdy_end:<frame_end><frame>291 dash_sword
pic:161state:301wait:1next:292dvx:6dvy:0dvz:0centerx:18centery:78hit_a:0hit_d:0hit_j:0sound: data\054.wav
wpoint:kind:1x:22y:52weaponact:31attacking:0cover:1dvx:0dvy:0dvz:0wpoint_end:itr:kind:0x:49y:9w:18h:64dvx:12fall:70vrest:7bdefend:16injury:45effect:4itr_end:bdy:kind:0x:3y:17w:19h:59bdy_end:<frame_end>
..........
<frame>308 dash_sword
pic:171state:3wait:1next:309dvx:0dvy:0dvz:0centerx:34centery:78hit_a:0hit_d:0hit_j:0wpoint:kind:1x:37y:52weaponact:31attacking:0cover:1dvx:0dvy:0dvz:0wpoint_end:bdy:kind:0x:19y:17w:48h:62bdy_end:<frame_end><frame>309 dash_sword <-- the last frame of D>J
pic:170state:3wait:2next:999dvx:0dvy:0dvz:0centerx:35centery:78hit_a:0hit_d:0hit_j:0
NOW CHANGE "next: 999" TO "next: 260".
wpoint:kind:1x:36y:52weaponact:31attacking:0cover:1dvx:0dvy:0dvz:0wpoint_end:bdy:kind:0x:16y:16w:40h:65bdy_end:<frame_end><frame>260 jump_sword <---The first frame of DVA
pic:140state:3wait:1next:261dvx:5dvy:0dvz:0centerx:29centery:78hit_a:0hit_d:0hit_j:0mp:75wpoint:kind:1x:36y:52weaponact:31attacking:0cover:1dvx:0dvy:0dvz:0wpoint_end:bdy:kind:0x:13y:20w:13h:60bdy_end:<frame_end><frame>261 jump_sword
pic:141state:3wait:1next:262dvx:0dvy:0dvz:0centerx:26centery:68hit_a:0hit_d:0hit_j:0sound: data\054.wav
wpoint:kind:1x:35y:40weaponact:31attacking:0cover:1dvx:0dvy:0dvz:0wpoint_end:itr:kind:0x:6y:39w:83h:28dvx:6dvy: -17fall:70vrest:10bdefend:60injury:54effect:1itr_end:bdy:kind:0x:12y:12w:20h:59bdy_end:<frame_end>
....
Homework
Make davis do D^A when we press D when he is doing DVA. Just show me here the DC code.
We will meet on monday or sunday.
Teacher, Can I copy the h.w from other student ? ;)
I didn't understand the next: tag and the after that.. davis will do the D^A
Can you explain this again ?
07-20-2013, 11:43 AM (This post was last modified: 07-20-2013, 11:52 AM by AmadisLFE.)
I Was Begginer But Somehow I Found Out All Myself But I Cant draw (Shading Making etc.........)
Empirefantasy means Davis before he launches the last punch He Uses Uppercut and launches himself and the enemy my example download in my next post
That Was Easy Heres The Example before he launches enemy press attack key
Credits to PF for my Current Avatar, and Possibly my Rep Char F
Interested in Gaming? Check out my channel, its going to be updated soon.
You're just dying if you're living and thinking about a betrayal, revive yourself.
Think about that one person that has trusted you forever, not the thousand people that have betrayed you.
Teacher, today I will post my job1, job2, homework after I will finnish helping my grandpa with some work.
Ok?
I might not post as code but as attachment because I dont have internet on pc, just phone browser
Credits to PF for my Current Avatar, and Possibly my Rep Char F
Interested in Gaming? Check out my channel, its going to be updated soon.
You're just dying if you're living and thinking about a betrayal, revive yourself.
Think about that one person that has trusted you forever, not the thousand people that have betrayed you.
Uhm...are you sure we have to show Job 1 and 2 empirefantasy mentioned?
I think he showed us examples to help us practice and understand better.
Empirefantasy,correct me if I'm wrong.If I have to,I'll post Job 1 and 2 right away,no sweat.