User:Midiman

-- Huge Table Of useful SM4 Message -- -- Ver 1.00 [ Typical Pro Scan ] - CoinInsertedMessageCommand Occurs when an credit is inserted CoinModeChangedMessageCommand Occurs when the coin mode is changed ( Home, Pay, Free Play ) PlayerJoinedMessageCommand Occurs when a player joins the game ( must have enough credits ) PlayerUnjoinedMessageCommand Occurs when a player leaves the game ( anytime join must be enabled? ) SongChosenMessageCommand Occurs when a song is chosen in ScreenSelectMusic CurrentStyleChangedMessageCommand Occurs when a style is changed HurryTimerMessageCommand Occurs when start is hit in [ScreenContinue] or any child of it EntryChangedMessageCommand Occurs when the player entry text is changed in [ScreenNameEntry] or any child of it PlayerFinishedMessageCommand Occurs when a player finishes entering text in [ScreenNameEntry] or any child of it SelectKeyMessageCommand Occurs when a player hits select ( Maybe only [ScreenNameEntry] ? ) MenuTimerExpiredMessageCommand Occurs when [ScreenNameEntry] runs out of time SaveCommand Not a Message. Occurs in Exit(?) of [ScreenGameOver] OptionsListOpenedMessageCommand OptionsListClosedMessageCommand OptionsMenuChangedMessageCommand OptionsListLeftMessageCommand OptionsListRightMessageCommand OptionsListQuickChangeMessageCommand OptionsListPushMessageCommand OptionsListPopMessageCommand OptionsListStartMessageCommand OptionsListResetMessageCommand OptionsListClosedMessageCommand Tons of OptionsList control messages, specifically designed to do what they say on the tin. SelectMenuOpenedMessageCommand If UseSelectMenu is true in [ScreenSelectMusic], this will occur when select is pressed for any player StepsSelectedMessageCommand Used when MusicWheel has picked a set of steps ( used for 	TwoPartSelection ) StepsUnselectedMessageCommand The reverse of StepsSelectedMessageCommand where a player decides to pick a different set of steps SongChosenMessageCommand Occurs when MusicWheel has picked a song ( used for TwoPartSelection ) SortOrderChangedMessageCommand Occurs when the sort order has changed SongOptionsChangedMessageCommand Occurs when song options like haste, failoff and others are selected or 	modified PlayerOptionsChangedP1MessageCommand PlayerOptionsChangedP2MessageCommand Occurs when a player enters an option code or any other instance otherwise ShowPressStartForOptionsCommand ShowEnteringOptionsCommand HidePressStartForOptionsCommand Private commands for [ScreenSelectMusic], where an object can be displayed for the options screen dispaly ( Press Start for More Options, Now Entering	and Dismissal )

Circular Equation X Axis: math.cos( offset / pi ) * range Y Axis: math.sin( offset / pi ) * range

Example: ScrollerTransform=function(self,offset,itemIndex,numItems) local fItemWidth = 128; self:x(offset * itemWidth); local fZoom = scale(math.cos( offset / math.pi ) * fItemWidth,-fItemWidth*(numItems/2),fItemWidth*(numItems/2),0.5,1); self:zoom(fZoom); end

