Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 0
PaulWillPlay

Replacing Item Sprites in Freedoom2?

Question

Hello! I'm working on my first mod and I'm quite noob status. I can import textures and weapons, but I'm having trouble importing anything else, and I wouldn't know where to start to actually create a new weapon on my own. Just to give an idea of where my skill level is.

 

So the issue I'm having is that I'm trying to replace most of the item sprites in freedoom2, and while they show up in UDB while editing, when I playtest they are all invisible. And no, they aren't set to invisible on accident. I made a wad containing all of my new sprites between S_START and S_END lumps, imported PATCH and TEXTURE and added them to it. I did not convert them to Doom palette, as I didn't with any of the textures or weapons either and they work and look great. I feel like it's something small I'm missing, maybe a DECORATE or something. Please point me in the right direction.

 

Thanks

Share this post


Link to post

7 answers to this question

Recommended Posts

  • 2
7 hours ago, PaulWillPlay said:

I made a wad containing all of my new sprites between S_START and S_END lumps, imported PATCH and TEXTURE and added them to it.

Under normal circumstances, sprites should NOT be added to patches/pnames or texture lumps. You should remove them from the patches and textures, as that may be what is causing the problem.
 

Share this post


Link to post
  • 1

the Y offset should be the same as the height of the sprite (give or take a few pixels).

 

the X offset should be half the width of the sprite (roughly).

Share this post


Link to post
  • 1

So when you say that you've given them offsets, have you done it in SLADE for the sprite resources, in the red marked location as shown below?:
image.png?width=960&height=385

Make sure to also save the sprites after setting offsets for them in SLADE.

Share this post


Link to post
  • 0

 

3 hours ago, ViolentBeetle said:

Have you set sprite offset?

 

It appears I forgot to, but after doing so they still don't appear in playtesting.

EDIT: I've figured out the problem, but not a solution. For some reason, seemingly regardless of how I choose to offset them, the item sprites I've replaced fall beneath the floor. They are still there and can be picked up, but they can't be seen. For example, former human drops a clip and it's visible as it falls, until it goes beneath the floor.

 

Help?

Edited by PaulWillPlay : New information

Share this post


Link to post
  • 0

I've removed the patch and texture lumps from the sprite replacement wad, and tweaked my offsets, and still they fall through the floor. I have some of them saved at around eye level and it's almost funny how they fall through the floor as soon as the map loads. Almost lol.

 

So the wireframe boxes around the items when viewing in 3D mode in UDB, for some reason the sprites are attached to the bottom of these boxes. And it isn't the offsets, I've tested them at proper settings and at extremes and they stay attached to the bottom, waiting just under the floor.

IMG20230723135945.jpg

Edited by PaulWillPlay : Attaching photo

Share this post


Link to post
  • 0
1 hour ago, Worst said:

So when you say that you've given them offsets, have you done it in SLADE for the sprite resources, in the red marked location as shown below?:
image.png?width=960&height=385

Make sure to also save the sprites after setting offsets for them in SLADE.

EDIT: SOLVED - I guess I had merged the sprites into the map wad and forgotten, and I never set the offsets there. So basically your advice was correct and I just wasn't using it in the right place. Thanks!

 

Yes, this is where I've been tweaking the offsets and saving the sprites (if you mean the save button in the top left corner of the sprite editor there). I saw somewhere someone was saying that if you use the auto offset feature it could set them too far right. Since mine are both right and down, I thought that may have been the issue so I deleted all the sprites out of the wad and reimported them, set them all strictly by hand (last time I used auto and then tweaked them) and still nothing. I feel like I have to have accidentally messed with something to make them stick to the bottom like that. I mean I got no other ideas

Edited by PaulWillPlay

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×