Character Profiles: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
character profiles intro | |||
== Mission script and different character types == | |||
=== Player === | |||
- customizing character | |||
<syntaxhighlight source lang="lua" line start=5> | |||
-- Character definitions: | |||
characters = { | |||
player = { | |||
displayName = "Joe Harman", | |||
internalName = "Joe", | |||
characterType = "player", | |||
prefab = "player", | |||
spawnpoint = "PlayerSpawn", | |||
}, | |||
}, | |||
</syntaxhighlight> | |||
{| class="wikitable" | |||
!colspan="2" | Character Table | |||
|- | |||
! Name !! Description | |||
|- | |||
| ''displayName'' || The name that will be used any game UI referencing the character | |||
|- | |||
| ''internalName'' || The internalName can be thought of as the id for the character, you'll reference the character by this value in a few places including conversations (Must be unique!) | |||
|- | |||
| ''characterType'' || The 'type' of the character, see [[Character Types and Prefabs]] for more information on possible values | |||
|- | |||
| 'prefab' || The prefab for the character, see [[Character Types and Prefabs]] for more information on possible values | |||
|- | |||
| ''spawnpoint'' || The name of the spawn mission object, the position of this object will be where the character is spawned | |||
|} | |||
=== Enemies === | |||
<syntaxhighlight source lang="lua" line start=5> | |||
-- Character definitions: | |||
characters = { | |||
player = { | |||
displayName = "Joe Harman", | |||
internalName = "Joe", | |||
characterType = "player", | |||
prefab = "player", | |||
spawnpoint = "PlayerSpawn", | |||
}, | |||
}, | |||
</syntaxhighlight> | |||
{| class="wikitable" | |||
!colspan="2" | Character Table | |||
|- | |||
! Name !! Description | |||
|- | |||
| ''displayName'' || The name that will be used any game UI referencing the character | |||
|- | |||
| ''internalName'' || The internalName can be thought of as the id for the character, you'll reference the character by this value in a few places including conversations (Must be unique!) | |||
|- | |||
| ''characterType'' || The 'type' of the character, see [[Character Types and Prefabs]] for more information on possible values | |||
|- | |||
| 'prefab' || The prefab for the character, see [[Character Types and Prefabs]] for more information on possible values | |||
|- | |||
| ''spawnpoint'' || The name of the spawn mission object, the position of this object will be where the character is spawned | |||
|} | |||
=== Drones === | |||
=== Neutral characters === | |||
=== Virtual characters === | |||
== Character personality files == | |||
<syntaxhighlight source lang="lua" line> | |||
Character = { | |||
Stats = { | |||
{ data = 0.6, tags = {"Motivation"}}, | |||
{ data = 0.5, tags = {"Sociability"}}, | |||
}, | |||
Colors = { | |||
{data = { 0.1490196, 1, 0.5819339, 1 }, tags = {"FavouriteColor"}}, | |||
}, | |||
Profile = { | |||
{ data = "Simon", tags = {"FirstName", "name"} }, | |||
{ data = "Wasserman", tags = {"LastName", "name"} }, | |||
{ data = { | |||
"Tommy", | |||
"T-dog", | |||
"Bumpkin", | |||
"Essex-boy", | |||
}, | |||
tags = {"NickName", "name"} | |||
}, | |||
{ data = "Dickhead", tags = {"DerogatoryName"} }, | |||
{ data = "Asshat", tags = {"FavouriteSwear"} }, | |||
{ data = "bread meat bread", tags = {"FavouriteFood", "food", "favourite"} }, | |||
{ data = "crisps", tags = {"FavouriteSnack", "food", "favourite"} }, | |||
{ data = "Irn Bru", tags = {"FavouriteDrink", "drink", "favourite"} }, | |||
{ data = "Tristan", tags = {"friend", "BestFriend"} }, | |||
{ data = { | |||
"Sweetums", | |||
"Dimps", | |||
"Tata", | |||
}, | |||
tags = {"PetName", "name"} | |||
}, | |||
{ data = { | |||
"Golly", | |||
"Oh man", | |||
"Cripes", | |||
"Gosh", | |||
"Geez", | |||
"Geewhiz", | |||
"Grrr", | |||
"gahhh!", | |||
"Ahhh", | |||
"WTF", | |||
}, | |||
tags = {"exclamation"} | |||
}, | |||
{ data = { | |||
"#ROFL", | |||
"#Grrr", | |||
"LMAO", | |||
"LOL", | |||
"#Tots", | |||
"#BigGuns", | |||
"#Life", | |||
"#WTF", | |||
}, | |||
tags = {"hashtag"} | |||
}, | |||
{ data = { | |||
"happy", | |||
"excited", | |||
"sad", | |||
"frustrated", | |||
"upset", | |||
"down", | |||
"good", | |||
}, | |||
tags = {"mood"} | |||
}, | |||
{ data = { | |||
"ate", | |||
"had lunch", | |||
"went for a walk", | |||
"got up", | |||
"broke into your house", | |||
"spoke to my doctor", | |||
"released a mobile game", | |||
"checked the scores", | |||
"procrastinated", | |||
}, | |||
tags = {"PastEvent"} }, | |||
{ data = { | |||
"eat", | |||
"have lunch", | |||
"take a nap", | |||
"go skydiving", | |||
"sleep", | |||
"speak to your wife", | |||
"speak to my doctor", | |||
"get my doctor's degree", | |||
"run in the rain", | |||
}, | |||
tags = {"FutureEvent"} | |||
}, | |||
} | |||
} | |||
</syntaxhighlight> | |||
== customizing character color == | |||
[[Category:Modding]] | [[Category:Modding]] |
Revision as of 13:19, 6 December 2017
character profiles intro
Mission script and different character types
Player
-- Character definitions: characters = { player = { displayName = "Joe Harman", internalName = "Joe", characterType = "player", prefab = "player", spawnpoint = "PlayerSpawn", }, },
Character Table | |
---|---|
Name | Description |
displayName | The name that will be used any game UI referencing the character |
internalName | The internalName can be thought of as the id for the character, you'll reference the character by this value in a few places including conversations (Must be unique!) |
characterType | The 'type' of the character, see Character Types and Prefabs for more information on possible values |
'prefab' | The prefab for the character, see Character Types and Prefabs for more information on possible values |
spawnpoint | The name of the spawn mission object, the position of this object will be where the character is spawned |
Enemies
-- Character definitions: characters = { player = { displayName = "Joe Harman", internalName = "Joe", characterType = "player", prefab = "player", spawnpoint = "PlayerSpawn", }, },
Character Table | |
---|---|
Name | Description |
displayName | The name that will be used any game UI referencing the character |
internalName | The internalName can be thought of as the id for the character, you'll reference the character by this value in a few places including conversations (Must be unique!) |
characterType | The 'type' of the character, see Character Types and Prefabs for more information on possible values |
'prefab' | The prefab for the character, see Character Types and Prefabs for more information on possible values |
spawnpoint | The name of the spawn mission object, the position of this object will be where the character is spawned |
Drones
Neutral characters
Virtual characters
Character personality files
Character = { Stats = { { data = 0.6, tags = {"Motivation"}}, { data = 0.5, tags = {"Sociability"}}, }, Colors = { {data = { 0.1490196, 1, 0.5819339, 1 }, tags = {"FavouriteColor"}}, }, Profile = { { data = "Simon", tags = {"FirstName", "name"} }, { data = "Wasserman", tags = {"LastName", "name"} }, { data = { "Tommy", "T-dog", "Bumpkin", "Essex-boy", }, tags = {"NickName", "name"} }, { data = "Dickhead", tags = {"DerogatoryName"} }, { data = "Asshat", tags = {"FavouriteSwear"} }, { data = "bread meat bread", tags = {"FavouriteFood", "food", "favourite"} }, { data = "crisps", tags = {"FavouriteSnack", "food", "favourite"} }, { data = "Irn Bru", tags = {"FavouriteDrink", "drink", "favourite"} }, { data = "Tristan", tags = {"friend", "BestFriend"} }, { data = { "Sweetums", "Dimps", "Tata", }, tags = {"PetName", "name"} }, { data = { "Golly", "Oh man", "Cripes", "Gosh", "Geez", "Geewhiz", "Grrr", "gahhh!", "Ahhh", "WTF", }, tags = {"exclamation"} }, { data = { "#ROFL", "#Grrr", "LMAO", "LOL", "#Tots", "#BigGuns", "#Life", "#WTF", }, tags = {"hashtag"} }, { data = { "happy", "excited", "sad", "frustrated", "upset", "down", "good", }, tags = {"mood"} }, { data = { "ate", "had lunch", "went for a walk", "got up", "broke into your house", "spoke to my doctor", "released a mobile game", "checked the scores", "procrastinated", }, tags = {"PastEvent"} }, { data = { "eat", "have lunch", "take a nap", "go skydiving", "sleep", "speak to your wife", "speak to my doctor", "get my doctor's degree", "run in the rain", }, tags = {"FutureEvent"} }, } }