Raw dump of messages in SM4 SVN SSC [ 2009 - 01 - 12 ] Used SciTE Version 1.75-wbd-1 >> Message msg Actor.cpp:1398:		Message msg( SArg(1), ParamTable ); CourseContentsList.cpp:135:		Message msg("SetSong"); GameSoundManager.cpp:612:			Message msg("CrossedBeat"); GameState.cpp:363:	Message msg( MessageIDToString(Message_PlayerJoined) ); GameState.cpp:383:	Message msg( MessageIDToString(Message_PlayerUnjoined) ); GhostArrowRow.cpp:98:	Message msg("ColumnJudgment"); GhostArrowRow.cpp:116:	Message msg("ColumnJudgment"); LifeMeterBar.cpp:244:	Message msg( "LifeChanged" ); LifeMeterTime.cpp:159:	Message msg( "LifeChanged" ); MessageManager.cpp:212:	Message msg(sMessage); MessageManager.cpp:280:		Message msg( SArg(1), ParamTable ); MusicWheelItem.cpp:261:		Message msg( "Set" ); MusicWheelItem.cpp:330:		Message msg( "SetGrade" ); NoteDisplay.cpp:715:		Message msg( "SetAttack" ); OptionRow.cpp:648:	Message msg( "Refresh" ); OptionsList.cpp:360:	Message msg(""); OptionsList.cpp:395:					Message msg("OptionsListQuickChange"); OptionsList.cpp:421:		Message msg("OptionsListLeft"); OptionsList.cpp:442:		Message msg("OptionsListRight"); OptionsList.cpp:486:	Message msg("OptionsMenuChanged"); OptionsList.cpp:657:		Message msg("OptionsListPop"); OptionsList.cpp:682:			Message msg("OptionsListReset"); OptionsList.cpp:696:		Message msg("OptionsListPush"); OptionsList.cpp:709:	Message msg("OptionsListStart"); Player.cpp:271:				Message msg( "Transform" ); Player.cpp:569:	Message msg( "ComboChanged" ); Player.cpp:1520:	Message msg( "ScoreNone" ); Player.cpp:2205:		Message msg( "Step" ); Player.cpp:2822:	Message msg("Judgment"); Player.cpp:2838:	Message msg("Judgment"); Player.cpp:2872:	Message msg("Combo"); ScoreDisplayNormal.cpp:41:	Message msg("Load"); ScoreKeeperGuitar.cpp:38:		Message msg( "ScoreChanged" ); ScoreKeeperGuitar.cpp:69:		Message msg( "ScoreChanged" ); ScoreKeeperNormal.cpp:164:	Message msg( "ScoreChanged" ); ScoreKeeperNormal.cpp:540:		Message msg( "ScoreChanged" ); ScoreKeeperNormal.cpp:696:	Message msg( "ScoreChanged" ); ScoreKeeperNormal.cpp:727:	Message msg( "ScoreChanged" ); Screen.cpp:176:	Message msg(""); ScreenContinue.cpp:74:			Message msg("HurryTimer"); ScreenGameplay.cpp:1577:			Message msg( "HealthStateChanged" ); ScreenGameplay.cpp:1624:				Message msg("PlayerFailed"); ScreenGameplay.cpp:2068:					Message msg( i == 0 ? "NoteCrossed" : "NoteWillCross" ); ScreenHighScores.cpp:115:	Message msg("Set"); ScreenHighScores.cpp:313:	Message msg("Scrolled"); ScreenManager.cpp:770:	Message msg( "SystemMessage" ); ScreenManager.cpp:779:	Message msg( "SystemMessage" ); ScreenNameEntryTraditional.cpp:116:			Message msg("MenuTimerExpired"); ScreenNameEntryTraditional.cpp:173:		Message msg("PlayerFinished"); ScreenNameEntryTraditional.cpp:190:	Message msg("EntryChanged"); ScreenNameEntryTraditional.cpp:219:	Message msg("SelectKey"); ScreenNetRoom.cpp:108:				Message msg( MessageIDToString(Message_UpdateScreenHeader) ); ScreenSelectMaster.cpp:291:		Message msg("PostSwitchPage"); ScreenSelectMaster.cpp:500:	Message msg("PreSwitchPage"); ScreenSelectMusic.cpp:424:		Message msg("StepsUnchosen"); ScreenSelectMusic.cpp:633:		Message msg( "PlayerOptionsChanged" ); ScreenSelectMusic.cpp:654:		Message msg( bSelectIsDown ? "SelectMenuOpened" : "SelectMenuClosed" ); ScreenSelectMusic.cpp:734:	Message msg( "ChangeSteps" ); ScreenSelectMusic.cpp:957:				Message msg("StepsChosen"); ScreenSelectMusic.cpp:977:	Message msg( "Start" + SelectionStateToString(m_SelectionState) ); ScreenSelectMusic.cpp:996:				Message msg("StepsChosen"); ScreenSelectMusic.cpp:1376:	Message msg("OptionsListOpened"); ScreenSelectMusic.cpp:1384:	Message msg("OptionsListClosed"); ScreenWithMenuElements.cpp:166:	Message msg("SetHelpText"); smlobby\irc.cpp:289:				CIrcMessage msg(pStart, true); StepMania.cpp:1218:	Message msg( "CoinInserted" ); StepMania.cpp:1238:	Message msg( "CoinInserted" ); StepsDisplay.cpp:112:	Message msg("Load"); StepsDisplay.cpp:184:	Message msg( "Set" ); TextBanner.cpp:70:	Message msg("AfterSet"); >Exit code: 0

