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?
sprite editing and decorate scritpting
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.
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.
Re: sprite editing and decorate scritpting
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?WWII44 wrote:1. what is the best method of lengthening the barrel of a gun sprite so it dosn't look wonky?
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.
Again, manual graphics editing is the only way to go. This will be much more challenging than simply lengthening the barrel of a gun2. how to make additions to the sprite(i.e. scopes, bayonets, and grenade launchers) look like they were always part of the sprite?
Ditto. This will also be quite a challenge, as it will involve redrawing the sprites.3. how can I make angeld sprites out of centered ones and visa versa?
You'll need to create a DECORATE definition for the weapon that includes Reload Checks.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?
I'm not following what you're trying to do here. Please explain better.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?
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.6. what is the most efective and belivable way to rehand a weapon?
- 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
"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.
Re: sprite editing and decorate scritpting
It looks like the doom guy is tilting the gun to one side rathe than the gun going up and back.I'm not following what you're trying to do here. Please explain better.