Important! Please read the announcement at http://myst.dustbird.net/uru-account.htm
Also! Please read the retirement announcement at http://myst.dustbird.net/uru-retirement.htm

Difference between revisions of "UamVars"

From UamWiki
(Created page with 'UamVars are a project to make it so that Age authors do not need to deal with all the complexities of Python and SDL. Then can do everything graphically with 3dsmax instead! Th…')
 
Line 8: Line 8:
 
Everything happens on the "edges" when these variables change.  That might sound more difficult, but it's actually simpler!
 
Everything happens on the "edges" when these variables change.  That might sound more difficult, but it's actually simpler!
  
 +
Todo: uppercase/lowercase discussion
  
=List of UamVars
+
 
 +
=List of UamVars=
 
==UamVar_Button==
 
==UamVar_Button==
 
This PythonFileMod will set a UamVar from ""->"1" when a button is clicked.
 
This PythonFileMod will set a UamVar from ""->"1" when a button is clicked.

Revision as of 01:20, 20 October 2010

UamVars are a project to make it so that Age authors do not need to deal with all the complexities of Python and SDL. Then can do everything graphically with 3dsmax instead!

The initial release just includes 3 components, UamVar_Button, UamVar_LinkingBook, and UamVar_Journal. But these 3 components will let you make linking books and journals easily!

What is a UamVar?

A UamVar is a variable that you simply name and hook up together. Uam takes care of the rest! You do this in 3dsmax (though Blender is also possible, but more difficult) by creating dummies and attaching Logic->PythonFileMods from the component manager. Then you just fill out the fields!

Everything happens on the "edges" when these variables change. That might sound more difficult, but it's actually simpler!

Todo: uppercase/lowercase discussion


List of UamVars

UamVar_Button

This PythonFileMod will set a UamVar from ""->"1" when a button is clicked.

  • "The clickable thing": Select the Clickable item.
  • "Uamvar to set": The name of the UamVar to set when clicked.

UamVar_LinkingBook

This PythonFileMod will open a linking book when the given UamVar goes from ""->"1"

  • "Uamvar to trigger book": The name of the UamVar that will open the Linking Book.
  • "Age name": The name of the Age.
  • "Spawn point": The spawnpoint. (LinkInPointDefault is usually what you want.)