Thread Tools
Old January 23, 2001, 14:52   #1
skorpion59
Prince
 
Local Time: 03:56
Local Date: October 31, 2010
Join Date: May 1999
Location: Tulsa, Oklahoma, USA
Posts: 716
Sprite Numbers
Wes,

Any chance of you putting together something here listing which sprite numbers go with which units in your mod (and possibly assigning new numbers for the new available units)?

I wanted to add some of BlueO's units to my defaut installation directory structure as well as your units but they conflict. I have been looking at the new units in the DB and they all conflict with each other. This makes it pretty much imposible to add new units without renumbering everything in all the related files. It seems to me we should have a new thread tracking all the sprite numbers so people would be able to tell what number to assign to their new sprites. This way there would be no conflict and all the new units could easily be added to the default structure (for people such as myself which are tired of screwing around with all the load game errors and want them in the default directories).

Since your mod is the defacto standard and you kind of already started this with it, it only seems logical to base all numbering on it. Possibly, Markos could make it a sticky thread and we could keep it updated as new units are added.

In particular, I would like to see the CtP2 units, CtP1 units, Harlan's units (WW2, etc), BlueO's Hi-Tech and misc Amazon/Rogue and the existing other units in the CtP2 DB. Oh, and the WW2 scenario new units.

Just a thought but it would sure make life a lot easier, especially if it was done before all numbering got totally out of control.

[This message has been edited by skorpion59 (edited January 23, 2001).]
skorpion59 is offline  
Old January 23, 2001, 17:07   #2
OmniGod
Civilization IV CreatorsCiv4 SP Democracy Game
Prince
 
OmniGod's Avatar
 
Local Time: 04:56
Local Date: October 31, 2010
Join Date: Dec 1999
Location: Welland, ON
Posts: 751
I've added the ctp1 graphics to the db (just for you ). Later tonight, I'll sift through all the graphic files and I'll create that list that you want. There's maybe a few hundred total units and shouldn't take that long. I'll renumber the ones and repost them tomorrow with the non-conflicting unit numbers, and post a copy of the list in the forum. This should correct any problems people are having and make every unit available to everyone without having to do much more than a cut and paste of the tgas and spr to the correct files.

Rich - I need a break from the bmp map anyways... it's very painful to do all that work. Thank goodness for MP3s, or I'd have gone nuts by now.
OmniGod is offline  
Old January 23, 2001, 20:28   #3
OmniGod
Civilization IV CreatorsCiv4 SP Democracy Game
Prince
 
OmniGod's Avatar
 
Local Time: 04:56
Local Date: October 31, 2010
Join Date: Dec 1999
Location: Welland, ON
Posts: 751
I've moved the list up to this position so others can quickly see what the spr list numbers are. This has been updated on 02/08/01 and will be updated as new #'s are taken.

