|
Author
|
|
Topic: I added a unit and... |  |
|
Carlos113 Settler Buenos Aires, Argentina Oct 1999
|
 |
posted February 02, 2001 13:34
  |
 |
 |  |
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..." |
OmniGod ACS CtP2 Database Manager Philadelphia, PA, USA --> Really Canadian Dec 1999
|
 |
posted February 02, 2001 18:10
 |
 |
 |  |
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 |
Carlos113 Settler Buenos Aires, Argentina Oct 1999
|
 |
posted February 02, 2001 21:38
  |
 |
 |  |
*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).] |
OmniGod ACS CtP2 Database Manager Philadelphia, PA, USA --> Really Canadian Dec 1999
|
 |
posted February 03, 2001 00:06
 |
 |
 |  |
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 |
Carlos113 Settler Buenos Aires, Argentina Oct 1999
|
 |
posted February 03, 2001 08:20
  |
 |
 |  |
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).] |
OmniGod ACS CtP2 Database Manager Philadelphia, PA, USA --> Really Canadian Dec 1999
|
 |
posted February 03, 2001 10:19
 |
 |
 |  |
ummm? where's the pic found the mistake  |
Carlos113 Settler Buenos Aires, Argentina Oct 1999
|
 |
posted February 03, 2001 10:42
  |
 |
 |  |
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).] |
Carlos113 Settler Buenos Aires, Argentina Oct 1999
|
 |
posted February 03, 2001 15:04
  |
 |
 |  |
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..." |
Carlos113 Settler Buenos Aires, Argentina Oct 1999
|
 |
posted February 04, 2001 15:01
  |
 |
 |  |
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..." |