[project1dev] Project1 - SVN Update 36

  • From: dhapache@xxxxxxxxxxxxxxxxxxx (Apache User)
  • To: project1dev@xxxxxxxxxxxxx
  • Date: Sat, 18 Apr 2009 22:30:39 -0700 (PDT)

User:atrix256

Message: Checking in my progress on combat...

when you walk into a miner now, it starts combat mode and spawns some monsters 
to fight.

You cant actually fight yet, you just press escape to get out of the battle 
(and the monster you bumped into in the world will be gone just as if you 
defeated him).

I improved the debug output for Lua errors a lil, hopefully they will give more 
meaningful errors.

Added some new script functions (as always they are also added to script 
help)...

Combat_Enter - this starts combat mode (can be called from any script but 
current called from enemy scripts only)
Combat_Spawn - this spawns a combat enemy to fight in combat mode.  Combat 
enemy scripts live in /scripts/CombatEnemies/ unlike regular enemies which live 
in /scripts/Enemies/
Mob_SetStats - this is used to set the stats of an enemy (it's HP, round time, 
attack power, and the name that will be displayed for that enemy)
Debug_Print - lets you print stuff to debuglog.txt from scripts so you can 
debug things easier (print out values of variables and things)

Also, config.lua has a new section where you can set the stats of the player 
(HP, Round time, attack power).

Next up going to work on displaying monsters/players HP and round time, and let 
the player choose what to do when it's their turn, and let the mobs do an 
action when it's their turn to attack (:

<Files Changed>
U   ARRelease.exe
U   AR_AnimModels.cpp
U   AR_AnimModels.h
U   AR_Camera.cpp
U   AR_Camera.h
A   AR_CombatManager.cpp
A   AR_CombatManager.h
U   AR_LightManager.cpp
U   AR_LuaFuncs.cpp
U   AR_Map.cpp
U   AR_Map.h
U   AR_Mobile.cpp
U   AR_Mobile.h
U   AR_PlayerData.cpp
U   AR_PlayerData.h
U   AR_Profiler.h
D   Art/Models/alan.ms3d
U   Base.vcproj
A   Docs/Code/RayTracingTDD.txt
U   Docs/Code/longerm todo.txt
A   Docs/Script Help/Combat_Enter.html
A   Docs/Script Help/Combat_Spawn.html
A   Docs/Script Help/Debug_Print.html
U   Docs/Script Help/Mob_Despawn.html
U   Docs/Script Help/Mob_SendMessage.html
A   Docs/Script Help/Mob_SetStats.html
U   Docs/Script Help/Mob_Spawn.html
U   Docs/Script Help/toc.html
U   LowLevel.cpp
U   LowLevel.h
U   READMETODO.txt
A   Scripts/CombatEnemies/
A   Scripts/CombatEnemies/miner.lua
U   Scripts/Enemies/miner.lua
D   Scripts/Enemies/rat1.lua
U   Scripts/alanmap.lua
U   Scripts/cavemap.lua
A   Scripts/cavemap_combat.lua
U   Scripts/config.lua
U   UI_Game.cpp


Other related posts:

  • » [project1dev] Project1 - SVN Update 36 - Apache User