Forums   Articles   Events
SEARCH:
LOGIN:
Register Register Register Contact Us
Go Back   Game Artist Forums > Main > Spotlight Articles
Register FAQForum Rules Members List Calendar Mark Forums Read
Reply
 
LinkBack (4) Thread Tools Display Modes
Old 01-01-2007, 06:56 AM   4 links from elsewhere to this Post. Click to view. #1 (permalink)
Administrator
requiem2d's Avatar
Winner of Speed Texturing 
requiem2d's User Activity: 10/10
2,183 - 328
Tutorial: FPS Weapons Workflow

Welcome to an article on production work flow, more specifically, FPS weapons. This piece is geared towards Mod teams. What it will do is try to explain on how you can optimize your processes as well as help you in making the right choices, it is not an article designed to teach how to model, texture, animate or code weapons in any depth.

The modding community has two major restraints compared to professional studios:
  • Time. Most people modding either have a day job or go to school. Modeling, texturing, animating, mapping, whatever they do, they have to fit it in somewhere between work and family, and that free time is often plagued with interruptions or other distractions resulting in fragmented & short spurts of work.
  • Skill. This can be broken down further into two parts. On the first hand, the quality of an amateur's final product compared to time spent is on average significantly lower than that of a professionals. Second, the breadth of their skills is usually limited to 1 or 2 sets, which is why we often see teams recruiting “UV Mappers”, something which doesn't exist in the industry.
Taking this into consideration, you as Project Lead or Art Lead on a mod team need to make tasks available to your team as fast as you can as well as cut down on the time taken executing these tasks.

Below you will see two charts, the left depicts a typical mod work flow whilst on the right we propose an optimized variant.



When analyzing the typical model, the first thing which should jump out to you is the lack of flexibility. Everybody in the chain is dependent on the other and this can quickly lead to blocks when say your animator is going on vacation. Although he could have gotten his hands on the asset earlier, people somehow feel that the asset needs to be complete with all textures before it can be animated. This thought process where every task has to be done one by one is only in part applicable to what you are trying to accomplish here. You need to break out of this mentality and act upon the opportunities presented to you.

Let's take a look at the Optimized Process step by step:

1. Creating the 1st Person Model
First thing you need to recognize is that a player is only going to see <40% of a weapon in first person view, so spend your time wisely and more importantly, on visible faces. Modeling non-visible faces is one issue which will not only waste time at the beginning, but as a result also waste time when unwrapping and creating a diffuse, spec, alpha, normal and if the occasion arises, a glow map. A modeler should understand or discuss what animations will be used before modeling. In addition, you will be able to use more polygon's where it counts (back of weapon, weapon sights, etc.). An example of eliminating non-visible faces can be seen below:



In most cases you will find opportunities to re-use art assets, even for 1st Person pieces. This usually ranges from magazines to scopes/sights. Identify what these items are in your design document before beginning with production. For some assets you'll only end up producing the body of the weapon.

Another aspect of 1st person models which is recommended are Normal Maps. We are all aware of what they are and how they work but do we really put them to use? You as artist have a decision to make here, do you want the texture artist working hours on end to get the lighting right on a diffuse texture map just so that it interacts incorrectly with lights in-game? Or do you wish to have players carrying a weapon which is an active part of the environment, reacting to all light sources? Beware that it can be a time consuming process with a lot of trial & error if the artist has little experience in this area.





2. First Distribution


Before the modeler unwraps his model, he can send it to the animator. UV or not, Texture or not, the elements and proportions of your model will remain the same. After all is done, your weapon will still be X units long and will still consist of a Body, Magazine, Trigger, Slide, Hammer, etc. So if it needs to go to an animator, do it now ! He/She might be going on vacation in 2 weeks!

In regards to unwrapping, the UV can now focus entirely on visible faces. This not only gives your texture a significantly higher resolution, but also means you can arrange your faces in a more meaningful manner which in turn results in less seams. You've just increased the potential quality of the texture whilst having spent less time!

When unwrapping first person models, people often assume that a proportionate UV map is one which is equally balanced. This is technically correct, but the deciding factor is perspective and a first person view is extreme in that respect and has little to no flexibility. So balance your UV from the first person perspective. Take the example below, the front and back sight in real life are of equal height yet in-game the front sight is 5 times smaller from this perspective! Bad UV's can't save great textures, play it smart.



3. Second Distribution

At this point, instead of handing off the work just to the texture artist, you also want to get the coder in on it. With the Model and UV's in hand the coder can begin setting up the structures & hierarchies required to be able to import the file. Depending on how easily you can replace your import file with an updated model, you might even give it to the coder before the modeler unwraps it!
All of the above has been in relation to the 1st person model, it's now time to take a look at the 3rd person model.

4. World Model

Now that the Modeler has done his work and all other positions are working hard on their newly acquired first person model, we can put this artist back to work.
The world model or 3rd person model is of significantly less detail both in terms of model and texture. Whilst a 1P model can be 5000 Polygons and have a texture of 1024 x 1024 pixels, a 3P model will usually fall down to anywhere between 20%-50% of that value. Also take into consideration that that is for a full model, all faces are visible. A world model can be derived through many different ways. A simple method would be to take your 1P model, remove unnecessary detail, cut it down the middle and then mirror it to the other side. Weapons with a different other half can have the necessary details carved out of this reflection.



Once the modeler is done with this piece, they can pass it on as they did with the 1st person model.

The texture artist doesn't need to go out of his or her way to now complete this piece: taking high resolution orthographic renders with 100% self-illumination from the sides can be used to in a copy paste fashion in order to keep the style the same as the 1st person model. You can even apply the same technique to transfer your 1P normal map by projecting it as a diffuse map. This clearly gets more complicated if your weapon is full of curves which often isn't the case.

