I still don't understand. How do I choose the numbers?
I am looking at a working mod with artwork added and it doesn't make any sense to me. I see numbers selected, but I don't see where they came from. For example:
In the items ruleset it says
- type: STR_HEAVY_PLASMA_TERRAN
bigSprite: 61
floorSprite: 29
handSprite: 40
bulletSprite: 11
The extraSprites ruleset has the following info:
- type: BIGOBS.PCK
width: 384
height: 48
subX: 32
subY: 48
files:
57: Resources/TerranPlasmaWeapons/alienterranplasma.gif
- type: FLOOROB.PCK
width: 32
height: 40
files:
29: Resources/TerranPlasmaWeapons/heavyplasma_floorob.gif
- type: HANDOB.PCK
width: 256
height: 40
subX: 32
subY: 40
files:
40: Resources/TerranPlasmaWeapons/heavyplasma_handob.gif
- type: Projectiles
width: 105
height: 3
subX: 3
subY: 3
files:
385: Resources/TerranPlasmaWeapons/terranplasma_bullet.gif
- type: SMOKE.PCK
width: 320
height: 40
subX: 32
subY: 40
files:
56: Resources/TerranPlasmaWeapons/terranplasma_hit.gif
The hand and floor sprites seem simple enough, but I can't figure out where the other two numbers come from. There aren't any files that discuss the artwork other than extraSprites. All four are edited from the original artwork--in particular it is the bigobs and bullet sprites that are most notably different.
--- posts merged - Solarius Scorch ---Never mind, I figured out how it works. It's like adding parts onto the existing image to make it larger, and the numbers are counting sections in the image.
--- posts merged by Solarius Scorch. Please stop doing this without a good reason, I don't feel like merging other people's posts all the time ---don't use pre-existing numbers (from the default ruleset) unless you intend to replace the original sprite rather than make a new weapon.
How do I know which numbers are used and which are not? I've been picking some pretty high numbers but it doesn't seem to get past all the sprites that already exist.