Thread Tools
Old February 2, 2001, 14:34   #1
Unspeakable Horror
Spanish Civers
Emperor
 
Unspeakable Horror's Avatar
 
Local Time: 06:21
Local Date: October 31, 2010
Join Date: Oct 1999
Location: Buenos Aires, Argentina.
Posts: 5,575
I added a unit and...
now the cheat menu doesnīt work anymore!
Anyone else having the same problem?

The game loads, I start a new game and then when I try to use the cheat menu to see my new unit the game crashes and Windows blue screen appears.

The unit I added is the Legion from CTP I by the way.

------------------
"For each side the only acceptable outcome was the Total elimination of the other..."
Unspeakable Horror is offline  
Old February 2, 2001, 19:10   #2
OmniGod
Civilization IV CreatorsCiv4 SP Democracy Game
Prince
 
OmniGod's Avatar
 
Local Time: 04:21
Local Date: October 31, 2010
Join Date: Dec 1999
Location: Welland, ON
Posts: 751
Post the lines you added and to what files... the assumption I have is you didn't add all the required files and the editor realizes this when you open it. You should have changes in newsprite.txt, unit.txt, gl_str.txt, uniticon.txt and the graphic files you added.

Rich
OmniGod is offline  
Old February 2, 2001, 22:38   #3
Unspeakable Horror
Spanish Civers
Emperor
 
Unspeakable Horror's Avatar
 
Local Time: 06:21
Local Date: October 31, 2010
Join Date: Oct 1999
Location: Buenos Aires, Argentina.
Posts: 5,575
*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).]
Unspeakable Horror is offline  
Old February 3, 2001, 01:06   #4
OmniGod
Civilization IV CreatorsCiv4 SP Democracy Game
Prince
 
OmniGod's Avatar
 
Local Time: 04:21
Local Date: October 31, 2010
Join Date: Dec 1999
Location: Welland, ON
Posts: 751
I don't see anything wrong there... as long as you have the corresponding tgas and such it should work. hmmm... I'll try to do the same thing and get back to you tomorrow sometime.

Rich
OmniGod is offline  
Old February 3, 2001, 09:20   #5
Unspeakable Horror
Spanish Civers
Emperor
 
Unspeakable Horror's Avatar
 
Local Time: 06:21
Local Date: October 31, 2010
Join Date: Oct 1999
Location: Buenos Aires, Argentina.
Posts: 5,575
This is the tga I use (I made it, opinions?):







------------------
"For each side the only acceptable outcome was the Total elimination of the other..."
[This message has been edited by Carlos113 (edited February 03, 2001).]
Unspeakable Horror is offline  
Old February 3, 2001, 11:19   #6
OmniGod
Civilization IV CreatorsCiv4 SP Democracy Game
Prince
 
OmniGod's Avatar
 
Local Time: 04:21
Local Date: October 31, 2010
Join Date: Dec 1999
Location: Welland, ON
Posts: 751
ummm? where's the pic found the mistake
OmniGod is offline  
Old February 3, 2001, 11:42   #7
Unspeakable Horror
Spanish Civers
Emperor
 
Unspeakable Horror's Avatar
 
Local Time: 06:21
Local Date: October 31, 2010
Join Date: Oct 1999
Location: Buenos Aires, Argentina.
Posts: 5,575
What?
You canīt see the picture? it loads fine for me (when I said I wanted opinions, was about the shadow of the unit, the unit itself was copied from CTP I, hehe)

and forgot to say THANKS for list.. err reading me

visit my webpage itīs almost ready!

------------------
"For each side the only acceptable outcome was the Total elimination of the other..."
[This message has been edited by Carlos113 (edited February 03, 2001).]
Unspeakable Horror is offline  
Old February 3, 2001, 16:04   #8
Unspeakable Horror
Spanish Civers
Emperor
 
Unspeakable Horror's Avatar
 
Local Time: 06:21
Local Date: October 31, 2010
Join Date: Oct 1999
Location: Buenos Aires, Argentina.
Posts: 5,575
err... you said that you found the mistake, so whatīs the problem?

------------------
"For each side the only acceptable outcome was the Total elimination of the other..."
Unspeakable Horror is offline  
Old February 4, 2001, 16:01   #9
Unspeakable Horror
Spanish Civers
Emperor
 
Unspeakable Horror's Avatar
 
Local Time: 06:21
Local Date: October 31, 2010
Join Date: Oct 1999
Location: Buenos Aires, Argentina.
Posts: 5,575
I found the problem, the TGAs were the cause!
Thanks, I will check my mod more before asking in the future... iīm so ashamed

------------------
"For each side the only acceptable outcome was the Total elimination of the other..."
Unspeakable Horror is offline  
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 05:21.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright Đ The Apolyton Team