sprite editing and decorate scritpting

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.
Locked
User avatar
WWII44
Posts: 169
Joined: Thu Nov 25, 2010 5:32 pm

sprite editing and decorate scritpting

Post by WWII44 »

If some one could enlighten me on the fallowing subjects I would greatly apreciate it.

1. what is the best method of lengthening the barrel of a gun sprite so it dosn't look wonky?

2. how to make additions to the sprite(i.e. scopes, bayonets, and grenade launchers) look like they were always part of the sprite?

3. how can I make angeld sprites out of centered ones and visa versa?

4. how can I emplement relaoding into a weapons scirpt so that after it fires a set number of shots(i.e. five for the shotgun) it will go though a reloading cycle?

5. How can I rotate a gun sprite for a recoil frame so that it dosn't look the doom guy is moving his hand to the right a the gun raises?

6. what is the most efective and belivable way to rehand a weapon?
User avatar
ReX
Posts: 1584
Joined: Tue Aug 05, 2003 10:01 am
Location: Quatto's Palace
Contact:

Re: sprite editing and decorate scritpting

Post by ReX »

WWII44 wrote:1. what is the best method of lengthening the barrel of a gun sprite so it dosn't look wonky?
I'm not sure what you mean by "wonky" - currently wonky or wonky after the lengthening? Also, are you talking about the gun sprite in the Heads Up Display (HUD, which is what is shown on your screen in-game as the gun held by the player's hands) or the gun sprite that you pick up in-game?

In both cases you'll need to manually edit the sprite images in a graphics editor (e.g. MS Paint). In the case of the HUD sprites, you'll need to make sure that the gun barrel is tapered as you lengthen it, and is done for each frame of the animation. In the case of the pick-up sprite you simply lengthen the barrel.
2. how to make additions to the sprite(i.e. scopes, bayonets, and grenade launchers) look like they were always part of the sprite?
Again, manual graphics editing is the only way to go. This will be much more challenging than simply lengthening the barrel of a gun
3. how can I make angeld sprites out of centered ones and visa versa?
Ditto. This will also be quite a challenge, as it will involve redrawing the sprites.
4. how can I emplement relaoding into a weapons scirpt so that after it fires a set number of shots(i.e. five for the shotgun) it will go though a reloading cycle?
You'll need to create a DECORATE definition for the weapon that includes Reload Checks.
5. How can I rotate a gun sprite for a recoil frame so that it dosn't look the doom guy is moving his hand to the right a the gun raises?
I'm not following what you're trying to do here. Please explain better.
6. what is the most efective and belivable way to rehand a weapon?
Please define "rehand". Switch hands? If you're looking for a way to show the player switching the weapon from one hand to the other, it will involve a great deal of new artwork.
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
Contact:

Re: sprite editing and decorate scritpting

Post by wildweasel »

"Rehanding" is something us resource-editing types say to refer to changing whose hands are on a gun, for example adding Blood hands to a weapon that originally only had Doomguy hands.
User avatar
WWII44
Posts: 169
Joined: Thu Nov 25, 2010 5:32 pm

Re: sprite editing and decorate scritpting

Post by WWII44 »

I'm not following what you're trying to do here. Please explain better.
It looks like the doom guy is tilting the gun to one side rathe than the gun going up and back.
Locked

Return to “Editing (Archive)”