[ News | About | Media | Downloads | Tutorials | Contact ]


Latest News | Previous Article | Next Article

14 January 2013 - First Person

If you haven't heard about From Earth before, read the outline of the project here.

In From Earth I wanted to try something different from Water and Last Zombie. I still wanted to be able to see the player model, but I didn't want to use third person. I didn't want to use viewmodels for the player, as it would mean that I would have to include the same polygon mesh for every item that could be picked up. Instead, I disabled viewmodels completely, and the player's worldmodel is what you see all the time.

Viewmodels are generally drawn separately from the rest of the world and on top of them you have the rendered view. They can't clip with any objects in the world, and they can have their own field of view. They can also be flipped in Source, if the player wishes to do so in Options. However, viewmodels are tricky if you want the player to actually touch something in the game world.

Thus in From Earth we only use worldmodels. The player's eye position would be on the "eyes" attachment of the player model, following every animation the player would do. The player's eye angles are clamped to a small range from the attachment's angles. The player character would turn its body and head in the direction the player wants to look, thereby increasing the range the player can see.

There is some problems with this approach, though. The animations need to be made so that the player's eyes are always inside the bounding box. Otherwise, the player can end up seeing through walls when clipping on a brush. The animations also need to be smooth enough for the view not be jerky. If running animations have too much view bobbing, some players might experience motion sickness.

Another problems was stairs. In Half-Life 2 the Z coordinate of the player's eye origin is smoothed when the player walks on stairs. But since in From Earth the player model is always visible, this would mean that the player would end up seeing parts of the model's head mesh. Instead I adjusted the players render origin. I would update the smoothed out origin in the think functions of the player entity, and then use that when the player would be rendered.

You don't want to render the head mesh since you are not supposed to see it. Normal solution would be the use the bodygroup system and simply hide the head bodygroup. But bodygroups don't allow facial expressions on them, so this is problematic. I want the model to have facial expressions in case we use mirrors, as well as for any promotional video or screenshot we might do in thirdperson. So in the way of a solution I hijacked the LOD system to hide the head. When the player is being drawn on a mirror, camera, thirdperson, or viewcontrol entity, I force the game to use the first LOD with the head visible. When the player is drawn from first person, I force the game to use the second to last LOD with the head missing.

Another problem is animations in which the player turns. Normally the player entity turns its head towards the direction the player tries to look, the direction the viewangles are pointing. The animation follows the viewangles. In some scripted sequences, such as when the player is turning 180 degrees to sit on a chair, the viewangles should follow the animation. In these cases I need to momentarily localize the eye angles to be calculated in the local space of the chest attachment. The player's view will then automatically move with the body until the animation is over.


Drawing the player model and using the eyes attachment as eye origin can create some problems. In some cases the player's feet can be seen hovering in air. The animations need a lot work to make sure they don't cause the view go crazy. You need to make sure eyes can't go inside any world mesh in animations. But I think it's worth it. Animating is one of the things I enjoy the most in game development, and creating the animation library for the player model has been very fulfilling.

Next month we will tell you a little bit more about the Interaction System in From Earth.

Looking for help

We are still looking for people. If you are interested to apply, you can send me a message on Moddb, Twitter, Facebook, or e-mail me at au-heppa@hlssmod.net.

Level Designers
We are looking for two different types of Level Designers. Firstly, we need people that can bring existing levels an aesthetic quality, and are experienced with lighting, texturing, and the general make up in Hammer. Screenshots and/or example maps are required.

We are also looking for puzzle designers, such as anyone who has a lot of experience designing different types of puzzles for games like Portal 2. Source engine or Hammer experience is not necessary.

Concept Artists
Most of the concept work will revolve around the industrial era Alien technology and architecture. Samples of previous work required. We already have a strong set of existing concept art for you to draw on.

Voice actors and actresses
Although the script is nowhere near ready, we are looking for people to play the parts of Zenaida, Anthony, as well as the generic voices of aliens, both male and female actors. All voice actors applying should provide some kind of samples. You should be able to do big range of emotions. Some lines might be delivered at a later date.

The aliens will be speaking an alien language specifically designed for this mod. Their dialogue is partly already written and ready for recording. Examples will be provided if you are interested.

We are interested on getting any help we can get, especially world texture creators and prop modellers.


by Au-heppa
Permalink: http://hlssmod.net/index.php?page=0&news=30

Hide full article list
53.  From Earth Postmortem - 20 August 2018
52.  Friday Update VIII - 13 May 2016
51.  1 April 2016 - Friday Update III
50.  25 March 2016 - Friday Update II
49.  18 March 2016 - Friday Update I
48.  10 March 2016 - Public Beta Released
47.  28 February 2016 - Public Beta Release Date
46.  31 January 2016 - Public Beta
45.  27 September 2015 - Merging Items
44.  20 September 2015 - Teaser Trailer
43.  13 September 2015 - Custom Items
42.  8 April 2015 - Voice Actors, Streams, and Alien Posters
41.  6 December 2014 - Asi pos Ruumste
40.  22 October 2014 - Steam Greenlight
39.  14 June 2014 - Language Barriers
38.  12 February 2014 - Language System
37.  28 December 2013 - Fighting System
36.  6 June 2013 - Level Designers and a Voice Actress
35.  28 April 2013 - Playtesting From Earth
34.  8 April 2013 - Alien AI
33.  18 March 2013 - From The Darkness
32.  4 March 2013 - Climbing System
31.  4 February 2013 - Interaction System
30.  14 January 2013 - First Person
29.  7 January 2013 - What happened to Human Error?
28.  1 January 2013 - From Earth
27.  15 February 2012 - LAST ZOMBIE
26.  16 December 2011 - World Of Water
25.  11 December 2011 - Speech Bubbles
24.  7 December 2011 - Making Of Water Part III
23.  3 December 2011 - Making Of Water Part II
22.  1 December 2011 - Making Of Water Part I
21.  21 November 2011 - A quick look into the making of a gesture
20.  13 November 2011 - Water Released
19.  6 November 2011 - Water Release Date
18.  30 July 2011 - Human Error Source Code Released
17.  6 January 2011 - First Ever Weapon Render
16.  3 December 2010 - Water
15.  26 November 2010 - Controllable Manhacks
14.  28 July 2010 - Alyx Mode and More
13.  14 July 2010 - Human Error Co-op Beta Released
12.  29 May 2010 - Alien Grunt & Controller Give Away
11.  26 April 2010 - He's a frakking Traitor
10.  8 Feb 2010 - Human Error Released
9.  7 Feb 2010 - This Is Larson
8.  29 Dec 2009 - 2010 Trailer
7.  28 Dec 2009 - Super Secret Beta Testing Blog
6.  17 Nov 2009 - Harder, Better, Faster, Stronger
5.  17 Oct 2009 - This Is Noah
4.  23 Jul 2009 - This Is Embarassing
3.  1 Jul 2009 - This Is Au-heppa
2.  17 Mar 2009 - HLSS in Podcast 17
1.  5 Nov 2008 - First Media Release

[ News | About | Media | Downloads | Tutorials | Contact ]

Valve, the Valve logo, Half-Life, the Half-Life logo, the Lambda logo, Steam, the Steam logo, Source, and the Source logo are trademarks and/or registered trademarks of Valve Software. All information is copyright their respective authors. Website designed by Han Solo.