# CATTLE 1
SPRITE_SETTLER 2
SPRITE_SWORDSMAN 3
SPRITE_SLAVER 4
SPRITE_MOUNTED_ARCHER 5
SPRITE_SAMURAI 6
SPRITE_CATAMARAN 7 #CORACLE
SPRITE_HOPLITE 8
# CATTLE 9
SPRITE_DIPLOMAT 10
SPRITE_CATAPULT 11
SPRITE_CLERIC 12
SPRITE_ARCHER 13
SPRITE_FIRE_TRIREME 14
SPRITE_KNIGHT 15
SPRITE_LONGSHIP 16
SPRITE_PIKEMEN 17
SPRITE_WEREWOLF 18 # MORARU_KYONSHI
SPRITE_CULVERIN 19
SPRITE_CAVALRY 20
SPRITE_SHIP_OF_THE_LINE 21
SPRITE_INFANTRYMAN 22
SPRITE_LAWYER 23
SPRITE_FASCIST 24
SPRITE_ABOLITIONIST 25
SPRITE_CARRACK 26
SPRITE_MACHINE_GUNNER 27
SPRITE_ANTIAIR 28
SPRITE_IRONCLAD 29
SPRITE_TROOP_SHIP 30
SPRITE_SUBMARINE 31
SPRITE_STEALTH_FIGHTER 32
SPRITE_BATTLESHIP 33
SPRITE_SECRET_AGENT 34
SPRITE_FIGHTER 35
SPRITE_AIRCRAFT_CARRIER 36
SPRITE_URBAN_PLANNER 37
SPRITE_TANK 38
SPRITE_MARINE 39
SPRITE_NUKE 40
SPRITE_DESTROYER 41
SPRITE_TELEVANGELIST 42
SPRITE_CARGO_HELICOPTER 43
SPRITE_CRUISE_MISSILE 44
SPRITE_EMPATHIC_DIPLOMAT 45
SPRITE_INTERCEPTOR 46
SPRITE_JET_BOMBER 47
SPRITE_CYBER_NINJA 48
SPRITE_MOBILE_SAM 49
SPRITE_CORPORATE_BRANCH 50
SPRITE_STEALTH_BOMBER 51
SPRITE_SCOUT_SUB 52
SPRITE_PARATROOPER 53
SPRITE_CYBERATTORNEY 54
SPRITE_SPACE_PLANE 55
SPRITE_MOBILE_SUBNEURAL_AD 56
SPRITE_SPY_PLANE 57
SPRITE_AT_ARTILLERY 58
SPRITE_SEA_ENGINEER 59
SPRITE_MOREY_STRIKER 60
SPRITE_KRAKEN 61
SPRITE_PLASMA_DESTROYER 62
SPRITE_DREADNAUGHT 63
SPRITE_ECO_TERRORIST 64
SPRITE_HOVER_INFANTRY 65
#SPRITE_SPACE_ENGINEER 66
SPRITE_JAVELINEER 67 # EB UNIT
SPRITE_INFECTOR 68
SPRITE_CRAWLER 69
SPRITE_PLASMATICA 70
#SPRITE_STAR_CRUISER 71
SPRITE_ZULU_WARRIOR 72 # EB UNIT
SPRITE_HOVER_MARINE 73
#SPRITE_SPACE_BOMBER 74
SPRITE_ECO_RANGER 75
#SPRITE_WORMHOLE_PROBE 76
SPRITE_LEVIATHON 77
SPRITE_FUSION_TANK 78
SPRITE_NUCLEAR_SUBMARINE 79
SPRITE_PT_BOAT 80
SPRITE_ELEPHANT 81
SPRITE_SELF_PROP_GUN 82
#SPRITE_ALEXANDER 83
#SPRITE_DARIUS 84
#SPRITE_GENERAL 85
SPRITE_BANDIT_HORSEMAN 86
#SPRITE_TRIREME 87 # ALEX CATAMARAN
SPRITE_HEAVY_SWORDSMAN 88 # ALEX PHALANX
SPRITE_LONGBOWMAN 89 # ALEX ARCHER2
SPRITE_CITY 90
SPRITE_SPACE_CITY 90
SPRITE_OCEAN_CITY 90
#SPRITE_SAMURAI 91
#SPRITE_SAMURAI2 92
#SPRITE_SAMURAI3 93

# 94-100 Apolyton Pack units
SPRITE_HORSE_ARCHER 94
SPRITE_PRIVATEER 95
SPRITE_MISSILE_CRUISER 96
SPRITE_ATTACK_HELICOPTER 97
Sprite_BlueCatapult 98

## sprite nos. 101-125 reserved
## for Ctp1 and WW2 scenario units.

#GU101.SPR - atank
SPRITE_BOMBER 101 # battle
#GU103.SPR - bf109
SPRITE_GERMAN_TANK 104 # panzer2
SPRITE_GERMAN_TANK2 105 # panzer3
#GU106.SPR - r35
#GU107.SPR - somau
SPRITE_BRITISH_FIGHTER 108 # spitfire
SPRITE_DIVE_BOMBER 109 # stuka
SPRITE_RIFLEMAN 110 # brown marine

SPRITE_KNIGHT 114
SPRITE_HOWITZER 115
SPRITE_LEGION 116
SPRITE_CANNON 117
SPRITE_WAR_WALKER 118
SPRITE_MUSKETEER 119
SPRITE_BOWMAN 120
SPRITE_HOVERTANK 121
SPRITE_SWARM 122
SPRITE_PHALANX 123
SPRITE_WARRIOR 124
SPRITE_TRIREME 125

## sprite nos. 126-150 reserved
## for BlueO's units

## sprite nos. 151-175 reserved
## for Tom Davies' units

SPRITE_SPY 151
SPRITE_NOBLE 152
SPRITE_SLINGER 153
SPRITE_LIGHT_CAVALRY 154
SPRITE_HEAVY_CAVALRY 155
SPRITE_CHARIOT 156
SPRITE_BRONZE_SWORDSMAN 157 # UNUSED
SPRITE_SPEARMAN 158
SPRITE_FYRDMAN 159
SPRITE_BERSERKER 160
SPRITE_ARQUEBUSIER 161
SPRITE_BOMBARD 162
SPRITE_COG 163
#reserved for WWI Tank
SPRITE_MONITOR 165
SPRITE_STORM_MARINE 166 # Mongol
SPRITE_AIRBORNE 167 # PARTISAN
#reserved for Seige Engine

## sprite nos. 199 and down reserved
## for Miscellaneous units
Sprite_BrownCatapult 197
SPRITE_FRIGATE 198
SPRITE_CARRIER 199

[This message has been edited by OmniGod (edited February 08, 2001).]
OmniGod is offline  
Old January 24, 2001, 15:42   #4
hexagonian
The Courts of Candle'Bre
Emperor
 
hexagonian's Avatar
 
