Difference between revisions of "Enormous"

From IvanWiki
Jump to navigation Jump to search
m
m (links fixed)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{code}}
 
{{code}}
  
IsEnormous is a script tag found within char.dat. It is only used to immediately state that a character cannot be transparent - this means the player cannot see terrain behind the character if the character is blocking their line of sight. Any further implications are unknown and unimplemented.
+
IsEnormous is a script tag found within char.dat. It is only used to immediately state that a character cannot be "transparent" - this means the player cannot see terrain behind the character if the character is blocking their line of sight. Basically think of it as the monster being so big, it is impossible to see what is behind it as it is taking up so much space. Any further implications are unknown and unimplemented.
  
 
An enormous character blocks line of sight as if it were actually a wall. However, an enormous character ceases to block line of sight if it is either composed of a transparent material (e.g. glass) or is currently invisible.
 
An enormous character blocks line of sight as if it were actually a wall. However, an enormous character ceases to block line of sight if it is either composed of a transparent material (e.g. glass) or is currently invisible.
Line 14: Line 14:
 
*[[Ivan]]
 
*[[Ivan]]
 
*[[Mammoth]]
 
*[[Mammoth]]
*[[Two-headed moose]]
+
*[[Two-Headed Moose|Two-headed moose]]
*[[Ur-khan]] the orc marshal
+
*[[Ur-Khan]] the orc marshal
  
 
<pre>
 
<pre>

Latest revision as of 00:55, 23 July 2015

Coding: This article contains code which is for experienced users only, and may reveal game secrets


IsEnormous is a script tag found within char.dat. It is only used to immediately state that a character cannot be "transparent" - this means the player cannot see terrain behind the character if the character is blocking their line of sight. Basically think of it as the monster being so big, it is impossible to see what is behind it as it is taking up so much space. Any further implications are unknown and unimplemented.

An enormous character blocks line of sight as if it were actually a wall. However, an enormous character ceases to block line of sight if it is either composed of a transparent material (e.g. glass) or is currently invisible.

Current enormous characters:

truth character::IsTransparent() const 

{ 
  return !IsEnormous() || GetTorso()->GetMainMaterial()->IsTransparent() || StateIsActivated(INVISIBLE); 
}