Talk:Tribes expansion: Difference between revisions
Created page with '==Moods== Suggest to use a operation to set the mood. E.g. <set_mood />, <set_mood random="Yes" />, or <set_mood new_mood="Lazy" />. In this way it can be done at what ever time…' |
|||
Line 6: | Line 6: | ||
--[[User:Magodra|Magodra]] 19:06, 3 May 2011 (UTC) | --[[User:Magodra|Magodra]] 19:06, 3 May 2011 (UTC) | ||
== XML <-> DB == | == XML <-> DB == |
Revision as of 19:06, 3 May 2011
Moods
Suggest to use a operation to set the mood. E.g. <set_mood />, <set_mood random="Yes" />, or <set_mood new_mood="Lazy" />. In this way it can be done at what ever time of day you wish. To do it at the start of the day it can be in a behavior that is executed based on a time event for start of day. Night tribes might have this at the evening.
--Magodra 19:06, 3 May 2011 (UTC)
XML <-> DB
For each persistent data it should be considered if a db table can be used instead of a xml file. A db file will allow for editing through the WC. Data structures should be designed with the goal of making them possible to reload runtime. E.g. like we do with the /killnpc reload command. This will enable easy modification of the tribes on live servers.
--Magodra 19:06, 3 May 2011 (UTC)
Threats
The npcclient has a needset concept already. It should be evaluated if the existing need set concept is the same as the new suggested sets.
--Magodra 19:06, 3 May 2011 (UTC)