From The Mana World
(Added `frame' option)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
cat save/athena.txt | sort -n > athena-sorted.txt
Proposed status effect file:  eAthena supports 255 `stun effects' (which, if enabled, indicate that the player can't move) and 32 status effects. Presently, 5 stun effects and 14 status effects are being used, though our tmw setup only exploits one of the status effect flags (concentration).


To visualise status effects, I propose five possible measures:
* start/stop text messages
* icons on the top of the screen
* particle effects for startup/during the effect and at the end
* sound effects during startup and at the end (and possibly looping during the effect)
* full-sprite dyeing, i.e., applying a colour filter, to base sprite, equipment sprites, or all sprites.  (This is potentially expensive-- unless we cache, it increases the number of blits from one to three per modified image.)


printf "Top married couples\n===================\n" > married.txt
status-effects.xml:


cat athena-sorted.txt | ./marriage-info -c | sort -rn | awk '{printf "%d   %s  oo  %s  (%s (%s, %d), %s(%s, %d))\n", ++rank, $3, $6, $3, $4, $5, $6, $7, $8}' | tr '%' ' ' | head -50 >> married.txt
  <status-effects>
    <stun-effect id=... &rest; />
    <status-effect id=... &rest; />
   </status-effects>


printf "Top female singles\n==================\n" > female-singles.txt
where &rest; is a set of name-value pairs out of the following
 
* '''icon'''= ... (animation xml or png file)
cat athena-sorted.txt | ./marriage-info -f | sort -rn | awk '{printf "%d  %s(%d)\n", ++rank, $3, $1}' | tr '%' ' ' | head -50 >> female-singles.txt
* '''dye'''= ... (dye colour-- this is potentially expensive and might be toggled in the gfx options)
 
* '''dye-alpha'''= ... (dye alpha value, default 128)
printf "Top male singles\n===============\n" > male-singles.txt
* '''dye-range'''= body | equipment | all (whether to dye the player's body sprite/face, equipment, or both)
 
* '''frame'''=... (frame name for the Being to show while under that effect)
cat athena-sorted.txt | ./marriage-info -m | sort -rn | awk '{printf "%d  %s(%d)\n", ++rank, $3, $1}' | tr '%' ' ' | head -50 >> male-singles.txt
* '''particle'''= ...
* '''end-particle'''= ...
* '''audio'''= ...
* '''end-audio'''= ...
* '''message'''= ...
* '''end-message'''= ...

Latest revision as of 21:51, 6 December 2008

Proposed status effect file: eAthena supports 255 `stun effects' (which, if enabled, indicate that the player can't move) and 32 status effects. Presently, 5 stun effects and 14 status effects are being used, though our tmw setup only exploits one of the status effect flags (concentration).

To visualise status effects, I propose five possible measures:

  • start/stop text messages
  • icons on the top of the screen
  • particle effects for startup/during the effect and at the end
  • sound effects during startup and at the end (and possibly looping during the effect)
  • full-sprite dyeing, i.e., applying a colour filter, to base sprite, equipment sprites, or all sprites. (This is potentially expensive-- unless we cache, it increases the number of blits from one to three per modified image.)

status-effects.xml:

 <status-effects>
   <stun-effect id=... &rest; />
   <status-effect id=... &rest; />
 </status-effects>

where &rest; is a set of name-value pairs out of the following

  • icon= ... (animation xml or png file)
  • dye= ... (dye colour-- this is potentially expensive and might be toggled in the gfx options)
  • dye-alpha= ... (dye alpha value, default 128)
  • dye-range= body | equipment | all (whether to dye the player's body sprite/face, equipment, or both)
  • frame=... (frame name for the Being to show while under that effect)
  • particle= ...
  • end-particle= ...
  • audio= ...
  • end-audio= ...
  • message= ...
  • end-message= ...