Local Time: 04:56
Local Date: October 31, 2010
Join Date: Jun 1999
Location: Smemperor
Posts: 3,405
Anyone making a chariot sprite????? (or a siege tower)
hexagonian is offline  
Old January 24, 2001, 16:46   #5
OmniGod
Civilization IV CreatorsCiv4 SP Democracy Game
Prince
 
OmniGod's Avatar
 
Local Time: 04:56
Local Date: October 31, 2010
Join Date: Dec 1999
Location: Welland, ON
Posts: 751
I believe there is one... just have to look around my computer to find it...
OmniGod is offline  
Old January 25, 2001, 01:56   #6
skorpion59
Prince
 
Local Time: 03:56
Local Date: October 31, 2010
Join Date: May 1999
Location: Tulsa, Oklahoma, USA
Posts: 716
Thanks Omni, I wil spend some time also going through the numbers. I went through the Amazon and other units last night and put them in my default structure. All errors were gone, including the errors when opening the cheat menu. It is to bad they have to be integers. Using names would of made it so much easier.

skorpion59 is offline  
Old January 25, 2001, 10:01   #7
WesW
Apolytoners Hall of Fame
 
WesW's Avatar
 
Local Time: 03:56
Local Date: October 31, 2010
Join Date: Mar 2007
Location: Florence, Al., USA
Posts: 1,554
Sorry, guys, I didn't read this thread until right now.

Just last night, I went and re-worked the sprites for the Med mod, doing all the stuff you guys have talked about here. I did not put explanations for the Ctp2 sprites that I have somply re-named. Here is the newsprite text:

# CATTLE 1
SPRITE_SETTLER 2
SPRITE_SWORDSMAN 3
SPRITE_SLAVER 4
SPRITE_MOUNTED_ARCHER 5
SPRITE_SAMURAI 6
SPRITE_CATAMARAN 7 #CORACLE
SPRITE_HOPLITE 8
# CATTLE 9
SPRITE_DIPLOMAT 10
SPRITE_CATAPULT 11
SPRITE_CLERIC 12
SPRITE_ARCHER 13
SPRITE_FIRE_TRIREME 14
SPRITE_KNIGHT 15
SPRITE_LONGSHIP 16
SPRITE_PIKEMEN 17
SPRITE_WEREWOLF 18 # MORARU_KYONSHI
SPRITE_CULVERIN 19
SPRITE_CAVALRY 20
SPRITE_SHIP_OF_THE_LINE 21
SPRITE_INFANTRYMAN 22
SPRITE_LAWYER 23
SPRITE_FASCIST 24
SPRITE_ABOLITIONIST 25
SPRITE_CARRACK 26
SPRITE_MACHINE_GUNNER 27
SPRITE_ANTIAIR 28
SPRITE_IRONCLAD 29
SPRITE_TROOP_SHIP 30
SPRITE_SUBMARINE 31
SPRITE_STEALTH_FIGHTER 32
SPRITE_BATTLESHIP 33
SPRITE_SECRET_AGENT 34
SPRITE_FIGHTER 35
SPRITE_AIRCRAFT_CARRIER 36
SPRITE_URBAN_PLANNER 37
SPRITE_TANK 38
SPRITE_MARINE 39
SPRITE_NUKE 40
SPRITE_DESTROYER 41
SPRITE_TELEVANGELIST 42
SPRITE_CARGO_HELICOPTER 43
SPRITE_CRUISE_MISSILE 44
SPRITE_EMPATHIC_DIPLOMAT 45
SPRITE_INTERCEPTOR 46
SPRITE_JET_BOMBER 47
SPRITE_CYBER_NINJA 48
SPRITE_MOBILE_SAM 49
SPRITE_CORPORATE_BRANCH 50
SPRITE_STEALTH_BOMBER 51
SPRITE_SCOUT_SUB 52
SPRITE_PARATROOPER 53
SPRITE_CYBERATTORNEY 54
SPRITE_SPACE_PLANE 55
SPRITE_MOBILE_SUBNEURAL_AD 56
SPRITE_SPY_PLANE 57
SPRITE_AT_ARTILLERY 58
SPRITE_SEA_ENGINEER 59
SPRITE_MOREY_STRIKER 60
SPRITE_KRAKEN 61
SPRITE_PLASMA_DESTROYER 62
SPRITE_DREADNAUGHT 63
SPRITE_ECO_TERRORIST 64
SPRITE_HOVER_INFANTRY 65
#SPRITE_SPACE_ENGINEER 66
SPRITE_JAVELINEER 67 # EB UNIT
SPRITE_INFECTOR 68
SPRITE_CRAWLER 69
SPRITE_PLASMATICA 70
#SPRITE_STAR_CRUISER 71
SPRITE_ZULU_WARRIOR 72 # EB UNIT
SPRITE_HOVER_MARINE 73
#SPRITE_SPACE_BOMBER 74
SPRITE_ECO_RANGER 75
#SPRITE_WORMHOLE_PROBE 76
SPRITE_LEVIATHON 77
SPRITE_FUSION_TANK 78
SPRITE_NUCLEAR_SUBMARINE 79
SPRITE_PT_BOAT 80
SPRITE_ELEPHANT 81
SPRITE_SELF_PROP_GUN 82
#SPRITE_ALEXANDER 83
#SPRITE_DARIUS 84
#SPRITE_GENERAL 85
SPRITE_BANDIT_HORSEMAN 86
#SPRITE_TRIREME 87 # ALEX CATAMARAN
SPRITE_HEAVY_SWORDSMAN 88 # ALEX PHALANX
SPRITE_LONGBOWMAN 89 # ALEX ARCHER2
SPRITE_CITY 90
SPRITE_SPACE_CITY 90
SPRITE_OCEAN_CITY 90
#SPRITE_SAMURAI 91
#SPRITE_SAMURAI2 92
#SPRITE_SAMURAI3 93
# 94-100 OPEN

