Sprites Question...Can angles show different scenes

This is where our experts try to teach you the very flexible modding system for our previous release - SOW Gettysburg and its add-ons. It's powerful, but dangerous. Post your tips and your questions.
User avatar
RebBugler
Reactions:
Posts: 4256
Joined: Sun Aug 03, 2008 12:51 am
Location: Ouachita Mountains, Arkansas

Sprites Question...Can angles show different scenes

Post by RebBugler »

Would have asked this on our team board, but I think this would be good general knowledge...helping folks enhance the game better.

To clarify my question, this is in reference to the Death sprites...since each units graphic's file has 8 angles per page, and really shows just 4 frames from any given angle...Is it possible to design 8 different death scenes per sprite sequence?

For example, if I design a head shot at one angle, a torso shot at another angle, then a lower shot or an arm shot, and so on...would the different hits show up depending on the viewing angle?

Hope this isn't a dumb question, I'm just now figuring out, or trying to, the sprite design process. It's much different than the flag layout. Flags read across, it appears sprites read down, but cover the angles across...now I confused myself. I'll shut up, and wait for a guru or two.

Edit: Really shows 16 angles per sprite, 2 lines for each individual sprite, so potentially 16 scenes, but for my question, how to make it work for 8...or will it? Shutting up again.
Last edited by RebBugler on Sat Jul 30, 2011 6:35 pm, edited 1 time in total.
Reason: Added Info
Bugles & Flags Gettysburg - Toolbar, Flags, Scenarios, and More...
Jim
Reactions:
Posts: 1082
Joined: Tue Nov 27, 2007 8:53 am

Re: Sprites Question...Can angles show different scenes

Post by Jim »

A specific sprite frame is displayed depending on the angle between the sprite and the Point of View.

If you changed the sprites as mentioned then as you move relative to a specific dead body, then the wound location would appear to jump from head to torso on the same dead body. This might look a bit odd. :ohmy:

To add additional death sprite sets, you need to create a full set of 16 angles for each one. Then the appropriate csv files need to be edited to enable the additional sprite sets.

Adding an additional death sprite set for each uniform sprite set could put you over the memory limit on 32 bit XP systems.

-Jim
"My God, if we've not got a cool brain and a big one too, to manage this affair, the nation is ruined forever." Unknown private, 14th Vermont, 2 July 1863
Davinci
Reactions:
Posts: 3034
Joined: Wed Jul 02, 2008 12:53 pm

Re: Sprites Question...Can angles show different scenes

Post by Davinci »

RebBugler – hey, I have absolutely zero knowledge in how the graphic process works, and I think that the only two to answer this would be Bedbug, or Tim.

With that said, your question is probably associated with your attempt to make a graphic that has dismembered figures.

I think that as long as your files conform to the present design that you can have a different angle representing different shots.

I also think that if the camera is moving and there is a drastic camera change or viewing angle that your sprites will probably jump \ move that would look quite awkward.

Norb – has also coded the death-sprites different than the other sprites, so I think that there is a limited window when dealing with these death sprites.

If you plan on adding additional frames to these, the impact on the games FPS will probably be affected, considering that you are talking about a lot of sprites on the field.

Didn’t really offer in more information than you already knew!

davinci
The only true logic is that, there is no true logic!
Davinci
Reactions:
Posts: 3034
Joined: Wed Jul 02, 2008 12:53 pm

Re: Sprites Question...Can angles show different scenes

Post by Davinci »

Well, Jim beat me to the punch, so add Jim to the above list as to who would know about how the graphics work!

Reb - this seems to be a lot of work for a two second graphical display.

davinci
The only true logic is that, there is no true logic!
CoB4thTEXAS
Reactions:
Posts: 153
Joined: Tue Jan 15, 2008 11:08 am

Re: Sprites Question...Can angles show different scenes

Post by CoB4thTEXAS »

Reb,

Here's somthing i was messing with along this topic.

Kinda puts bullet hit on the ground around troops firing. i just copy the attached file over

the unit graphic files and save. Just the firing and death ones (hi-res only)

Could give ya some ideals though

A couple of cautions .....

1. A little goes along way. (expecially with one uniform units)

2. Stay away form any Death file 3.
The attachment Untitled687858.zip is no longer available
*S*
Attachments
Untitled687858.zip
(6.84 KiB) Downloaded 1 time
rclark14
Reactions:
Posts: 214
Joined: Sat Mar 05, 2011 1:33 pm

