text stringlengths 0 451 |
|---|
Default |
{ |
LightLevel -1; |
Scale 1; |
Health DEFAULT_HEALTH; |
Reactiontime 8; |
Radius 20; |
RenderRadius 0; |
Height 16; |
Mass 100; |
RenderStyle 'Normal'; |
Alpha 1; |
MinMissileChance 200; |
MeleeRange 64 - MELEEDELTA; |
MaxDropoffHeight 24; |
MaxStepHeight 24; |
MaxSlopeSteepness STEEPSLOPE; |
BounceFactor 0.7; |
WallBounceFactor 0.75; |
BounceCount -1; |
FloatSpeed 4; |
FloatBobPhase -1; // randomly initialize by default |
FloatBobStrength 1.0; |
Gravity 1; |
Friction 1; |
DamageFactor 1.0; // damage multiplier as target of damage. |
DamageMultiply 1.0; // damage multiplier as source of damage. |
PushFactor 0.25; |
WeaveIndexXY 0; |
WeaveIndexZ 16; |
DesignatedTeam 255; |
PainType "Normal"; |
DeathType "Normal"; |
TeleFogSourceType "TeleportFog"; |
TeleFogDestType 'TeleportFog'; |
RipperLevel 0; |
RipLevelMin 0; |
RipLevelMax 0; |
RipSound "misc/ripslop"; |
DefThreshold 100; |
BloodType "Blood", "BloodSplatter", "AxeBlood"; |
ExplosionDamage 128; |
ExplosionRadius -1; // i.e. use ExplosionDamage value |
MissileHeight 32; |
SpriteAngle 0; |
SpriteRotation 0; |
StencilColor "00 00 00"; |
VisibleAngles 0, 0; |
VisiblePitch 0, 0; |
DefaultStateUsage SUF_ACTOR|SUF_OVERLAY; |
CameraHeight int.min; |
CameraFOV 90.f; |
FastSpeed -1; |
RadiusDamageFactor 1; |
SelfDamageFactor 1; |
ShadowAimFactor 1; |
ShadowPenaltyFactor 1; |
StealthAlpha 0; |
WoundHealth 6; |
GibHealth int.min; |
DeathHeight -1; |
BurnHeight -1; |
RenderHidden 0; |
RenderRequired 0; |
FriendlySeeBlocks 10; // 10 (blocks) * 128 (one map unit block) |
} |
// Functions |
// 'parked' global functions. |
native clearscope static double deltaangle(double ang1, double ang2); |
native clearscope static double absangle(double ang1, double ang2); |
native clearscope static Vector2 AngleToVector(double angle, double length = 1); |
native clearscope static Vector2 RotateVector(Vector2 vec, double angle); |
native clearscope static double Normalize180(double ang); |
virtual void MarkPrecacheSounds() |
{ |
MarkSound(SeeSound); |
MarkSound(AttackSound); |
MarkSound(PainSound); |
MarkSound(DeathSound); |
MarkSound(ActiveSound); |
MarkSound(UseSound); |
MarkSound(BounceSound); |
MarkSound(WallBounceSound); |
MarkSound(CrushPainSound); |
MarkSound(HowlSound); |
MarkSound(MeleeSound); |
MarkSound(PushSound); |
} |
bool IsPointerEqual(int ptr_select1, int ptr_select2) |
{ |
return GetPointer(ptr_select1) == GetPointer(ptr_select2); |
} |
clearscope static double BobSin(double fb) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.