## sprite nos. 101-123 reserved
## for WW2 scenario units.

GU101.SPR - atank
SPRITE_BOMBER 101 # battle
GU103.SPR - bf109
SPRITE_GERMAN_TANK 104 # panzer2
SPRITE_GERMAN_TANK2 105 # panzer3
GU106.SPR - r35
GU107.SPR - somau
SPRITE_BRITISH_FIGHTER 108 # spitfire
SPRITE_DIVE_BOMBER 109 # stuka
GU110.SPR - blue fascist
GU111.SPR - brown fascist
GU112.SPR - german fascist
GU113.SPR - green fascist
GU114.SPR - yellow fascist
GU115.SPR - blue machine gunner
GU116.SPR - german machine gunner
GU117.SPR - green machine gunner
GU118.SPR - yellow machine gunner
GU119.SPR - blue marine
SPRITE_RIFLEMAN 120 # brown marine
GU121.SPR - german marine
GU122.SPR - yellow marine
SPRITE_PILLBOX 123

## sprite nos. 124-150 reserved
## for Ctp1 units.

SPRITE_WARRIOR 124
SPRITE_TRIREME 125
SPRITE_LEGION 126
SPRITE_CANNON 127
SPRITE_WAR_WALKER 128
SPRITE_MUSKETEER 129
SPRITE_HOWITZER 130
SPRITE_HOVERTANK 131
SPRITE_SWARM 132
SPRITE_PHALANX 133

## sprite nos. 151+ reserved
## for player-created units

SPRITE_SPY 151
SPRITE_NOBLE 152
SPRITE_SLINGER 153
SPRITE_LIGHT_CAVALRY 154
SPRITE_HEAVY_CAVALRY 155
SPRITE_HORSE_ARCHER 156
SPRITE_BRONZE_SWORDSMAN 157 # UNUSED
SPRITE_SPEARMAN 158
SPRITE_FYRDMAN 159
SPRITE_BERSERKER 160
SPRITE_ARQUEBUSIER 161
SPRITE_BOMBARD 162
SPRITE_COG 163
SPRITE_FRIGATE 164
SPRITE_MONITOR 165
SPRITE_PRIVATEER 166
SPRITE_CARRIER 167
SPRITE_MISSILE_CRUISER 168
SPRITE_ATTACK_HELICOPTER 169
SPRITE_DRAGOON 170 # CHARIOT
SPRITE_AIRBORNE 171 # PARTISAN
SPRITE_STORM_MARINE 172 # OPEN
WesW is offline  
Old January 25, 2001, 10:08   #8
WesW
Apolytoners Hall of Fame
 
WesW's Avatar
 
Local Time: 03:56
Local Date: October 31, 2010
Join Date: Mar 2007
Location: Florence, Al., USA
Posts: 1,554
Btw, Harlan, did you ever get the Pillbox to work in the game? I have taken it out of the mod right now, though the sprite is still included.

The last three units listed are sprites that I am going to eventually replace with future units.
WesW is offline  
Old January 25, 2001, 11:22   #9
skorpion59
Prince
 
Local Time: 03:56
Local Date: October 31, 2010
Join Date: May 1999
Location: Tulsa, Oklahoma, USA
Posts: 716
Thanks Wes, that gives us a big start on this.

The Pillbox sprite is not used at all. Activision changed it to a tile improvement.
skorpion59 is offline  
Old January 25, 2001, 17:57   #10
WesW
Apolytoners Hall of Fame
 
WesW's Avatar
 
Local Time: 03:56
Local Date: October 31, 2010
Join Date: Mar 2007
Location: Florence, Al., USA
Posts: 1,554
Thanks, Don, that explains some things. I guess that means I would have to include the two tilesets from the WW2 mod, which would add 2megs to it zipped. Given the potential problems with AI usage, I think I will just forget about it.

