Kunio-kun Community

A forum dedicated to the Kunio-kun game series.
 
HomePortalFAQSearchRegisterLog in
ANNOUNCEMENT: Come join #KunioKun! Our own IRC Channel on irc.esper.net!
ANNOUNCEMENT: We are now on Steam as well! Come join us if you'd like: http://steamcommunity.com/groups/Kunio-kun
HEADS-UP: Join the ChatBox for some live... well... chatting! Just scroll down below on the forum front page!
ATTENTION! Forum address has been changed to kkgc.forum-motion.net!
COMING UP: Forum rules update. A possible reputation system?

Share | 
 

 How to edit objects in KD (obj files)

View previous topic View next topic Go down 
AuthorMessage
Danger
Gang Thug
avatar

Posts : 871
Join date : 2013-12-05
Age : 23
Location : Romania

PostSubject: How to edit objects in KD (obj files)   Tue Apr 15, 2014 12:54 am

This tutorial is at beginning, this time I will show you how to put images in a stage(not completed yet)

First download my stage and obj files here https://www.dropbox.com/s/v2fczlgv7l474z5/Stage201.zip

Let's take a look at my Stage201_Obj file

#INIT
BgmFileName,stage02.wav
LoadBmp, Stage\back.bmp
EntryPat, 0,0,320,60,106,1,
#INITEND

#PUT
3,    0, 0, 0,    *back,
#PUTEND

#MOVE
*back,     1, 0,255,
        255,
#MOVEEND

I think you all know that BgmFileName,stage02.wav is the music file

LoadBmp, Stage\back.bmp   replace "back" with your image

EntryPat, 0,0,320,60,106,1,
0=???
0=???
320=replace it with your image width (can be set to smaller)
60=replace it with your image height (can be set to smaller)
106=???
1=???

3,    0, 0, 0,    *back,

