*Hereīs the unit, similar to other units
## UNIT 94
UNIT_LEGION {
Description DESCRIPTION_UNIT_SWORDSMAN
DefaultIcon ICON_UNIT_LEGION
DefaultSprite SPRITE_LEGION
Category UNIT_CATEGORY_ATTACK
Attack 15
Defense 15
ZBRangeAttack 0
Firepower 1
Armor 1
MaxHP 10
ShieldCost 320
PowerPoints 100
ShieldHunger 3
FoodHunger 0
MaxMovePoints 100
VisionRange 1
EnableAdvance ADVANCE_IRON_WORKING
ObsoleteAdvance ADVANCE_GUNPOWDER
ActiveDefenseRange 0
LossMoveToDmgNone
MaxFuel 0
CantBuild
CanEntrench
CanExpel
CanPillage
ExertsMartialLaw
DeathEffectsHappy
SoundSelect1 SOUND_SELECT1_SWORDSMAN
SoundSelect2 SOUND_SELECT2_SWORDSMAN
SoundMove SOUND_MOVE_SWORDSMAN
SOUND_ACKNOWLEDGE_SWORDSMAN
SoundCantMove SOUND_CANTMOVE_SWORDSMAN
SoundAttack SOUND_ATTACK_SWORDSMAN
SoundWork SOUND_WORK_SWORDSMAN
SoundVictory SOUND_VICTORY_SWORDSMAN
SoundDeath SOUND_DEATH_SWORDSMAN
CanAttack: Land
CanAttack: Mountain
CanSee: Standard
MovementType: Land
MovementType: Mountain
Size: Small
VisionClass: Standard
CanReform {
Sound SOUND_ID_REFORM_CITY
Effect SPECEFFECT_REFORMCITY
}
}
*The newsprite:
SPRITE_LEGION 94
*Gl_Str: (I canīt be wrong here
)
UNIT_LEGION "Legion"
*The uniticon:
ICON_UNIT_LEGION { FirstFrame "UPUP097L.TGA" Movie "NULL" Gameplay "UNIT_LEGION_GAMEPLAY" Historical "UNIT_LEGION_HISTORICAL" Prereq "UNIT_LEGION_PREREQ" Vari "UNIT_LEGION_STATISTICS" Icon "UPUP097a.TGA" LargeIcon "UPUP097L.TGA" SmallIcon "UPUP097b.TGA" StatText "UNIT_LEGION_SUMMARY" }
*And last but not least the sounds, they were copied from other units:
SOUND_ACKNOWLEDGE_SWORDSMAN "GUV240.WAV"
SOUND_ATTACK_SWORDSMAN "Guax11.wav"
SOUND_CANTMOVE_SWORDSMAN "GUV243.WAV"
SOUND_DEATH_SWORDSMAN "GUVV78.wav"
SOUND_MOVE_SWORDSMAN "Gumx11.wav"
SOUND_SELECT1_SWORDSMAN "GUV241.WAV"
SOUND_SELECT2_SWORDSMAN "GUV242.WAV"
SOUND_SPECIAL_SWORDSMAN "GUAX15.WAV"
SOUND_VICTORY_SWORDSMAN "NULL.WAV"
SOUND_WORK_SWORDSMAN "NULL.WAV"
WOW my first giga post!
[This message has been edited by Carlos113 (edited February 02, 2001).]
[This message has been edited by Carlos113 (edited February 02, 2001).]