Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Ikemen extensions / Extensões do Ikemen

State controllers and triggers from Ikemen GO that characters can use in CNS or ZSS.

Controllers e triggers do Ikemen GO que personagens podem usar em CNS ou ZSS.

ControllerParametersEffect
MapSetmap, value, type (1 = add)Sets a named value on the player
MapAddmap, valueAdds to a named value
MapResetmap (omit for all keys)Removes one key, or every key, from the player's map
TeamMapSet / TeamMapAdd / TeamMapResetsame as MapSet / MapAdd / MapResetSame operations on the map shared by every player and helper on the same side
RootMapSet / RootMapAdd / RootMapResetsame as MapSet / MapAdd / MapResetSame operations on the root player's map
ParentMapSet / ParentMapAdd / ParentMapResetsame as MapSet / MapAdd / MapResetSame operations on the parent's map; does nothing without a parent
RootVarSet / RootVarAddvar(n), fvar(n), sysvar(n), sysfvar(n) or v / fv + valueWrites variables on the root player, like ParentVarSet does on the parent
RedLifeSet / RedLifeAddvalue, absoluteRecoverable (red) life, kept between life and lifemax
DizzyPointsSet / DizzyPointsAddvalueStun points, 0..data.dizzypoints
DizzySetvalueDizzy flag
GuardPointsSet / GuardPointsAddvalueGuard points, 0..data.guardpoints
GuardBreakSetvalueGuard break flag
Texttext, params, pos, velocity, scale, color, align, removetime, idDraws text on the fight screen; %d, %f, %s and \n in text take values from params (%s prints the mode name for a bare TeamMode, otherwise the integer)
RemoveTextid (omit for all)Removes the player's texts
TagOut / TagInself, stateno, ctrl, partnerstateno, partnerctrlMoves the player to or from standby (hidden, cannot be hit or pushed); partnerstateno swaps with the first teammate. In Tag mode they perform a real swap (cooldown ignored): TagOut brings the next living teammate in, TagIn on a standby fighter brings it in
ModifyProjectileid, velocity, accel, velmul, removetime, projhits, projpriority, projscaleChanges the player's live projectiles
ModifySndchannel, pan, abspan, volumescaleChanges sounds already playing on a channel
PlayBGMbgm, volume, loop, loopstart, loopend, freqmulStarts a music track (volume in percent); an empty bgm stops the music. The engine only emits an event; the app resolves the file: "stage" is the stage's own track, "builtin:N" a built-in track, other names must have been registered by the app
StopBGMStops the music
ModifyBGMvolume, loop, loopstart, loopend, freqmulvolume applies to the playing track at once; loop is used by the next PlayBGM; loopstart, loopend and freqmul are emitted as events but changing them while a track plays is not applied yet
ModifyStageVarcamera.boundleft, camera.boundright, camera.boundhigh, camera.boundlow, camera.verticalfollow, camera.tension, camera.startx, camera.starty, camera.zoomout, stageinfo.zoffset, playerinfo.p1startx, playerinfo.p2startxChanges the running stage; the part before the dot is optional. Values are in character units; camera position is clamped to the new bounds at once and zoffset is re-applied through the zoom. startx / starty apply on the next round
ModifyStageBGid (omit or -1 for all layers), visible, enabled, velocity, pos, offset, sinx, siny, animChanges background layers of the running stage; pos is absolute, offset is added
ModifyBGCtrlid (target layer id), time (start, end, loop), looptime, value, x, yEdits the stage's BGCtrl entries that target id (all when omitted); the edits last until the round restarts
ModifyPlayerid (omit for self), life, lifemax, power, powermax, ctrl, ailevel, redlife, dizzypoints, guardpointsWhitelisted fields only, always clamped (ailevel 0..8, power lives on the root)
PrintToConsoletext, paramsAppends a line to the match's compatibility log (Match::console); %d, %f and \n as in Text. At most 20 lines per second per match, 200 lines kept, 240 characters per line
RunStatevalueRuns the controllers of state value (from the state owner) once, in the current tick, without changing stateno or Time; variables are shared, persistent and ignorehitpause of the inner controllers are respected, nesting stops after 8 levels
Heightvalue = top[, bottom]Sets the body height for the current tick (default size.height, bottom 0); used by player push and as the hurtbox of frames that have none
GetHitVarSethittype, animtype, airtype, groundtype, damage, hitcount, guardcount, hitshaketime, hittime, slidetime, ctrltime, xvel, yvel, yaccel, chainid, guarded, fall, fall.damage, fall.xvel, fall.yvel, fall.recover, fall.time, fall.recovertime, fall.kill, kill, id, playernoWrites the listed GetHitVar fields (type is spelled hittype because type names the controller); GetHitVar(attr) is not available yet
ModifyHitDefany HitDef parameterOverwrites only the listed fields of the HitDef that is active; nothing happens without one
ModifyReversalDefany ReversalDef parameter, reversal.attrSame for the pending ReversalDef
OverrideClsnclsn (1 attack, 2 hurt, default 2), index (-1 replaces the whole list), value = x1, y1, x2, y2, time (default 1, -1 = until replaced)Replaces a collision box in animation units
ResizeClsnclsn, index (-1 = all boxes), value = dx1, dy1, dx2, dy2, timeMoves each edge of the box by the given deltas
TransformClsnclsn, scale = sx[, sy], offset = x, y, timeScales then shifts every box of that type
AssertCommandvalue (or name), time (default 1)Makes that command active for time ticks; Command and the built-in walk, guard and jump states see it even outside the input window
AssertInputvalue (input bits), time (default 1)ORs the bits into the player's input for time ticks, so Command matches the injected press
ShiftInputvaluePositive pushes value extra history ticks (the input arrives later), negative drops that many ticks

