~~NOTOC~~ ====== Tutorial: Basic Character with TP Camera ======= {{:tutorials:Tutorial_BasicCharacter_A1_TN_32.png?nolink&400}}\\ {{icon>asterisk?24&pack=glyphicon}} In this tutorial we will look at how to set up a basic character ready for use as a player. \\ \\ {{icon>asterisk?24&pack=glyphicon}} This includes setting up the character controller action, known as the **"SCC"** and how to attach a script to handle the characters movement (Script! I hear some of you shudder, it will be just a simple copy paste example).\\ \\ {{icon>asterisk?24&pack=glyphicon}} The same processes are involved for setting up an AI character, such as adding the SCC and attaching a script but in this case you would obviously require a different script.\\ \\ or read on for an overview of this tutorial... [[:tutorials:tutorials_character_a1|Page 1: Setting up the Actions]] [[:tutorials:tutorials_character_a1|{{{{:tutorials:tutorial_basiccharacter_a1_03.png?nolink&200}}]] [[:tutorials:tutorials_character_a1|Basic Character Setup]]\\ In this part of the tutorial you will learn how to: * Add the character controller action which will let the character interact with the engines physics world. * Attach a micro script for adding simple player movement control. [[:tutorials:tutorials_character_a2|Page 2: Animation Mapper]] [[:tutorials:tutorials_character_a2|{{{{:tutorials:tutorial_basiccharacter_a1_06.png?nolink&200}}]] [[:tutorials:tutorials_character_a2|Animation Mapper]]\\ To make characters work from shared scripts or example scripts we use the Animation Mapper. This tutorial part will show you: * Where to locate the Animation Mapper Editor * How to set up the Animation Mapper * Why should you use the animation mapper [[:tutorials:tutorials_character_a3|Page 3: Setup Character Controller "SCC"]] [[:tutorials:tutorials_character_a3|{{{{:tutorials:tutorial_basiccharacter_a1_08.png?nolink&200}}]] [[:tutorials:tutorials_character_a3|Setup Character Controller]]\\ Our character requires its physics controller capsule adjusted to fit the models dimensions. In this tutorial section we will look at some of the properties you will need to adjust to get your characters capsule. * Setting the SCC Properties * Use the "Physics Debug lines" as a visual aid. [[:tutorials:tutorials_character_a4|Page 4: Character Movement]] [[:tutorials:tutorials_character_a4|{{{{:tutorials:tutorial_basiccharacter_a1_14.png?nolink&200}}]] [[:tutorials:tutorials_character_a4|Character Movement]]\\ To get our character to do some thing we need to run a script on it, nothing complex for you to do just a simple copy and paste exercise.Here we will look at: * The Script Editor * How to save your script * The movement script. [[:tutorials:tutorials_character_a5|Page 5: The Script and Camera]] [[:tutorials:tutorials_character_a5|{{{{:tutorials:tutorial_basiccharacter_a1_29.png?nolink&200}}]] [[:tutorials:tutorials_character_a5|The Script and Camera]]\\ This tutorial is an optional section, if you have a fear of scripting then you will be asked to move onto the next stage.\\ For the scripter there is some juicy information which will help you develop your own character scripts. * Set the characters walk and run speed * Overview of the movement script. [[:tutorials:tutorials_character_a6|Page 6: Adding a Third Person Camera]] [[:tutorials:tutorials_character_a6|{{{{:tutorials:tutorial_basiccharacter_a1_19.png?nolink&200}}]] [[:tutorials:tutorials_character_a6|Basic Third Person Camera]]\\ In Skyline adding a camera to a character is child's play. No scripting is generally required unless you want something a little more complex. \\ This section of the basic character tutorial will look at the easiest of the third person camera options, you will learn how to: * Add a camera to your scene * Change the camera "Tag Name" * Use the action Editor to add an "Attach" action to your character * how to attache the camera to the player * Look at Camera activation * Camera position variations for differing camera game styles. \\ \\ <-^tutorials:tutorials_character_a0|Basic Character Index^tutorials:tutorials_character_a1|Begin Basic Character tutorial->