As for the sprites, you should be able to use any 3-digit number for them, which leaves more than enough space.
The sprites I have in the med mod are all from Tom Davies, Harlan and Lev. Setting aside numbers 151 to 200 for sprites from those guys should be plenty.
I just remembered Harlan's and Gemini's WWII units pack. If you two want to stake out blocks for yourself, then we will go by that.
For those others of you who make sprites, like BlueO, I would suggest you figure out how many sprites you are going to make, and stake a claim to a block of numbers for yourself. I would suggest blocks of 25, starting at 201, unless you know you will be making more than that.
That leaves spaces for 32 other people, which I think will be plenty. Does this sound ok to everyone?
We can have Mark or someone put this into a form to send to people who want to post sprites on Apolyton, and if OmniGod would go by it for his site as well, then I think we could set a standard for numbering.
[This message has been edited by WesW (edited January 25, 2001).]
WesW is offline  
Old January 25, 2001, 18:05   #11
OmniGod
Civilization IV CreatorsCiv4 SP Democracy Game
Prince
 
OmniGod's Avatar
 
Local Time: 04:56
Local Date: October 31, 2010
Join Date: Dec 1999
Location: Welland, ON
Posts: 751
Sounds good Wes... I'll modify the files in the db to go with that and update my site with the numbering set. So how many do you want Blue?

Rich
BTW - any Apache helicopters out there?
[This message has been edited by OmniGod (edited January 25, 2001).]
OmniGod is offline  
Old January 25, 2001, 21:44   #12
WesW
Apolytoners Hall of Fame
 
WesW's Avatar
 
Local Time: 03:56
Local Date: October 31, 2010
Join Date: Mar 2007
Location: Florence, Al., USA
Posts: 1,554
The Attack Helicopter is based upon the Hind.
WesW is offline  
Old January 25, 2001, 22:31   #13
BlueO
Warlord
 
Local Time: 01:56
Local Date: October 31, 2010
Join Date: Dec 2000
Posts: 144
25 should be enough. What number block am I? so I can change the id number of my sprites.
BlueO is offline  
Old January 26, 2001, 11:25   #14
WesW
Apolytoners Hall of Fame
 
WesW's Avatar
 
Local Time: 03:56
Local Date: October 31, 2010
Join Date: Mar 2007
Location: Florence, Al., USA
Posts: 1,554
Blue, I think you are the only other guy so far to make Ctp2 sprites, so you can have 201-225 if you want.
WesW is offline  
Old January 27, 2001, 04:43   #15
Morgoth
Warlord
 
Local Time: 09:56
Local Date: October 31, 2010
Join Date: Jul 1999
Location: England
Posts: 153
Wes
What numbers should I use for any of my units?

Blue O - have you tried compressing your sprites? The files I downloaded were massive so I guess you're using uncompressed files to create the Sprite.
Morgoth is offline  
Old January 27, 2001, 17:21   #16
BlueO
Warlord
 
Local Time: 01:56
Local Date: October 31, 2010
Join Date: Dec 2000
Posts: 144
quote:

Originally posted by Morgoth on 01-27-2001 03:43 AM
Wes
What numbers should I use for any of my units?

Blue O - have you tried compressing your sprites? The files I downloaded were massive so I guess you're using uncompressed files to create the Sprite.


Yup, I am using uncompressed files, however, that's not the reason the sprites are so huge. When I was making those sprites, I kept getting no pixel associated with the alpha error. Browsing through the ctp1 creation forums, someone mentioned that pure black pixels are evil, so wanting to fight evil, I made all pure black pixels in the alpha image to 1,1,1. That worked, but the end result is the huge spirte you see.

But recently, after much trial and error and sheer luck, I discovered how to make a spirte using pure black evil pixels! Alas, its too late for the poor sprites I've already uploaded, but I'm using the new technique to make three new sprites for version 1.03 of my mod. I even remade one of the old sprites and was overjoy to find that its size has being reduced from 3meg to 300k.


By the way, I renumbered my sprites to the 201->225 block and changed the newsprite.txt to reflect that. I keep getting gu00.spr not found on asset tree error.
BlueO is offline  
Old January 27, 2001, 17:38   #17
Paul
Apolytoners Hall of Fame
Emperor
 
Paul's Avatar
 
Local Time: 10:56
Local Date: October 31, 2010
Join Date: Mar 1999
Location: Zwolle, The Netherlands
Posts: 6,737
I believe that CTP1 had the same error message when using sprite numbers over 200. It looks like CTP2 has the same problem.
Paul is offline  
Old January 27, 2001, 20:43   #18
skorpion59
Prince
 
Local Time: 03:56
Local Date: October 31, 2010
Join Date: May 1999
Location: Tulsa, Oklahoma, USA
Posts: 716
Dang, that is going to blow the whole concept. Possibly, first come, first served then????

Anybody have an alternate idea?
skorpion59 is offline  
Old January 28, 2001, 00:58   #19
WesW
Apolytoners Hall of Fame
 
WesW's Avatar
 