Collision modifiers apply in the order they were added, are replaced when the same kind of change is issued again for the same box type (and index), count down once per tick, and are reflected by the F2 box view. time = -1 keeps a modifier until another one replaces it.

PT-BR: RunState executa os controllers de outro state sem trocar de state; Height ajusta a altura do corpo no tick; GetHitVarSet grava campos do GetHitVar (hittype no lugar de type); ModifyHitDef e ModifyReversalDef alteram só os campos listados; OverrideClsn, ResizeClsn e TransformClsn (clsn = 1 ataque, 2 corpo) mudam as caixas de colisão e aparecem no F2.

PT-BR: AssertCommand mantém um comando ativo por time ticks; AssertInput injeta bits no input do jogador pelos próximos time ticks; ShiftInput empurra (positivo) ou descarta (negativo) ticks do histórico de inputs.

TriggerReturns
Map(name)Named value, 0 when unset (use Root, Map(name) or Parent, Map(name) to read another scope)
TeamMap(name)Value in the team map of the player's side, 0 when unset
RedLifeRed life
Dizzy, DizzyPoints, DizzyPointsMaxDizzy flag and points
GuardBreak, GuardPoints, GuardPointsMaxGuard break flag and points
StandBy1 while tagged out
NumTextTexts the player has on screen
ClsnOverlap(clsn1, id, clsn2)1 when the player's box type overlaps the box type of the player with that id
NumPartnerTeammates on the same side
IsAsserted(flag)1 while the AssertSpecial flag is on (character or global flag)
TeamMode0 single, 1 simul (Parallel), 2 turns (Sequence), 3 tag (reserved, no tag mode yet). Also accepts TeamMode = Simul, TeamMode = turns, TeamMode = 1 (names are case-insensitive)
TeamSizeMembers of the player's team (the whole roster in Sequence mode, the fielded players otherwise)
TeamLeaderPlayerNo of the player's team leader
NumPlayerPlayers in the match (both rosters; 6 for a 3v3 Sequence, 10 for a 5v5 Parallel)
PlayerNo1-based slot of the player: P1, P2, P3... interleaved by side (a helper reports its root's slot); in Sequence mode member * 2 + side + 1
MemberNo1-based position of the player in its team (a helper reports its root's position)
PlayerIndexExist(n)1 when the 0-based index n exists in the match player list (helpers included)
LastPlayerIDID of the most recently created player or helper
IntroState1 before the intro starts, 2 while the intro plays, 0 afterwards
OutroState1 while the round is decided (KO / time over), 2 during the win poses, 0 otherwise

Map keys are case-insensitive. Each map holds at most 256 keys of at most 64 characters; writes that would exceed either limit are ignored.

Chaves de map não diferenciam maiúsculas. Cada map guarda no máximo 256 chaves de até 64 caracteres; escritas acima desses limites são ignoradas.

data.dizzypoints and data.guardpoints in the [Data] section default to data.life. How hits spend these values is described in Red life, dizzy and guard points.

data.dizzypoints e data.guardpoints na seção [Data] usam data.life como padrão.

Helper accepts helpertype = projectile: the helper's HitDef contacts count as projectile hits (ProjHit, ProjContact, ProjGuarded and their *Time forms fire on the helper and on its root, keyed by the helper id), the attacker is not put in hit pause and the helper has no hurtbox. ownprojectile = 1 keeps the projectiles the helper fires on the helper: NumProj and NumProjID of the helper count them and the root does not. size.* parameters (for example size.xscale, size.yscale, size.height, size.ground.back) override the character constants for that helper only, including Const(size.*) and the size of its hurtboxes. A helper spawned by another helper inherits the parent's size.* overrides unless it is spawned with ownclsnscale = 1, which starts from the character's own constants.

Helper aceita helpertype = projectile: os contatos do HitDef do helper contam como acertos de projétil (ProjHit, ProjContact, ProjGuarded e as formas *Time valem no helper e no root, indexados pelo id do helper), o atacante não entra em hit pause e o helper não tem hurtbox. ownprojectile = 1 mantém no helper os projéteis que ele dispara: NumProj e NumProjID do helper os contam e o root não. Os parâmetros size.* (por exemplo size.xscale, size.yscale, size.height, size.ground.back) substituem as constantes do personagem só para aquele helper, inclusive Const(size.*) e o tamanho das hurtboxes. Um helper criado por outro helper herda os size.* do pai, a menos que seja criado com ownclsnscale = 1, que parte das constantes do próprio personagem.

Module controllers / Controllers de módulo

Ikemen GO modules and motifs use these controllers. They are always parsed (a character that contains them still loads and runs); the table says what each one does here. A controller that is not supported does nothing and writes one warning line to the match's compatibility log (Match::console) the first time it runs. The list lives in ume_engine::sctrl::module::MODULE_CONTROLLERS so tools can query it with module_status(name) / rejected_by_design().

Controllers de módulo do Ikemen GO são sempre interpretados (o personagem carrega e roda); os não suportados não fazem nada e registram um aviso único no log de compatibilidade.

ControllerStatusNotes
MatchRestartsupportedResets wins and the round counter and restarts at the start of the next tick
LoadFile, SaveFilerejected by designCharacters never get file access; content runs in a sandbox
ShaderSetrejected by designThe renderer has a fixed pipeline; user shader code is not loaded
Storyboard, RemoveStoryboard, Dialogueplanned[SceneDef] files are parsed but there is no storyboard runtime yet
SaveState, LoadStateplannedNeeds the rollback snapshot of the match (see the roadmap)
LifebarActionplannedThe HUD has no scripting hooks yet
ChangeMovelistplannedThe movelist is fixed at load time