News:

MFG's Character of the Month: September 2026 Voting

Main Menu

add004basic

Started by Shiyo Kakuge, June 18, 2014, 05:46:41 PM

Previous topic - Next topic

junkerde

Quote from: Flowrellik on March 25, 2019, 05:59:44 AM
seems like now you can do custom sprites for names now for the characters now.
This can bring some wonderful ideas :D

yeah always thought that using an explod as 3rd member for name display would be the right fix, heck health bars for the rest of the players worked before similarly using this way.

Flowrellik

only thing left now for coding is one little code that I remember seeing: Light effect.
I remember seeing in KOFEXUM, which used a similar coding based on Add004, where on some stages where author = "light", there's that glow background that gives it that glimpse of a fire light on the character.

Tanky Blobbit

When I restored and re-patched my characters, it ended up butchering most of them from refusing to tag in most of the times, to not working at all and crashing mugen. This kinda bummed me out tbh. I'm using 1.1 btw and using the bs0 lifebars.

GaziraAgain

Quote from: Flowrellik on March 25, 2019, 05:59:44 AM
seems like now you can do custom sprites for names now for the characters now.
This can bring some wonderful ideas :D

Maybe with this it´s possible create the animated portraits for versus screen? Where I can find this new option please? I wanna try it, thank you very much.

2Dee4ever

Not sure how that is related to animated portraits for vs screen.

GaziraAgain

Quote from: 2Dee4ever on March 25, 2019, 10:55:57 AM
Not sure how that is related to animated portraits for vs screen.

Maybe it´s only related to lifebar names... oooh...

junkerde

any idea what I could do in 3v3 to be able to call in any teammate to do an assist? By default you can only call 1 teammate to do their assist. Tried messing with how being able to switch to any partner was done but, alas nothing. thoughts?

PeXXeR

Just curious, how do I nuke just defend from the bars ?

Icarusu



Am i missing something out?
Or is this private?
Like, the fact he can do 4vs4, the different styled lifebar that has littlle icons and names for the other 3 people on your team, the ''cpu level'' whatever could it mean..and much more..
Can someone just tell me if this is just all private or i'm not realizing i can do it too on latest update?

RagingRowen

The 4vs4 requires the 3v3/4v4 Mugen Patch and the CPU Level is shown for CPU opponents.
Haven't checked the icons yet.
WIP Schedule:
CvS Overdrive - Build 1

Icarusu

#1250
Quote from: RagingRowen on March 29, 2019, 12:11:10 AM
The 4vs4 requires the 3v3/4v4 Mugen Patch and the CPU Level is shown for CPU opponents.
Haven't checked the icons yet.

Okay,  please tell me if the icons are private or work at the latest update somehow.

also apparently i need restore/repatch every single char to work on newer update or else it glitches, is there a way to just patch everyone that has been patched before or it just assumes i dont have too mucch chars?

PeXXeR

Gonna ask again, how do I tell the patcher not to patch just defend in my chars ?
Ive seen some the code about it and I dont want to go char by char and remove the JD code.
If I can tell the patcher to not patch JD in, that would be the ideal solution.

RagingRowen

IIRC you used to be able to do that when you went to this in your add004's common1.cns ;;>>@Config.System_Switch>> and uncommented at the just defend bit.
WIP Schedule:
CvS Overdrive - Build 1

junkerde

i love add004, but the thing that is lacking is documentation etc, for example there's lots of documentation for unotag and its also a simpler system, but all I see are video uploads of features not explained, and what makes it harder is that add004 is a more difficult system to edit. I get that theres a release notes and everything but it would be a whole lot easier if there was something from the author of this to explain.  its why i dont want to fully implement it over unotag just yet (for 3v3)

PeXXeR

Quote from: RagingRowen on March 29, 2019, 09:52:46 PM
IIRC you used to be able to do that when you went to this in your add004's common1.cns ;;>>@Config.System_Switch>> and uncommented at the just defend bit.

I grabbed the latest version of add004 there was no switch like this in there.

2Dee4ever

#1255
As automated as it is already, you only have to have general knowledge to edit it further, but when I still see things like "how do I install?" Right there in the notes.. "How do I take this off?" Right there in the notes.. Do "I" have to unpatch all "my" characters to use this update? Huh?? lol. Everything is organized to be dummy proof. Everything has a config switch etc. Once you want to get creative and do your own thing, should you not have the knowledge to do so on your own? Anything that isn't here, if you want to implement, if you know your code, what does it have to do with documentation(even though its there clear as day)? At that point, you are adding something to it on your own no? What each var does is listed, everything is listed and documented.

;;---
;; Find these Marks to Config.
Spoiler (click to show)
;; ,±,Ì•W‹L,ðŒŸõ,µ,ĐÝ'è,ð•Ï,¦,Ä,­,¾,³,¢B

;;>>@Config.
;;>>@Config.System_Switch>>
;;>>@Config.Stage_Type>>
;;>>@Config.AI>>
;;>>@Config.Power_Mode>>
;;>>@Config.LifeBar>>
;;>>@Config.LifeBar_Draw>>
;;>>@Config.GuardBar>>
;;>>@Config.PowerBar>>
;;>>@Config.PowerBar_Draw>>
;;>>@Config.Face>>
;;>>@Config.Combo.Pos>>
;;>>@Config.Counter_Hit>>
;;>>@Config.DamageToPower>>
;;>>@Config.Power_Start>>
;;>>@Config.Icon_FirstAttack_Pos>>
;;>>@Config.Icon_CPU_Pos>>
;;>>@Config.Score>>
;;>>@Config.Message_Pos>>
;;>>@Config.KO>>
;;>>@Config.Ground_Dust_Effect>>
;;>>@Config.Display_Input>>
;;>>@Config.Tag_Command>>
;;>>@Config.Tag_FirstPlayer_Select>>
;;>>@Config.Camera>>

Forgot to add this "How to" that is also included..
Spoiler (click to show)
add004 basic 20150929
---------------------

