proto3 initial commit
@@ -55,7 +55,8 @@ var master_stats:Dictionary = {
|
||||
"xp": 0,
|
||||
"mext_xp": 100,
|
||||
"points": 5,
|
||||
"level": 1
|
||||
"level": 1,
|
||||
"look": {}
|
||||
}
|
||||
|
||||
func new_candidate() -> Dictionary:
|
||||
|
||||
@@ -300,6 +300,10 @@ func build_contols():
|
||||
$s/VBoxContainer/ok.show()
|
||||
$s/VBoxContainer/ok.connect("pressed", self, "next_scene")
|
||||
func next_scene():
|
||||
var looks = {}
|
||||
for e in characters.get_modifier_list(ch):
|
||||
looks[e] = characters.get_modifier_value(ch, e)
|
||||
world.master_stats.look = looks
|
||||
var scene = load(world.next_scene)
|
||||
get_tree().change_scene_to(scene)
|
||||
func _process(delta):
|
||||
|
||||
@@ -93,8 +93,15 @@ func update_training(score):
|
||||
func spawn_character(cd, xform, k):
|
||||
var char_sc = characters.spawn_character(cd.gender, xform)
|
||||
cd.scene = char_sc
|
||||
if !cd.has("look"):
|
||||
cd.look = {}
|
||||
for k in characters.get_modifier_list(char_sc):
|
||||
cd.look[k] = (randf() - 0.5) * 1.7
|
||||
for k in cd.look:
|
||||
characters.set_modifier_value(char_sc, k, cd.look[k])
|
||||
cd.id = k
|
||||
char_sc.set_meta("data", cd)
|
||||
return char_sc
|
||||
func characters_done():
|
||||
characters.update()
|
||||
characters.update()
|
||||
@@ -116,6 +123,9 @@ func _ready():
|
||||
$master.queue_free()
|
||||
master = characters.spawn_character(0, master_xform)
|
||||
master.add_to_group("master")
|
||||
for e in world.master_stats.look.keys():
|
||||
characters.set_modifier_value(master,
|
||||
e, world.master_stats.look[e])
|
||||
controls.master_node = master
|
||||
world.master_node = master
|
||||
# $master.add_to_group("master")
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
[ext_resource path="res://vehicles/vehicle_camera.gd" type="Script" id=2]
|
||||
[ext_resource path="res://vehicles/cars/car_car1.tscn" type="PackedScene" id=3]
|
||||
[ext_resource path="res://fonts/DroidSansFallback.ttf" type="DynamicFontData" id=4]
|
||||
[ext_resource path="res://vehicles/cars/car_car1.gd" type="Script" id=5]
|
||||
|
||||
[sub_resource type="ProceduralSky" id=1]
|
||||
sky_energy = 0.7
|
||||
@@ -16,16 +17,6 @@ background_sky = SubResource( 1 )
|
||||
[sub_resource type="BoxShape" id=3]
|
||||
extents = Vector3( 100, 0.2, 100 )
|
||||
|
||||
[sub_resource type="CubeMesh" id=4]
|
||||
size = Vector3( 8, 0.2, 300 )
|
||||
subdivide_width = 4
|
||||
subdivide_depth = 300
|
||||
|
||||
[sub_resource type="SpatialMaterial" id=5]
|
||||
albedo_color = Color( 0.34902, 0.34902, 0.34902, 1 )
|
||||
metallic = 0.1
|
||||
roughness = 0.8
|
||||
|
||||
[sub_resource type="BoxShape" id=6]
|
||||
extents = Vector3( 2, 1, 8 )
|
||||
|
||||
@@ -34,7 +25,7 @@ albedo_color = Color( 0.176471, 0.678431, 0.243137, 1 )
|
||||
|
||||
[sub_resource type="PlaneMesh" id=8]
|
||||
material = SubResource( 7 )
|
||||
size = Vector2( 100, 300 )
|
||||
size = Vector2( 500, 500 )
|
||||
subdivide_width = 200
|
||||
subdivide_depth = 200
|
||||
|
||||
@@ -50,6 +41,12 @@ use_mipmaps = true
|
||||
use_filter = true
|
||||
font_data = ExtResource( 4 )
|
||||
|
||||
[sub_resource type="Curve3D" id=12]
|
||||
_data = {
|
||||
"points": PoolVector3Array( 0, 0, 0, 0, 0, 0, 0, 0.0477028, 249.534, 0, 0, 0, 0, 0, 0, 0.478584, 0.121107, 172.663, 0, 0, 0, 0, 0, 0, 1.43492, 0.309249, 50.4076, 0, 0, 0, 0, 0, 0, 1.4357, 0.309245, -38.5009, 0, 0, 0, 0, 0, 0, 0.478808, 0.556122, -101.267, 0, 0, 0, 0, 0, 0, 0.478547, 0.777313, -249.082 ),
|
||||
"tilts": PoolRealArray( 0, 0, 0, 0, 0, 0 )
|
||||
}
|
||||
|
||||
[node name="prologue" type="Spatial"]
|
||||
script = ExtResource( 1 )
|
||||
|
||||
@@ -73,15 +70,11 @@ shadow_enabled = true
|
||||
|
||||
[node name="car1" parent="." instance=ExtResource( 3 )]
|
||||
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 2.49955, 0.445234, 41.5646 )
|
||||
script = ExtResource( 5 )
|
||||
|
||||
[node name="cam" type="Spatial" parent="."]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.4, 0 )
|
||||
|
||||
[node name="road" type="MeshInstance" parent="."]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.1, 0 )
|
||||
mesh = SubResource( 4 )
|
||||
material/0 = SubResource( 5 )
|
||||
|
||||
[node name="Area" type="Area" parent="."]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2.03741, 0, -80.0024 )
|
||||
|
||||
@@ -93,12 +86,6 @@ shape = SubResource( 6 )
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2.5, 0.4, 76.3702 )
|
||||
|
||||
[node name="ground" type="MeshInstance" parent="."]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -54, 0, 0 )
|
||||
mesh = SubResource( 8 )
|
||||
material/0 = null
|
||||
|
||||
[node name="ground2" type="MeshInstance" parent="."]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 54, 0, 0 )
|
||||
mesh = SubResource( 8 )
|
||||
material/0 = null
|
||||
|
||||
@@ -122,3 +109,20 @@ custom_colors/font_color_shadow = Color( 0.564706, 0.109804, 0.109804, 0.384314
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": true
|
||||
}
|
||||
|
||||
[node name="road" type="CSGPolygon" parent="."]
|
||||
use_collision = true
|
||||
polygon = PoolVector2Array( -6, 0, -6, 0.05, 6, 0.05, 6, 0 )
|
||||
mode = 2
|
||||
path_node = NodePath("../Path")
|
||||
path_interval = 1.0
|
||||
path_rotation = 1
|
||||
path_local = false
|
||||
path_continuous_u = false
|
||||
path_joined = false
|
||||
__meta__ = {
|
||||
"_edit_lock_": true
|
||||
}
|
||||
|
||||
[node name="Path" type="Path" parent="."]
|
||||
curve = SubResource( 12 )
|
||||
|
||||
BIN
proto3/characters/bed.blend
Normal file
BIN
proto3/characters/bed.blend1
Normal file
BIN
proto3/characters/closet.blend
Normal file
BIN
proto3/characters/closet.blend1
Normal file
BIN
proto3/characters/common_pair.blend
Normal file
BIN
proto3/characters/common_pair.blend1
Normal file
BIN
proto3/characters/female_2018.blend
Normal file
BIN
proto3/characters/female_2018.blend1
Normal file
BIN
proto3/characters/guard.blend
Normal file
BIN
proto3/characters/guard.blend1
Normal file
BIN
proto3/characters/hair1-male.blend
Normal file
BIN
proto3/characters/hair1-male.blend1
Normal file
BIN
proto3/characters/maid.blend
Normal file
BIN
proto3/characters/maid.blend1
Normal file
BIN
proto3/characters/male_2018-clothes.blend
Normal file
BIN
proto3/characters/male_2018-clothes.blend1
Normal file
BIN
proto3/characters/male_2018.blend
Normal file
BIN
proto3/characters/male_2018.blend1
Normal file
BIN
proto3/characters/male_female_bed_beating.blend
Normal file
BIN
proto3/characters/male_female_bed_beating.blend1
Normal file
BIN
proto3/characters/male_female_bed_forcing.blend
Normal file
BIN
proto3/characters/male_female_bed_forcing.blend1
Normal file
BIN
proto3/characters/male_female_bed_forcing_s1.blend
Normal file
BIN
proto3/characters/male_female_bed_forcing_s1.blend1
Normal file
BIN
proto3/characters/male_female_bed_start.blend
Normal file
BIN
proto3/characters/male_female_bed_start.blend1
Normal file
BIN
proto3/characters/male_female_grabbing.blend
Normal file
BIN
proto3/characters/male_female_grabbing.blend1
Normal file
BIN
proto3/characters/male_female_grabbing_attack.blend
Normal file
BIN
proto3/characters/male_female_grabbing_attack.blend1
Normal file
BIN
proto3/characters/male_male_bed_beating.blend
Normal file
BIN
proto3/characters/male_male_bed_beating.blend1
Normal file
BIN
proto3/characters/male_male_bed_forcing.blend
Normal file
BIN
proto3/characters/male_male_bed_forcing.blend1
Normal file
BIN
proto3/characters/male_male_bed_forcing1.blend
Normal file
BIN
proto3/characters/male_male_bed_forcing1.blend1
Normal file
BIN
proto3/characters/male_male_bed_forcing_s1.blend
Normal file
BIN
proto3/characters/male_male_bed_forcing_s1.blend1
Normal file
BIN
proto3/characters/male_male_bed_start.blend
Normal file
BIN
proto3/characters/male_male_bed_start.blend1
Normal file
BIN
proto3/characters/male_male_grabbing.blend
Normal file
BIN
proto3/characters/male_male_grabbing.blend1
Normal file
BIN
proto3/characters/male_male_grabbing_attack.blend
Normal file
BIN
proto3/characters/male_male_grabbing_attack.blend1
Normal file
BIN
proto3/characters/male_male_pair.blend
Normal file
BIN
proto3/characters/male_male_pair.blend1
Normal file
BIN
proto3/characters/master_desk.blend
Normal file
BIN
proto3/characters/master_desk.blend1
Normal file
BIN
proto3/characters/table_chairs.blend
Normal file
BIN
proto3/characters/table_chairs.blend1
Normal file
BIN
proto3/characters/textures/brown_eye.png
Normal file
|
After Width: | Height: | Size: 596 KiB |
BIN
proto3/characters/textures/classicshoes_texture_diffuse.png
Normal file
|
After Width: | Height: | Size: 1.3 MiB |
BIN
proto3/characters/textures/classicshoes_texture_normals.png
Normal file
|
After Width: | Height: | Size: 938 KiB |
BIN
proto3/characters/textures/eyebrow001.png
Normal file
|
After Width: | Height: | Size: 88 KiB |
BIN
proto3/characters/textures/eyebrow002.png
Normal file
|
After Width: | Height: | Size: 94 KiB |
BIN
proto3/characters/textures/eyebrow003.png
Normal file
|
After Width: | Height: | Size: 90 KiB |
BIN
proto3/characters/textures/eyebrow004.png
Normal file
|
After Width: | Height: | Size: 87 KiB |
BIN
proto3/characters/textures/eyebrow005.png
Normal file
|
After Width: | Height: | Size: 74 KiB |
BIN
proto3/characters/textures/eyebrow006.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
proto3/characters/textures/eyebrow007.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
proto3/characters/textures/eyebrow008.png
Normal file
|
After Width: | Height: | Size: 98 KiB |
BIN
proto3/characters/textures/eyebrow009.png
Normal file
|
After Width: | Height: | Size: 225 KiB |
BIN
proto3/characters/textures/eyebrow011.png
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
proto3/characters/textures/eyebrow012.png
Normal file
|
After Width: | Height: | Size: 92 KiB |
BIN
proto3/characters/textures/eyelashes01.png
Normal file
|
After Width: | Height: | Size: 90 KiB |
BIN
proto3/characters/textures/eyelashes02.png
Normal file
|
After Width: | Height: | Size: 129 KiB |
BIN
proto3/characters/textures/eyelashes03.png
Normal file
|
After Width: | Height: | Size: 129 KiB |
BIN
proto3/characters/textures/eyelashes04.png
Normal file
|
After Width: | Height: | Size: 92 KiB |
BIN
proto3/characters/textures/fabric-texture-01.jpg
Normal file
|
After Width: | Height: | Size: 2.5 MiB |
BIN
proto3/characters/textures/teeth.png
Normal file
|
After Width: | Height: | Size: 1.7 MiB |
BIN
proto3/characters/textures/tongue01_diffuse.png
Normal file
|
After Width: | Height: | Size: 611 KiB |
BIN
proto3/characters/town.blend
Normal file
BIN
proto3/characters/town.blend1
Normal file
BIN
proto3/dungeon/3d-tileset-1-1.blend
Normal file
BIN
proto3/dungeon/concrete01_diff.jpg
Normal file
|
After Width: | Height: | Size: 88 KiB |
BIN
proto3/dungeon/concrete01_norm.jpg
Normal file
|
After Width: | Height: | Size: 79 KiB |
BIN
proto3/dungeon/decorative.png
Normal file
|
After Width: | Height: | Size: 1.5 MiB |
BIN
proto3/dungeon/decorative_norm.png
Normal file
|
After Width: | Height: | Size: 880 KiB |
BIN
proto3/dungeon/decorative_spec.png
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
proto3/dungeon/gate-2.png
Normal file
|
After Width: | Height: | Size: 1.6 MiB |
BIN
proto3/dungeon/gate-2_norm.png
Normal file
|
After Width: | Height: | Size: 824 KiB |
BIN
proto3/dungeon/gate.JPG
Normal file
|
After Width: | Height: | Size: 617 KiB |
BIN
proto3/dungeon/gate_norm.JPG
Normal file
|
After Width: | Height: | Size: 466 KiB |
BIN
proto3/dungeon/ground-1-darkness.jpg
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
proto3/dungeon/ground-1-darkness_norm.jpg
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
proto3/dungeon/ground-1-darkness_spec.jpg
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
proto3/dungeon/ground-1.jpg
Normal file
|
After Width: | Height: | Size: 57 KiB |
BIN
proto3/dungeon/ground-1_norm.jpg
Normal file
|
After Width: | Height: | Size: 52 KiB |
BIN
proto3/dungeon/ground-1_spec.jpg
Normal file
|
After Width: | Height: | Size: 68 KiB |
BIN
proto3/dungeon/ground-2.jpg
Normal file
|
After Width: | Height: | Size: 56 KiB |
BIN
proto3/dungeon/ground-2_norm.jpg
Normal file
|
After Width: | Height: | Size: 51 KiB |
BIN
proto3/dungeon/ground-2_spec.jpg
Normal file
|
After Width: | Height: | Size: 66 KiB |
BIN
proto3/dungeon/ground-3.jpg
Normal file
|
After Width: | Height: | Size: 51 KiB |
BIN
proto3/dungeon/ground-3_norm.jpg
Normal file
|
After Width: | Height: | Size: 54 KiB |
BIN
proto3/dungeon/ground-3_spec.jpg
Normal file
|
After Width: | Height: | Size: 63 KiB |
BIN
proto3/dungeon/ground-4.jpg
Normal file
|
After Width: | Height: | Size: 53 KiB |