Jump to content


Photo

This Would Be Helpful


  • Please log in to reply
9 replies to this topic

#1 flattspott

flattspott

    X-S Freak

  • Moderator
  • PipPipPipPipPip
  • 1,787 posts
  • Location:Southern California
  • Xbox Version:v1.0
  • 360 version:v1 (xenon)

Posted 22 February 2004 - 03:06 PM

Like the $ActualPath$, only this would be for ActionScripts.

Edited by flattspott, 22 February 2004 - 03:08 PM.


#2 BenJeremy

BenJeremy

    X-S Elysian

  • Head Moderators
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 9,690 posts
  • Gender:Male
  • Xbox Version:v1.1
  • 360 version:v1 (xenon)

Posted 22 February 2004 - 03:08 PM

Well, list any other specials you want, too...

when I hit that code, I'll look at adding them.

#3 flattspott

flattspott

    X-S Freak

  • Moderator
  • PipPipPipPipPip
  • 1,787 posts
  • Location:Southern California
  • Xbox Version:v1.0
  • 360 version:v1 (xenon)

Posted 22 February 2004 - 03:48 PM

Aside from that, all I'd really like is a bit more info in the ActionScriptReadMe.txt file. For the odd stuff that I have no idea what it's for or even how or why I should use them.

Specifically these one

CODE

    - FNMERGE <Path> <Filename> [<Extension>]
-- IQGetMsgID  [<ID>]
-- IQPeekMsgID
-- IQPeekStrength
-- IQPeekShiftStrength
-- IQPeekCtrlStrength
-- IQPeekAltStrength
-- IQGetMsgCount
-- UIGetEvtCount
IQClear
IQTable <name>
IQPushMsg <ID> <Str> <ShftStr> <CtrlStr> <AltStr>
IQWaitMsg [<MsgID> [...<MsgID>]]
ReconfigUIObject <Handle>
UIQClear
UIQGetEvent
UIQPeekEvent


#4 BenJeremy

BenJeremy

    X-S Elysian

  • Head Moderators
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 9,690 posts
  • Gender:Male
  • Xbox Version:v1.1
  • 360 version:v1 (xenon)

Posted 22 February 2004 - 04:24 PM

QUOTE (flattspott @ Feb 22 2004, 12:48 PM)
Aside from that, all I'd really like is a bit more info in the ActionScriptReadMe.txt file. For the odd stuff that I have no idea what it's for or even how or why I should use them.

Specifically these one

CODE

    - FNMERGE <Path> <Filename> [<Extension>]
-- IQGetMsgID  [<ID>]
-- IQPeekMsgID
-- IQPeekStrength
-- IQPeekShiftStrength
-- IQPeekCtrlStrength
-- IQPeekAltStrength
-- IQGetMsgCount
-- UIGetEvtCount
IQClear
IQTable <name>
IQPushMsg <ID> <Str> <ShftStr> <CtrlStr> <AltStr>
IQWaitMsg [<MsgID> [...<MsgID>]]
ReconfigUIObject <Handle>
UIQClear
UIQGetEvent
UIQPeekEvent

-- FNMERGE <Path> <Filename> [<Extension>]
.....Merges a path, base filename and extension into a single, complete file path