run bat file to start mugen.

  "004.bat"    - normal game (you can not control your partner in tag mode)
  "004_p1.bat" - p1 tag mode game (p3 ai off, to control p1's partner)
  "004_p2.bat" - p2 tag mode game (p4 ai off, to control p2's partner)
  "004_vs.bat" - p1 vs p2 tag game (p3,p4 ai off, to control partner)


* tag mode game command:
   Y+A: partner assist
   F/B,Y+A: change player
     you can change the command in "@Config.Tag_Command" part.
     default assist attacking is stateno 1000,
     override stateno [195900] to regist, or override [190193-190196] to modify,
     or change everything as you wish.


* Config
* Ý'è
    the "Marks" of config in "common1.cns":
    "common1.cns"ƒtƒ@ƒCƒ‹,É, ,éÝ'èƒ}[ƒN:

      @Config.System_Switch (options)
        dizzy/stun system,guard_break system,show combo_counter,show message
        show score/cpu_level,show result_panel,play system voice,show key_input
        show lifebar,show powerbar,tag system,tag_asist,round_call,ko_call
        show ground_dust effect ...
      @Config.Stage_Type @Config.AI @Config.Power_Mode @Config.LifeBar
      @Config.GuardBar @Config.PowerBar @Config.Face @Config.Combo.Pos @Config.DamageToPower
      @Config.Power_Start @Config.Icon_FirstAttack_Pos @Config.Icon_CPU_Pos @Config.Score
      @Config.Message_Pos @Config.KO @Config.Display_Input
      @Config.Tag_Command @Config.Tag_FirstPlayer_Select



---------------------

batƒtƒ@ƒCƒ‹,ðŽÀs,µ,ăQ[ƒ€ŠJŽn

  "004.bat"    - 'ʏíƒQ[ƒ€ (ƒ^ƒbƒOƒ,[ƒhŽžAƒp[ƒgƒi[,Í'€ì,Å,«,È,¢)
  "004_p1.bat" - p1'¤ƒ^ƒbƒOƒ,[ƒhƒQ[ƒ€ (p3 ai 'âŽ~A,É,æ,èƒp[ƒgƒi[,Í'€ì,Å,«,é)
  "004_p2.bat" - p2'¤ƒ^ƒbƒOƒ,[ƒhƒQ[ƒ€ (p4 ai 'âŽ~A,É,æ,èƒp[ƒgƒi[,Í'€ì,Å,«,é)
  "004_vs.bat" - ƒ^ƒbƒOƒ,[ƒh'ΐíƒQ[ƒ€ (p3,p4 ai 'âŽ~A,É,æ,èƒp[ƒgƒi[,ð'€ì)


* ƒ^ƒbƒOƒ,[ƒhŽžƒQ[ƒ€'€ì:
   Y+A: ƒXƒgƒ‰ƒCƒJ[ŒÄo
   'O/Œã,Y+A: Œð'Ö
     ƒRƒ}ƒ"ƒh•ύX,Í "@Config.Tag_Command" •",É, ,è,Ü,·B
     ‰ŠúŽx‰‡‹Z"ԍ†,Í 1000 ,Å,·,
     ƒXƒe[ƒg"ԍ†[195900],̏ã',«,É,æ,Á,āA‹Z"o˜^,Å,«,Ü,·A
     ,Ü,½,Í[190193-190196],ðã',«,µ,ăVƒXƒeƒ€,ð•ҏW,µ,½,èAAA
     ,·,×,ÄŽ©—R‰ü•Ï,µ,Ä,­,¾,³,¢B




You may have seen it, but not many realise that this exisits.
Spoiler (click to show)

- to apply to this update by using the latest "add004pie.exe"
   Restore all your chars before Change(repatch) them again.
   * please do NOT use patched-one as a base for editing,
     all changes will be lost when Restore.

- "add004pie.exe",ðŽg,Á,衉ñ,̍XV,ð"K‰ž,³,¹,é,É,́A
   'SƒLƒƒƒ‰,𕜌³,³,¹,Ä,©,çA,à,¤ˆê"x•ύX,µ,Ä,­,¾,³,¢B
   – •ύXÏ,Ý,Ì,à,Ì,ðŠî,Æ,µ,ĕҏW,ðs,í,È,¢,Å,­,¾,³,¢A
      •œŒ³Žž,·,×,ďÁ,¦,Ü,·,©,çB



------
add004 basic bugfix 20190102
- bugfix:
   - :D



------
add004 basic update 20170725
- bugfix:
   - [statedef 180000] > "sys::parent_timer-reset_round_start" > added
   - [statedef 180010] > updated
   - [statedef 180020] > added new state
   - [statedef 90909] > "@Config.PowerBar" var(46):=## > changed
   - [statedef 90900] > "sys::helper::down" > added
   - [statedef 90900] > "sys::flag_player_alive" > updated
   - [statedef 90900] > "@Config.Counter_Hit" > updated
   - [statedef 90900] > "sys::screen_edge_dark_counter_hit" > added
   - [statedef 190195] > "sys::partner_anim_change5" > added
   - [statedef 190195] > "sys::partner_ex-change_safety" > updated
   - [statedef 91000] > updated
   - [statedef 88883] > updated
   - [statedef 88870] > updated
   - [statedef 88872] > updated
   - [statedef 88892] > updated
   - [statedef 152100] > updated

   - add004/res
   - add004_bs0/res
   - add004_svc/res
     - fightfx.sff / fightfx_bs.sff / fightfx_svc.sff
       > updated
     - fight_air.txt / fight_air_bs0.txt / fight_air_svc.txt
       > updated
    - commond.snd / commond_bs0.snd / commond_svc.snd
       > updated
     - fight_##p.def
       - [round] > "start.waittime=5" > changed

- sample update:
   - WinMUGEN ver > updated
   - Ikemen ver > 201705 (customized)



------
add004 basic update 20170225
- compatibility-updates
   - 1.1, 1.0, Win, Ikemen now using same system:
     - projctile-helper [91000]
     - blocking / just-defended system [195500]

- update blocking / just-defenced system:
   - [statedef 195500] > updated
   - [statedef 195505] > added new state
- update projctile-helper
   - [statedef 91000] > updated
- sample update:
   - all chars updated
   - WinMUGEN ver > updated
   - Ikemen ver > 20170221 (customized)



------
add004 basic update 20170215

- update
   - [statedef 9005] > [statedef 159005]
   - [statedef 159990] > added new state
   - [statedef 90909] > "sys::stage_type_set"
   - data/mm2/menu.fnt > fixed
     - system.def > updated

- bugfix: tag-system
   - [statedef 190190-190196] > updated

- update: add004pie
   - add004pie.exe > update
   - add004pie.ini > update
   - add004pie-list1.ini > added

- sample chars update
- WinMUGEN ver update



------
add004 basic update 20170122

- update
   - add004_common1.cns
   - add004_bs0/common1.cns
   - add004_svc/common1.cns
   - add004_svc/res/timer.fnt
     - add004_svc/res/fight_240p.def
     - add004_svc/res/fight_480p.def
     - add004_svc/res/fight_720p.def
     - add004_svc/res/fight_1080p.def
     - add004_svc/res/fight_2160p.def
     - add004_svc/res/fight_air_svc.txt
   - add004pie.ini



------
add004 basic update 20161226
(from 20161116)

- bugfix: get_hit states
   - [statedef 5000]
   - [statedef 5010]
   - [statedef 5020]
   - [statedef 5101]



------
add004 basic update 20161206
(from 20161116)

- bugfix: partner_pos
   - [statedef 190190] > ;sys::player_pos_y_outscreen1
   - [statedef 190191] > ;sys::partner-standby-set3
   - [statedef 190192] > ;sys::partner-standby-set5

- update: init_state
   - [statedef 190190] > "sys::starter" > changed type
   - [statedef 90909] > updated



------
add004 basic update 20161116

-bugfix: 2500-loops-stop-error
   -[statedef 120-155] > updated

- update: super-pause-eff
   - [statedef 88880-8883] > updated
   - [statedef 88870-8872] > updated
   - [statedef 90900] > "sys::ko_no-bg ;; during hyper" > removed

- bugfix: stun-system
   - [statedef 195050] > update
     - SF3 3rd based stun system.
   - [statedef 190140] > updated
   - [statedef 195201] > added new state
     - "add004pie.ini" > updated
   - [statedef 5001] > [.06d] > changed value
   - [statedef 5011] > [.06d] > changed value
   - [statedef -2] > [.03-2d1] > changed value
     - "add004pie.ini" > updated
   - [statedef -2] > [.03-2d2] > removed
    - "add004pie.ini" > updated

- bugfix: partner-stand-by-ko
   - [statedef 190190] > "sys::partner_life-recover1" > added new sctrl

- update main helper 90900

   - [statedef 90909] > "sys::lifebar_face_partner_info" > changed trigger

   - [statedef 90909] > added new state
   - moved sctrls from statedef 90900 to 90909
     - sys::init::system_switch_plus
     - sys::init::localcoord
     - sys::bonus_stages_flag
     - sys::stage_type_set
     - @Config.Power_Mode>>
     - sys::init_mode_turns
     - sys::init_lifebar
     - sys::init_powerbar
     - sys::tag_assist_stno-1-4
     - sys::addon_version_check

   - [statedef 90909] > "sys::helper::ko" > added new sctrl

   - [statedef 180010] > added new state
   - moved sctrls from statedef 90900 to 180010
     - sys::hyper-finish
     - sys::special-finish
     - sys::ko_pause
     - sys::ko_disable_bgm
     - sys::ko_disable_shake
     - sys::sound_announcer_ko
     - sys::sound_ko_hyper-eff
     - sys::ko_d_hyper-finifsh_mask
     - sys::ko_d_hyper-finifsh_color ;;/ dor
     - sys::ko_d_hyper-finifsh_color-swap
     - sys::ko_d_hyper-finifsh_wave
     - sys::ko_d_img1
     - sys::ko_d_img2

- update common proj helper 91000
   - [statedef 91000] > updated



------
add004 basic update 20160905

- bugfix: jump-command
   - [statedef 40] > ;[.06]
   - [statedef 40] > ;[.06b]
   - [statedef 40] > ;[.06c]

- bugfix: camera-work
   - [statedef 90900] > "sys::camera::set" > updated

- bugfix: blocking / just-defended
   - [statedef 195500] > ;[.03a1] > fixed
   - [statedef 195500] > ;[.03a2] > added new sctrl

- bugfix: dizzy-system
   - [statedef 5001] > ;[.04] > changed trigger
   - [statedef 5001] > ;[.05] > changed trigger
   - [statedef 5011] > ;[.04] > changed trigger
   - [statedef 5011] > ;[.05] > changed trigger
   - [statedef 5111] > updated
   - [statedef 195110] > ;[.21] > added new sctrl
   - [statedef -2] > "sys::-2::goto-dizzy_s/c" > value fixed
     - "add004pie.ini" > updated

- new: tag-system
   - [statedef 90900] > "sys::tag_mode_cmd_change" > updated
   - [statedef 90900] > "sys::tag_mode_cmd_change_interrupted" > added new sctrl
   - [statedef 190190-190199] > changed
   - [statedef -2] > "sys::-2::partners_standby" > updated
     - "add004pie.ini" > updated
   - [statedef -2] > "sys::-2::partners_change_interrupted" > added new sctrl
     - "add004pie.ini" > updated



------
add004 basic update 20160722

- (1/3) dizzy/stun system

   - [statedef 5900] > [.02p4] > changed trigger
   - [statedef 5900] > [.02p5] > added new sctrl
     - [.02p3],[.02p4],[.02p5] > copied to [-2]
     - "add004pie.ini" > updated

   - [statedef 90900] > "sys::lifebar_d_bar_stun_alert" > fixed

   - [statedef 90900] > "sys::dizzy_recover" > changed trigger
   - [statedef 90900] > "sys::dizzy_reset" >   changed trigger

   - [statedef 5001] > ;[.06d] > added new sctrl (dizzy/stun system)
   - [statedef 5011] > ;[.06d] > added new sctrl
   - [statedef 5030] > ;[.06d] > added new sctrl
   - [statedef 5071] > ;[.06d] > added new sctrl
     - copied to [-2]
     - "add004pie.ini" > updated

   - [statedef 5030] > ;[.07] > changed trigger
   - [statedef 5030] > ;[.08] > changed trigger
   - [statedef 5030] > ;[.09] > changed trigger
   - [statedef 5035] > ;[.02] > changed trigger
   - [statedef 5035] > ;[.03] > changed trigger
   - [statedef 5071] > ;[.06] > changed trigger
   - [statedef 5111] > ;[.12] > changed trigger
   - [statedef 5111] > ;[.13] > changed trigger
   - [statedef 5120] > ;[.05] > removed
   - [statedef 190140] > updated
   - [statedef 195050] > added new state
   - [statedef 195110] > added new state
   - [statedef -2] > ;[.03-2d3] > added "sys::-2::goto-dizzy_fd"

- (2/3) recover system
   - [statedef 5050] > ;[.04] > updated
   - [statedef 5050] > ;[.04a] > added new sctrl
   - [statedef 5050] > ;[.05] > updated trigger
   - [statedef 5210] > fixed

- (3/3) guard point system
   - [statedef 90900] > "sys::guard_b_cost" > weakened var(36)



------
add004 basic update 20160622

- all "common1.cns"
   - [statedef 0] > [.01] > removed
   - [statedef 0] > [.01b] > added partner_standby
   - [statedef 0] > [.05a2] > changed trigger
   - [statedef 0] > [.05a3] > changed trigger
   - [statedef 11] > [.01] > removed
   - [statedef 11] > [.01b] > added partner_standby
   - [statedef 11] > [.05a2] > changed trigger
   - [statedef 20] > [.01b] > added partner_standby
   - [statedef 21] > updated all
   - [statedef 100] > [.01b] > added partner_standby
   - [statedef 5111] > [.12] > changed trigger
   - [statedef 5111] > [.13] > changed trigger
   - [statedef 5112] > updated all
   - [statedef 90900] > "sys::init::system_switch_plus" > added switch 18th
   - [statedef 90900] > "sys::camera::set" > updated
   - [statedef 90900] > "sys::msg_technical" > changed trigger3
   - [statedef 90900] > "sys::lifebar_face_partner_info" > fixed
   - [statedef 190190] > (type=screenbound) > changed trigger
   - [statedef 190190] > "sys::partner_goto-standby1" > added triggerall
   - [statedef 190193] > "sys::partner-landing-pos2" > added new sctrl
     - [statedef 190202] > added new state
   - [statedef 190193] > "sys::partner-out-vel2" > changed vel
   - [statedef 190195] > (type=screenbound) > removed
   - [statedef 190195] > (type=playerpush) > removed
   - [statedef -2] > "sys::-2::partners_standby" > changed trigger
     - "add004pie.ini" > updated
   - [statedef -2] > "sys::-2::tag3intro-1" > removed
   - [statedef -2] > "sys::-2::tag3intro-2" > removed
   - [statedef 5900] > updated all


- "data/add004_svc/common1.cns"
   - [statedef 99980] > "sys::lifebar_partner_life_changed" > fixed


- "add004pie.exe" > update




------
add004 basic update 20160321

- added debug_numbers in common1.cns to show the details
- bugfix:
   -[statedef 0] > [.01] > added assist-over_flag
   -[statedef 11] > [.01] > added assist-over_flag
   -[statedef -2] > "sys::-2::partners_standby" > fixed
     -"add004pie.ini" > update
   -[statedef 90900] > "sys::lifebar_partner_life_changed" > fixed
   -[statedef 195500] > updated all
   -[statedef 152100] > updated all


------
add004 basic update 20160215

- bugfix: wrong player id
- common1.cns: core_tag_mode
   (nothing but tag_mode common1.cns in data folder,
    display normal lifebar instead of add004s.
    this is no longer add004 :/  )
- work files added

- ƒoƒbƒNC³: •s³ŠmƒLƒƒƒ‰ID
- common1.cns: ƒRƒAEƒ^ƒOEƒ,[ƒh
   (ƒ^ƒOƒ,[ƒh,Ì,Ýcommon1.cnsAdataƒtƒHƒ‹ƒ_[,É'ljÁ
    add004ƒ‰ƒCƒtƒo[,Ì'ã,í,è,ɁA'ʏ탉ƒCƒtƒo[,ð•\ަB
    ,±,ê,Í,à,Í,âadd004,¶,á,È,¢ -.,- )
- 'fÞ"¯«


------
add004 basic update 20160131

- bugfix: character-change pos reset
- 3vs3, 4vs4 tag-mode supported for ikemen
   (these tag-modes are enable in ikemen by default)

- ƒoƒbƒNC³: ƒLƒƒƒ‰Œð'ÖŽžÀ•WC³
- ikemen"Å 3'Î3,4'Î4ƒ^ƒbƒOƒ,[ƒh'Ήž
   (,±,ê,ç,̃^ƒbƒOƒ,[ƒh,Íikemen,Å,͏‰Šú,ÅŽg—p‰Â"\)


------
add004 basic update 20160101

- bugfix: bars set with multiple chars localcoord
  (427x240, 640x480, 1280x720...)
  when you only changed the localcoord parameter in the character def file,
  sometimes you have to revise 9000.0 too. (see kfm720)

  you can also use xscale and yscale parameters in chars,
  or zoom parameters in stages to change your game screen size.

- ƒoƒbƒNC³: ƒo[,Í'½Ží,ȃLƒƒƒ‰‹KŠi,É'Ήž
   (427x240, 640x480, 1280x720...)
  ƒ[ƒJƒ‹ƒR[ƒh'l,¾,¯,ð•ύX,µ,½ê‡,́AŽž,É9000.0,ð,àC³,µ,È,¢,Æ(KFM720,ð,²ŽQÆ)

  ƒLƒƒƒ‰,Ì xscale ,Æ yscale'lAˆ½,¢,́AƒXƒe[ƒW,̃Y[ƒ€'l,ðŽg,¤,±,Æ,Å
  ƒQ[ƒ€‰æ–ʃTƒCƒY,à•Ï,¦,ç,ê,Ü,·B


This tells you exactly what the patcher does. If you are having trouble with your characters working, I suggest reading it. Once you do, you'll see that you can manually fix those specific errors. "Start" "End" Keywords. Once you have patched your characters once already, those are the only things you need to change, copy and paste to the right area.
Spoiler (click to show)
;#20151022

; Settings file, do NOT delete.
; 設定ファイルです、削除しないでください。

; The addtinoal CNS,ANIM,CMD are in each section from [start] to [end].
; 追加のコード、アニメ、コマンド、は各 "[start]" から"[end]" の区間にあります。

;-------------------------------
;(1/2) Additions
;-------------------------------



; below SCtrls will be written in [statedef -2]
; 以下は[def -2]に追加されます

; * if character has a [StateDef -2], Sctrl will be added to there.
; * To add other StateDef in other sections, please edit "Common1.cns" directly.
; * キャラクターに [StateDef -2]があった場合に、 そこに、Sctrlは追加されます。
; * 別の StateDef をほか場所に追加したい場合は、直接 "Common1.cns" を編集してください。

; * ensure that this part is same as common1.cns.
; * common1.cns と一致することを確かめてください。



Add.Basic[Start]
;//==========================
;// add004 supplementary sctrls v1.103
;//==========================

;// partner jump-out ; パートナー退場
[state 0]
   type=selfstate
   triggerall=!ishelper && numpartner && roundstate=2
   triggerall=(stateno!=[190190,190199]) && (alive) && (sysfvar(0)>0) && playeridexist(floor(sysfvar(0)))
   triggerall=(playerid(floor(sysfvar(0))),var(0)=90900) && (playerid(floor(sysfvar(0))),var(22)=4)
   ;;---// change ;(交替)
   trigger1=(sysfvar(4)<1) && (movetype!=h) && (gethitvar(isbound)=0) && (pos y>=0) && (ctrl||(stateno<600&&time<2)) && (partner,stateno=[190191,190192]) && (playerid(floor(sysfvar(0))),var(48)=11)
   ;;---// as partner-asist ;(協力)
   trigger2=(sysfvar(4)>0) && (movetype!=h||(stateno=[120,149])) && (ctrl||(stateno<600&&stateno!=playerid(floor(sysfvar(0))),var(56-numhelper(90900))))
   ;;---// player priority ;(順位)
   trigger3=(sysfvar(4)<1) && (partner,sysfvar(4)<1) && (partner,alive) && (playerid(floor(sysfvar(0))),var(15)!=id)
   value=190190
   ctrl=0
   ignorehitpause=1

;// edited life & power bar ; ライフバー
[state 0]
   type=helper
   triggerall=!ishelper && !numhelper(90900)
   trigger1=numpartner
   trigger1=id<(partner,id)
   trigger2=!numpartner
   id=90900
   stateno=90900
   helpertype=normal
   ownpal=1
   size.height=0
   ignorehitpause=1
   supermovetime=88888
   pausemovetime=88888
   ;---
   pos=0,88888

;// input players id ; ID取得
[state 0]
   type=varset
   trigger1=!ishelper && numhelper(90900)
   trigger1=(helper(90900),var(0)=90900) && (sysfvar(0)!=helper(90900),id)
   sysfvar(0)=helper(90900),id
[state 0]
   type=varset
   trigger1=!ishelper && numpartner
   trigger1=!numhelper(90900) && (partner,numhelper(90900)) && (sysfvar(0)!=partner,sysfvar(0))
   sysfvar(0)=partner,sysfvar(0)

;// bk/jd system ; ブロキング/ジャストD
[state 0]
   type=hitoverride
   triggerall=!ishelper && roundstate=2 && alive && ctrl && numhelper(90900)
   triggerall=stateno!=195500 && helper(90900),var(0)=90900 && (helper(90900),var(22)=[2,3])
   trigger1=(command="holdfwd" &&!(helper(90900),var(8)&16384)&&helper(90900),var(22)=2) || (command="holdback" &&!(helper(90900),var(8)&32768)&&helper(90900),var(22)=3)
   attr=sca,na,sa,ha,np,sp,hp
   stateno=195500
   time=6 ;;<- length
   ignorehitpause=1

;//==========================
;; face / portrait (顔)
[state 0]
   type=explod
   trigger1=(!ishelper) && (roundstate=2) && (numpartner) && (!numhelper(90900)) && (alive)
   trigger1=!numexplod(490600) && selfanimexist(909002) && (sysfvar(0)>id) && playeridexist(floor(sysfvar(0)))
   trigger1=(playerid(floor(sysfvar(0))),var(0)=90900) && (playerid(floor(sysfvar(0))),numexplod(490600))
   id=490600
   anim=909002
   space=screen
   postype=left
   facing=ifelse(teamside=1,1,-1)
   ownpal=1
   bindtime=-1
   removetime=-1
   ignorehitpause=1
   supermovetime=-1
   pausemovetime=-1

[state 0] ;; player is NOT in a custom state (*1
   type=modifyexplod
   trigger1=numexplod(490600) && (sysfvar(0)>id) && playeridexist(floor(sysfvar(0)))
   trigger1=(playerid(floor(sysfvar(0))),var(0)=90900)
   trigger1=(movetype!=h) || (stateno=[120,159]) || (stateno=[5000,5199]) || (stateno=[190190,190196])
   id=490600
   scale=(playerid(floor(sysfvar(0))),fvar(32)), (playerid(floor(sysfvar(0))),fvar(33))
   ignorehitpause=1
   supermovetime=-1
   pausemovetime=-1

[state 0]
   type=modifyexplod
   trigger1=numexplod(490600) && (sysfvar(0)>id) && playeridexist(floor(sysfvar(0)))
   trigger1=(playerid(floor(sysfvar(0))),var(0)=90900)
   id=490600
   space=screen
   postype=left
   pos=floor(const240p(playerid(floor(sysfvar(0))),fvar(30))), floor(const240p(playerid(floor(sysfvar(0))),fvar(31) -(roundstate!=2)*88888))

;;(*1   scale=(playerid(floor(sysfvar(0))),fvar(32)), (playerid(floor(sysfvar(0))),fvar(33))
;;(*1 if the player has been placed in a custom state, the result of "scale" is affected" by the different player's local coordinate space.

   sprpriority=floor(playerid(floor(sysfvar(0))),fvar(36))
   trans=addalpha
   alpha=floor(playerid(floor(sysfvar(0))),fvar(34)), floor(playerid(floor(sysfvar(0))),fvar(35))
   ignorehitpause=1
   supermovetime=-1
   pausemovetime=-1

;//==========================
;;>>@Config.Camera>>
;; change camera / 焦点変更
[state 0]
   type=screenbound
   trigger1=(!ishelper) && (sysfvar(0)>id) && playeridexist(floor(sysfvar(0)))
   trigger1=(playerid(floor(sysfvar(0))),var(0)=90900) && (playerid(floor(sysfvar(0))),var(7)&65536) ;; system_switch
   value= ((numpartner && sysfvar(4)<1) || !numpartner) ;; [def=0]
   movecamera=0,0 ;; [x,y]
   ignorehitpause=1

;//==========================
;;--- optional settings
;;--- guard crush ; ガードクラッシュ
[state 0]
   type=palfx
   trigger1=(stateno=150 || stateno=152) && alive && !ishelper && (gametime%5=0) && sysfvar(0)>id && playeridexist(floor(sysfvar(0)))
   trigger1=(playerid(floor(sysfvar(0))),var(0)=90900) && (playerid(floor(sysfvar(0))),var(36)>=40)
   time=2
   add=200,0,0
[state 0]
   type=changestate
   trigger1=(stateno=150 || stateno=152) && alive && !ishelper && sysfvar(0)>id && playeridexist(floor(sysfvar(0)))
   trigger1=(playerid(floor(sysfvar(0))),var(0)=90900) && (playerid(floor(sysfvar(0))),var(36)>=50)
   value=190010
   ignorehitpause=1
;;--- dizzy ; 眩暈
[state 0]
   type=changestate
   trigger1=(stateno=5120) && (animtime=0) && !ishelper && numhelper(403000) ;;<-dizzy_birds
   value=190116 ;;<- goto dizzy/stun state
;;--- fadeout when KOed ; KO後消える
[state 0]
   type=assertspecial
   trigger1=stateno=5150 && alive=0 && !ishelper && numpartner && (((time=[80,150]) && time%10<5) || time>150)
   trigger1=partner,stateno!=stateno || (partner,stateno=stateno && partner,time<time)
   flag=invisible
   flag2=noshadow
[state 0]
   type=posset
   trigger1=stateno=5150 && alive=0 && !ishelper && numpartner
   trigger1=partner,stateno!=stateno || (partner,stateno=stateno && partner,time<time)
   y=(800-partner,pos y) *(((time=[80,150]) && time%10<5) || time>150)


;//==========================
;//==========================

Add.Basic[End]

; above SCtrls will be written in [statedef -2]
; 以上は[def -2]に追加されます



;--------------------------------------------------------------
;--------------------------------------------------------------


;; below Anims will be written in air file
;; 以下はAIRファイルに追加されます

Add.Air.Basic[Start]
;---------
; as characters face / portrait
; キャラの顔として登録
[begin action 909002]
9000,0,0,0,-1
;---------
Add.Air.Basic[End]

;; above Anims will be written in air file
;; 以上はAIRファイルに追加されます



;--------------------------------------------------------------
;--------------------------------------------------------------


;; below Commands will be written in cmd file
;; 以下はCMDファイルに追加されます

;; * Only 128 unique commands labels allowed in a "*.cmd".
;; * 一つの "*.cmd" では、コマンド数の上限は、個別の128個までです。

;Add.Cmd.Basic[Start]
;[command]
;   name="addoo4_cmd_sample" ;; <- name what you need
;   command=~D,F,D,B,x
;   time=32
;Add.Cmd.Basic[End]

;; above Commands will be written in cmd file
;; 以上はCMDファイルに追加されます



















;-------------------------------
; (2/2) LanguagePack/言語パック/语言包
;-------------------------------

; default Language (of 3)
; 0: Japanese
; 1: English
; 2: Chinese

Def[0]=1 ;English

; L_1
  • Language 1
    ; L_2
  • Language 2
    ; L_3
  • Language 3

    ;-------------------
    ; Font Name 書体
    L_1[0]=meiryo ;; MS Pゴシック ;メイリオ; Japanese(日本語) Charset=128
    L_2[0]=Arial   ;Meiryo UI ; (English)
    L_3[0]=NSimSun ; Chinese Font(中文) :Win2000/xp/vista / MSHei :win95/98/me

    ; CharSet 文字セット
    L_1[9]=128 ; 日本語版Windows専用の2バイト文字セット(DBCS)
    L_2[9]=0   ; Windows標準文字セット(English)
    L_3[9]=134 ; 中国語 (Chinese)

    ; Font Size 文字サイズ
    L_1[8]=9
    L_2[8]=9
    L_3[8]=9

    ;-------------------
    L_1[1]=ADD004 BASIC パイ
    L_2[1]=ADD004 BASIC PIE
    L_3[1]=ADD004 BASIC 饼
    L_1[2]=バージョン 1.01c3(20120505) ini.20151022
    L_2[2]=   Version 1.01c3(20120505) ini.20151022
    L_3[2]=      版本 1.01c3(20120505) ini.20151022
    L_1[3]=ADDON004 BASIC 環境に自動変更します
    L_2[3]=AutoChange your chars to ADD004 BASIC addon
    L_3[3]=ADDON004 BASIC 环境人物自动变更
    ;-------------------
    L_1[4]=はい
    L_1[5]=キャンセル
    L_2[4]=OK
    L_2[5]=Cancel
    L_3[4]=可
    L_3[5]=中止

    ;-------------------
    L_1[10]=ヒント
    L_1[11]=*ムゲンと同じフォルダーに置いて実行させてください
    L_1[12]=*最初に「全部復元」を実行してください
    L_1[13]=*編集と追加の詳細は「add004pie.ini」ファイルを開いてください

    L_2[10]=HINTS
    L_2[11]=*Ensure this tool is in the same folder as MUGEN.exe.
    L_2[12]=*Run "Restore All" at first.
    L_2[13]=*Edit or Add the details, open "add004pie.ini" file.

    L_3[10]=提示 
    L_3[11]=*投入和MUGEN同文件夹中使用
    L_3[12]=*首先执行"恢复全部"
    L_3[13]=*"编辑"与"追加"的详细在"add004pie.ini"文件中

    ;-------------------
    L_1[20]=メニュー
    L_1[21]=全部変更
    L_1[22]=変更
    L_1[23]=全部復元
    L_1[24]=復元
    L_1[25]=中断
    L_1[26]=変換
    L_1[27]=簡易分析
    L_1[28]=オプション
    L_1[29]=日本語 (Japanese)
    L_1[30]=全部診断
    L_1[35]=診断
    L_1[36]=診断中止
    L_1[37]=上書き保存
    L_1[38]=修正不要 / 次へ
    L_1[39]=ファイルをバックアップします

    L_2[20]=MENU
    L_2[21]=ChangeAll
    L_2[22]=Change
    L_2[23]=RestoreAll
    L_2[24]=Restore
    L_2[25]=Break
    L_2[26]=Convert
    L_2[27]=Analyzer
    L_2[28]=Options
    L_2[29]=English
    L_2[30]=Analyze All
    L_2[35]=Analyze
    L_2[36]=Stop
    L_2[37]=Save
    L_2[38]=No Need Fix / Skip
    L_2[39]=BackUp file

    L_3[20]=选项
    L_3[21]=全部变更
    L_3[22]=变更
    L_3[23]=全部复原
    L_3[24]=复原
    L_3[25]=中断
    L_3[26]=变更
    L_3[27]=简易分析
    L_3[28]=設定
    L_3[29]=中文 (Chinese)
    L_3[30]=诊断全部
    L_3[35]=分析
    L_3[36]=分析停止
    L_3[37]=保存
    L_3[38]=不必要修改 / 跳越
    L_3[39]=文件备份

    ;-------------------
    L_1[31]=<<MUGENパスを指定してください
    L_1[32]=<<DEFファイルを指定してください
    L_1[33]=<<ムゲンパスを指定してください
    L_1[34]=<<DEFファイルを指定してください

    L_2[31]=<<please select MUGEN.exe path.
    L_2[32]=<<please select a def file of chars.
    L_2[33]=<<please select MUGEN.exe path.
    L_2[34]=<<please select a def file of chars.

    L_3[31]=<<请选择 MUGEN.exe 路径
    L_3[32]=<<请选择一人物的的def.
    L_3[33]=<<请选择 MUGEN.exe 路径
    L_3[34]=<<请选择一人物的的def.

    ;-------------------
    L_1[40]=MUGENパスを選択して、全て変更します
    L_1[41]=ファイルを選択、個別に変更します
    L_1[42]=処理が完了しました
    L_1[43]=完了しました

    L_2[40]=select MUGEN path to Change All
    L_2[41]=select single def file to Change separately
    L_2[42]=End Processing
    L_2[43]=completed

    L_3[40]=选择 MUGEN 路径,变换所有人物
    L_3[41]=直接选择 Def 文件,变换个别人物
    L_3[42]=处理完毕
    L_3[43]=完成

    ;-------------------
    L_1[50]=...DEFファイルをバックアップ
    L_1[51]=...ファイルをバックアップ
    L_1[52]=...保存

    L_2[50]=...BackUp DEF file
    L_2[51]=...BackUp Files
    L_2[52]=...Save

    L_3[50]=...DEF文件备分
    L_3[51]=...文件备分
    L_3[52]=...保存

    L_1[60]=個フォルダを検出
    L_1[61]=検証します...
    L_1[62]=を読取...
    L_1[63]=変更箇所検索します...
    L_1[64]=...読取: 

    L_2[60]=folder(s) detected.
    L_2[61]=Verifying...
    L_2[62]=Reading...
    L_2[63]=Searching...
    L_2[64]=...Read: 

    L_3[60]=個文件夹查出
    L_3[61]=验证...
    L_3[62]=读入...
    L_3[63]=检索...
    L_3[64]=...读取: 

    ;-------------------
    L_1[70]=キャラ名:
    L_1[71]=表示名:
    L_1[72]=バージョン:
    L_1[73]=ムゲンバージョン:
    L_1[74]=作者:

    L_2[70]=Name:
    L_2[71]=DisplayName:
    L_2[72]=Version:
    L_2[73]=MUGEN Version:
    L_2[74]=Author:

    L_3[70]=人物名:
    L_3[71]=表示名:
    L_3[72]=版本:
    L_3[73]=MUGEN 版本:
    L_3[74]=作者:

    ;-------------------
    L_1[80]=データ変更
    L_1[81]=CTRL追加
    L_1[82]=ファイル再構成
    L_1[83]=変更済みです(復元可)
    L_1[84]=変更できませんでした
    L_1[85]=変更の必要はありません
    L_1[86]=ファイルアクセス失敗です

    L_2[80]=Date Changed.
    L_2[81]=CTRL added.
    L_2[82]=Files ReBuilded
    L_2[83]=Already Changed. (Ready Restore)
    L_2[84]=Can not be Changed.
    L_2[85]=No need to Change.
    L_2[86]=Data Access Failed.

    L_3[80]=文件变更
    L_3[81]=CTRL追加
    L_3[82]=文件再构成
    L_3[83]=文件已经变更(复原可)
    L_3[84]=没能改变.
    L_3[85]=没有变更的必要
    L_3[86]=文件读取失败

    ;-------------------
    L_1[90]=復元の必要はありません
    L_1[91]=復元は成功しました
    L_1[92]=復元は中止されました(復元ファイルを検出)

    L_2[90]=No need to Restore.
    L_2[91]=Restore Succeed.
    L_2[92]=Restore Stoped (BackuUp file(s) detected)

    L_3[90]=无复原的必要
    L_3[91]=复原成功
    L_3[92]=复原被中止(查出复原文件)

    ;-------------------
    L_1[100]=...DEFファイルを再構築
    L_1[101]=...DEFファイルをバックアップ
    L_1[102]=...ファイルをバックアップ

    L_2[100]=...Rebuild chars DEF file
    L_2[101]=...BackUp DEF file
    L_2[102]=...file(s) BackUp

    L_3[100]=...重新构造DEF文件
    L_3[101]=...备分DEF文件
    L_3[102]=...备分文件

    ;-------------------
    L_1[110]=...結合: 
    L_1[111]=再構築DEF保存
    L_1[112]=合成CNS保存
    L_1[113]=DEF再構築完了
    L_1[114]=ファイルが存在しません

    L_2[110]=...Combine: 
    L_2[111]=Rebuilded DEF save
    L_2[112]=Rebuilded CNS save
    L_2[113]=DEF Rebuilding completed
    L_2[114]=file(s) not found

    L_3[110] =...结合: 
    L_3[111]=重新组织DEF保存
    L_3[112]=重新组织CNS保存
    L_3[113]=DEF重新组织完毕
    L_3[114]=文件不存在

    ;-------------------
    L_1[120]=を検出 >> 判別...
    L_1[121]=ファイル生成署名を確認 >> 削除
    L_1[122]=ファイル生成署名を確認できません!
    L_1[123]=ファイルの一行目を確認してください

    L_2[120]=Detected >> Verifying...
    L_2[121]=Rebuilding Signature confirmed >> Delete
    L_2[122]=Rebuilding Signature can not be confirmed !
    L_2[123]=check the first line of file

    L_3[120]=検出 >> 验证...
    L_3[121]=确认形成署名 >> 删除
    L_3[122]=不能确认形成署名  !
    L_3[123]=请确认文件的第1行

    ;-------------------
    L_1[130]=有効な
    L_1[131]=を検出 >> 復元
    L_1[132]=無効な
    L_1[133]=を検出

    L_2[130]=Valid
    L_2[131]=detected >> Restore
    L_2[132]=Invalid
    L_2[133]=detected

    L_3[130]=有效的
    L_3[131]=检出 >> 复原
    L_3[132]=无效的
    L_3[133]=检出

    ;-------------------
    L_1[140]=これは PIE によって作られたファイルです。
    L_1[141]=同じフォルダにこのファイルのバックアップがあります。ファイル名は"<同じ名前>.a4bk".
    L_1[142]=復元するには、復元アシストツールを使用するか、或いは、このファイルを削除した後、バックアップの名前から".a4bk"を消すことで可能です。

    L_2[140]=This file is Made by PIE.
    L_2[141]=there is a backup of this file in the same folder, named "<samename>.a4bk".
    L_2[142]=to Restore, use assist tool, or delete this file, then remove ".a4bk" from the neme of backup.

    L_3[140]=此文件是由 PIE 做成.
    L_3[141]=在同文件夹内,有此文件的备份,文件名是"<同名>.a4bk"。
    L_3[142]=如要复原,使用复原助手工具,或者,削除此文件后,从备份名中消除".a4bk",即可。

    ;-------------------
    ; options check boxes
    L_1[150]=キャラのバージョンを更新します
    ;------


    L_1[149]= null ;1.0 ;1.1

    ;;  null : no change
    ;;   1.0 : change to v1.0
    ;;   1.1 : change to v1.1

    ;; new MUGEN engine version of characters
    ;; 動作するムゲン エンジーンのバージョン
    ;; 物动作版本


    ;---
    L_1[151]=合成ファイルを UTF-8 形式で保存 (バージョン1.x専用)
    L_1[152]=共通common1.cns参照するよう Def ファイルを再構築します
    L_1[153]=コントロールを[StateDef -2]に追加します
    L_1[154]=復元ファイルを自動生成します (バックアップ)
    L_1[155]=ログファイル出力
    L_1[156]=
    L_1[157]=
    L_1[158]=ファイル名:
    L_1[159]=行番号:

    L_2[150]=upgrade characters version
    L_2[151]=save CombineFile as UTF-8 format (for ver 1.x)
    L_2[152]=rebuild def file to reference system common1.cns
    L_2[153]=add supplementary sctrls to [StateDef -2]
    L_2[154]=auto create restore files (backup)
    L_2[155]=logfile output
    L_2[156]=
    L_2[157]=
    L_2[158]=FileName:
    L_2[159]=Line:

    L_3[150]=提升人物动作版本
    L_3[151]=以 UTF-8 形式保存合成文件 (只支持1.x版本)
    L_3[152]=重编辑 Def 文件至参照 common1.cns
    L_3[153]=追加命令至 [StateDef -2]
    L_3[154]=自动制作复原文件(备份)
    L_3[155]=记录文件出力
    L_3[156]=
    L_3[157]=
    L_3[158]=文件名:
    L_3[159]=行数:

    ;----------------
    ; check / upgrade cns [160-180]

    L_1[160]=velset
    L_1[161]=snap
    L_1[162]=mindist
    L_1[163]=maxdist
    L_1[164]=vel z
    L_1[165]=pos z
    L_1[166]=gethitvar(zoff)
    ;L_1[167]=sca,#,#,#


PeXXeR

#1256
Posting walls upon walls of code and switches for people that don't know or have not used the bars is  not very helpful.
To someone who's been using them for years at this point its easy. I started messing with them last week.

Its like showing you a Wireshark log, you won't understand anything bar basic stuff and asking you why is the level 3 header not pointing to the right address.

I'll figure it out, thanks though.

2Dee4ever

Everything was a reply to.. Junkerde asked, I answered. Had nothing to do with your troubles.
Quote from: junkerde on March 29, 2019, 11:51:04 PM
i love add004, but the thing that is lacking is documentation etc, for example there's lots of documentation for unotag and its also a simpler system, but all I see are video uploads of features not explained, and what makes it harder is that add004 is a more difficult system to edit. I get that theres a release notes and everything but it would be a whole lot easier if there was something from the author of this to explain.  its why i dont want to fully implement it over unotag just yet (for 3v3)
There is a "How to" read me. Most who post here were able to get it as well as many others who probably took the two secs to read it. The OP made it real simple for everyone to use, if you choose to ignore the information, its on you.

PeXXeR

#1258
"How to" read me huh.

This is what the latest zip contains, Ive checked all of those.

Yep, I understand all of it. (mm2 I would assume is for the screenpack)


Either try to assist people by pointing them to the right direction on what they need to delete/look/whatever
or stop posting pages of code you don't understand yourself.


Anyway, i'm studying the ini's to find the JD code I need to remove, once I figure it out I can post it here so people know exactly what to remove.

2Dee4ever

That is in the right direction.. Hmm posting the "how to" so you can see.. Posting the "changlelog"so you can see. What you are posting now, is slowly getting into that tilt area. You opened the SP file btw, not the lifebars.. For anyone who can read and read context, I'm sure it'll help them, or at least if you didn't know about that information, now you do. Good luck with learning how to read Pexxer, I'm sure you'll get it eventually.