0=the horizontal entry path of the image
0=the vertical entry path of the image
0=???
(don't forget to replace back)

*back,     1, 0,255,
        255,
1=???(this is the image movements I don't know how to edit this feature yet)
0=???
255=???
255=???
(don't forget to replace back)


Last edited by Danger on Sat Apr 25, 2015 4:07 pm; edited 3 times in total
Back to top Go down
http://www.youtube.com/user/DANGEROVIDIU/videos?flow=grid&vi
SwordGrayFire
Gang Officer
avatar

Posts : 252
Join date : 2011-06-07
Age : 17
Location : washington

PostSubject: Re: How to edit objects in KD (obj files)   Tue Apr 15, 2014 1:46 am

huh....now we need to know of to make moving people in the game since, i heard from VeryHeadlessLeon wants to know.

_________________
The Nekketsu Kakutou Densetsu Community Team
(Left to Right) Shaun, Meat, Punta, Dahon, Geronimo, and Ceril.
Back to top Go down
http://www.youtube.com/user/TheKDkid1
Danger
Gang Thug
avatar

Posts : 871
Join date : 2013-12-05
Age : 23
Location : Romania

PostSubject: Re: How to edit objects in KD (obj files)   Tue Apr 15, 2014 1:49 am

Well that will be hard, but I know well find out  Smile 
Back to top Go down
http://www.youtube.com/user/DANGEROVIDIU/videos?flow=grid&vi
Sorinkun
Gang Officer
avatar

Posts : 638
Join date : 2014-03-02
Age : 19
Location : Romania

PostSubject: Re: How to edit objects in KD (obj files)   Tue Apr 15, 2014 2:12 pm

#MOVE
*Tree, 1,  2,  50,
    255,

Where:
1 - the initial object (tree, or whatever object you have))
2 - the next object (fence, or whatever object you have)
50 - the time between the TREE and the FENCE
255 - you put this after you finished with the specific object

This is used if you want to turn an object in another

_________________

What I do to Danger!
Back to top Go down
http://www.nkdc.forum-motion.com/
Danger
Gang Thug
avatar

Posts : 871
Join date : 2013-12-05
Age : 23
Location : Romania

PostSubject: Re: How to edit objects in KD (obj files)   Tue Apr 15, 2014 9:00 pm

Yeah you're right thanks  Wink 
Back to top Go down
http://www.youtube.com/user/DANGEROVIDIU/videos?flow=grid&vi
Danger
Gang Thug
avatar

Posts : 871
Join date : 2013-12-05
Age : 23
Location : Romania

PostSubject: Re: How to edit objects in KD (obj files)   Thu Apr 17, 2014 10:19 pm

Update...2nd tutorial
This time I'll show you how to add more than 1 moving object to a stage
Now download this https://www.dropbox.com/s/aqlebw68s8syarx/Test_02.rar
Now let's take a look at my obj file

#INIT
StartLine, 48, 64, 32,
LoadBmp, Stage\Nekketsu_Hockey.bmp
EntryPat,    0,  0, 24, 32, 106, 2,
EntryPat,   48,  0, 24, 32, 106, 2,
#INITEND

#PUT
2,   460, 80, 32,   *Kunio,
2,   520, 80, 32,   *Youichi,
#PUTEND

#MOVE
*Kunio,          1,  0,  50,
                1,  1, 100,
              255,
*Youichi,        1,  2,  50,
                1,  3, 100,
              255,
#MOVEEND

StartLine, 48, 64, 32, (Ignore this right now)
LoadBmp, Stage\Nekketsu_Hockey.bmp (replace "Nekketsu_Hockey" with your image name)

EntryPat,    0,  0, 24, 32, 106, 2,
0=your image horizontal path (see it in paint.xp)
0=your image vertical path (see it in paint.xp)
24=replace it with your image width (can be set to smaller)
32=replace it with your image height (can be set to smaller)
106=your image background color
1=how many times the images change
*Kunio, the object name (It doesn't matter what name he have)

*Kunio,          1,  0,  50,
                   1,  1, 100,
                   255,
1=??? (don't change it)
0=the images (from the bmp) order (0,1,2,3,4,5...)
50=the time the first image is showed
1=??? (don't change it)
1=the images (from the bmp) order (0,1,2,3,4,5...)
100=the time the second image is showed
255=??? (don't change it)


Last edited by Danger on Sat Apr 25, 2015 4:07 pm; edited 3 times in total
Back to top Go down
http://www.youtube.com/user/DANGEROVIDIU/videos?flow=grid&vi
Sorinkun
Gang Officer
avatar

Posts : 638
Join date : 2014-03-02
Age : 19
Location : Romania

PostSubject: Re: How to edit objects in KD (obj files)   Thu Apr 17, 2014 11:23 pm

Oh, 106 is the bg color??? so, do i need to put 106 for the background to hide?

For those who don't know how to determine the first two numbersfrom Entrypath, they are measured in pixels, same as image widths and heidth
Note: Windows 7 users MUST download Paint XP for EVERY graphic creations/changes made.

If you still don't understand, wait for the.video tutorial, it's under constructon.

_________________

What I do to Danger!
Back to top Go down
http://www.nkdc.forum-motion.com/
Danger
Gang Thug
avatar

Posts : 871
Join date : 2013-12-05
Age : 23
Location : Romania

PostSubject: Re: How to edit objects in KD (obj files)   Thu Apr 17, 2014 11:48 pm

Yes 106 is the bmp color.
Back to top Go down
http://www.youtube.com/user/DANGEROVIDIU/videos?flow=grid&vi
Danger
Gang Thug
avatar

Posts : 871
Join date : 2013-12-05
Age : 23
Location : Romania

PostSubject: Re: How to edit objects in KD (obj files)   Sat May 03, 2014 7:34 pm

In the obj file StartLine, 30, 30, 4, is the fighters starting position.I think you can change it like the #PUT-#PUTEND Values.
Back to top Go down
http://www.youtube.com/user/DANGEROVIDIU/videos?flow=grid&vi
Sorinkun
Gang Officer
avatar

Posts : 638
Join date : 2014-03-02
Age : 19
Location : Romania

PostSubject: Re: How to edit objects in KD (obj files)   Sat May 03, 2014 8:32 pm

this is extremely useful! if i knew this before... Wink

_________________

What I do to Danger!
Back to top Go down
http://www.nkdc.forum-motion.com/
Danger
Gang Thug
avatar

Posts : 871
Join date : 2013-12-05
Age : 23
Location : Romania

PostSubject: Re: How to edit objects in KD (obj files)   Thu Aug 07, 2014 11:54 pm

...god memories... sunny 
Back to top Go down
http://www.youtube.com/user/DANGEROVIDIU/videos?flow=grid&vi
ryuuuji
Gang Thug


Posts : 30
Join date : 2014-07-19
Age : 18
Location : River City High

PostSubject: Re: How to edit objects in KD (obj files)   Mon Dec 15, 2014 2:52 am

hey how to fix the thing that makes ur character move while standing?
Back to top Go down
Danger
Gang Thug
avatar

Posts : 871
Join date : 2013-12-05
Age : 23
Location : Romania

PostSubject: Re: How to edit objects in KD (obj files)   Fri Dec 19, 2014 3:44 am

You need the Japanese editor dude follow this tutorial http://kkgc.forum-motion.net/t210-jap-kd-stage-editor-tutorial
Back to top Go down
http://www.youtube.com/user/DANGEROVIDIU/videos?flow=grid&vi
Danger
Gang Thug
avatar

Posts : 871
Join date : 2013-12-05
Age : 23
Location : Romania

PostSubject: Re: How to edit objects in KD (obj files)   Fri Dec 19, 2014 4:19 am

I'm back with some new things Smile
Sound & Teleport

1) Sound

#MOVE
*yakuza,   1, 1,150,
             16, 1,  0,
              1, 2, 50,
             16, 1,  1,
#MOVEEND

#SOUND
0, Stage\Gun.wav,
1, Stage\Reload.wav,
#SOUNDEND

1, 1,150, is the first image
16, 1,  0, is the first sound link (0 is the link)
1, 2, 50,  is the second image
16, 1,  1, is the second sound link (1 is the link)

0, Stage\Gun.wav,      First sound
1, Stage\Reload.wav,  Second sound

2) Teleport

This is a little harder You must change some values in Stage.dat too make it work
See here http://kkgc.forum-motion.net/t210-jap-kd-stage-editor-tutorial#2316

#ETCDATA
0,  50,   5, 0,
1, 460, 170, 0, 1,  1,
#ETCDATAEND

0,  50,   5, 0,
these ones are positioned by the Stage.dat file height and width
0, Must be set to 0 is the start value
50, The horizontal path
5, The vertical path
0, ??? Leave it to 0

1, 460, 170, 0, 1,  1,
these ones are positioned by the Stage.bmp file height and width
1, Must be set to 1 is the end value
460,The horizontal path
170,The vertical path
0, ??? Leave it to 0
1, the mod you exit (-1=just teleport;1=teleport by an Somersault;2=teleport & roll fast on the floor)
1, left or right (-1=left;1=right)

Well this is it, I hope I'll find more...


Last edited by Danger on Sat Apr 25, 2015 4:08 pm; edited 3 times in total
Back to top Go down
http://www.youtube.com/user/DANGEROVIDIU/videos?flow=grid&vi
Danger
Gang Thug
avatar

Posts : 871
Join date : 2013-12-05
Age : 23
Location : Romania

PostSubject: Re: How to edit objects in KD (obj files)   Tue Dec 23, 2014 7:28 pm

I'm baaack Very Happy
This Time well be learning of some important objects values: Attack & Walk (Simple)

1) Attack

*yakuza,       1, 0,400,             (first image)
              1, 1,150,             (second image)
             16, 1,  1,             (second sound)
              1, 2, 50,             (third image)
             16, 1,  0,             (first sound)
              2,40, 6, 9,255, 0,    (attack value)
              2,40, 7, 9,255, 0,    (attack value)
              2,40, 8, 9,255, 0,    (attack value)
              2,41, 6, 9,255, 0,    (attack value)
              2,41, 7, 9,255, 0,    (attack value)
              2,41, 8, 9,255, 0,    (attack value)
              1, 3,150,             (fourth image)
              2,40, 6, 0,  0, 0,    (attack value)
              2,40, 7, 0,  0, 0,    (attack value)
              2,40, 8, 0,  0, 0,    (attack value)
              2,41, 6, 0,  0, 0,    (attack value)
              2,41, 7, 0,  0, 0,    (attack value)
              2,41, 8, 0,  0, 0,    (attack value)
              255,

 2,40, 6, 9,255, 0,
2=attack value
40=horizontal path  (determined by Stage.dat file)
6=vertical path     (determined by Stage.dat file)
9=damage type       (2=electric;3&4=bomb;9=hole throw)
255=Hp damage       (0-255)
0=?                 (leave it to 0)

2) Walk

*Amy,      1, 29, 200,      (the image when she turns right)
              3,  1,  50,        (the speed of the walk)
             11, *Amy_motion1,100,   (how many space he moves,determined by Stage.dat file)(+ means to right)
              3,  1,   0,  (turn left=better leave it to 0){same thing as 3,  1,  50,}
              1,32, 200,   (the image when she turns left)
              3,  1, -50,  (the speed of the walk)
             11, *Amy_motion2,100,   (how many space he moves,determined by Stage.dat file)(- means to left)
              3,  1,   0,  (turn right=better leave it to 0){same thing as 3,  1, -50,}
            255,
*Amy_motion1,    1, 29,   8,          (first image to the right)
              1, 30,   8,            (second image to the right)
              1, 31,   8,            (third image to the right)
            255,
*Amy_motion2,    1, 32,   8,          (first image to the left)
              1, 33,   8,            (second image to the left)
              1, 34,   8,            (third image to the left)
            255,

[extra value 12,  0, -40,(12=go down or up value;0=?;-40=go up/40=go down)]

Don't forget to copy *Amy_motion1 & *Amy_motion2


Last edited by Danger on Sat Apr 25, 2015 4:08 pm; edited 4 times in total
Back to top Go down
http://www.youtube.com/user/DANGEROVIDIU/videos?flow=grid&vi
Sorinkun
Gang Officer
avatar

Posts : 638
Join date : 2014-03-02
Age : 19
Location : Romania

PostSubject: Re: How to edit objects in KD (obj files)   Wed Dec 24, 2014 11:29 am

Awesome! Marry Kristmas!

Good work!

_________________

What I do to Danger!
Back to top Go down
http://www.nkdc.forum-motion.com/
SwordGrayFire
Gang Officer
avatar

Posts : 252
Join date : 2011-06-07
Age : 17
Location : washington

PostSubject: Re: How to edit objects in KD (obj files)   Thu Dec 25, 2014 2:04 am

Merry Christmas!

_________________
The Nekketsu Kakutou Densetsu Community Team
(Left to Right) Shaun, Meat, Punta, Dahon, Geronimo, and Ceril.
Back to top Go down
http://www.youtube.com/user/TheKDkid1
Sorinkun
Gang Officer
avatar

Posts : 638
Join date : 2014-03-02
Age : 19
Location : Romania

PostSubject: Re: How to edit objects in KD (obj files)   Thu Dec 25, 2014 1:47 pm

A Merry Nekketsu Christmas ^^,

_________________

What I do to Danger!
Back to top Go down
http://www.nkdc.forum-motion.com/
Franco
Gang Thug
avatar

Posts : 89
Join date : 2011-05-01
Age : 21
Location : argentina, buenos aires

PostSubject: Re: How to edit objects in KD (obj files)   Thu Dec 25, 2014 11:39 pm

merry christmas Very Happy
Back to top Go down
https://www.youtube.com/user/FrankTheEggRobo
Danger
Gang Thug
avatar

Posts : 871
Join date : 2013-12-05
Age : 23
Location : Romania

PostSubject: Re: How to edit objects in KD (obj files)   Fri Dec 26, 2014 12:34 am

Merry Christmas to all kkgc members santa
Back to top Go down
http://www.youtube.com/user/DANGEROVIDIU/videos?flow=grid&vi
Sponsored content




PostSubject: Re: How to edit objects in KD (obj files)   

Back to top Go down
 
How to edit objects in KD (obj files)
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Opening .bin files
» ChaosEdit or Similar Editor
» MP3 Gain - Edit Your MP3s To Make Volume Adjustments
» Chaos edit or WDC source code??? or a new editor?
» Unpure client detected... invalid .PK3 files

Permissions in this forum:You cannot reply to topics in this forum
Kunio-kun Community :: Modder's Corner :: Tutorials-
Jump to: