Zippy-Egoboo Home EgoWiki > Documentation > ZippyProfiles (r1.1 vs. r1.4) EgoWiki webs:
Main | TWiki | Know | Sandbox
Documentation . { Changes | Index | Search | Go }
 <<O>>  Difference Topic ZippyProfiles (r1.4 - 11 Mar 2004 - ElminI)
Changed:
<
<

A profile is a collection of information that determines the immediate game-physical behavior of a character. It is specified in the "player" sub-table of the character type constructor, and its fields are described in the table below. Profiles may inherit non-boolean fields from the profiles of the base types from which the type being defined derives.

>
>

A profile is a collection of information that determines the immediate game-physical behavior of a character. It is specified in the "player" sub-table of the character type constructor, and its fields are described in the table below. Profiles may inherit non-boolean fields from the profiles of the base types from which the type being defined derives. Booleans behave somewhat differently: if a boolean field has a nil value in the profile table, its value is inherited, or false by default. If its value is 0, it is false; otherwise, its value is true.

Fields that take the name of a file must be specified with the syntax given in DataDirectories.


 <<O>>  Difference Topic ZippyProfiles (r1.3 - 01 Feb 2004 - ElminI)
Changed:
<
<

...
>
>

fly_height number [0, 255] 0 How high the character flies
life_return number [0, 255] 0 How many updates to wait to add one life point
bump_dampen number [0, 1] 0.5 The character's velocity is scaled by this much when bumping
size range [0, infinity] [1,1] The character's size (relative to model size)
dampen number [0, infinity] 0.0 ?
jump_power range [0, infinity] [14,14] The power of each jump
sneak_speed number [0, 20] 1 The speed at which the character uses its sneaking animation
walk_speed number [0, 20] 3 The speed at which the character uses its walking animation
run_speed number [0, 20] 5 The speed at which the character uses its running animation
damage_type (deprecated)
attack_particle particle type nil The type of particle to spawn when the "swipe" alert is not defined. This particle is spawned attached to the model at an appropriate grip (see HowToMakeGrips)
starting_ammo (deprecated)
maximum_ammo (deprecated)
ammo_known boolean nil If non-nil, the ammo for this character is shown on the status display
is_stackable boolean nil If non-nil, the item may be stacked with others of the same type
can_be_crushed boolean nil If non-nil, the item may be crushed when it is in a passage that becomes blocked
model file name required The model in the file specified by the file name is used for characters this profile
skins table nil This table is indexed to get the actual skin specified by the skin name given to the character spawning function (see ZippyCharacterType)

 <<O>>  Difference Topic ZippyProfiles (r1.2 - 31 Jan 2004 - ElminI)
Added:
>
>

alpha number [0, 255] 255 the starting alpha value for the character
light number [0, 255] 255 the starting light value (?) for the character
jump_number number [0, 255] 0 the number of jumps possible while off the ground
shadow_size number [0, 255] 0 the shadow size
weight range [0, 255] [0, 255] the character's weight is chosen randomly within this range
bump_size number [0, 255] 0 the character's width for bumping; 255 is the width of one map tile

 <<O>>  Difference Topic ZippyProfiles (r1.1 - 30 Jan 2004 - ElminI)
Added:
>
>

%META:TOPICINFO{author="ElminI" date="1075504320" format="1.0" version="1.1"}% %META:TOPICPARENT{name="ZippyCharacterType"}% A profile is a collection of information that determines the immediate game-physical behavior of a character. It is specified in the "player" sub-table of the character type constructor, and its fields are described in the table below. Profiles may inherit non-boolean fields from the profiles of the base types from which the type being defined derives.

Field Value Type Default Description
lit_uniform boolean nil (false) if non-nil, the character is lit uniformly
ripple boolean nil ?
is_item boolean nil if non-nil, the character is an item
is_mount boolean nil if non-nil, the character is a mount (other characters can ride it)
platform boolean nil if non-nil, the character is a platform (other characters can stand on it)
can_use_platforms boolean nil if non-nil, the character can stand on a platform
waterwalk boolean nil if non-nil, the character walks on water
ridercanattack boolean nil if non-nil, the rider (or held character) can attack while riding (or being held)
sticky_butt boolean nil ?
has_left_hand boolean nil if non-nil, the last four grip vertices make up the left-hand grip
has_right_hand boolean nil if non-nil, the first four of the last eight vertices make up the right-hand grip
invincible boolean nil if non-nil, the character is invulnerable to damage
always_draw boolean nil if non-nil, the character is always drawn regardless of its position (for very large objects)
reflect boolean nil if non-nil, the character's reflection is drawn when it is standing on a reflective floor tile
forceshadow boolean nil ?
environment_map boolean nil if non-nil, interpret the character skins as environment maps
weapon_attack attack type or (see ModelActions) UNARMED the animation run when a character attacks with this item (or issues an unarmed attack)
life_points range [0, infinity] [1, 10] when a character is spawned, its maximum life is a random number within this range
mana_points range [0, infinity] [1, 10] when a character is spawned, its maximum life is a random number within this range
mana_return range [0, infinity] [0, 1] when a character is spawned, the amount of mana regained at each update is within this range
strength (not used)
wisdom (not used)
intelligence (not used)
dexterity (not used)
...

-- ElminI - 30 Jan 2004


Topic ZippyProfiles . { View | Diffs | r1.4 | > | r1.3 | > | r1.2 | More }
Revision r1.1 - 30 Jan 2004 - 23:12 GMT - ElminI
Revision r1.4 - 11 Mar 2004 - 21:35 GMT - ElminI
Copyright © 1999-2003 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding EgoWiki? Send feedback.