-- IQGetMsgID [<ID>]
.....Pops an Input Message from the queue and loads the variable with the Msg ID
-- IQPeekMsgID
.....Peeks (doesn't remove it from the queue) at an Input Message from the queue and loads the variable with the Msg ID
-- IQPeekStrength
.....Peeks (doesn't remove it from the queue) at an Input Message from the queue and loads the variable with the Msg Strength
-- IQPeekShiftStrength
.....Peeks (doesn't remove it from the queue) at an Input Message from the queue and loads the variable with the Msg Shift Strength
-- IQPeekCtrlStrength
.....Peeks (doesn't remove it from the queue) at an Input Message from the queue and loads the variable with the Msg Ctrl Strength
-- IQPeekAltStrength
.....Peeks (doesn't remove it from the queue) at an Input Message from the queue and loads the variable with the Msg Alt Strength
-- IQGetMsgCount
.....Loads the variable with the number of input messages waiting on the Input Queue
-- UIGetEvtCount
.....Loads the variable with the number of UI Event messages waiting on the Input Queue

IQClear
....Clear the Input Queue of messages
IQTable <name>
....Sets the translation table to the named translation table (as defined in the internal.xml or MXM.xml files)
IQPushMsg <ID> <Str> <ShftStr> <CtrlStr> <AltStr>
....Allows you to push a message onto the Input Queue
IQWaitMsg [<MsgID> [...<MsgID>]]
....Waits for a message matching one or more Msg IDs

ReconfigUIObject <Handle>
....Forces the dialog with the given handle to refresh it's configuration (mostly not needed) Why is it not needed? Because if you use the dialog handle to set XML values in the dialog config, it will force the dialog to refresh anyway.

UIQClear
....Clears the UI Event Message Queue
UIQGetEvent
....Pops a UI Event Message from the UI Event Message queue
UIQPeekEvent
....Peeks (does not remove the message form the queue) at a UI Event Message on the UI Event Message queue


#5 flattspott

flattspott

    X-S Freak

  • Moderator
  • PipPipPipPipPip
  • 1,787 posts
  • Location:Southern California
  • Xbox Version:v1.0
  • 360 version:v1 (xenon)

Posted 22 February 2004 - 05:23 PM

Thanks alot. smile.gif

#6 geniusalz

geniusalz

    Team MXM

  • Head Moderators
  • PipPipPipPipPip
  • 1,827 posts
  • Gender:Male
  • Xbox Version:v1.1
  • 360 version:unknown

Posted 22 February 2004 - 06:11 PM

When is the UI event queue needed? AFAIK, each event is triggered instantaneously.

#7 BenJeremy

BenJeremy

    X-S Elysian

  • Head Moderators
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 9,690 posts
  • Gender:Male
  • Xbox Version:v1.1
  • 360 version:v1 (xenon)

Posted 22 February 2004 - 07:01 PM

QUOTE (geniusalz @ Feb 22 2004, 03:11 PM)
When is the UI event queue needed? AFAIK, each event is triggered instantaneously.

For modeless dialogs wink.gif

You might want to monitor the queue if you were displaying a progress dialog, for example.

#8 Kthulu

Kthulu

    X-S Freak

  • XS-BANNED
  • PipPipPipPipPip
  • 1,287 posts
  • Xbox Version:v1.0
  • 360 version:unknown

Posted 28 February 2004 - 02:58 AM

as far as $ScriptPath$ goes, if you are just wanting the path to the currently running script, try this...

CODE

BeginDraw
 MessageBox "Hello, i am a script.  My path is %0%"
EndDraw

Edited by Kthulu, 28 February 2004 - 03:25 AM.


#9 LarryX

LarryX

    X-S Young Member

  • Members
  • Pip
  • 42 posts
  • Xbox Version:v1.0

Posted 13 March 2004 - 08:39 PM

QUOTE
Like the $ActualPath$, only this would be for ActionScripts.



I use a script under _autoexec in mxm.xml...

To keep MXM versital these paths would need to be editable most likely in the mxm.xml... I don't like using $ActualPath$ because it's realative to where mxm is run from. An absolute path edited by the user one time I think would be better...

CODE
;#
;#Set MXM Scripting Enviroment Path Variables
;#auto load in AutoExec in MXM.xml
;#


SET _scriptpath "c:\\mxm\\mxmscripts\\"
SET _gamepath "f:\\games\\"
;SET _appspatch "f:\\apps\\"
;SET _skinpath "c:\\mxm\\mxmskins\\"
;SET _mediapath "e:\\mxmmedia\\"
;SET _thumbspath "e:\\mxmmedia\\"
;SET _coverartpath "e:\\mxmmedia\\"


#10 flattspott

flattspott

    X-S Freak

  • Moderator
  • PipPipPipPipPip
  • 1,787 posts
  • Location:Southern California
  • Xbox Version:v1.0
  • 360 version:v1 (xenon)

Posted 13 March 2004 - 10:22 PM

That is a badass idea, why didn't I think of that?

I'm gonna make this into a script that puts nodes just for that into the MXM xml and the use and autoexec script to get the paths.

Edited by flattspott, 13 March 2004 - 10:22 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users