Player movement seems like back to working, res→assets

Former-commit-id: f91181caee4dabf4cb2e51d8077441c6b0f83757
Former-commit-id: 8b450303698c5c85dea9145a056b290b95a6a7b0
This commit is contained in:
Song Minjae
2016-08-02 17:32:42 +09:00
parent 5e7a95a3b9
commit 17c39c1824
248 changed files with 371 additions and 104 deletions

View File

@@ -0,0 +1,46 @@
Creature raw documentation
## Physical properties ##
* 1 m = 24 px
* mult: Multiplier. e.g. 1.0, 0.85, 1.25, ...
|name|unit|description|
|----|----|-----------|
|baseheight|pixels|Base height for hitbox. Also used for attack point bonus calculation|
|basemass|kg|Base mass for creature|
|accel|px per TARGET_FPS^2|Acceleration for walking|
|speed|px per TARGET_FPS|Walk speed|
|jumppower|neg. px per TARGET_FPS^2|Self-explanatory|
|scale|unit|Creature body scale. Mass/strength/accel/etc. will be changed accordingly, hence the prefix “base” for some raw tokens|
|dragcoeff|unit|Drag coefficient|
|speedmult, accelmult, jumppowermult|array of percentiles (Int)|Variability factor|
|physiquemult|mult|Breadth variation for mobs|
## Creature properties ##
|name|unit|description|
|----|----|-----------|
|strength|unit|Strength value, no significant unit is given. The value for regular human is fixed to 1 000|
|encumbrance|kg or itemcount|Capacity of carrying|
|basedefence|unit|Base defence value of body. Sterner body composition (material) == higher value|
|armourdefence|unit|Current defence point of armour worn|
|armourdefencemult|mult|Bonus point for armour defence|
|toolsize|kg|Base tool size for the creature. See MECHANICS file for more information|
## Aesthetic properties ##
|name|unit|description|
|----|----|-----------|
|luminosity|30-bit RGB (Int)|Self-glow. Set to 0 for not glowing|
|name|String|Given (perhaps customised) name|
|racename|STRING_ID|Racename token in language CSV|
|racenameplural|STRING_ID|Racename token in language CSV|
* Note: luminosity uses customised 30-bit RGB. The format specifies ```1.0``` luminosity of white (```#FFFFFF```) be ```0000_0011111111_0011111111_0011111111```, and can hold luminosity range of 0.0-4.0
## Flags ##
|name|unit|description|
|----|----|-----------|
|intelligent|Boolean|Whether the creature can speak and talk.|

View File

@@ -0,0 +1,37 @@
Faction documentation
{
"factionname" : "player",
"factionamicable" : ["follower"],
"factionneutral" : [],
"factionhostile" : ["wildlifehostile"],
"factionfearful" : ["wildlifeflee"]
}
factionname : Identifier of the faction data
factionamicable : Amicable faction. Players can give/take items of actors of this faction, in plus
to the ability of barter. Assigned actors (usually follower) will follow players
in game.
factionneutral : Explicit neutrality. If the assigned actor is intelligent (NPC AV), players can
barter with them. Unassigned faction will be treated like neutral, but players
cannot barter with them.
factionhostile : Assigned faction will attack players on the sight. e.g. 'wildlifehostile'
factionfearful : Assigned faction will flee from players on the sight. e.g. 'wildlifeflee'
== Generic faction information ==
* player : Self-explanatory
* follower : Self-explanatory
* controlledvillager : Villagers of your hamlet
* wildlifehostile : Hostile mobs, self-explanatory
* wildlifeflee : Fleeing mobs, self-explanatory
* wildhamletvillager : Generic villager of the pre-generated hamlets.
* wildhamletcontroller : Ruler of the pre-generated hamlets.

View File

@@ -0,0 +1,17 @@
# An adjacency matrix of religion sphere relationship
# 0: neutral, 1: amicable (welcoming), -1: hostile (will not barter, like 'unassigned' neutral)
# -2: enemy (this is the holy war! WAAAGH!!)
# war: WAAAGH!!
# randomness: All hail the Random Number God!
# strength: tranees; disciplinants
# brute: mostly "brute" wild mobs, or spheres that is fond of brute-ness
"↓from to→";"strength";"harmony";"war";"randomness";"wealth";"brute";"helix"
"strength" ; "1"; "1"; "0"; "0"; "0"; "0"; "0"
"harmony" ; "0"; "1"; "-1"; "0"; "0"; "0"; "0"
"war" ; "-2"; "-2"; "1"; "-2"; "-2"; "-2"; "0"
"randomness"; "0"; "0"; "0"; "1"; "0"; "0"; "0"
"wealth" ;
"brute" ; "0"; "0"; "-1"; "0"; "0"; "-1"; "0"
"helix" ;
Can't render this file because it contains an unexpected character in line 8 and column 17.

View File

@@ -0,0 +1,28 @@
{
"racename": "RACE_HUMAN",
"racenameplural": "RACE_HUMAN_PLURAL",
"baseheight": 40,
"basemass": 60.0,
"strength": 1000,
"strengthmult": [100,100,100,100,100,100,100],
"accel": 0.32,
"speed": 3.0,
"speedmult": [100,100,100,100,100,100,100],
"jumppower": 4.3,
"jumppowermult": [100,100,100,100,100,100,100],
"scale": 1.0,
"physiquemult": [100,100,100,100,100,100,100],
"encumbrance": 1000,
"basedefence": 100,
"toolsize": 15,
"intelligent": true
}

View File

@@ -0,0 +1,8 @@
{
"factionname" : "player",
"factionamicable" : ["follower"],
"factionneutral" : ["controlledvillager"],
"factionhostile" : ["wildlifehostile"],
"factionfearful" : ["wildlifeflee"]
}

View File

@@ -0,0 +1,8 @@
{
"factionname" : "sigrid",
"factionamicable" : ["follower"],
"factionneutral" : ["controlledvillager", "wildhamletcontroller"],
"factionhostile" : ["wildlifehostile"],
"factionfearful" : ["wildhamletvillager", "wildlifeflee"]
}

View File

@@ -0,0 +1,8 @@
{
"factionname" : "wildhamlet_template",
"factionamicable" : [],
"factionneutral" : ["player", "thisvillager", "thiscontroller"],
"factionhostile" : [],
"factionfearful" : []
}

View File

@@ -0,0 +1,8 @@
{
"globalLight": "generic_light.png",
"skyboxGradColourMap": "generic_skybox.png",
"classification": "generic",
"extraImages": [
]
}

View File

@@ -0,0 +1,8 @@
{
"globalLight": 13120792,
"skyboxGradColourMap": 13120792,
"classification": "hellish",
"extraImages": [
]
}