Local Time: 03:56
Local Date: October 31, 2010
Join Date: Mar 2007
Location: Florence, Al., USA
Posts: 1,554
I did a test, and got the error, too. Damn. Well, I think that there will still be enough numbers to go around unless you want to add all the WWII stuff from Harlan and Gemini. We might just have to play it by ear.

Right now, I think I will take away some of the spots reserved for the WW2 units, many of whom were the same sprite with only a color change. I can switch the number of reserved spots for Ctp1 units down to fill in the gap, and the same with Tom's units. This should still leave plenty for Blue and anyone else who wants to join in. The 94-100 spots can be left for odd units that people might want to put in sometime in the future.

Once I get this new setup in place, I will turn things over to Omni, since this would seem to fit into his jurisdiction, so to speak.

One good thing came out of all this; the test I used was on the Archer, and the Ctp1 unit came up the first time I tried, and I noticed that there is quite a bit of difference in the two. Therefore, I am going to use the Ctp2 Archer in place of the Slinger as the Ancient age ranged unit, and put the Ctp1 unit as the Classical age unit. I will leave the Slinger in as a ranged companion to the Warrior.
WesW is offline  
Old January 28, 2001, 14:57   #20
WesW
Apolytoners Hall of Fame
 
WesW's Avatar
 
Local Time: 03:56
Local Date: October 31, 2010
Join Date: Mar 2007
Location: Florence, Al., USA
Posts: 1,554
Ok, here is the new newsprite.txt. Below is a copy of the letter I sent to Rich regarding it.

Hi, Rich.
Here is the text. I will let you handle this from now on, unless I have forgotten something.
BlueO has numbers 126-150, so you can tell him to number his units however he wants to using that block.
I don't know how many more units Tom will end up making, though I doubt it would be more than the 25 allotted to him. Anyway, I decided to start at 199 and work down for miscellaneous units that people send it, or if Blue runs out of spaces in his block. Tom can just keep going up, and hopefully we will not meet the misc. units coming down.

Wes

# CATTLE 1
SPRITE_SETTLER 2
SPRITE_SWORDSMAN 3 # CTP2 EXTERNAL NAME WARRIOR
SPRITE_SLAVER 4
SPRITE_MOUNTED_ARCHER 5
SPRITE_SAMURAI 6 # CTP2 EXTERNAL NAME SWORDSMAN
SPRITE_CATAMARAN 7 # CORACLE
SPRITE_HOPLITE 8
# CATTLE 9
SPRITE_DIPLOMAT 10
SPRITE_CATAPULT 11
SPRITE_CLERIC 12
SPRITE_ARCHER 13
SPRITE_FIRE_TRIREME 14
SPRITE_KNIGHT 15
SPRITE_LONGSHIP 16
SPRITE_PIKEMEN 17
SPRITE_WEREWOLF 18 # MORARU_KYONSHI (PREVIOUSLY UNUSED)
SPRITE_CULVERIN 19 # CTP2 CANNON
SPRITE_CAVALRY 20
SPRITE_SHIP_OF_THE_LINE 21
SPRITE_INFANTRYMAN 22
SPRITE_LAWYER 23
SPRITE_FASCIST 24
SPRITE_ABOLITIONIST 25
SPRITE_CARRACK 26
SPRITE_MACHINE_GUNNER 27
SPRITE_ANTIAIR 28 # CTP2 (PREVIOUSLY UNUSED)
SPRITE_IRONCLAD 29
SPRITE_TROOP_SHIP 30
SPRITE_SUBMARINE 31
SPRITE_STEALTH_FIGHTER 32
SPRITE_BATTLESHIP 33
SPRITE_SECRET_AGENT 34 # CTP2 SPY
SPRITE_FIGHTER 35
SPRITE_AIRCRAFT_CARRIER 36
SPRITE_URBAN_PLANNER 37
SPRITE_TANK 38
SPRITE_MARINE 39
SPRITE_NUKE 40
SPRITE_DESTROYER 41
SPRITE_TELEVANGELIST 42
SPRITE_CARGO_HELICOPTER 43
SPRITE_CRUISE_MISSILE 44
SPRITE_EMPATHIC_DIPLOMAT 45
SPRITE_INTERCEPTOR 46
SPRITE_JET_BOMBER 47
SPRITE_CYBER_NINJA 48
SPRITE_MOBILE_SAM 49
SPRITE_CORPORATE_BRANCH 50
SPRITE_STEALTH_BOMBER 51
SPRITE_SCOUT_SUB 52
SPRITE_PARATROOPER 53
SPRITE_CYBERATTORNEY 54
SPRITE_SPACE_PLANE 55
SPRITE_MOBILE_SUBNEURAL_AD 56
SPRITE_SPY_PLANE 57
SPRITE_AT_ARTILLERY 58 # CTP2 WAR_WALKER
SPRITE_SEA_ENGINEER 59
SPRITE_MOREY_STRIKER 60
SPRITE_KRAKEN 61
SPRITE_PLASMA_DESTROYER 62
SPRITE_DREADNAUGHT 63
SPRITE_ECO_TERRORIST 64
SPRITE_HOVER_INFANTRY 65
#SPRITE_SPACE_ENGINEER 66
SPRITE_JAVELINEER 67 # EB UNIT (PREVIOUSLY UNUSED)
SPRITE_INFECTOR 68
SPRITE_CRAWLER 69
SPRITE_PLASMATICA 70 # CTP2 UNUSED
#SPRITE_STAR_CRUISER 71
SPRITE_ZULU_WARRIOR 72 # EB UNIT (PREVIOUSLY UNUSED)
SPRITE_HOVER_MARINE 73 # CTP2 UNUSED
#SPRITE_SPACE_BOMBER 74
SPRITE_ECO_RANGER 75
#SPRITE_WORMHOLE_PROBE 76
SPRITE_LEVIATHON 77
SPRITE_FUSION_TANK 78
SPRITE_NUCLEAR_SUBMARINE 79
SPRITE_PT_BOAT 80 # CTP2 FRIGATE
SPRITE_ELEPHANT 81 # ALEX ELEPHANT_WARRIOR
SPRITE_SELF_PROP_GUN 82 # CTP2 ARTILLERY
#SPRITE_ALEXANDER 83
#SPRITE_DARIUS 84
#SPRITE_GENERAL 85
SPRITE_BANDIT_HORSEMAN 86
#SPRITE_CATAMARAN 87 # ALEX TRIREME
SPRITE_HEAVY_SWORDSMAN 88 # ALEX PHALANX
SPRITE_LONGBOWMAN 89 # ALEX ARCHER2
SPRITE_CITY 90
SPRITE_SPACE_CITY 90
SPRITE_OCEAN_CITY 90
#SPRITE_SAMURAI 91
#SPRITE_SAMURAI2 92
#SPRITE_SAMURAI3 93

