Difference between revisions of "Call image data"

From Unofficial QEdit Wiki Guide
Jump to: navigation, search
(Use)
(Use)
 
(8 intermediate revisions by the same user not shown)
Line 3: Line 3:
  
 
* Function = Function that calls the image data
 
* Function = Function that calls the image data
* x = Function # that contains the image data (auto generated by the function itself)
+
* x = Data string that contains the image data (auto generated by the function itself)
  
 
==Use==
 
==Use==
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 | 24x24
+
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 - .pvm
+
Dreamcast/PCv2 - .pvr
  
 
Gamecube - .gvr
 
Gamecube - .gvr
  
Xbox - .xvr/.bmp
+
Xbox - .xvr
  
Blue Burst - .bmp
+
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:green'>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'>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

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.

Also see

set_floor_handler