|
|
Line 1: |
Line 1: |
| [[Category:AGI Pages]] | | [[Category:AGI Pages]] |
| [[AGI Command Reference|AGI Command Reference Index]]<br />
| | <div align="center" style="font-size: 22pt">AGI DIR File</div> |
|
| |
|
| <div align="center">
| |
| Page:
| |
| [[AGI Command Reference - Arithmetic Commands|1]] |
| |
| [[AGI Command Reference - Commands to Load and unLoad Resources|2]] |
| |
| [[AGI Command Reference - Program Control Commands|3]] |
| |
| [[AGI Command Reference - Object Control Commands|4]] |
| |
| [[AGI Command Reference - Object Description Commands|5]] |
| |
| [[AGI Command Reference - Object Motion Control Commands|6]] |
| |
| [[AGI Command Reference - Inventory Item Management Commands|7]] |
| |
| [[AGI Command Reference - Picture Resource Management Commands|8]] |
| |
| [[AGI Command Reference - Sound Resource Management Commands|9]] |
| |
| [[AGI Command Reference - Text Management Commands|10]] |
| |
| [[AGI Command Reference - String Management Commands|11]] |
| |
| [[AGI Command Reference - Initialization Commands|12]] |
| |
| [[AGI Command Reference - Menu Management Commands|13]] |
| |
| [[AGI Command Reference - Test Commands|14]] |
| |
| [[AGI Command Reference - Other Commands|15]] |
| |
| [[AGI Command Reference - Unknown Commands|16]]
| |
| </div><br />
| |
|
| |
|
| <div align="center"><span style="font-size: 22pt">Unknown Commands</span><br /> | | <div id="DIRFiles"></div>[[AGI LOGDIR File|LOGDIR]], [[AGI VIEWDIR File|VIEWDIR]], [[AGI PICDIR File|PICDIR]], and [[AGI SNDDIR File|SNDDIR]] are directory files give the location of each of Logic, Picture, View, and Sound data within the VOL files. In version 3 of the interpreter, these files are combined into one file with a header which gives the offset of each part. The name of this single directory file is <code>*DIR</code> where the * is the initials of the game (e.g. <code>KQ4DIR, MH2DIR, GRDIR, BCDIR, MH1DIR</code>). |
| ''By [[agiw:Chris Cromer|Chris Cromer]]''</div>
| |
| | |
|
| |
| | |
| <nowiki>*</nowiki> only works with pc v3 games. All of the mouse commands in this tutorial do not work with Brian's AGI mouse hack.
| |
| | |
| == unknown170(n);* [set.simple(n);] ==
| |
| | |
| <blockquote>n is a string number using this makes a saved game's name the same as the string n you used.</blockquote>
| |
| | |
| == unknown171();* [push.script();] ==
| |
| | |
| <blockquote>This command is used if you want to temporarily load up something then unload it so that you do not use the interpreters script. This can stop the problem out of script.</blockquote>
| |
| | |
| == unknown172();* [pop.script();] ==
| |
| | |
| <blockquote>This command is used if you want to temporarily load up something then unload it so that you do not use the interpreters script. This can stop the problem out of script.</blockquote>
| |
| | |
| == unknown173();* [hold.key();] ==
| |
| | |
| <blockquote>This command makes it so you have to hold the arrow key to move a good example of this is in Mixed Up Mother Goose.</blockquote>
| |
| | |
| == unknown174(n);* [set.pri.base(n);] ==
| |
| | |
| <blockquote>This affects the priority base of the AGI interpreter Kings Quest 4 uses this function to affect the table so the "base" (priorities < = 4) is bigger or larger at the top.</blockquote>
| |
| | |
| == unknown175(n); [discard.sound(n);] ==
| |
| | |
| <blockquote>This command discards sound n.</blockquote>
| |
| | |
| == unknown176(); [hide.mouse(n);] ==
| |
| | |
| <blockquote>This command hides the mouse pointer.</blockquote>
| |
| | |
| == unknown177(n);* [allow.menu(n);] ==
| |
| | |
| <blockquote>This command determines whether the menu is activated or not.<br />
| |
| If n = 0 the menu is turned off.<br />
| |
| If n = 1 the menu is turned on.<br /></blockquote>
| |
| | |
| == unknown178(n); [show.mouse(n);] ==
| |
| | |
| <blockquote>This command makes the mouse appear.</blockquote>
| |
| | |
| == unknown179(n1,n2,n3,n4); [fence.mouse(n1,n2,n3,n4);] ==
| |
| | |
| <blockquote>This command sets up a fence which the mouse can not go out of.</blockquote>
| |
| | |
| == unknown180(x,y); [mouse.posn(x,y);] ==
| |
| <blockquote>
| |
| This command gets the position of the mouse pointer.</blockquote>
| |
| | |
| == unknown181(n);* [release.key(n);] ==
| |
| | |
| <blockquote>This command does the opposite of unknown173(); it allows you to walk until you press a key to stop.</blockquote>
| |
| | |
| == unknown182(x,y); [adj.ego.move.to.x.y(x,y);] ==
| |
| | |
| <blockquote>
| |
| This moves the ego to the position set in x y.
| |
| </blockquote>
| |
|
| |
|
| ==<br /> References == | | ==<br /> References == |
Line 89: |
Line 9: |
| <references /> | | <references /> |
|
| |
|
| ==<br /> Related Links == | | ==<br /> Also See == |
| | |
| *
| |
| | |
|
| |
| | |
| <div align="center">
| |
| Page:
| |
| [[AGI Command Reference - Arithmetic Commands|1]] |
| |
| [[AGI Command Reference - Commands to Load and unLoad Resources|2]] |
| |
| [[AGI Command Reference - Program Control Commands|3]] |
| |
| [[AGI Command Reference - Object Control Commands|4]] |
| |
| [[AGI Command Reference - Object Description Commands|5]] |
| |
| [[AGI Command Reference - Object Motion Control Commands|6]] |
| |
| [[AGI Command Reference - Inventory Item Management Commands|7]] |
| |
| [[AGI Command Reference - Picture Resource Management Commands|8]] |
| |
| [[AGI Command Reference - Sound Resource Management Commands|9]] |
| |
| [[AGI Command Reference - Text Management Commands|10]] |
| |
| [[AGI Command Reference - String Management Commands|11]] |
| |
| [[AGI Command Reference - Initialization Commands|12]] |
| |
| [[AGI Command Reference - Menu Management Commands|13]] |
| |
| [[AGI Command Reference - Test Commands|14]] |
| |
| [[AGI Command Reference - Other Commands|15]] |
| |
| [[AGI Command Reference - Unknown Commands|16]]
| |
| </div><br />
| |
| | |
| [[AGI Command Reference|AGI Command Reference Index]]
| |
| | |
| <span style="float: left">[[AGI Command Reference - Other Commands|< Previous: Other Commands]]</span><span style="float: right"><span class="Inactive">Next: ></span></span>
| |
|
| |
|
|
| | * [[AGI Specifications: Chapter 2 - Overview#DIRFiles|AGI DIR Files]] |
| | <!-- AGI Specifications: Chapter 2 - Overview#2.2_AGI_game_files --> |
|
| |
|
| [[Category:Technical Info]] | | [[Category:Technical Info]] |
| | [[Category:Development]] |
| [[Category:References]] | | [[Category:References]] |
| [[Category:AGI References]] | | [[Category:AGI References]] |
| [[Category:AGI Logic]] | | [[Category:Files]] |
| [[Category:AGI Commands]] | | [[Category:AGI Files]] |
AGI DIR File
LOGDIR, VIEWDIR, PICDIR, and SNDDIR are directory files give the location of each of Logic, Picture, View, and Sound data within the VOL files. In version 3 of the interpreter, these files are combined into one file with a header which gives the offset of each part. The name of this single directory file is *DIR
where the * is the initials of the game (e.g. KQ4DIR, MH2DIR, GRDIR, BCDIR, MH1DIR
).
References
Also See