Closing remarks

Although the above shows you how you may optimize your processes, it takes more than that to really succeed in such optimizations:
  • Coordination. Someone on your team needs to supervise & coordinate the timely and accurate execution of tasks. They have to be able to identify such time-saving opportunities, be able to look down the road 2 months in advance and make sure a suitable infrastructure is in place (Forums, Repository, FTP, Project Management tool, etc.).
  • Quality vs. Quantity. As supervisor, make sure that quality reaches the level you require and stop there! Do not spend 80% of your resources on making the final 20% of an art asset perfect! Focusing your energy on creating assets which are accurate to the millimeter will result in a mod which will never release! Use your common sense and know when to say “Alright, this piece is done, let's move on”
I hope this article was beneficial to you and your team and that it will help speed up your production line. Mods are time consuming to build and require a lot of dedication, but don't make it harder on yourself ! Identify time saving opportunities and make use of them! Good luck!

Image Credits:
Crysis (PC)
Insurgency - HL2 Mod
Counter Strike Source - HL2 Mod

If you have anything you'd like to add or comment on, please feel free to do so
__________________


Last edited by requiem2d; 09-01-2007 at 06:28 PM.
requiem2d is offline   Reply With Quote
The Following 11 Users Say Thank You to requiem2d For This Useful Post:
Old 01-01-2007, 07:00 AM   #2 (permalink)
Amateur Artist
Nysuatro's User Activity: 0/10
469 - 31
Very nice work you all do for the community.

Happy newyear all
Nysuatro is offline   Reply With Quote
Old 01-01-2007, 08:05 AM   #3 (permalink)
Industry Artist
weasel.acuh5o's Avatar
1st Place 2nd Place 
weasel.acuh5o's User Activity: 0/10
394 - 36
thanks a lot requiem, very nice article. looking forward to more :P
weasel.acuh5o is offline   Reply With Quote
Old 01-01-2007, 09:58 AM   #4 (permalink)
Industry Artist
Talon's Avatar
Winner of Speed Texturing Golden Star 
Talon's User Activity: 6/10
3,569 - 647
Good stuff. Some things to think about for sure

Currently we go...

Model is built.
Model is sent to animator.
Animator animates it.
Animator removes unseen faces once we know which are safe to remove (our melee animations mean you often see a fair bit of the gun).
Optmised model is passed back to modeler.
Modeler unwraps and textures.
Unwrapped model is sent back to animator and is switched in with the original model.
__________________
> My Portfolio
> Supporter of good crits.

Last edited by Talon; 04-01-2007 at 01:55 AM.
Talon is offline   Reply With Quote
Old 01-01-2007, 12:21 PM   #5 (permalink)
New Member
cman2k's Avatar
cman2k's User Activity: 0/10
6 - 0
nicely done, i'm certain this will help many people. good job
__________________

cman2k is offline   Reply With Quote
Old 04-01-2007, 01:10 AM   #6 (permalink)
New Artist
ynvamsi's User Activity: 0/10
1 - 0
Thumbs up

awesome stuff, thanQ for the good article
ynvamsi is offline   Reply With Quote
Old 04-01-2007, 05:23 AM   #7 (permalink)
Senior Member
CaptainCock's Avatar
CaptainCock's User Activity: 0/10
230 - 15
Thanks, was really helpfull for me ! That trick with the 1 and 5 units is neat!
CaptainCock is offline   Reply With Quote
Old 04-01-2007, 05:37 AM   #8 (permalink)
Freelancer
enin's Avatar
enin's User Activity: 0/10
38 - 1
it's all up to some teamwork, but in general it's a good guide
what it doesn't cover is when multiple people are modeling/texturing, etc.
often if a weapon is finished and ready for ingame usage, it might need some adjustements to fit the general look of the other weapons, etc. especially in the texturing area differences between artist are pretty big.
__________________

TO-Crossfire - UT2k4 modification
Insurgency - HL2 modification
«Discover the world of enin.»

enin is offline   Reply With Quote
Old 31-01-2007, 05:07 PM   #9 (permalink)
New Member
Scrub's Avatar
Scrub's User Activity: 0/10
14 - 0
Awesome guide, thanks much for the tips.
Scrub is offline   Reply With Quote
Old 01-02-2007, 05:02 AM   #10 (permalink)
Freelancer
Saker's Avatar
Saker's User Activity: 0/10
11 - 0
Thumbs up

Nice tutorial ... like your tips very much ... it helped me alot .....
keep good work ...
__________________
New Arabian Game
Saker is offline   Reply With Quote
Reply

Bookmarks
Digg del.icio.us StumbleUpon Google
Thread Tools
Display Modes


LinkBacks (?)
LinkBack to this Thread: http://www.game-artist.net/forums/spotlight-articles/1049-tutorial-fps-weapons-workflow.html
Posted By For Type Date
[WIP] Beryl + SpecterDR (4x) - Page 3 - Project Reality Forums This thread Refback 22-02-2008 02:16 PM
Digg - Tutorial: FPS Weapons Workflow This thread Refback 16-01-2008 09:34 AM
[WIP] Beryl + SpecterDR (4x) - Page 3 - Project Reality Forums This thread Refback 07-07-2007 09:18 PM
[WIP] Beryl + SpecterDR (4x) - Page 3 - Project Reality Forums This thread Refback 27-06-2007 12:59 AM


All times are GMT -5. The time now is 01:23 PM.


Powered by vBulletin® Version 3.7.0 Beta 4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0
Copyright © 2006-2008 Game-Artist.Net