# 94-100 Apolyton Pack units
SPRITE_HORSE_ARCHER 94
SPRITE_PRIVATEER 95
SPRITE_MISSILE_CRUISER 96
SPRITE_ATTACK_HELICOPTER 97


## sprite nos. 101-125 reserved
## for Ctp1 and WW2 scenario units.

#GU101.SPR - atank
SPRITE_BOMBER 101 # battle
#GU103.SPR - bf109
SPRITE_GERMAN_TANK 104 # panzer2
SPRITE_GERMAN_TANK2 105 # panzer3
#GU106.SPR - r35
#GU107.SPR - somau
SPRITE_BRITISH_FIGHTER 108 # spitfire
SPRITE_DIVE_BOMBER 109 # stuka
SPRITE_RIFLEMAN 110 # brown marine

#SPRITE_KNIGHT 114
SPRITE_HOWITZER 115
SPRITE_LEGION 116
SPRITE_CANNON 117
SPRITE_WAR_WALKER 118
SPRITE_MUSKETEER 119
SPRITE_BOWMAN 120 # CTP1 ARCHER
SPRITE_HOVERTANK 121
SPRITE_SWARM 122
SPRITE_PHALANX 123
SPRITE_WARRIOR 124
SPRITE_TRIREME 125

## sprite nos. 126-150 reserved
## for BlueO's units

## sprite nos. 151-175 reserved
## for Tom Davies' units

SPRITE_SPY 151
SPRITE_NOBLE 152
SPRITE_SLINGER 153 # UNUSED
SPRITE_LIGHT_CAVALRY 154
SPRITE_HEAVY_CAVALRY 155
SPRITE_CHARIOT 156
SPRITE_BRONZE_SWORDSMAN 157 # UNUSED
SPRITE_SPEARMAN 158
SPRITE_FYRDMAN 159
SPRITE_BERSERKER 160
SPRITE_ARQUEBUSIER 161
SPRITE_BOMBARD 162
SPRITE_COG 163
#reserved for WWI Tank
SPRITE_MONITOR 165
SPRITE_STORM_MARINE 166 # MONGOL
SPRITE_AIRBORNE 167 # PARTISAN
#reserved for Seige Engine

## sprite nos. 199 and down reserved
## for Miscellaneous units
SPRITE_FRIGATE 198 # HARLAN'S WWII UNIT
SPRITE_CARRIER 199 # HARLAN'S WWII UNIT

[This message has been edited by WesW (edited February 02, 2001).]
[This message has been edited by WesW (edited February 02, 2001).]
WesW is offline  
Old January 30, 2001, 01:26   #21
OmniGod
Civilization IV CreatorsCiv4 SP Democracy Game
Prince
 
OmniGod's Avatar
 
Local Time: 04:56
Local Date: October 31, 2010
Join Date: Dec 1999
Location: Welland, ON
Posts: 751
New addition

SPRITE_CHARIOT 169
OmniGod is offline  
Old January 30, 2001, 18:52   #22
WesW
Apolytoners Hall of Fame
 
WesW's Avatar
 