Re: Sprites Question...Can angles show different scenes

Post by rclark14 »

Hi, is this a mod
User avatar
RebBugler
Reactions:
Posts: 4256
Joined: Sun Aug 03, 2008 12:51 am
Location: Ouachita Mountains, Arkansas

Re: Sprites Question...Can angles show different scenes

Post by RebBugler »

Thanks guys, I've been away testing this idea, and Texas, I'll check out that attachment soon.

Now, a little contrary to what Jim said, and I thought just the same way, I have discovered something very significant. It's not your viewing angle that gets called, it's the angle the sprite falls. I determined this by editing the first column of sprites with a head blowing up. Fragmented the head and included extra blood, almost a gush. Then, took forever, I watched as that sprite went through various death angles. Finally, the head shot showed up as the sprite fell exactly backwards...it was cool because it stood out among the other Death angles, and was far from redundant, rare in fact.

Sure, this needs more testing, and you guys will probably be the willing testers. My next edition of BloodBath will include head shots for all uniform types, and probably just 2 angles...the first column edited only. It's like a blood treasure hunt, you don't know when the head shot will kick in, but when it does...Holy BloodBath. :evil:

Again I say, Much Appreciated Guys...more feedback on this subject is certainly welcome. :)
Bugles & Flags Gettysburg - Toolbar, Flags, Scenarios, and More...
Davinci
Reactions:
Posts: 3034
Joined: Wed Jul 02, 2008 12:53 pm

Re: Sprites Question...Can angles show different scenes

Post by Davinci »

I have discovered something very significant. It's not your viewing angle that gets called; it's the angle the sprite falls.
RebBugler – considering that you are the one that is seeing this, and testing this, that just doesn’t make too much sense.

I’m thinking that maybe you are viewing a fragmented portion of a frame, but the game would almost have to show the angle based on the point of view of the camera.

Or, maybe the game is coded to show something like 20% left, 60% center, and 20% right, which would give the impression that the figures are not flat looking.

Well, I guess that you may prove me wrong on this, but I’m convinced that it has to be the viewing angle of the camera that determines the frame that you see in the game.

davinci
Last edited by Davinci on Sun Jul 31, 2011 12:40 am, edited 1 time in total.
The only true logic is that, there is no true logic!
User avatar
RebBugler
Reactions:
Posts: 4256
Joined: Sun Aug 03, 2008 12:51 am
Location: Ouachita Mountains, Arkansas

Re: Sprites Question...Can angles show different scenes

Post by RebBugler »

I have discovered something very significant. It's not your viewing angle that gets called; it's the angle the sprite falls.
RebBugler – considering that you are the one that is seeing this, and testing this, that just doesn’t make too much sense.

I’m thinking that maybe you are viewing a fragmented portion of a frame, but the game would almost have to show the angle based on the point of view of the camera.

Or, maybe the game is coded to show something like 20% left, 60% center, and 20% right, which would give the impression that the figures are not flat looking.

Well, I guess that you may prove me wrong on this, but I’m convinced that it has to be the viewing angle of the camera that determines the frame that you see in the game.

davinci
You're right D, it certainly is the viewing angle, like Jim said also. However, my tests showed that regardless of how you define it, the head shot works. If you're panning around it may only show part of the frames, but the other angle frames, with their included blood, will continue it's progress through the 8 frame cycle, and this transfer of frames would be almost impossible to spot and identify as a glitch...we're talking 1 second max for the complete cycle.

So, I'm excited about this idea, lots of possibilities for numerous death scenes, and an infinite amount when the angles change...just design them as somewhat meldable.
Bugles & Flags Gettysburg - Toolbar, Flags, Scenarios, and More...
Davinci
Reactions:
Posts: 3034
Joined: Wed Jul 02, 2008 12:53 pm

Re: Sprites Question...Can angles show different scenes

Post by Davinci »

You're right D, it certainly is the viewing angle, like Jim said also.
Reb – it’s not really about right or being wrong considering that you are experimenting with adding something into the game, it has a little bit more to do with the logic of the frames.

Think about it from a different perspective – when viewing the objects such as trees, rocks, bushes, or etc…. – what happens is that the objects will turn in relation to the view of the camera.

I’m sort of slow, but I do try to always look at things from the stand point of logic, even if that logic is flawed by me.

davinci
The only true logic is that, there is no true logic!
Post Reply