Raw dump of param sets in SM4 SVN SSC used SciTE Version 1.75-wbd-1 >findstr /I /P /R /S /N /G:/ *.c *.cpp *.cxx *.h >> msg.SetParam CodeSet.cpp:51:	msg.SetParam( "PlayerNumber", input.pn ); CodeSet.cpp:52:	msg.SetParam( "Name", sCodeName ); CourseContentsList.cpp:136:		msg.SetParam( "PlayerNumber", pn ); CourseContentsList.cpp:137:		msg.SetParam( "Song", te->pSong ); CourseContentsList.cpp:138:		msg.SetParam( "Steps", te->pSteps ); CourseContentsList.cpp:139:		msg.SetParam( "Difficulty", dc ); CourseContentsList.cpp:140:		msg.SetParam( "Meter", s ); CourseContentsList.cpp:141:		msg.SetParam( "Number", iCourseEntryIndex+1 ); CourseContentsList.cpp:142:		msg.SetParam( "Modifiers", te->Modifiers ); CourseContentsList.cpp:143:		msg.SetParam( "Secret", te->bSecret ); GameSoundManager.cpp:613:			msg.SetParam( "Beat", iBeat ); GameState.cpp:364:	msg.SetParam( "Player", pn ); GameState.cpp:384:	msg.SetParam( "Player", pn ); GhostArrowRow.cpp:99:	msg.SetParam( "TapNoteScore", tns ); GhostArrowRow.cpp:101:		msg.SetParam( "Bright", true ); GhostArrowRow.cpp:117:	msg.SetParam( "HoldNoteScore", hns ); GhostArrowRow.cpp:119:		msg.SetParam( "Bright", true ); LifeMeterBar.cpp:245:	msg.SetParam( "Player", m_pPlayerState->m_PlayerNumber ); LifeMeterBar.cpp:246:	msg.SetParam( "LifeMeter", LuaReference::CreateFromPush(*this) ); LifeMeterTime.cpp:160:	msg.SetParam( "Player", m_pPlayerState->m_PlayerNumber ); LifeMeterTime.cpp:161:	msg.SetParam( "TapNoteScore", LuaReference::Create(tns) ); LifeMeterTime.cpp:162:	msg.SetParam( "HoldNoteScore", LuaReference::Create(hns) ); LifeMeterTime.cpp:163:	msg.SetParam( "OldLife", fOldLife ); LifeMeterTime.cpp:164:	msg.SetParam( "Difference", fOldLife - m_fLifeTotalLostSeconds ); LifeMeterTime.cpp:165:	msg.SetParam( "LifeMeter", LuaReference::CreateFromPush(*this) ); MusicWheelItem.cpp:262:		msg.SetParam( "Song", pWID->m_pSong ); MusicWheelItem.cpp:263:		msg.SetParam( "Course", pWID->m_pCourse ); MusicWheelItem.cpp:264:		msg.SetParam( "Index", iIndex ); MusicWheelItem.cpp:265:		msg.SetParam( "HasFocus", bHasFocus ); MusicWheelItem.cpp:266:		msg.SetParam( "SongGroup", pWID->m_sText ); MusicWheelItem.cpp:331:		msg.SetParam( "PlayerNumber", p ); MusicWheelItem.cpp:334:			msg.SetParam( "Grade", pHSL->HighGrade ); MusicWheelItem.cpp:335:			msg.SetParam( "NumTimesPlayed", pHSL->GetNumTimesPlayed ); NoteDisplay.cpp:716:		msg.SetParam( "Modifiers", tn.sAttackModifiers ); OptionRow.cpp:649:	msg.SetParam( "GameCommand", &gc ); OptionsList.cpp:396:					msg.SetParam( "Player", pn ); OptionsList.cpp:397:					msg.SetParam( "Direction", iDir ); OptionsList.cpp:422:		msg.SetParam( "Player", input.pn ); OptionsList.cpp:443:		msg.SetParam( "Player", input.pn ); OptionsList.cpp:487:	msg.SetParam( "Player", m_pn ); OptionsList.cpp:488:	msg.SetParam( "Menu", m_asMenuStack.back ); OptionsList.cpp:658:		msg.SetParam( "Player", m_pn ); OptionsList.cpp:683:			msg.SetParam( "Player", m_pn ); OptionsList.cpp:697:		msg.SetParam( "Player", m_pn ); OptionsList.cpp:710:	msg.SetParam( "Player", m_pn ); Player.cpp:272:				msg.SetParam( "Player", pPlayerState->m_PlayerNumber ); Player.cpp:273:				msg.SetParam( "MultiPlayer", pPlayerState->m_mp ); Player.cpp:274:				msg.SetParam( "iEnabledPlayerIndex", iEnabledPlayerIndex ); Player.cpp:275:				msg.SetParam( "iNumEnabledPlayers", iNumEnabledPlayers ); Player.cpp:276:				msg.SetParam( "bPlayerUsingBothSides", bPlayerUsingBothSides ); Player.cpp:277:				msg.SetParam( "bReverse", !!i ); Player.cpp:278:				msg.SetParam( "bCentered", !!j ); Player.cpp:570:	msg.SetParam( "Player", m_pPlayerState->m_PlayerNumber ); Player.cpp:571:	msg.SetParam( "OldCombo", iOldCombo ); Player.cpp:572:	msg.SetParam( "OldMissCombo", iOldMissCombo ); Player.cpp:574:		msg.SetParam( "PlayerState", LuaReference::CreateFromPush(*m_pPlayerState) ); Player.cpp:576:		msg.SetParam( "PlayerStageStats", LuaReference::CreateFromPush(*m_pPlayerStageStats) ); Player.cpp:2206:		msg.SetParam( "PlayerNumber", m_pPlayerState->m_PlayerNumber ); Player.cpp:2207:		msg.SetParam( "MultiPlayer", m_pPlayerState->m_mp ); Player.cpp:2823:	msg.SetParam( "Player", m_pPlayerState->m_PlayerNumber ); Player.cpp:2824:	msg.SetParam( "MultiPlayer", m_pPlayerState->m_mp ); Player.cpp:2825:	msg.SetParam( "FirstTrack", iTrack ); Player.cpp:2826:	msg.SetParam( "TapNoteScore", tns ); Player.cpp:2827:	msg.SetParam( "Early", fTapNoteOffset < 0.0f ); Player.cpp:2828:	msg.SetParam( "TapNoteOffset", fTapNoteOffset ); Player.cpp:2839:	msg.SetParam( "Player", m_pPlayerState->m_PlayerNumber ); Player.cpp:2840:	msg.SetParam( "MultiPlayer", m_pPlayerState->m_mp ); Player.cpp:2841:	msg.SetParam( "FirstTrack", iTrack ); Player.cpp:2842:	msg.SetParam( "TapNoteScore", tns ); Player.cpp:2843:	msg.SetParam( "HoldNoteScore", hns ); Player.cpp:2874:		msg.SetParam( "Combo", iCombo ); Player.cpp:2876:		msg.SetParam( "Misses", iMisses ); Player.cpp:2878:		msg.SetParam( "FullComboW1", true ); Player.cpp:2880:		msg.SetParam( "FullComboW2", true ); Player.cpp:2882:		msg.SetParam( "FullComboW3", true ); ScoreDisplayNormal.cpp:42:	msg.SetParam( "PlayerState", LuaReference::CreateFromPush(*pPlayerState_) ); ScoreDisplayNormal.cpp:43:	msg.SetParam( "PlayerStageStats", LuaReference::CreateFromPush(*pPlayerStageStats_) ); ScoreKeeperGuitar.cpp:39:		msg.SetParam( "PlayerNumber", m_pPlayerState->m_PlayerNumber ); ScoreKeeperGuitar.cpp:40:		msg.SetParam( "MultiPlayer", m_pPlayerState->m_mp ); ScoreKeeperGuitar.cpp:70:		msg.SetParam( "PlayerNumber", m_pPlayerState->m_PlayerNumber ); ScoreKeeperGuitar.cpp:71:		msg.SetParam( "MultiPlayer", m_pPlayerState->m_mp ); ScoreKeeperNormal.cpp:165:	msg.SetParam( "PlayerNumber", m_pPlayerState->m_PlayerNumber ); ScoreKeeperNormal.cpp:166:	msg.SetParam( "MultiPlayer", m_pPlayerState->m_mp ); ScoreKeeperNormal.cpp:541:		msg.SetParam( "PlayerNumber", m_pPlayerState->m_PlayerNumber ); ScoreKeeperNormal.cpp:542:		msg.SetParam( "MultiPlayer", m_pPlayerState->m_mp ); ScoreKeeperNormal.cpp:697:	msg.SetParam( "PlayerNumber", m_pPlayerState->m_PlayerNumber ); ScoreKeeperNormal.cpp:698:	msg.SetParam( "MultiPlayer", m_pPlayerState->m_mp ); ScoreKeeperNormal.cpp:728:	msg.SetParam( "PlayerNumber", m_pPlayerState->m_PlayerNumber ); ScoreKeeperNormal.cpp:729:	msg.SetParam( "MultiPlayer", m_pPlayerState->m_mp ); ScreenContinue.cpp:75:			msg.SetParam( "PlayerNumber", input.pn ); ScreenGameplay.cpp:1578:			msg.SetParam( "PlayerNumber", pi->m_pn ); ScreenGameplay.cpp:1579:			msg.SetParam( "HealthState", hs ); ScreenGameplay.cpp:1625:				msg.SetParam( "PlayerNumber", pi->m_pn ); ScreenGameplay.cpp:2069:					msg.SetParam( "ButtonName", sButton ); ScreenGameplay.cpp:2070:					msg.SetParam( "NumMessagesFromCrossed", i ); ScreenHighScores.cpp:117:		msg.SetParam( "Song", data.m_pSong ); ScreenHighScores.cpp:119:		msg.SetParam( "Course", data.m_pCourse ); ScreenHighScores.cpp:125:	msg.SetParamFromStack( L, "Entries" ); ScreenHighScores.cpp:314:	msg.SetParam( "Dir", iDir ); ScreenManager.cpp:771:	msg.SetParam( "Message", sMessage ); ScreenManager.cpp:772:	msg.SetParam( "NoAnimate", false ); ScreenManager.cpp:780:	msg.SetParam( "Message", sMessage ); ScreenManager.cpp:781:	msg.SetParam( "NoAnimate", true ); ScreenNameEntryTraditional.cpp:174:		msg.SetParam( "PlayerNumber", pn ); ScreenNameEntryTraditional.cpp:191:	msg.SetParam( "PlayerNumber", pn ); ScreenNameEntryTraditional.cpp:192:	msg.SetParam( "Text", WStringToRString(sText) ); ScreenNameEntryTraditional.cpp:220:	msg.SetParam( "PlayerNumber", pn ); ScreenNameEntryTraditional.cpp:221:	msg.SetParam( "Key", sKey ); ScreenNetRoom.cpp:109:				msg.SetParam( "Header", title ); ScreenNetRoom.cpp:110:				msg.SetParam( "Subheader", subtitle ); ScreenSelectMaster.cpp:292:		msg.SetParam( "NewPageIndex", (int)newPage ); ScreenSelectMaster.cpp:501:	msg.SetParam( "OldPageIndex", (int)oldPage ); ScreenSelectMaster.cpp:502:	msg.SetParam( "NewPageIndex", (int)newPage ); ScreenSelectMusic.cpp:425:		msg.SetParam( "Player", input.pn ); ScreenSelectMusic.cpp:634:		msg.SetParam( "PlayerNumber", input.pn ); ScreenSelectMusic.cpp:655:		msg.SetParam( "Player", pn ); ScreenSelectMusic.cpp:735:	msg.SetParam( "Player", pn ); ScreenSelectMusic.cpp:958:				msg.SetParam( "Player", pn ); ScreenSelectMusic.cpp:997:				msg.SetParam( "Player", p ); ScreenSelectMusic.cpp:1377:	msg.SetParam( "Player", pn ); ScreenSelectMusic.cpp:1385:	msg.SetParam( "Player", pn ); ScreenWithMenuElements.cpp:167:	msg.SetParam( "Text", s ); StepMania.cpp:1220:	//msg.SetParam( "Coins", GAMESTATE->m_iCoins ); StepMania.cpp:1221:	//msg.SetParam( "Inserted", iNum ); StepMania.cpp:1222:	//msg.SetParam( "MaxCredits", bMaxCredits ); StepMania.cpp:1240:	//msg.SetParam( "Coins", GAMESTATE->m_iCoins ); StepMania.cpp:1241:	//msg.SetParam( "Clear", true ); StepsDisplay.cpp:114:		msg.SetParam( "PlayerState", LuaReference::CreateFromPush(*pPlayerState_) ); StepsDisplay.cpp:186:		msg.SetParam( "Steps", LuaReference::CreateFromPush(*(Steps*)params.pSteps) ); StepsDisplay.cpp:188:		msg.SetParam( "Trail", LuaReference::CreateFromPush(*(Trail*)params.pTrail) ); StepsDisplay.cpp:189:	msg.SetParam( "Meter", params.iMeter ); StepsDisplay.cpp:190:	msg.SetParam( "StepsType", params.st ); StepsDisplay.cpp:191:	msg.SetParam( "Difficulty", params.dc ); StepsDisplay.cpp:192:	msg.SetParam( "IsCourseDifficulty", params.bIsCourseDifficulty ); StepsDisplay.cpp:193:	msg.SetParam( "Description", params.sDescription ); StepsDisplay.cpp:198:		msg.SetParam( "CustomDifficulty", sCustomDifficulty ); >Exit code: 0