Difference between revisions of "Call image data"
From Unofficial QEdit Wiki Guide
(→Use) |
(→Use) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
Image is displayed on the object "image board", only available in Pioneer 2 | Image is displayed on the object "image board", only available in Pioneer 2 | ||
− | NOTE: Quests only support 1 image per quest. Supported file types listed below. Make images a perfect square. Ex. 2x2 | + | NOTE: Quests only support 1 image per quest. Supported file types listed below. Make images a measurement divisible by 2 and a perfect square. Ex. 2x2 4x4 8x8 (Max of 256x256) etc |
− | Dreamcast/PCv2 - . | + | Dreamcast/PCv2 - .pvr |
Gamecube - .gvr | Gamecube - .gvr | ||
Line 18: | Line 18: | ||
Blue Burst - .xvr | Blue Burst - .xvr | ||
+ | |||
+ | Use this program to get the desired file type: https://upd.schtserv.com/vmt.zip | ||
==Example== | ==Example== | ||
<span style='font-size:12px;font-family:courier'> | <span style='font-size:12px;font-family:courier'> | ||
<span style='color:blue'>0: </span><span style='color:green'>set_floor_handler 00000000 100 </span><span style='color:orange'>//Sets the function to be loaded when arriving on the specified floor</span> | <span style='color:blue'>0: </span><span style='color:green'>set_floor_handler 00000000 100 </span><span style='color:orange'>//Sets the function to be loaded when arriving on the specified floor</span> | ||
− | <span style='color:blue'>100: </span><span style='color: | + | <span style='color:blue'>100: </span><span style='color:red'>Call_image_data 1000 <span style='color:orange'>//Image data to be called at the desired function (Brings up a file load window)</span> |
− | <span style='color:blue'>1000: </span>HEX: <span style='color:orange'>//The data in this function will be automatically generated when you choose the image to load in function 100.</span> | + | <span style='color:blue'>1000: </span><span style='color:green'>HEX: <span style='color:orange'>//The data in this function will be automatically generated when you choose the image to load in function 100.</span> |
</span> | </span> | ||
Latest revision as of 04:31, 9 December 2023
Contents
Syntax
Syntax: Call image data XXXXXXXX, Function
- Function = Function that calls the image data
- x = Data string that contains the image data (auto generated by the function itself)
Use
Used to inject an image into a quest. Image is displayed on the object "image board", only available in Pioneer 2
NOTE: Quests only support 1 image per quest. Supported file types listed below. Make images a measurement divisible by 2 and a perfect square. Ex. 2x2 4x4 8x8 (Max of 256x256) etc
Dreamcast/PCv2 - .pvr
Gamecube - .gvr
Xbox - .xvr
Blue Burst - .xvr
Use this program to get the desired file type: https://upd.schtserv.com/vmt.zip
Example
0: set_floor_handler 00000000 100 //Sets the function to be loaded when arriving on the specified floor
100: Call_image_data 1000 //Image data to be called at the desired function (Brings up a file load window)
1000: HEX: //The data in this function will be automatically generated when you choose the image to load in function 100.