Local Time: 03:56
Local Date: October 31, 2010
Join Date: Mar 2007
Location: Florence, Al., USA
Posts: 1,554
The Chariot is already plugged in at 156.
WesW is offline  
Old January 30, 2001, 22:15   #23
OmniGod
Civilization IV CreatorsCiv4 SP Democracy Game
Prince
 
OmniGod's Avatar
 
Local Time: 04:56
Local Date: October 31, 2010
Join Date: Dec 1999
Location: Welland, ON
Posts: 751
dope.. I'll change the file to 156... I didn't even see it... my faux pas.
OmniGod is offline  
Old January 31, 2001, 05:30   #24
Harlan
Apolytoners Hall of Fame
 
Local Time: 01:56
Local Date: October 31, 2010
Join Date: Aug 2005
Location: Berkeley, CA, USA
Posts: 1,053
I've got a problem. I started renaming sprites today, in the hopes of using the new sprite numbering system, and getting rid of the save game problem from my scenario. However, I ran into a snag. I renamed the Catamaran sprite from 99 to 87 in the newsprite.txt file, and then deleted the 99 sprite in my scenario folder, since there should be a 087 sprite in the default folders of the same thing (when I started out, I didn't realize all the CTP1 sprites were there). However, when I start the game up, it claims the 99.spr is missing. I can't see why it would even be looking for the 99 sprite, since no file refers to it anymore.

I can only guess that the info about the 99 sprite is hardcoded into the scenario file now somehow. This could wreak havoc with people who want to use my scenario and other scenarios, unless I can get over this problem somehow. Any ideas?

Harlan is offline  
Old January 31, 2001, 21:25   #25
skorpion59
Prince
 
Local Time: 03:56
Local Date: October 31, 2010
Join Date: May 1999
Location: Tulsa, Oklahoma, USA
Posts: 716
Aren't problems fun?????

This goes back to CtP1 and I had forgotten about it.
When you save map-related scenarios, it saves information pertaining to all the files which were used. In CtP1, the only way to undo this was to start over from scratch with the correct files in place. I looked through the .c2g file but didn't see any easy way to fix this, so far.
skorpion59 is offline  
Old February 1, 2001, 02:18   #26
Harlan
Apolytoners Hall of Fame
 
Local Time: 01:56
Local Date: October 31, 2010
Join Date: Aug 2005
Location: Berkeley, CA, USA
Posts: 1,053
Double plus damn. I was afraid of that! Scenario makers, beware.
Harlan is offline  
Old February 1, 2001, 05:25   #27
Harlan
Apolytoners Hall of Fame
 
Local Time: 01:56
Local Date: October 31, 2010
Join Date: Aug 2005
Location: Berkeley, CA, USA
Posts: 1,053
Yea! I think I may have found a workaround to my bug. Turns out the scenario file only checks to make sure the sprites put into the scenario sprite folder is being used at all, you can still change which unit is using it. So I fobbed off the sprite numbers to units that aren't in the game, and then replaced their sprite with the smallest sized ones possible. Then I used the numbering system posted earlier in this thread. Seems to work. Not pretty, since I'll now have all these useless tiny sprites in the sprite folder, but works.
Harlan is offline  
Old February 2, 2001, 07:04   #28
Harlan
Apolytoners Hall of Fame
 
Local Time: 01:56
Local Date: October 31, 2010
Join Date: Aug 2005
Location: Berkeley, CA, USA
Posts: 1,053
A problem with this numbering system is it cuts out all of the CTP1 sprites, except a few Wes is using. Some of those have some significant differences. Personally, I need to use two for the Alex scenario, so I'm staking out 194 for the CTP1 Knight, and 195 for the CTP1 Phalanx.
Harlan is offline  
Old February 2, 2001, 12:49   #29
OmniGod
Civilization IV CreatorsCiv4 SP Democracy Game
Prince
 
OmniGod's Avatar
 
Local Time: 04:56
Local Date: October 31, 2010
Join Date: Dec 1999
Location: Welland, ON
Posts: 751
The phalanx from CTP is #123 the knight isn't included so it can be added but make it 114 since 101 to 125 is reserved for WWII and CTP sprites.
OmniGod is offline  
Old February 2, 2001, 16:09   #30
WesW
Apolytoners Hall of Fame
 
WesW's Avatar
 
Local Time: 03:56
Local Date: October 31, 2010
Join Date: Mar 2007
Location: Florence, Al., USA
Posts: 1,554
Situations like Harlan's are why I left room to add a few more units.
Also, I went ahead and changed the name of the Ctp2 Trireme to Catamaran, to avoid conflicts if people want to have both units.
If you add more Ctp1 units which share the name of a Ctp2 unit, you will have to change the Ctp1 unit to something else, and note its original name with a comment. I will go back and do this for all the other units I have re-named as well.
[This message has been edited by WesW (edited February 02, 2001).]
WesW 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:56.


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