Tuesday, February 15, 2011

Gameplay / UI Weekly Update - Level Events Scripting (Kismet) and Third Person Camera

For this week new scripted events were created using Kismet in my test level, like material animation, on-screen messages, player's health modification and a "mover" (elevator). Stored events and named variables were used in these scripts. Also, since the size of the scripts is bigger now they have been organized into groups.

Visual Studio 2008 was setup to work with UnrealScript, using the nFringe Plug-in. A 3rd person perspective has been implemented with these tools. Classes like the UTPawn and UTPlayerController had to be modified in order to create the new perspective. Validations about the camera not going into the walls or the floor when the player dies, have been done. Also, the new class considers that the camera does not goes into the player model when trying to avoid a wall or other obstructions; if this is the case, changes to first person view, by making the character model "not visible".

Also in the GameType class (in this case extending the UTDeathmatch class for demonstrative purposes) default values for the UTPawn and UTPlayerController classes are declared.



No comments:

Post a Comment