RPGmaker MV plugin: Dynamically change appearance and clothes

I wrote an alpha state plugin to RPG Maker MV to try to change an actor's appearance based upon what they were wearing:

It starts with the armor, and adding notes to them.
Then adding notes on the actor.
Then making sure that the items used are in the appropriate directory:

Armor: ( Example Note for a hat )
<CCG_ITEM_FACEX_1:accb: armor/FG_AccB_p08_c2_m016 0 >
<CCG_ITEM_FACEX_RULE_1: actor.gender==='Male' >
<CCG_ITEM_FACE: accb: armor/FG_AccB_p08_c2_m016 0 >
<CCG_ITEM_TV: accb: armor/TV_AccB_p08 0 >

Actors: (Some tags are here from other plugins)
<ECHAttributes>
gender:male
orientation:female
other1:false
</ECHAttributes>

<CCGProfileFace>
body:face/male/FG_Body_p01_c1_m001 1
face:face/male/FG_Face_p01_c1_m001 2
pupil: face/FG_Eyes_p03_c1_m002 62
eyes: face/FG_Eyes_p03_c2
eyebrows: face/FG_Eyebrows_p04_c1_m003 0 -100 -100 -100
eyebrows: face/FG_Eyebrows_p04_c2_m001 0 -100 -100 -100
mouth: face/FG_Mouth_p38_c1_m001
mouth: face/FG_Mouth_p39_c1_m001
nose: face/FG_Nose_p01_c1_m001
hairfront: face/FG_FrontHair_p20_c1_m003 0 -100 -100 -100
hairrear2: face/FG_RearHair2_p13_c1_m003 0 -100 -100 -100
hairrear1: face/FG_RearHair1_p04_c1_m003 0 -100 -100 -100
</CCGProfileFace>

<CCGProfileTV>
body: tv/male/TV_Body_p01 0
hairrear1: tv/TV_RearHair1_p04 0 -100 -100 -100
hairrear2: tv/TV_RearHair2_p13 0 -100 -100 -100
hairfront: tv/TV_FrontHair1_p20 0 -100 -100 -100
</CCGProfileTV>

<CCGProfileSV>
body: sv/male/SV_body_p01 0
hairrear: sv/SV_RearHair1_p04 0 -100 -100 -100
hairfront: sv/SV_FrontHair_p20 0 -100 -100 -100
</CCGProfileSV>

Directory: (Note the new composite directory)





Sample Video:






Notes:
Alpha.
Being tested.
Not used by anyone else so far
The tags like:
hairfront: face/FG_FrontHair_p20_c1_m003 0 -100 -100 -100
Definition: <Layer>: <dir>/<filename> <color> <tint1> <tint2> <tint3>

Layer names can be found in the code, in the function, "parseLayerNameToId"

Git:
https://github.com/echomap/rpgmvplugins


Comments

Popular posts from this blog

Wallpaper Cycler (Android App)

digg and lifehacker's new versions