Dumb-arsed question about spriteage.

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
User avatar
Galaxy_Stranger
Posts: 1326
Joined: Sat Aug 16, 2003 11:42 pm
Location: Shropshire

Dumb-arsed question about spriteage.

Post by Galaxy_Stranger »

Can you add sprites to a thing - like that candle? Er - what I mean is, can you add sides to it so you can add sprites?

Also, this just came to mind - let's say in map1.wad you replace the sprites for, say, the Lost Soul. You save it and that's that. Then, you make a second .wad - map2.wad. This time you use yet another set of sprites for the Lost Soul.

If you combine these two .wads, will the Lost Soul appear differently in each map, or will the last map in the chain take prescedent?
User avatar
Nanami
Posts: 1066
Joined: Tue Jul 15, 2003 5:13 pm
Location: That little island pritch created.

Post by Nanami »

Things that look the same on all sides are 0-angle sprites. The sprite names are like this:

wxyzA0

The "wxyz" are where the name of the frame goes. Like TROO or BAL3 ROFL or whatever you decide to call it. A means it's the first frame, and 0 means it's a 0-angle sprite.

Things that have multiple angles have 8 angles, and look like this:

TROOA1
TROOA2
TROOA3

Although normally some are mirrored and may look like this:

TROOA2A8
TROOA3A7

But that's a little more complicated. ZDoom has 16 angle sprites and I THINK the format is this:

TROOA1
TROOA2
...
TROOA8
TROOA9
TROOAA
TROOAB
...

Although I'm not sure, you'd be better off asking someone like LilWhiteMouse.

In any case, if you want to add angles rename the sprites. In ZDoom you can just add DECORATE items and supply the frames inside the wad. The DECORATE will pick it up and know what frames to use.
User avatar
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Operating System Version (Optional): Tumbleweed x64
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany

Post by Hirogen2 »

Half an error. A1 (0°), A2 (45°), A3 (90°), etc... Extension: A9 (22,5°), AA (45+22,5°),
AB (2*45+22°)etc.
Last edited by Hirogen2 on Mon Aug 18, 2003 4:32 am, edited 1 time in total.
User avatar
Galaxy_Stranger
Posts: 1326
Joined: Sat Aug 16, 2003 11:42 pm
Location: Shropshire

Post by Galaxy_Stranger »

Ok, I'm getting a hair lost.

In this case, it's the Candle. And it's only sprite is CANDA0. Now, are you saying that I can give the candle more sides simply by adding sprites and changing the sequence?

If so, it would work like this, right?:
CANDA1
CANDA2
CANDA3
...etc, until I get a few extra sides I need?
User avatar
Nanami
Posts: 1066
Joined: Tue Jul 15, 2003 5:13 pm
Location: That little island pritch created.

Post by Nanami »

To make an 8-sided candle you'd need CANDA1 - CANDA8, that should be all you need unless it's animated.

Hirogen, are you sure it uses A10 and A11, etc? That would make it impossible to mirror, wouldn't it? TROOA10A12 is too long to fit in the normal 8-character naming format lumps have. I thought it used 9, A-F.
User avatar
Galaxy_Stranger
Posts: 1326
Joined: Sat Aug 16, 2003 11:42 pm
Location: Shropshire

Post by Galaxy_Stranger »

Ok, I'm using DeePsea for most of my editing -

Normally you would add the sprites by ... - eeesh, this is so complicated, I haven't messed with this in so long -

Would you use a dehacked patch to affix the new sprites to the thing? If so, how would you do it in DeePsea?
Also, I can't remember - can you tag a sound on an object instead of a map spot?
User avatar
Nanami
Posts: 1066
Joined: Tue Jul 15, 2003 5:13 pm
Location: That little island pritch created.

Post by Nanami »

I don't think you'll need DeHacked.
User avatar
Galaxy_Stranger
Posts: 1326
Joined: Sat Aug 16, 2003 11:42 pm
Location: Shropshire

Post by Galaxy_Stranger »

Ok, let's say I've got my sprites done and ready - exacly how do I get them to be displayed on the candle?
User avatar
Nanami
Posts: 1066
Joined: Tue Jul 15, 2003 5:13 pm
Location: That little island pritch created.

Post by Nanami »

Just put them in the wad between S_START and S_END. I'm not sure if that'll work but it might... if nothing else you can named the CANDB1 - CANDB8 and use a Deh patch that changes the frames to CANDB* instead of CANDA*, which I know will work.
User avatar
The Ultimate DooMer
Posts: 2109
Joined: Tue Jul 15, 2003 5:29 pm
Location: Industrial Zone

Post by The Ultimate DooMer »

You could even create it in DECORATE if you want.
User avatar
Galaxy_Stranger
Posts: 1326
Joined: Sat Aug 16, 2003 11:42 pm
Location: Shropshire

Post by Galaxy_Stranger »

That's all I have to do? Just put the sprites in the .wad with that naming sequence, and the candle will desplay the new sprites?
User avatar
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Operating System Version (Optional): Tumbleweed x64
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany

Post by Hirogen2 »

Nanami wrote:Hirogen, are you sure it uses A10 and A11, etc? That would make it impossible to mirror, wouldn't it? TROOA10A12 is too long to fit in the normal 8-character naming format lumps have. I thought it used 9, A-F.
Right. Nice error of mine! :P
User avatar
Eevee
Posts: 592
Joined: Wed Jul 16, 2003 5:26 am

Post by Eevee »

Keep in mind that this gets confusing if you've been playing with dehacked for two days straight, see A0, and think the 0 is the sprite subnumber o.o once I added two new subsprites and called them A1 and A2, then couldn't figure out why it didn't work o.x durh. (and, by "once" I mean "about three days ago". I hadn't slept much in a week! Not my fault!)

While I'm adding pointless stories of my untelligence to this thread, is there a DECORATE reference-like thing anywhere? I think it's the only ZDoom thing I've yet to dabble with, I don't know anything about it at all, and there are only so many dead Lost Souls and Pain Elemental respawn frames to play with.

Oh, I can contribute something useful. Doing it in DeePsea: Press F7, click the big button labeled "Merge-Import multiple FILES etc", then click "Open Target File" and pick your WAD. Use "Insert Target" on the right to make two lumps, S_START and S_END immediately after it. Select S_START in the lump list. Use "Add Lump Files" on the left to pick your new sprites, give them appropriate lump names, select the radio button for the correct offsets, and click "Save ALL Files".

Someone needs to make a WinTex-like tool that supports ZDoom WADs o.O DeePsea is great but its assorted lump editors are a bit tedious to use sometimes.

Sorry, I ramble. o.o what was this thread about again?
User avatar
Enjay
 
 
Posts: 27332
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Post by Enjay »

I think it's all been covered, but these pages written by some strange guy a couple of years ago may help...

http://www.btinternet.com/~Enjay001/doomsprites.htm

http://www.btinternet.com/~Enjay001/doomsprites2.htm
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed

Post by wildweasel »

Galaxy_Stranger wrote:That's all I have to do? Just put the sprites in the .wad with that naming sequence, and the candle will desplay the new sprites?
Yes, that is perfectly true. I saw Strain use an 8-sided sprite for the BFG, and found the graphics and put them in my own PWAD and it worked. No patching or anything.

Return to “Editing (Archive)”