[project1dev] Project1 - SVN Update 220

  • From: dhapache@xxxxxxxxxxxxxxxxxxx (Apache User)
  • To: project1dev@xxxxxxxxxxxxx
  • Date: Wed, 10 Jun 2009 22:29:38 -0700 (PDT)

User:atrix256

Message: Added a new script function

Model_SetUseFunction - this makes a model "useable" by the player and allows 
you to give optional text to pop up on the screen when the player gets close 
enough.

Added UseMessageRange and UseObjectRange to config.lua so whoever wants to can 
play with the range that the messages pop up at and find the appropriate value.

Currently, you can only use objects that pop up messages, you can't use objects 
that don't pop up messages yet (need to code the raycast stuff in)

There's an example in lavamap, if you step on the teleporter you can press E to 
teleport back to the index map (blah, usin E for now...)

Also put some RTTI stuff into the UI system (nothing visible from this, but 
it'll help in the future)

<Files Changed>
U   ARRelease.exe
U   AR_AnimModels.cpp
U   AR_AnimModels.h
U   AR_LuaFuncs.cpp
U   AR_PlayerData.cpp
U   AR_PlayerData.h
U   AR_UI.h
A   Docs/Script Help/Model_SetUseFunction.html
U   Docs/Script Help/toc.html
U   READMETODO.txt
U   Scripts/Maps/lavamap.lua
U   Scripts/config.lua
U   UI.h
U   UI_Game.cpp


Other related posts: