Compare commits

..

4 commits

214 changed files with 2094 additions and 24451 deletions

View file

@ -3,9 +3,6 @@
importer="texture"
type="StreamTexture"
path="res://.import/icon.png-c47ceb75fff2a2778c3061d0eaa91f57.stex"
metadata={
"vram_texture": false
}
[deps]
@ -17,7 +14,6 @@ dest_files=[ "res://.import/icon.png-c47ceb75fff2a2778c3061d0eaa91f57.stex" ]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@ -27,7 +23,6 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View file

@ -1,41 +1,10 @@
tool
extends HBoxContainer
#export(String) var action_name = ""
export(String) var action_name = ""
export(String) var description = "Lorem ipsum."
export(String) var config_file = "user://input.cfg"
export(String) var default_keyboard
export(String) var default_keyboard_alt
export(String) var default_joypad
var action_name
var current_keyboard
func _ready():
action_name = self.name
current_keyboard = $keyboard
load_from_config()
var key_found = false
var key_alt_found = false
for event in InputMap.get_action_list( action_name ):
if event is InputEventKey:
pass
if not key_found:
$keyboard.text = OS.get_scancode_string( event.get_scancode_with_modifiers() )
key_found = true
elif not key_alt_found:
$keyboard_alt.text = OS.get_scancode_string( event.get_scancode_with_modifiers() )
key_alt_found = true
elif event is InputEventJoypadButton:
$joypad.text = Input.get_joy_button_string( event.button_index )
$keyboard.connect( "pressed", self, "wait_for_input" )
$keyboard_alt.connect( "pressed", self, "wait_for_input_alt" )
$joypad.connect( "pressed", self, "wait_for_input" )
set_process_input(false)
func _enter_tree():
if not self.has_node( "description" ):
@ -56,16 +25,6 @@ func _enter_tree():
new_button.size_flags_vertical = SIZE_EXPAND
self.add_child( new_button )
new_button.set_owner( self )
if not self.has_node( "keyboard_alt" ):
var new_button = Button.new()
new_button.name = "keyboard_alt"
new_button.align = HALIGN_LEFT
new_button.size_flags_horizontal = SIZE_EXPAND_FILL
new_button.size_flags_vertical = SIZE_EXPAND
self.add_child( new_button )
new_button.set_owner( self )
#
#
if not self.has_node( "joypad" ):
var new_button_joypad = Button.new()
@ -101,65 +60,37 @@ func get_event_with_modifier_from_string( scancode, type ):
return new_event
return null
func load_from_config():
var config = ConfigFile.new()
var err = config.load( config_file )
if err:# Assuming that file is missing, generate default config
config.save( config_file )
else:
# on initialise l'entrée, si elle n'existe pas déjà, par la valeur par defaut du projet.
if not config.has_section_key("keyboard", action_name):
for event in InputMap.get_action_list( action_name ):
if event is InputEventKey:
var scancode = OS.get_scancode_string( event.get_scancode_with_modifiers() )
config.set_value("keyboard", action_name, scancode)
break
# on initialise l'entrée alternative, si elle n'existe pas déjà, par la valeur par defaut du projet.
var is_first = true
if not config.has_section_key("keyboard_alt", action_name):
for event in InputMap.get_action_list( action_name ):
if not is_first and event is InputEventKey:
var scancode = OS.get_scancode_string( event.get_scancode_with_modifiers() )
config.set_value("keyboard_alt", action_name, scancode)
break
if is_first and event is InputEventKey:
is_first = false
if not config.has_section_key("joypad", action_name):
for event in InputMap.get_action_list( action_name ):
if event is InputEventJoypadButton:
var scancode = Input.get_joy_button_string( event.button_index )
config.set_value("joypad", action_name, scancode)
break
# On efface toutes les touches de clavier de l'InputMap correspondants à l'action en cours.
for old_event in InputMap.get_action_list( action_name ):
if old_event is InputEventKey or old_event is InputEventJoypadButton:
InputMap.action_erase_event(action_name, old_event)
# on recupere les touches du fichier de config et on les ajoutes à l'input map.
if config.has_section("keyboard"):
elif event is InputEventJoypadButton:
var joy_button_name = Input.get_joy_button_string( event.button_index )
config.set_value("joypad", action_name, joy_button_name)
config.save( config_file )
else:
var action_found = false
for action in config.get_section_keys("keyboard"):
if action == action_name:
action_found = true
var event = get_event_with_modifier_from_string( config.get_value("keyboard", action_name), "keyboard")
for old_event in InputMap.get_action_list( action_name ):
if old_event is InputEventKey:
InputMap.action_erase_event(action_name, old_event)
InputMap.action_add_event(action_name, event)
break
if not action_found:
for event in InputMap.get_action_list( action_name ):
if event is InputEventKey:
var scancode = OS.get_scancode_string( event.get_scancode_with_modifiers() )
config.set_value("keyboard", action_name, scancode)
if config.has_section("keyboard_alt"):
var action_found = false
for action in config.get_section_keys("keyboard_alt"):
if action == action_name:
action_found = true
var event = get_event_with_modifier_from_string( config.get_value("keyboard_alt", action_name), "keyboard")
InputMap.action_add_event(action_name, event)
break
if config.has_section("joypad"):
var action_found = false
action_found = false
for action in config.get_section_keys("joypad"):
if action == action_name:
action_found = true
@ -169,6 +100,12 @@ func load_from_config():
InputMap.action_erase_event(action_name, old_event)
InputMap.action_add_event(action_name, event)
if not action_found:
for event in InputMap.get_action_list( action_name ):
if event is InputEventJoypadButton:
var joy_button_name = Input.get_joy_button_string( event.button_index )
config.set_value("joypad", action_name, joy_button_name)
config.save( config_file )
@ -185,12 +122,8 @@ func save_to_config(section, key, value):
# Input management
func wait_for_input():
current_keyboard = $keyboard
set_process_input(true)
func wait_for_input_alt():
current_keyboard = $keyboard_alt
set_process_input(true)
# Input management
func _input(event):
@ -206,33 +139,23 @@ func _input(event):
get_tree().set_input_as_handled()
set_process_input( false )
current_keyboard.text = ""
$keyboard.text = ""
if event.meta:
current_keyboard.text += "Meta+"
$keyboard.text += "Meta+"
if event.control:
current_keyboard.text += "Control+"
$keyboard.text += "Control+"
if event.alt:
current_keyboard.text += "Alt+"
$keyboard.text += "Alt+"
if event.shift:
current_keyboard.text += "Shift+"
current_keyboard.text += input_string
$keyboard.text += "Shift+"
$keyboard.text += input_string
var change_first_key = true
if current_keyboard.name == "keyboard_alt":
change_first_key = false
var is_first_key = true
for old_event in InputMap.get_action_list( action_name ):
if old_event is InputEventKey:
if is_first_key:
if change_first_key:
InputMap.action_erase_event(action_name, old_event)
is_first_key = false
elif not change_first_key:
InputMap.action_erase_event(action_name, old_event)
InputMap.action_add_event(action_name, event)
save_to_config(current_keyboard.name, action_name, current_keyboard.text)
save_to_config("keyboard", action_name, $keyboard.text)
elif event is InputEventJoypadButton and not event.pressed and not event.is_echo():
var input_string = Input.get_joy_button_string( event.button_index )
@ -247,3 +170,18 @@ func _input(event):
InputMap.action_add_event(action_name, event)
save_to_config("joypad", action_name, $joypad.text)
func _ready():
load_from_config()
for event in InputMap.get_action_list( action_name ):
if event is InputEventKey:
$keyboard.text = OS.get_scancode_string( event.get_scancode_with_modifiers() )
elif event is InputEventJoypadButton:
$joypad.text = Input.get_joy_button_string( event.button_index )
$keyboard.connect( "pressed", self, "wait_for_input" )
$joypad.connect( "pressed", self, "wait_for_input" )
set_process_input(false)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

View file

@ -1,68 +1,16 @@
extends MarginContainer
export( bool ) var is_movable = true
export( bool ) var is_resizable = true
export( bool ) var is_borderless = false
export( bool ) var has_footer = true
export( String ) var title = "Window"
export( Color ) var content_color = Color( 1.0, 1.0, 1.0, 1.0 )# test
export( Color ) var background_color = Color( 1.0, 1.0, 1.0, 1.0 )
export( Texture ) var background_texture = null
export( Vector2 ) var min_size= Vector2( 128, 128 )
export( Rect2 ) var content_margin = Rect2( 8, 8, 8, 8 )
signal window_clicked( window )
onready var header_box = $parts/header_box
onready var content_box = $parts/content_box
onready var footer_box = $parts/footer_box
export(bool) var is_movable = true
export(bool) var is_resizable = true
export(bool) var is_borderless = false
export(String) var title = "Window"
export(Color) var background_color = Color( 1.0, 1.0, 1.0, 1.0 )
var current_rect_size = Vector2( 0, 0 )
var current_rect_position = Vector2( -1, -1 )
var is_resizing = false
var is_moving = false
var size_changed = true
func add_child_to_content( node):
if self.get_content():
self.get_content().add_child(node)
# else:
# .add_child( node )
# prints(self.get_name()+" just fathered", node.get_name())
func add_window_part( node ):
add_child( node )
func set_mouse_pass_to_children( node ):
for child in node.get_children():
set_mouse_pass_to_children( child )
if node is Control:
node.mouse_filter = MOUSE_FILTER_PASS
#func _ready():
func _enter_tree():
########
#### Window's part création.
# The interal elements structure is:
# self - MarginContainer
# background - NinePatchRect
# parts - VBoxContainer
# header_box - MarginContainer
# header - HBoxContainer
# quit - TextureButton
# close - TextureButton
# open - TextureButton
# label - Label
# content_box - MarginContainer
# scroll_container - Scrollcontainer
# content - VBoxContainer
# footer_box - MarginContainer
# footer - HBoxContainer
# contextual_help - Label
# resize - TextureButton
func _ready():
###
# self
@ -73,26 +21,17 @@ func _enter_tree():
self.set( "custom_constants/margin_top", 0)
self.set( "custom_constants/margin_left", 0)
self.set( "custom_constants/margin_bottom", 0)
self.connect ( "gui_input", self, "_on_window_gui_input" )
###
###
# background
var background
if not self.has_node( "background" ):
background = NinePatchRect.new()
background.name = "background"
if not background_texture:
# Background
var background = NinePatchRect.new()
background.name = "Background"
var background_image = Image.new()
if not background_image.load( "res://addons/ui_window/background_default.jpg" ) == OK :
print("Erreur lors du chargement de l'image: "+str("res://addons/ui_window/background_default.jpg") )
if not background_image.load( "res://assets/GUI/images/bg2.jpg" ):
print("Errur lors du chargement de l'image: res://assets/GUI/images/bg2.jpg" )
background.texture = ImageTexture.new()
background.texture.create_from_image( background_image )
else:
background.texture = background_texture
background.texture.flags = Texture.FLAG_FILTER | Texture.FLAG_REPEAT
background.axis_stretch_horizontal = NinePatchRect.AXIS_STRETCH_MODE_TILE
background.axis_stretch_vertical = NinePatchRect.AXIS_STRETCH_MODE_TILE
@ -103,63 +42,55 @@ func _enter_tree():
background.patch_margin_left = 4
background.patch_margin_top = 32
background.patch_margin_right = 4
background.patch_margin_bottom = 4
background.patch_margin_bottom = 3
background.self_modulate = background_color
self.add_window_part( background )
# background.set_owner( self )
self.add_child( background )
background.set_owner( self )
###
###
# parts
var parts
if not self.has_node( "parts" ):
parts = VBoxContainer.new()
parts.name = "parts"
parts.size_flags_horizontal = SIZE_EXPAND_FILL
parts.size_flags_vertical = SIZE_EXPAND_FILL
self.add_window_part( parts )
# parts.set_owner( self )
###
###
# header_box
var header_box
if not parts.has_node( "header_box" ):
header_box = MarginContainer.new()
header_box.name = "header_box"
header_box.size_flags_horizontal = SIZE_EXPAND_FILL
header_box.size_flags_vertical = SIZE_SHRINK_CENTER
header_box.set( "custom_constants/margin_right", 4)
header_box.set( "custom_constants/margin_top", 4)
header_box.set( "custom_constants/margin_left", 4)
header_box.set( "custom_constants/margin_bottom", 4)
###
# VBoxContainer
var v_box_container = VBoxContainer.new()
v_box_container.name = "VBoxContainer"
v_box_container.size_flags_horizontal = SIZE_EXPAND_FILL
v_box_container.size_flags_vertical = SIZE_EXPAND_FILL
self.add_child( v_box_container )
v_box_container.set_owner( self )
###
if is_movable:
header_box.mouse_default_cursor_shape = CURSOR_MOVE
parts.add_child( header_box )
# header_box.set_owner( parts )
header_box.connect ( "gui_input", self, "_on_Header_gui_input" )
###
###
# header
var header
if not header_box.has_node( "header" ):
header = HBoxContainer.new()
header.name = "header"
# Header
var header = MarginContainer.new()
header.name = "Header"
header.size_flags_horizontal = SIZE_EXPAND_FILL
header.size_flags_vertical = SIZE_EXPAND | SIZE_SHRINK_CENTER
if is_movable:
header.size_flags_vertical = SIZE_SHRINK_CENTER
header.set( "custom_constants/margin_right", 0)
header.set( "custom_constants/margin_top", 4)
header.set( "custom_constants/margin_left", 4)
header.set( "custom_constants/margin_bottom", 4)
header.mouse_default_cursor_shape = CURSOR_MOVE
header_box.add_child( header )
# header.set_owner( header_box )
v_box_container.add_child( header )
header.set_owner( v_box_container )
header.connect ( "gui_input", self, "_on_Header_gui_input" )
###
###
# quit
var quit_button
if not header.has_node( "quit" ):
quit_button = TextureButton.new()
quit_button.name = "quit"
# Header/HBoxContainer
var header_box = HBoxContainer.new()
header_box.name = "HBoxContainer"
header_box.size_flags_horizontal = SIZE_EXPAND_FILL
header_box.size_flags_vertical = SIZE_EXPAND | SIZE_SHRINK_CENTER
header.mouse_default_cursor_shape = CURSOR_MOVE
header.add_child( header_box )
header_box.set_owner( header )
###
###
# Quit
var quit_button = TextureButton.new()
quit_button.name = "Quit"
quit_button.size_flags_horizontal = SIZE_SHRINK_END
quit_button.size_flags_vertical = SIZE_SHRINK_CENTER
@ -169,15 +100,13 @@ func _enter_tree():
tex_quit.create_from_image( img_quit )
quit_button.texture_normal = tex_quit
header.add_child( quit_button )
# quit_button.set_owner( header )
header_box.add_child( quit_button )
quit_button.set_owner( header_box )
quit_button.connect ( "pressed", self, "_on_Quit_pressed" )
###
# close
# Close
var close_button = TextureButton.new()
if not header.has_node( "close" ):
close_button = TextureButton.new()
close_button.name = "close"
close_button.name = "Close"
close_button.size_flags_horizontal = SIZE_SHRINK_END
close_button.size_flags_vertical = SIZE_SHRINK_CENTER
@ -187,15 +116,13 @@ func _enter_tree():
tex_close.create_from_image( img_close )
close_button.texture_normal = tex_close
header.add_child( close_button )
# close_button.set_owner( header )
header_box.add_child( close_button )
close_button.set_owner( header_box )
close_button.connect ( "pressed", self, "_on_Close_pressed" )
###
# open
var open_button
if not header.has_node( "open" ):
open_button = TextureButton.new()
open_button.name = "open"
# Open
var open_button = TextureButton.new()
open_button.name = "Open"
open_button.size_flags_horizontal = SIZE_SHRINK_END
open_button.size_flags_vertical = SIZE_SHRINK_CENTER
@ -205,109 +132,62 @@ func _enter_tree():
tex_open.create_from_image( img_open )
open_button.texture_normal = tex_open
open_button.visible = false
header.add_child( open_button )
# open_button.set_owner( header )
header_box.add_child( open_button )
open_button.set_owner( header_box )
open_button.connect ( "pressed", self, "_on_Open_pressed" )
###
###
# Title Label
var title_label
if not header.has_node( "label" ):
title_label = Label.new()
title_label.name = "label"
var title_label = Label.new()
title_label.name = "Label"
title_label.text = title
title_label.size_flags_horizontal = SIZE_EXPAND_FILL
title_label.size_flags_vertical = SIZE_SHRINK_CENTER
if is_movable:
title_label.mouse_default_cursor_shape = CURSOR_MOVE
header.add_child( title_label )
# title_label.set_owner( header )
header_box.add_child( title_label )
title_label.set_owner( header_box )
###
###
# Content
var content_box
if not parts.has_node( "content_box" ):
content_box = MarginContainer.new()
content_box.name = "content_box"
content_box.size_flags_horizontal = SIZE_EXPAND_FILL
content_box.size_flags_vertical = SIZE_EXPAND_FILL
content_box.set( "custom_constants/margin_right", 8)
content_box.set( "custom_constants/margin_top", 8)
content_box.set( "custom_constants/margin_left", 8)
content_box.set( "custom_constants/margin_bottom", 8)
parts.add_child( content_box )
# content_box.set_owner( parts )
###
###
# content_box/scroll_container
var content_scroll_container
if not content_box.has_node( "scroll_container" ):
content_scroll_container = ScrollContainer.new()
content_scroll_container.name = "scroll_container"
content_scroll_container.size_flags_horizontal = SIZE_FILL
content_scroll_container.size_flags_vertical = SIZE_FILL
content_scroll_container.scroll_deadzone = 0
content_box.add_child( content_scroll_container )
# content_scroll_container.set_owner( content_box )
###
###
# content
var content
if not content_scroll_container.has_node( "content" ):
content = VBoxContainer.new()
content.name = "content"
var content = MarginContainer.new()
content.name = "Content"
content.size_flags_horizontal = SIZE_EXPAND_FILL
content.size_flags_vertical = SIZE_EXPAND_FILL
content_scroll_container.add_child( content )
# content.set_owner( content_scroll_container )
content.set( "custom_constants/margin_right", 8)
content.set( "custom_constants/margin_top", 8)
content.set( "custom_constants/margin_left", 8)
content.set( "custom_constants/margin_bottom", 8)
v_box_container.add_child( content )
content.set_owner( v_box_container )
###
###
# Footer
var footer_box
if not parts.has_node( "footer_box" ):
footer_box = MarginContainer.new()
footer_box.name = "footer_box"
var footer = MarginContainer.new()
footer.name = "Footer"
footer.size_flags_horizontal = SIZE_FILL
footer.size_flags_vertical = SIZE_FILL
footer.set( "custom_constants/margin_right", 6)
footer.set( "custom_constants/margin_top", 2)
footer.set( "custom_constants/margin_left", 6)
footer.set( "custom_constants/margin_bottom", 6)
v_box_container.add_child( footer )
footer.set_owner( v_box_container )
###
###
# Header/HBoxContainer
var footer_box = HBoxContainer.new()
footer_box.name = "HBoxContainer"
footer_box.size_flags_horizontal = SIZE_FILL
footer_box.size_flags_vertical = SIZE_FILL
footer_box.set( "custom_constants/margin_right", content_margin.position.y)
footer_box.set( "custom_constants/margin_top", content_margin.size.x)
footer_box.set( "custom_constants/margin_left", content_margin.position.x)
footer_box.set( "custom_constants/margin_bottom", content_margin.size.y)
parts.add_child( footer_box )
# footer_box.set_owner( parts )
footer.add_child( footer_box )
footer_box.set_owner( footer )
###
###
# footer_box/footer
var footer
if not footer_box.has_node( "footer" ):
footer = HBoxContainer.new()
footer.name = "footer"
footer.size_flags_horizontal = SIZE_EXPAND_FILL
footer.size_flags_vertical = SIZE_EXPAND_FILL
footer_box.add_child( footer )
# footer.set_owner( footer_box )
###
###
# footer_label
var footer_label
if not footer.has_node( "footer_label" ):
footer_label = Label.new()
footer_label.name = "footer_label"
footer_label.size_flags_horizontal = SIZE_EXPAND
footer_label.size_flags_vertical = SIZE_EXPAND
footer.add_child( footer_label )
###
# resize
var resize_button
if not footer.has_node( "resize" ):
resize_button = TextureButton.new()
resize_button.name = "resize"
resize_button.size_flags_horizontal = SIZE_FILL | SIZE_SHRINK_END
resize_button.size_flags_vertical = SIZE_SHRINK_END
# Open
var resize_button = TextureButton.new()
resize_button.name = "Resize"
resize_button.size_flags_horizontal = SIZE_EXPAND | SIZE_SHRINK_END
resize_button.size_flags_vertical = SIZE_EXPAND
var tex_resize = ImageTexture.new()
var img_resize = Image.new()
@ -316,59 +196,28 @@ func _enter_tree():
resize_button.texture_normal = tex_resize
resize_button.mouse_default_cursor_shape = CURSOR_FDIAGSIZE
resize_button.action_mode = Button.ACTION_MODE_BUTTON_PRESS
footer.add_child( resize_button )
# resize_button.set_owner( footer )
footer_box.add_child( resize_button )
resize_button.set_owner( footer_box )
resize_button.connect ( "pressed", self, "_on_Resize_pressed" )
###er_label.set_owner( footer )
###
current_rect_size = self.rect_min_size
if is_borderless:
$background.region_rect = Rect2( $background.patch_margin_left-1
, $background.patch_margin_top-1
, 256-($background.patch_margin_left+$background.patch_margin_right)+2
, 256-($background.patch_margin_top+$background.patch_margin_bottom)+2 )
$background.patch_margin_left = 1
$background.patch_margin_top = 1
$background.patch_margin_right = 1
$background.patch_margin_bottom = 1
header_box.rect_min_size.y = 1
close_button.visible = false
open_button.visible = false
quit_button.visible = false
title_label.visible = false
$Background.region_rect = Rect2( 3, 28+3, 512-6, 512-28-6 )
$VBoxContainer/Header/HBoxContainer/Close.visible = false
$VBoxContainer/Header/HBoxContainer/Open.visible = false
$VBoxContainer/Header/HBoxContainer/Quit.visible = false
$VBoxContainer/Header/HBoxContainer/Label.visible = false
# else:
# $Background.region_rect = Rect2( 0, 0, 512, 512 )
# $VBoxContainer/Header/HBoxContainer/Close.visible = true
# $VBoxContainer/Header/HBoxContainer/Open.visible = false
# $VBoxContainer/Header/HBoxContainer/Quit.visible = true
# $VBoxContainer/Header/HBoxContainer/Label.visible = true
if not is_resizable:
if not has_footer:
footer_box.visible = false
else:
footer_box.get_node( "footer/resize" ).visible = false
$VBoxContainer/Footer/HBoxContainer/Resize.visible = false
func _ready():
# On déplace les enfants ajouter via l'editeur sous content.
for child in self.get_children():
if not child.name =="parts" and not child.name =="background":
if child.name.begins_with( "footer_" ):
if footer_box.get_node("footer").has_node("footer_label"):
footer_box.get_node("footer").remove_child( footer_box.get_node("footer").get_node("footer_label") )
self.remove_child( child )
get_footer().add_child( child )
get_footer().move_child( child, 0 )
else:
self.remove_child( child )
get_content().add_child( child )
set_mouse_pass_to_children( self )
func _process(delta):
if size_changed:
self.rect_size = Vector2( clamp( self.rect_size.x, min_size.x, self.rect_size.x ), clamp( self.rect_size.y, min_size.y, self.rect_size.y ) )
size_changed = false
func _on_Window_mouse_entered():
print("mouse_entered")
@ -382,25 +231,23 @@ func _on_Quit_pressed():
self.visible = false
func get_content():
return content_box.get_node( "scroll_container/content" )
return $VBoxContainer/Content
func get_footer():
return footer_box.get_node( "footer" )
func close():
if not is_borderless:
header_box.get_node( "header/close" ).visible = false
header_box.get_node( "header/open" ).visible = true
content_box.visible = false
footer_box.visible = false
$VBoxContainer/Header/HBoxContainer/Close.visible = false
$VBoxContainer/Header/HBoxContainer/Open.visible = true
$VBoxContainer/Content.visible = false
$VBoxContainer/Footer.visible = false
current_rect_size = self.rect_size
self.rect_size = Vector2( 0, 0 )
else:
header_box.get_node( "header/close" ).visible = false
header_box.get_node( "header/open" ).visible = false
content_box.visible = false
footer_box.visible = false
$VBoxContainer/Header/HBoxContainer/Close.visible = false
$VBoxContainer/Header/HBoxContainer/Open.visible = false
$VBoxContainer/Content.visible = false
$VBoxContainer/Footer.visible = false
current_rect_size = self.rect_size
self.rect_size = Vector2( 0, 0 )
@ -410,16 +257,16 @@ func _on_Close_pressed():
func open():
if not is_borderless:
header_box.get_node( "header/close" ).visible = true
header_box.get_node( "header/open" ).visible = false
content_box.visible = true
footer_box.visible = true
$VBoxContainer/Header/HBoxContainer/Close.visible = true
$VBoxContainer/Header/HBoxContainer/Open.visible = false
$VBoxContainer/Content.visible = true
$VBoxContainer/Footer.visible = true
self.rect_size = current_rect_size
else:
header_box.get_node( "header/close" ).visible = false
header_box.get_node( "header/open" ).visible = false
content_box.visible = true
footer_box.visible = true
$VBoxContainer/Header/HBoxContainer/Close.visible = false
$VBoxContainer/Header/HBoxContainer/Open.visible = false
$VBoxContainer/Content.visible = true
$VBoxContainer/Footer.visible = true
self.rect_size = current_rect_size
func _on_Open_pressed():
@ -435,28 +282,17 @@ func _input( event ):
if event is InputEventMouseMotion and is_resizing:
var delta = event.relative
self.rect_size += delta
size_changed = true
func check_if_clicked( event ):
if not is_moving and event is InputEventMouseButton and event.is_pressed() and not event.is_echo() and event.button_index == 1 :
emit_signal( "window_clicked", self )
func _on_Header_gui_input( event ):
check_if_clicked( event )
func _on_Header_gui_input(ev):
if is_movable:
if is_moving and event is InputEventMouseButton and not event.pressed:
if is_moving and ev is InputEventMouseButton and not ev.pressed:
is_moving = false
elif not is_moving and event is InputEventMouseButton and event.pressed:
elif not is_moving and ev is InputEventMouseButton and ev.pressed:
is_moving = true
if event is InputEventMouseMotion and is_moving:
var delta = event.relative
if ev is InputEventMouseMotion and is_moving:
var delta = ev.relative
self.rect_position += delta
func _on_window_gui_input( event ):
check_if_clicked( event )
func load_from_file( config_file ):
if config_file.has_section( self.name ):
self.rect_position = config_file.get_value( self.name, "position" )
@ -472,7 +308,7 @@ func load_from_file( config_file ):
func save_to_file( config_file ):
var is_open = content_box.visible
var is_open = $VBoxContainer/Content.visible
config_file.set_value(self.name, "position", self.rect_position)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 592 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

View file

@ -3,9 +3,6 @@
importer="texture"
type="StreamTexture"
path="res://.import/bg1.jpg-62fc1eb5b586a7795f2321ddfcc3ee99.stex"
metadata={
"vram_texture": false
}
[deps]
@ -17,7 +14,6 @@ dest_files=[ "res://.import/bg1.jpg-62fc1eb5b586a7795f2321ddfcc3ee99.stex" ]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@ -27,7 +23,6 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View file

@ -3,9 +3,6 @@
importer="texture"
type="StreamTexture"
path="res://.import/bg2.jpg-b2f660962e3a46240446aab06983a831.stex"
metadata={
"vram_texture": false
}
[deps]
@ -17,7 +14,6 @@ dest_files=[ "res://.import/bg2.jpg-b2f660962e3a46240446aab06983a831.stex" ]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=1
flags/filter=true
@ -27,7 +23,6 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View file

@ -3,9 +3,6 @@
importer="texture"
type="StreamTexture"
path="res://.import/bg_borderless.jpg-75510b5d2cfca15ea563ab7966a68e8b.stex"
metadata={
"vram_texture": false
}
[deps]
@ -17,7 +14,6 @@ dest_files=[ "res://.import/bg_borderless.jpg-75510b5d2cfca15ea563ab7966a68e8b.s
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@ -27,7 +23,6 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View file

@ -3,9 +3,6 @@
importer="texture"
type="StreamTexture"
path="res://.import/button_close.png-4797019383a691096b159f84a648832c.stex"
metadata={
"vram_texture": false
}
[deps]
@ -17,7 +14,6 @@ dest_files=[ "res://.import/button_close.png-4797019383a691096b159f84a648832c.st
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@ -27,7 +23,6 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

Binary file not shown.

Before

Width:  |  Height:  |  Size: 388 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 429 B

View file

@ -3,9 +3,6 @@
importer="texture"
type="StreamTexture"
path="res://.import/button_move.png-532099318a86b2038b998ddd2875496c.stex"
metadata={
"vram_texture": false
}
[deps]
@ -17,7 +14,6 @@ dest_files=[ "res://.import/button_move.png-532099318a86b2038b998ddd2875496c.ste
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@ -27,7 +23,6 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View file

@ -3,9 +3,6 @@
importer="texture"
type="StreamTexture"
path="res://.import/button_open.png-7824b6d39aff1d96e19cd2753aed9fe2.stex"
metadata={
"vram_texture": false
}
[deps]
@ -17,7 +14,6 @@ dest_files=[ "res://.import/button_open.png-7824b6d39aff1d96e19cd2753aed9fe2.ste
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@ -27,7 +23,6 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View file

@ -3,9 +3,6 @@
importer="texture"
type="StreamTexture"
path="res://.import/button_quit.png-2b2d83ab2cd0b5d3427aa32b18ba522f.stex"
metadata={
"vram_texture": false
}
[deps]
@ -17,7 +14,6 @@ dest_files=[ "res://.import/button_quit.png-2b2d83ab2cd0b5d3427aa32b18ba522f.ste
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@ -27,7 +23,6 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View file

@ -3,9 +3,6 @@
importer="texture"
type="StreamTexture"
path="res://.import/button_resize.png-49f3fee4aa800f70768831898aa4a0cc.stex"
metadata={
"vram_texture": false
}
[deps]
@ -17,7 +14,6 @@ dest_files=[ "res://.import/button_resize.png-49f3fee4aa800f70768831898aa4a0cc.s
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@ -27,7 +23,6 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

Binary file not shown.

Before

Width:  |  Height:  |  Size: 339 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 336 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 334 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 323 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 829 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 754 B

View file

@ -3,9 +3,6 @@
importer="texture"
type="StreamTexture"
path="res://.import/khaganat_logo_color.png-cb69122f106105fab2e4f1370bd3e815.stex"
metadata={
"vram_texture": false
}
[deps]
@ -17,7 +14,6 @@ dest_files=[ "res://.import/khaganat_logo_color.png-cb69122f106105fab2e4f1370bd3
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@ -27,7 +23,6 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

View file

@ -3,9 +3,6 @@
importer="texture"
type="StreamTexture"
path="res://.import/khanat_logo_color.png-4c42c8a2a774982fdc40e61c8da9c7f4.stex"
metadata={
"vram_texture": false
}
[deps]
@ -17,7 +14,6 @@ dest_files=[ "res://.import/khanat_logo_color.png-4c42c8a2a774982fdc40e61c8da9c7
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@ -27,7 +23,6 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5 KiB

View file

@ -3,9 +3,6 @@
importer="texture"
type="StreamTexture"
path="res://.import/new_launcher_bg_0-1.png-f9bd5fccfcac7eb71c7c57a058e15962.stex"
metadata={
"vram_texture": false
}
[deps]
@ -17,7 +14,6 @@ dest_files=[ "res://.import/new_launcher_bg_0-1.png-f9bd5fccfcac7eb71c7c57a058e1
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
@ -27,7 +23,6 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true

Binary file not shown.

Before

Width:  |  Height:  |  Size: 367 KiB

Binary file not shown.

View file

@ -4,10 +4,6 @@ importer="texture"
type="StreamTexture"
path.s3tc="res://.import/Bricks08_AO.jpg-0bed8a73ed5d0f366925026e08e78633.s3tc.stex"
path.etc2="res://.import/Bricks08_AO.jpg-0bed8a73ed5d0f366925026e08e78633.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
@ -19,7 +15,6 @@ dest_files=[ "res://.import/Bricks08_AO.jpg-0bed8a73ed5d0f366925026e08e78633.s3t
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
@ -29,7 +24,6 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false

View file

@ -4,10 +4,6 @@ importer="texture"
type="StreamTexture"
path.s3tc="res://.import/Bricks08_col.jpg-847f39e29b686be46f9011c3a797d966.s3tc.stex"
path.etc2="res://.import/Bricks08_col.jpg-847f39e29b686be46f9011c3a797d966.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
@ -19,7 +15,6 @@ dest_files=[ "res://.import/Bricks08_col.jpg-847f39e29b686be46f9011c3a797d966.s3
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
@ -29,7 +24,6 @@ flags/srgb=1
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false

View file

@ -4,10 +4,6 @@ importer="texture"
type="StreamTexture"
path.s3tc="res://.import/Bricks08_disp.jpg-5c54c4121b3d3f71a7938ba4e3fc6578.s3tc.stex"
path.etc2="res://.import/Bricks08_disp.jpg-5c54c4121b3d3f71a7938ba4e3fc6578.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
@ -19,7 +15,6 @@ dest_files=[ "res://.import/Bricks08_disp.jpg-5c54c4121b3d3f71a7938ba4e3fc6578.s
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
@ -29,7 +24,6 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false

View file

@ -4,10 +4,6 @@ importer="texture"
type="StreamTexture"
path.s3tc="res://.import/Bricks08_nrm.jpg-424b57dd4f1f085663f4f3535e5e12f9.s3tc.stex"
path.etc2="res://.import/Bricks08_nrm.jpg-424b57dd4f1f085663f4f3535e5e12f9.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
@ -19,7 +15,6 @@ dest_files=[ "res://.import/Bricks08_nrm.jpg-424b57dd4f1f085663f4f3535e5e12f9.s3
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=1
flags/repeat=true
flags/filter=true
@ -29,7 +24,6 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false

View file

@ -4,10 +4,6 @@ importer="texture"
type="StreamTexture"
path.s3tc="res://.import/Bricks08_rgh.jpg-d6c5268d812afc667625d535694afb2b.s3tc.stex"
path.etc2="res://.import/Bricks08_rgh.jpg-d6c5268d812afc667625d535694afb2b.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
@ -19,7 +15,6 @@ dest_files=[ "res://.import/Bricks08_rgh.jpg-d6c5268d812afc667625d535694afb2b.s3
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
@ -29,7 +24,6 @@ flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false

View file

@ -15,10 +15,10 @@ flags_no_depth_test = false
flags_use_point_size = false
flags_world_triplanar = false
flags_fixed_size = false
flags_albedo_tex_force_srgb = true
flags_albedo_tex_force_srgb = false
vertex_color_use_as_albedo = false
vertex_color_is_srgb = false
params_diffuse_mode = 1
params_diffuse_mode = 0
params_specular_mode = 0
params_blend_mode = 0
params_cull_mode = 0
@ -63,5 +63,5 @@ uv2_triplanar = false
uv2_triplanar_sharpness = 1.0
proximity_fade_enable = false
distance_fade_enable = false
_sections_unfolded = [ "Albedo", "Ambient Occlusion", "Flags", "Metallic", "NormalMap", "Roughness", "Vertex Color" ]
_sections_unfolded = [ "Albedo", "Ambient Occlusion", "Metallic", "NormalMap", "Parameters", "Roughness", "Vertex Color" ]

View file

@ -15,10 +15,10 @@ flags_no_depth_test = false
flags_use_point_size = false
flags_world_triplanar = false
flags_fixed_size = false
flags_albedo_tex_force_srgb = true
flags_albedo_tex_force_srgb = false
vertex_color_use_as_albedo = false
vertex_color_is_srgb = false
params_diffuse_mode = 1
params_diffuse_mode = 0
params_specular_mode = 0
params_blend_mode = 0
params_cull_mode = 0

View file

@ -15,7 +15,7 @@ flags_no_depth_test = false
flags_use_point_size = false
flags_world_triplanar = false
flags_fixed_size = false
flags_albedo_tex_force_srgb = true
flags_albedo_tex_force_srgb = false
vertex_color_use_as_albedo = false
vertex_color_is_srgb = false
params_diffuse_mode = 0
@ -60,5 +60,5 @@ uv2_triplanar = false
uv2_triplanar_sharpness = 1.0
proximity_fade_enable = false
distance_fade_enable = false
_sections_unfolded = [ "Albedo", "Flags", "Metallic", "NormalMap", "Roughness" ]
_sections_unfolded = [ "Albedo", "Metallic", "NormalMap", "Roughness" ]

View file

@ -1,44 +0,0 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://assets/Game/basekits/dispensaire_mesh_sources/DisCor1wAA01.mesh" type="ArrayMesh" id=1]
[sub_resource type="ConcavePolygonShape" id=1]
data = PoolVector3Array( -1.5313, 0.2188, -1.749, -1.5303, 3.2813, 1.75, -1.5313, 3.2813, -1.749, -1.5303, 0.2188, 1.75, -1.5303, 3.2813, 1.75, -1.5313, 0.2188, -1.749, 1.75, 0.2188, 1.75, -1.75, 0.2188, -1.75, 1.75, 0.2188, -1.75, -1.75, 0.2188, 1.75, -1.75, 0.2188, -1.75, 1.75, 0.2188, 1.75, -1.75, 3.2813, 1.75, 1.75, 3.2813, -1.75, -1.75, 3.2813, -1.75, 1.75, 3.2813, 1.75, 1.75, 3.2813, -1.75, -1.75, 3.2813, 1.75, 1.5313, 0.2188, 1.75, 1.5313, 3.2813, -1.75, 1.5313, 3.2813, 1.75, 1.5313, 0.2188, -1.75, 1.5313, 3.2813, -1.75, 1.5313, 0.2188, 1.75, 1.75, 0.2188, -1.5303, -1.75, 3.2813, -1.5313, 1.75, 3.2813, -1.5303, -1.75, 0.2188, -1.5313, -1.75, 3.2813, -1.5313, 1.75, 0.2188, -1.5303 )
[node name="DisCor1wAA01" type="MeshInstance" index="0"]
layers = 1
material_override = null
cast_shadow = 1
extra_cull_margin = 0.0
use_in_baked_light = false
lod_min_distance = 0.0
lod_min_hysteresis = 0.0
lod_max_distance = 0.0
lod_max_hysteresis = 0.0
mesh = ExtResource( 1 )
skeleton = NodePath("..")
material/0 = null
material/1 = null
material/2 = null
material/3 = null
material/4 = null
[node name="static_body" type="StaticBody" parent="." index="0"]
input_ray_pickable = true
input_capture_on_drag = false
collision_layer = 1
collision_mask = 1
friction = 1.0
bounce = 0.0
constant_linear_velocity = Vector3( 0, 0, 0 )
constant_angular_velocity = Vector3( 0, 0, 0 )
[node name="collision_shape" type="CollisionShape" parent="static_body" index="0"]
shape = SubResource( 1 )
disabled = false

View file

@ -1,45 +0,0 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://assets/Game/basekits/dispensaire_mesh_sources/DisCor1wDoLAA01.mesh" type="ArrayMesh" id=1]
[sub_resource type="ConcavePolygonShape" id=1]
data = PoolVector3Array( 1.75, 0.2188, -1.5313, -1.75, 3.2813, -1.5313, 1.75, 3.2813, -1.5313, -1.75, 0.2188, -1.5313, -1.75, 3.2813, -1.5313, 1.75, 0.2188, -1.5313, -1.5313, 2.625, 1.749, -1.5313, 0.8198, 0.9526, -1.5313, 0.8198, 1.749, -1.584, 0.8198, -0.8984, -1.75, 2.625, -0.5249, -1.584, 2.625, -0.5249, -1.5313, 0.2188, -1.75, -1.5313, 0.8198, -0.9526, -1.5313, 0.8198, -1.75, -1.5313, 2.625, 1.749, -1.5313, 3.2813, 0.6558, -1.5313, 2.6777, 0.5679, -1.584, 0.2188, -0.6563, -1.75, 0.8198, -0.8984, -1.584, 0.8198, -0.8984, -1.75, 2.625, 0.5249, -1.584, 0.8198, 0.8984, -1.584, 2.625, 0.5249, -1.5313, 0.2188, 1.749, -1.5313, 0.8198, 0.9526, -1.5313, 0.2188, 0.71, -1.5313, 2.625, -1.75, -1.5313, 3.2813, -0.6563, -1.5313, 3.2813, -1.75, -1.75, 0.8198, 0.8984, -1.584, 0.2188, 0.6558, -1.584, 0.8198, 0.8984, -1.5313, 0.8198, -0.9526, -1.5313, 2.625, -1.75, -1.5313, 0.8198, -1.75, -1.5313, 2.6777, 0.5679, -1.5313, 3.2813, -0.6563, -1.5313, 2.6777, -0.5679, -1.584, 2.625, -0.5249, -1.75, 2.625, 0.5249, -1.584, 2.625, 0.5249, -1.5313, 2.6777, 0.5679, -1.5313, 0.8198, 0.9526, -1.5313, 2.625, 1.749, -1.75, 0.8198, -0.8984, -1.75, 2.625, -0.5249, -1.584, 0.8198, -0.8984, -1.5313, 0.2188, -0.71, -1.5313, 0.8198, -0.9526, -1.5313, 0.2188, -1.75, -1.5313, 3.2813, 1.749, -1.5313, 3.2813, 0.6558, -1.5313, 2.625, 1.749, -1.75, 0.2188, -0.6563, -1.75, 0.8198, -0.8984, -1.584, 0.2188, -0.6563, -1.75, 0.8198, 0.8984, -1.584, 0.8198, 0.8984, -1.75, 2.625, 0.5249, -1.5313, 0.8198, 1.749, -1.5313, 0.8198, 0.9526, -1.5313, 0.2188, 1.749, -1.5313, 2.6777, -0.5679, -1.5313, 3.2813, -0.6563, -1.5313, 2.625, -1.75, -1.75, 0.2188, 0.6558, -1.584, 0.2188, 0.6558, -1.75, 0.8198, 0.8984, -1.5313, 2.6777, -0.5679, -1.5313, 2.625, -1.75, -1.5313, 0.8198, -0.9526, -1.5313, 3.2813, 0.6558, -1.5313, 3.2813, -0.6563, -1.5313, 2.6777, 0.5679, -1.75, 2.625, -0.5249, -1.75, 2.625, 0.5249, -1.584, 2.625, -0.5249, -1.5313, 2.6777, 0.5679, -1.584, 2.625, -0.5249, -1.584, 2.625, 0.5249, -1.5313, 0.8198, 0.9526, -1.584, 2.625, 0.5249, -1.584, 0.8198, 0.8984, -1.584, 2.625, -0.5249, -1.5313, 0.8198, -0.9526, -1.584, 0.8198, -0.8984, -1.584, 0.8198, -0.8984, -1.5313, 0.2188, -0.71, -1.584, 0.2188, -0.6563, -1.5313, 0.2188, 0.71, -1.584, 0.8198, 0.8984, -1.584, 0.2188, 0.6558, -1.5313, 2.6777, -0.5679, -1.584, 2.625, -0.5249, -1.5313, 2.6777, 0.5679, -1.5313, 2.6777, 0.5679, -1.584, 2.625, 0.5249, -1.5313, 0.8198, 0.9526, -1.5313, 2.6777, -0.5679, -1.5313, 0.8198, -0.9526, -1.584, 2.625, -0.5249, -1.5313, 0.8198, -0.9526, -1.5313, 0.2188, -0.71, -1.584, 0.8198, -0.8984, -1.5313, 0.8198, 0.9526, -1.584, 0.8198, 0.8984, -1.5313, 0.2188, 0.71, 1.5313, 0.2188, 1.749, 1.5313, 3.2813, -1.75, 1.5313, 3.2813, 1.749, 1.5313, 0.2188, -1.75, 1.5313, 3.2813, -1.75, 1.5313, 0.2188, 1.749, -1.75, 3.2813, 1.749, 1.75, 3.2813, -1.75, -1.75, 3.2813, -1.75, 1.75, 3.2813, 1.749, 1.75, 3.2813, -1.75, -1.75, 3.2813, 1.749, 1.75, 0.2188, 1.749, -1.75, 0.2188, -1.75, 1.75, 0.2188, -1.75, -1.75, 0.2188, 1.749, -1.75, 0.2188, -1.75, 1.75, 0.2188, 1.749 )
[node name="DisCor1wDoLAA01" type="MeshInstance" index="0"]
layers = 1
material_override = null
cast_shadow = 1
extra_cull_margin = 0.0
use_in_baked_light = false
lod_min_distance = 0.0
lod_min_hysteresis = 0.0
lod_max_distance = 0.0
lod_max_hysteresis = 0.0
mesh = ExtResource( 1 )
skeleton = NodePath("..")
material/0 = null
material/1 = null
material/2 = null
material/3 = null
material/4 = null
material/5 = null
[node name="static_body" type="StaticBody" parent="." index="0"]
input_ray_pickable = true
input_capture_on_drag = false
collision_layer = 1
collision_mask = 1
friction = 1.0
bounce = 0.0
constant_linear_velocity = Vector3( 0, 0, 0 )
constant_angular_velocity = Vector3( 0, 0, 0 )
[node name="collision_shape" type="CollisionShape" parent="static_body" index="0"]
shape = SubResource( 1 )
disabled = false

File diff suppressed because one or more lines are too long

View file

@ -1,45 +0,0 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://assets/Game/basekits/dispensaire_mesh_sources/DisCor1wDoRAA01.mesh" type="ArrayMesh" id=1]
[sub_resource type="ConcavePolygonShape" id=1]
data = PoolVector3Array( 1.75, 0.2188, 1.75, -1.75, 0.2188, -1.75, 1.75, 0.2188, -1.75, -1.75, 0.2188, 1.75, -1.75, 0.2188, -1.75, 1.75, 0.2188, 1.75, -1.75, 3.2813, 1.75, 1.75, 3.2813, -1.749, -1.75, 3.2813, -1.749, 1.75, 3.2813, 1.75, 1.75, 3.2813, -1.749, -1.75, 3.2813, 1.75, -1.5313, 0.2188, -1.749, -1.5303, 3.2813, 1.75, -1.5313, 3.2813, -1.749, -1.5303, 0.2188, 1.75, -1.5303, 3.2813, 1.75, -1.5313, 0.2188, -1.749, 1.5313, 2.625, -1.75, 1.5313, 0.8198, -0.9526, 1.5313, 0.8198, -1.75, 1.584, 0.8198, 0.8984, 1.75, 2.625, 0.5249, 1.584, 2.625, 0.5249, 1.5313, 0.2188, 1.75, 1.5313, 0.8198, 0.9526, 1.5313, 0.8198, 1.75, 1.5313, 2.625, -1.75, 1.5313, 3.2813, -0.6563, 1.5313, 2.6777, -0.5679, 1.75, 0.2188, 0.6563, 1.584, 0.8198, 0.8984, 1.584, 0.2188, 0.6563, 1.75, 2.625, -0.5249, 1.584, 0.8198, -0.8984, 1.584, 2.625, -0.5249, 1.5313, 0.2188, -1.75, 1.5313, 0.8198, -0.9526, 1.5313, 0.2188, -0.71, 1.5313, 2.625, 1.75, 1.5313, 3.2813, 0.6563, 1.5313, 3.2813, 1.75, 1.75, 0.8198, -0.8984, 1.584, 0.2188, -0.6563, 1.584, 0.8198, -0.8984, 1.5313, 0.8198, 0.9526, 1.5313, 2.625, 1.75, 1.5313, 0.8198, 1.75, 1.5313, 2.6777, -0.5679, 1.5313, 3.2813, 0.6563, 1.5313, 2.6777, 0.5679, 1.584, 2.625, 0.5249, 1.75, 2.625, -0.5249, 1.584, 2.625, -0.5249, 1.5313, 2.6777, -0.5679, 1.5313, 0.8198, -0.9526, 1.5313, 2.625, -1.75, 1.75, 0.8198, 0.8984, 1.75, 2.625, 0.5249, 1.584, 0.8198, 0.8984, 1.5313, 0.2188, 0.71, 1.5313, 0.8198, 0.9526, 1.5313, 0.2188, 1.75, 1.5313, 3.2813, -1.75, 1.5313, 3.2813, -0.6563, 1.5313, 2.625, -1.75, 1.75, 0.8198, 0.8984, 1.584, 0.8198, 0.8984, 1.75, 0.2188, 0.6563, 1.75, 0.8198, -0.8984, 1.584, 0.8198, -0.8984, 1.75, 2.625, -0.5249, 1.5313, 0.8198, -1.75, 1.5313, 0.8198, -0.9526, 1.5313, 0.2188, -1.75, 1.5313, 2.6777, 0.5679, 1.5313, 3.2813, 0.6563, 1.5313, 2.625, 1.75, 1.75, 0.2188, -0.6563, 1.584, 0.2188, -0.6563, 1.75, 0.8198, -0.8984, 1.5313, 2.6777, 0.5679, 1.5313, 2.625, 1.75, 1.5313, 0.8198, 0.9526, 1.5313, 3.2813, -0.6563, 1.5313, 3.2813, 0.6563, 1.5313, 2.6777, -0.5679, 1.75, 2.625, 0.5249, 1.75, 2.625, -0.5249, 1.584, 2.625, 0.5249, 1.5313, 2.6777, -0.5679, 1.584, 2.625, 0.5249, 1.584, 2.625, -0.5249, 1.5313, 0.8198, -0.9526, 1.584, 2.625, -0.5249, 1.584, 0.8198, -0.8984, 1.584, 2.625, 0.5249, 1.5313, 0.8198, 0.9526, 1.584, 0.8198, 0.8984, 1.584, 0.8198, 0.8984, 1.5313, 0.2188, 0.71, 1.584, 0.2188, 0.6563, 1.5313, 0.2188, -0.71, 1.584, 0.8198, -0.8984, 1.584, 0.2188, -0.6563, 1.5313, 2.6777, 0.5679, 1.584, 2.625, 0.5249, 1.5313, 2.6777, -0.5679, 1.5313, 2.6777, -0.5679, 1.584, 2.625, -0.5249, 1.5313, 0.8198, -0.9526, 1.5313, 2.6777, 0.5679, 1.5313, 0.8198, 0.9526, 1.584, 2.625, 0.5249, 1.5313, 0.8198, 0.9526, 1.5313, 0.2188, 0.71, 1.584, 0.8198, 0.8984, 1.5313, 0.8198, -0.9526, 1.584, 0.8198, -0.8984, 1.5313, 0.2188, -0.71, 1.75, 0.2188, -1.5303, -1.749, 3.2813, -1.5313, 1.75, 3.2813, -1.5303, -1.749, 0.2188, -1.5313, -1.749, 3.2813, -1.5313, 1.75, 0.2188, -1.5303 )
[node name="DisCor1wDoRAA01" type="MeshInstance" index="0"]
layers = 1
material_override = null
cast_shadow = 1
extra_cull_margin = 0.0
use_in_baked_light = false
lod_min_distance = 0.0
lod_min_hysteresis = 0.0
lod_max_distance = 0.0
lod_max_hysteresis = 0.0
mesh = ExtResource( 1 )
skeleton = NodePath("..")
material/0 = null
material/1 = null
material/2 = null
material/3 = null
material/4 = null
material/5 = null
[node name="static_body" type="StaticBody" parent="." index="0"]
input_ray_pickable = true
input_capture_on_drag = false
collision_layer = 1
collision_mask = 1
friction = 1.0
bounce = 0.0
constant_linear_velocity = Vector3( 0, 0, 0 )
constant_angular_velocity = Vector3( 0, 0, 0 )
[node name="collision_shape" type="CollisionShape" parent="static_body" index="0"]
shape = SubResource( 1 )
disabled = false

View file

@ -1,43 +0,0 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://assets/Game/basekits/dispensaire_mesh_sources/DisCor2wAA01.mesh" type="ArrayMesh" id=1]
[sub_resource type="ConcavePolygonShape" id=1]
data = PoolVector3Array( 1.5313, 0.2188, 1.749, 1.5303, 3.2813, -1.75, 1.5313, 3.2813, 1.749, 1.5303, 0.2188, -1.75, 1.5303, 3.2813, -1.75, 1.5313, 0.2188, 1.749, -1.5313, 0.2188, -1.75, -1.5303, 3.2813, 1.75, -1.5313, 3.2813, -1.75, -1.5303, 0.2188, 1.75, -1.5303, 3.2813, 1.75, -1.5313, 0.2188, -1.75, -1.75, 3.2813, 1.75, 1.75, 3.2813, -1.75, -1.75, 3.2813, -1.75, 1.75, 3.2813, 1.75, 1.75, 3.2813, -1.75, -1.75, 3.2813, 1.75, 1.75, 0.2188, 1.75, -1.75, 0.2188, -1.75, 1.75, 0.2188, -1.75, -1.75, 0.2188, 1.75, -1.75, 0.2188, -1.75, 1.75, 0.2188, 1.75 )
[node name="DisCor2wAA01" type="MeshInstance" index="0"]
layers = 1
material_override = null
cast_shadow = 1
extra_cull_margin = 0.0
use_in_baked_light = false
lod_min_distance = 0.0
lod_min_hysteresis = 0.0
lod_max_distance = 0.0
lod_max_hysteresis = 0.0
mesh = ExtResource( 1 )
skeleton = NodePath("..")
material/0 = null
material/1 = null
material/2 = null
material/3 = null
[node name="static_body" type="StaticBody" parent="." index="0"]
input_ray_pickable = true
input_capture_on_drag = false
collision_layer = 1
collision_mask = 1
friction = 1.0
bounce = 0.0
constant_linear_velocity = Vector3( 0, 0, 0 )
constant_angular_velocity = Vector3( 0, 0, 0 )
[node name="collision_shape" type="CollisionShape" parent="static_body" index="0"]
shape = SubResource( 1 )
disabled = false

View file

@ -1,44 +0,0 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://assets/Game/basekits/dispensaire_mesh_sources/DisCor2wDoLAA01.mesh" type="ArrayMesh" id=1]
[sub_resource type="ConcavePolygonShape" id=1]
data = PoolVector3Array( 1.75, 0.2188, 1.75, -1.75, 0.2188, -1.75, 1.75, 0.2188, -1.75, -1.75, 0.2188, 1.75, -1.75, 0.2188, -1.75, 1.75, 0.2188, 1.75, -1.75, 3.2813, 1.75, 1.75, 3.2813, -1.749, -1.75, 3.2813, -1.749, 1.75, 3.2813, 1.75, 1.75, 3.2813, -1.749, -1.75, 3.2813, 1.75, 1.5313, 0.2188, 1.75, 1.5313, 3.2813, -1.749, 1.5313, 3.2813, 1.75, 1.5313, 0.2188, -1.749, 1.5313, 3.2813, -1.749, 1.5313, 0.2188, 1.75, -1.5313, 2.625, 1.75, -1.5313, 0.8198, 0.9526, -1.5313, 0.8198, 1.75, -1.584, 0.8198, -0.8984, -1.75, 2.625, -0.5249, -1.584, 2.625, -0.5249, -1.5313, 0.2188, -1.749, -1.5313, 0.8198, -0.9526, -1.5313, 0.8198, -1.749, -1.5313, 2.625, 1.75, -1.5313, 3.2813, 0.6563, -1.5313, 2.6777, 0.5679, -1.584, 0.2188, -0.6558, -1.75, 0.8198, -0.8984, -1.584, 0.8198, -0.8984, -1.75, 2.625, 0.5249, -1.584, 0.8198, 0.8984, -1.584, 2.625, 0.5249, -1.5313, 0.2188, 1.75, -1.5313, 0.8198, 0.9526, -1.5313, 0.2188, 0.71, -1.5313, 2.625, -1.749, -1.5313, 3.2813, -0.6558, -1.5313, 3.2813, -1.749, -1.75, 0.8198, 0.8984, -1.584, 0.2188, 0.6563, -1.584, 0.8198, 0.8984, -1.5313, 0.8198, -0.9526, -1.5313, 2.625, -1.749, -1.5313, 0.8198, -1.749, -1.5313, 2.6777, 0.5679, -1.5313, 3.2813, -0.6558, -1.5313, 2.6777, -0.5679, -1.584, 2.625, -0.5249, -1.75, 2.625, 0.5249, -1.584, 2.625, 0.5249, -1.5313, 2.6777, 0.5679, -1.5313, 0.8198, 0.9526, -1.5313, 2.625, 1.75, -1.75, 0.8198, -0.8984, -1.75, 2.625, -0.5249, -1.584, 0.8198, -0.8984, -1.5313, 0.2188, -0.71, -1.5313, 0.8198, -0.9526, -1.5313, 0.2188, -1.749, -1.5313, 3.2813, 1.75, -1.5313, 3.2813, 0.6563, -1.5313, 2.625, 1.75, -1.75, 0.2188, -0.6558, -1.75, 0.8198, -0.8984, -1.584, 0.2188, -0.6558, -1.75, 0.8198, 0.8984, -1.584, 0.8198, 0.8984, -1.75, 2.625, 0.5249, -1.5313, 0.8198, 1.75, -1.5313, 0.8198, 0.9526, -1.5313, 0.2188, 1.75, -1.5313, 2.6777, -0.5679, -1.5313, 3.2813, -0.6558, -1.5313, 2.625, -1.749, -1.75, 0.2188, 0.6563, -1.584, 0.2188, 0.6563, -1.75, 0.8198, 0.8984, -1.5313, 2.6777, -0.5679, -1.5313, 2.625, -1.749, -1.5313, 0.8198, -0.9526, -1.5313, 3.2813, 0.6563, -1.5313, 3.2813, -0.6558, -1.5313, 2.6777, 0.5679, -1.75, 2.625, -0.5249, -1.75, 2.625, 0.5249, -1.584, 2.625, -0.5249, -1.5313, 2.6777, 0.5679, -1.584, 2.625, -0.5249, -1.584, 2.625, 0.5249, -1.5313, 0.8198, 0.9526, -1.584, 2.625, 0.5249, -1.584, 0.8198, 0.8984, -1.584, 2.625, -0.5249, -1.5313, 0.8198, -0.9526, -1.584, 0.8198, -0.8984, -1.584, 0.8198, -0.8984, -1.5313, 0.2188, -0.71, -1.584, 0.2188, -0.6558, -1.5313, 0.2188, 0.71, -1.584, 0.8198, 0.8984, -1.584, 0.2188, 0.6563, -1.5313, 2.6777, -0.5679, -1.584, 2.625, -0.5249, -1.5313, 2.6777, 0.5679, -1.5313, 2.6777, 0.5679, -1.584, 2.625, 0.5249, -1.5313, 0.8198, 0.9526, -1.5313, 2.6777, -0.5679, -1.5313, 0.8198, -0.9526, -1.584, 2.625, -0.5249, -1.5313, 0.8198, -0.9526, -1.5313, 0.2188, -0.71, -1.584, 0.8198, -0.8984, -1.5313, 0.8198, 0.9526, -1.584, 0.8198, 0.8984, -1.5313, 0.2188, 0.71 )
[node name="DisCor2wDoLAA01" type="MeshInstance" index="0"]
layers = 1
material_override = null
cast_shadow = 1
extra_cull_margin = 0.0
use_in_baked_light = false
lod_min_distance = 0.0
lod_min_hysteresis = 0.0
lod_max_distance = 0.0
lod_max_hysteresis = 0.0
mesh = ExtResource( 1 )
skeleton = NodePath("..")
material/0 = null
material/1 = null
material/2 = null
material/3 = null
material/4 = null
[node name="static_body" type="StaticBody" parent="." index="0"]
input_ray_pickable = true
input_capture_on_drag = false
collision_layer = 1
collision_mask = 1
friction = 1.0
bounce = 0.0
constant_linear_velocity = Vector3( 0, 0, 0 )
constant_angular_velocity = Vector3( 0, 0, 0 )
[node name="collision_shape" type="CollisionShape" parent="static_body" index="0"]
shape = SubResource( 1 )
disabled = false

View file

@ -1,45 +0,0 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://assets/Game/basekits/dispensaire_mesh_sources/DisCor2wDoLRAA01.mesh" type="ArrayMesh" id=1]
[sub_resource type="ConcavePolygonShape" id=1]
data = PoolVector3Array( -1.5313, 0.2188, 1.5313, -1.5303, 3.2813, 1.75, -1.5313, 3.2813, 1.5313, -1.5303, 0.2188, 1.75, -1.5303, 3.2813, 1.75, -1.5313, 0.2188, 1.5313, -1.75, 0.2188, 1.5313, -1.5303, 3.2813, 1.5313, -1.75, 3.2813, 1.5313, -1.5303, 0.2188, 1.5313, -1.5303, 3.2813, 1.5313, -1.75, 0.2188, 1.5313, 1.75, 0.2188, -1.5303, -1.75, 3.2813, -1.5313, 1.75, 3.2813, -1.5303, -1.75, 0.2188, -1.5313, -1.75, 3.2813, -1.5313, 1.75, 0.2188, -1.5303, 1.5313, 0.2188, 1.75, 1.5313, 3.2813, -1.75, 1.5313, 3.2813, 1.75, 1.5313, 0.2188, -1.75, 1.5313, 3.2813, -1.75, 1.5313, 0.2188, 1.75, -1.75, 3.2813, 1.75, 1.75, 3.2813, -1.75, -1.75, 3.2813, -1.75, 1.75, 3.2813, 1.75, 1.75, 3.2813, -1.75, -1.75, 3.2813, 1.75, 1.75, 0.2188, 1.75, -1.75, 0.2188, -1.75, 1.75, 0.2188, -1.75, -1.75, 0.2188, 1.75, -1.75, 0.2188, -1.75, 1.75, 0.2188, 1.75 )
[node name="DisCor2wDoLRAA01" type="MeshInstance" index="0"]
layers = 1
material_override = null
cast_shadow = 1
extra_cull_margin = 0.0
use_in_baked_light = false
lod_min_distance = 0.0
lod_min_hysteresis = 0.0
lod_max_distance = 0.0
lod_max_hysteresis = 0.0
mesh = ExtResource( 1 )
skeleton = NodePath("..")
material/0 = null
material/1 = null
material/2 = null
material/3 = null
material/4 = null
material/5 = null
[node name="static_body" type="StaticBody" parent="." index="0"]
input_ray_pickable = true
input_capture_on_drag = false
collision_layer = 1
collision_mask = 1
friction = 1.0
bounce = 0.0
constant_linear_velocity = Vector3( 0, 0, 0 )
constant_angular_velocity = Vector3( 0, 0, 0 )
[node name="collision_shape" type="CollisionShape" parent="static_body" index="0"]
shape = SubResource( 1 )
disabled = false

View file

@ -1,45 +0,0 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://assets/Game/basekits/dispensaire_mesh_sources/DisCor2wRAA01.mesh" type="ArrayMesh" id=1]
[sub_resource type="ConcavePolygonShape" id=1]
data = PoolVector3Array( 1.75, 0.2188, 1.75, -1.75, 0.2188, -1.75, 1.75, 0.2188, -1.75, -1.75, 0.2188, 1.75, -1.75, 0.2188, -1.75, 1.75, 0.2188, 1.75, -1.75, 3.2813, 1.75, 1.75, 3.2813, -1.75, -1.75, 3.2813, -1.75, 1.75, 3.2813, 1.75, 1.75, 3.2813, -1.75, -1.75, 3.2813, 1.75, -1.5303, 0.2188, -1.75, -1.5313, 3.2813, 1.749, -1.5303, 3.2813, -1.75, -1.5313, 0.2188, 1.749, -1.5313, 3.2813, 1.749, -1.5303, 0.2188, -1.75, 1.75, 0.2188, -1.5303, -1.75, 3.2813, -1.5313, 1.75, 3.2813, -1.5303, -1.75, 0.2188, -1.5313, -1.75, 3.2813, -1.5313, 1.75, 0.2188, -1.5303, 1.5313, 0.2188, 1.75, 1.5313, 3.2813, 1.5303, 1.5313, 3.2813, 1.75, 1.5313, 0.2188, 1.5303, 1.5313, 3.2813, 1.5303, 1.5313, 0.2188, 1.75, 1.5303, 0.2188, 1.5313, 1.75, 3.2813, 1.5303, 1.5303, 3.2813, 1.5313, 1.75, 0.2188, 1.5303, 1.75, 3.2813, 1.5303, 1.5303, 0.2188, 1.5313 )
[node name="DisCor2wRAA01" type="MeshInstance" index="0"]
layers = 1
material_override = null
cast_shadow = 1
extra_cull_margin = 0.0
use_in_baked_light = false
lod_min_distance = 0.0
lod_min_hysteresis = 0.0
lod_max_distance = 0.0
lod_max_hysteresis = 0.0
mesh = ExtResource( 1 )
skeleton = NodePath("..")
material/0 = null
material/1 = null
material/2 = null
material/3 = null
material/4 = null
material/5 = null
[node name="static_body" type="StaticBody" parent="." index="0"]
input_ray_pickable = true
input_capture_on_drag = false
collision_layer = 1
collision_mask = 1
friction = 1.0
bounce = 0.0
constant_linear_velocity = Vector3( 0, 0, 0 )
constant_angular_velocity = Vector3( 0, 0, 0 )
[node name="collision_shape" type="CollisionShape" parent="static_body" index="0"]
shape = SubResource( 1 )
disabled = false

File diff suppressed because one or more lines are too long

View file

@ -4,10 +4,6 @@ importer="texture"
type="StreamTexture"
path.s3tc="res://.import/fire_01.png-c426a86dc95546cf2110e49fcd0c6788.s3tc.stex"
path.etc2="res://.import/fire_01.png-c426a86dc95546cf2110e49fcd0c6788.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
@ -19,7 +15,6 @@ dest_files=[ "res://.import/fire_01.png-c426a86dc95546cf2110e49fcd0c6788.s3tc.st
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
@ -29,7 +24,6 @@ flags/srgb=1
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false

View file

@ -4,10 +4,6 @@ importer="texture"
type="StreamTexture"
path.s3tc="res://.import/fire_02.png-d974419fc659891b249eff155e185b02.s3tc.stex"
path.etc2="res://.import/fire_02.png-d974419fc659891b249eff155e185b02.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
@ -19,7 +15,6 @@ dest_files=[ "res://.import/fire_02.png-d974419fc659891b249eff155e185b02.s3tc.st
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
@ -29,7 +24,6 @@ flags/srgb=1
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false

View file

@ -4,10 +4,6 @@ importer="texture"
type="StreamTexture"
path.s3tc="res://.import/fire_03.png-6705134dcfcba0bc38d18847de098b0c.s3tc.stex"
path.etc2="res://.import/fire_03.png-6705134dcfcba0bc38d18847de098b0c.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
@ -19,7 +15,6 @@ dest_files=[ "res://.import/fire_03.png-6705134dcfcba0bc38d18847de098b0c.s3tc.st
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
@ -29,7 +24,6 @@ flags/srgb=1
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false

View file

@ -4,10 +4,6 @@ importer="texture"
type="StreamTexture"
path.s3tc="res://.import/smoke_1.png-335329d1679284b3ecb06c4f0dae901b.s3tc.stex"
path.etc2="res://.import/smoke_1.png-335329d1679284b3ecb06c4f0dae901b.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
@ -19,7 +15,6 @@ dest_files=[ "res://.import/smoke_1.png-335329d1679284b3ecb06c4f0dae901b.s3tc.st
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
@ -29,7 +24,6 @@ flags/srgb=1
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false

View file

@ -4,10 +4,6 @@ importer="texture"
type="StreamTexture"
path.s3tc="res://.import/smoke_2.png-4d94d91d73c5ca11557abd1a82ed218d.s3tc.stex"
path.etc2="res://.import/smoke_2.png-4d94d91d73c5ca11557abd1a82ed218d.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
@ -19,7 +15,6 @@ dest_files=[ "res://.import/smoke_2.png-4d94d91d73c5ca11557abd1a82ed218d.s3tc.st
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
@ -29,7 +24,6 @@ flags/srgb=1
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false

View file

@ -4,10 +4,6 @@ importer="texture"
type="StreamTexture"
path.s3tc="res://.import/smoke_3.png-799aa548fe979a021a448762731021ac.s3tc.stex"
path.etc2="res://.import/smoke_3.png-799aa548fe979a021a448762731021ac.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
@ -19,7 +15,6 @@ dest_files=[ "res://.import/smoke_3.png-799aa548fe979a021a448762731021ac.s3tc.st
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
@ -29,7 +24,6 @@ flags/srgb=1
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false

View file

@ -4,10 +4,6 @@ importer="texture"
type="StreamTexture"
path.s3tc="res://.import/smoke_4.png-b1e52e010af857e5f1da4df9215e72a3.s3tc.stex"
path.etc2="res://.import/smoke_4.png-b1e52e010af857e5f1da4df9215e72a3.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
@ -19,7 +15,6 @@ dest_files=[ "res://.import/smoke_4.png-b1e52e010af857e5f1da4df9215e72a3.s3tc.st
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
@ -29,7 +24,6 @@ flags/srgb=1
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false

View file

@ -4,10 +4,6 @@ importer="texture"
type="StreamTexture"
path.s3tc="res://.import/smoke_5.png-1ecd5a748e33a80b75ceb2a06367ce61.s3tc.stex"
path.etc2="res://.import/smoke_5.png-1ecd5a748e33a80b75ceb2a06367ce61.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
@ -19,7 +15,6 @@ dest_files=[ "res://.import/smoke_5.png-1ecd5a748e33a80b75ceb2a06367ce61.s3tc.st
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
@ -29,7 +24,6 @@ flags/srgb=1
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false

View file

@ -1,32 +0,0 @@
class nel_login_message:
var _cmd;
var _login;
var _password;
var _clientApplication;
var _cp;
var _lg;
func _init(cmd, login, password, clientApplication, cp, lg):
self._cmd = cmd;
self._login = login;
self._password = password;
self._clientApplication = clientApplication;
self._cp = cp;
self._lg = lg;
func get_request_string():
var request_string = "cmd=" + self._cmd;
if self._login != "":
request_string += "&login=" + self._login;
if self._password != "":
request_string += "&password=" + self._password;
if self._clientApplication != "":
request_string += "&clientApplication=" + self._clientApplication;
if self._cp != "":
request_string += "&cp=" + self._cp;
if self._lg != "":
request_string += "&lg=" + self._lg;
return request_string;

View file

@ -1,19 +0,0 @@
class nel_server_info:
var _cookie;
var _shardIp;
var _ringStartAdress;
var _ringAddress;
var _patchVersion
var _backupPatchUrls;
var _patchUrls;
func _init(connexionResultString):
var params = connexionResultString.split('#');
var temp = params[4].split('\n')
self._cookie = params[1];
self._shardIp = params[2];
self._ringStartAdress = params[3];
self._ringAddress = temp[0];
self._patchVersion = temp[1];
self._backupPatchUrls = params[5];
self._patchUrls = params[6];

View file

@ -1,12 +0,0 @@
# Blender MTL File: 'kit_test_base.blend'
# Material Count: 1
newmtl mat_base
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.640000 0.640000 0.640000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2

View file

@ -1,40 +0,0 @@
# Blender v2.79 (sub 0) OBJ File: 'kit_test_base.blend'
# www.blender.org
mtllib kit_test_1way.mtl
o Plane
v -1.000000 0.000000 1.000000
v 1.000000 0.000000 1.000000
v -1.000000 0.000000 -1.000000
v 1.000000 0.000000 -1.000000
v -1.000000 3.000000 -1.000000
v 1.000000 3.000000 -1.000000
v -1.000000 3.000000 1.000000
v 1.000000 3.000000 1.000000
vt 0.250278 0.375250
vt 0.500222 0.375250
vt 0.500222 0.625195
vt 0.250278 0.625195
vt 0.250056 0.625195
vt 0.000111 0.625195
vt 0.000111 0.375250
vt 0.250056 0.375250
vt 0.250056 0.000111
vt 0.250056 0.375028
vt 0.000111 0.375028
vt 0.000111 0.000111
vt 0.749944 0.000111
vt 0.749944 0.375028
vt 0.500000 0.375028
vt 0.500000 0.000111
vn 0.0000 1.0000 0.0000
vn 0.0000 -1.0000 0.0000
vn 0.0000 0.0000 1.0000
vn 0.0000 0.0000 -1.0000
vn -1.0000 0.0000 0.0000
usemtl mat_base
s off
f 1/1/1 2/2/1 4/3/1 3/4/1
f 5/5/2 6/6/2 8/7/2 7/8/2
f 4/9/3 6/10/3 5/11/3 3/12/3
f 1/13/4 7/14/4 8/15/4 2/16/4
f 2/16/5 8/15/5 6/10/5 4/9/5

View file

@ -1,12 +0,0 @@
# Blender MTL File: 'kit_test_base.blend'
# Material Count: 1
newmtl mat_base
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.640000 0.640000 0.640000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2

View file

@ -1,38 +0,0 @@
# Blender v2.79 (sub 0) OBJ File: 'kit_test_base.blend'
# www.blender.org
mtllib kit_test_2way.mtl
o Plane
v -1.000000 0.000000 1.000000
v 1.000000 0.000000 1.000000
v -1.000000 0.000000 -1.000000
v 1.000000 0.000000 -1.000000
v -1.000000 3.000000 -1.000000
v 1.000000 3.000000 -1.000000
v -1.000000 3.000000 1.000000
v 1.000000 3.000000 1.000000
vt 0.250278 0.375250
vt 0.500222 0.375250
vt 0.500222 0.625195
vt 0.250278 0.625195
vt 0.250056 0.625195
vt 0.000111 0.625195
vt 0.000111 0.375250
vt 0.250056 0.375250
vt 0.250056 0.000111
vt 0.250056 0.375028
vt 0.000111 0.375028
vt 0.000111 0.000111
vt 0.749944 0.000111
vt 0.749944 0.375028
vt 0.500000 0.375028
vt 0.500000 0.000111
vn 0.0000 1.0000 0.0000
vn 0.0000 -1.0000 0.0000
vn 0.0000 0.0000 1.0000
vn 0.0000 0.0000 -1.0000
usemtl mat_base
s off
f 1/1/1 2/2/1 4/3/1 3/4/1
f 5/5/2 6/6/2 8/7/2 7/8/2
f 4/9/3 6/10/3 5/11/3 3/12/3
f 1/13/4 7/14/4 8/15/4 2/16/4

View file

@ -1,12 +0,0 @@
# Blender MTL File: 'kit_test_base.blend'
# Material Count: 1
newmtl mat_base
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.640000 0.640000 0.640000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2

View file

@ -1,32 +0,0 @@
# Blender v2.79 (sub 0) OBJ File: 'kit_test_base.blend'
# www.blender.org
mtllib kit_test_3way.mtl
o Plane
v -1.000000 0.000000 1.000000
v 1.000000 0.000000 1.000000
v -1.000000 0.000000 -1.000000
v 1.000000 0.000000 -1.000000
v -1.000000 3.000000 -1.000000
v 1.000000 3.000000 -1.000000
v -1.000000 3.000000 1.000000
v 1.000000 3.000000 1.000000
vt 0.250278 0.375250
vt 0.500222 0.375250
vt 0.500222 0.625195
vt 0.250278 0.625195
vt 0.250056 0.625195
vt 0.000111 0.625195
vt 0.000111 0.375250
vt 0.250056 0.375250
vt 0.250056 0.000111
vt 0.250056 0.375028
vt 0.000111 0.375028
vt 0.000111 0.000111
vn 0.0000 1.0000 0.0000
vn 0.0000 -1.0000 0.0000
vn 0.0000 0.0000 1.0000
usemtl mat_base
s off
f 1/1/1 2/2/1 4/3/1 3/4/1
f 5/5/2 6/6/2 8/7/2 7/8/2
f 4/9/3 6/10/3 5/11/3 3/12/3

View file

@ -1,12 +0,0 @@
# Blender MTL File: 'kit_test_base.blend'
# Material Count: 1
newmtl mat_base
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.640000 0.640000 0.640000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2

View file

@ -1,26 +0,0 @@
# Blender v2.79 (sub 0) OBJ File: 'kit_test_base.blend'
# www.blender.org
mtllib kit_test_4way.mtl
o Plane
v -1.000000 0.000000 1.000000
v 1.000000 0.000000 1.000000
v -1.000000 0.000000 -1.000000
v 1.000000 0.000000 -1.000000
v -1.000000 3.000000 -1.000000
v 1.000000 3.000000 -1.000000
v -1.000000 3.000000 1.000000
v 1.000000 3.000000 1.000000
vt 0.250278 0.375250
vt 0.500222 0.375250
vt 0.500222 0.625195
vt 0.250278 0.625195
vt 0.250056 0.625195
vt 0.000111 0.625195
vt 0.000111 0.375250
vt 0.250056 0.375250
vn 0.0000 1.0000 0.0000
vn 0.0000 -1.0000 0.0000
usemtl mat_base
s off
f 1/1/1 2/2/1 4/3/1 3/4/1
f 5/5/2 6/6/2 8/7/2 7/8/2

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

View file

@ -1,12 +0,0 @@
# Blender MTL File: 'kit_test_base.blend'
# Material Count: 1
newmtl mat_base
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.640000 0.640000 0.640000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2

View file

@ -1,36 +0,0 @@
# Blender v2.79 (sub 0) OBJ File: 'kit_test_base.blend'
# www.blender.org
mtllib kit_test_corner.mtl
o Plane
v -1.000000 0.000000 1.000000
v 1.000000 0.000000 1.000000
v -1.000000 0.000000 -1.000000
v 1.000000 0.000000 -1.000000
v -1.000000 3.000000 -1.000000
v 1.000000 3.000000 -1.000000
v -1.000000 3.000000 1.000000
v 1.000000 3.000000 1.000000
vt 0.250278 0.375250
vt 0.500222 0.375250
vt 0.500222 0.625195
vt 0.250278 0.625195
vt 0.250056 0.625195
vt 0.000111 0.625195
vt 0.000111 0.375250
vt 0.250056 0.375250
vt 0.250056 0.000111
vt 0.250056 0.375028
vt 0.000111 0.375028
vt 0.000111 0.000111
vt 0.500000 0.000111
vt 0.500000 0.375028
vn 0.0000 1.0000 0.0000
vn 0.0000 -1.0000 0.0000
vn 0.0000 0.0000 1.0000
vn -1.0000 0.0000 0.0000
usemtl mat_base
s off
f 1/1/1 2/2/1 4/3/1 3/4/1
f 5/5/2 6/6/2 8/7/2 7/8/2
f 4/9/3 6/10/3 5/11/3 3/12/3
f 2/13/4 8/14/4 6/10/4 4/9/4

View file

@ -1,57 +0,0 @@
[gd_resource type="SpatialMaterial" load_steps=2 format=2]
[ext_resource path="res://assets/kits/kit_test/kit_test_base_tex.png" type="Texture" id=1]
[resource]
render_priority = 0
flags_transparent = false
flags_unshaded = false
flags_vertex_lighting = false
flags_no_depth_test = false
flags_use_point_size = false
flags_world_triplanar = false
flags_fixed_size = false
flags_albedo_tex_force_srgb = false
vertex_color_use_as_albedo = false
vertex_color_is_srgb = false
params_diffuse_mode = 0
params_specular_mode = 0
params_blend_mode = 0
params_cull_mode = 0
params_depth_draw_mode = 0
params_line_width = 1.0
params_point_size = 1.0
params_billboard_mode = 0
params_grow = false
params_use_alpha_scissor = false
albedo_color = Color( 1, 1, 1, 1 )
albedo_texture = ExtResource( 1 )
metallic = 0.5
metallic_specular = 0.5
metallic_texture_channel = 0
roughness = 1.0
roughness_texture_channel = 0
emission_enabled = false
normal_enabled = false
rim_enabled = false
clearcoat_enabled = false
anisotropy_enabled = false
ao_enabled = false
depth_enabled = false
subsurf_scatter_enabled = false
transmission_enabled = false
refraction_enabled = false
detail_enabled = false
uv1_scale = Vector3( 1, 1, 1 )
uv1_offset = Vector3( 0, 0, 0 )
uv1_triplanar = false
uv1_triplanar_sharpness = 1.0
uv2_scale = Vector3( 1, 1, 1 )
uv2_offset = Vector3( 0, 0, 0 )
uv2_triplanar = false
uv2_triplanar_sharpness = 1.0
proximity_fade_enable = false
distance_fade_enable = false
_sections_unfolded = [ "Albedo", "Metallic", "Roughness" ]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 MiB

View file

@ -1,71 +0,0 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://assets/GUI/images/Login-Khanat-background.png" type="Texture" id=1]
[ext_resource path="res://assets/GUI/images/Login-Khanat-background-loading.png" type="Texture" id=2]
[node name="background_loader" type="Panel"]
self_modulate = Color( 0, 0, 0, 1 )
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 1.0
anchor_bottom = 1.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 2
mouse_default_cursor_shape = 0
size_flags_horizontal = 3
size_flags_vertical = 3
_sections_unfolded = [ "Mouse", "Size Flags", "Textures", "Visibility", "custom_constants" ]
[node name="center_container" type="CenterContainer" parent="." index="0"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 1.0
anchor_bottom = 1.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 3
size_flags_vertical = 3
use_top_left = false
_sections_unfolded = [ "Size Flags" ]
[node name="texture_progress" type="TextureProgress" parent="center_container" index="0"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 509.0
margin_top = 297.0
margin_right = 515.0
margin_bottom = 303.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 1
mouse_default_cursor_shape = 0
size_flags_horizontal = 3
size_flags_vertical = 3
min_value = 42.0
max_value = 100.0
step = 1.0
page = 0.0
value = 42.0
exp_edit = false
rounded = false
texture_under = ExtResource( 1 )
texture_over = null
texture_progress = ExtResource( 2 )
radial_fill_degrees = 360.0
radial_center_offset = Vector2( 0, 0 )
nine_patch_stretch = true
stretch_margin_left = 3
stretch_margin_top = 3
stretch_margin_right = 3
stretch_margin_bottom = 3
_sections_unfolded = [ "Rect", "Size Flags", "Textures" ]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 MiB

File diff suppressed because it is too large Load diff

View file

@ -1,20 +1,102 @@
[gd_resource type="Environment" load_steps=2 format=2]
[sub_resource type="ProceduralSky" id=1]
radiance_size = 4
sky_top_color = Color( 0.0470588, 0.454902, 0.976471, 1 )
sky_horizon_color = Color( 0.556863, 0.823529, 0.909804, 1 )
sky_curve = 0.25
sky_energy = 1.0
ground_bottom_color = Color( 0.101961, 0.145098, 0.188235, 1 )
ground_horizon_color = Color( 0.482353, 0.788235, 0.952941, 1 )
ground_curve = 0.01
ground_energy = 1.0
sun_color = Color( 1, 1, 1, 1 )
sun_latitude = 35.0
sun_longitude = 0.0
sun_angle_min = 1.0
sun_angle_max = 100.0
sun_curve = 0.05
sun_energy = 16.0
texture_size = 2
[resource]
background_mode = 2
background_sky = SubResource( 1 )
background_sky_custom_fov = 0.0
background_color = Color( 0, 0, 0, 1 )
background_energy = 1.0
background_canvas_max_layer = 0
ambient_light_color = Color( 0, 0, 0, 1 )
ambient_light_energy = 1.0
ambient_light_sky_contribution = 1.0
fog_enabled = false
fog_color = Color( 0.5, 0.6, 0.7, 1 )
fog_sun_color = Color( 1, 0.9, 0.7, 1 )
fog_sun_amount = 0.0
fog_depth_enabled = false
fog_depth_begin = 10.0
fog_depth_curve = 1.0
fog_transmit_enabled = false
fog_transmit_curve = 1.0
fog_height_enabled = false
fog_height_min = 0.0
fog_height_max = 100.0
fog_height_curve = 1.0
tonemap_mode = 2
tonemap_exposure = 1.0
tonemap_white = 1.0
auto_exposure_enabled = false
auto_exposure_scale = 0.4
auto_exposure_min_luma = 0.05
auto_exposure_max_luma = 8.0
auto_exposure_speed = 0.5
ss_reflections_enabled = true
ss_reflections_max_steps = 64
ss_reflections_fade_in = 0.15
ss_reflections_fade_out = 2.0
ss_reflections_depth_tolerance = 0.2
ss_reflections_roughness = true
ssao_enabled = true
ssao_radius = 1.0
ssao_intensity = 1.0
ssao_radius2 = 0.0
ssao_intensity2 = 1.0
ssao_bias = 0.01
ssao_light_affect = 0.0
ssao_color = Color( 0, 0, 0, 1 )
ssao_quality = 1
ssao_blur = 3
ssao_edge_sharpness = 4.0
dof_blur_far_enabled = false
dof_blur_far_distance = 10.0
dof_blur_far_transition = 5.0
dof_blur_far_amount = 0.1
dof_blur_far_quality = 1
dof_blur_near_enabled = false
dof_blur_near_distance = 2.0
dof_blur_near_transition = 1.0
dof_blur_near_amount = 0.1
dof_blur_near_quality = 1
glow_enabled = false
glow_levels/1 = false
glow_levels/2 = false
glow_levels/3 = true
glow_levels/4 = false
glow_levels/5 = true
glow_levels/6 = false
glow_levels/7 = false
glow_intensity = 0.8
glow_strength = 1.0
glow_bloom = 0.2
glow_blend_mode = 2
glow_hdr_threshold = 1.0
glow_hdr_scale = 2.0
glow_bicubic_upscale = false
adjustment_enabled = false
adjustment_brightness = 1.0
adjustment_contrast = 1.0
adjustment_saturation = 1.0
_sections_unfolded = [ "Adjustments", "Ambient Light", "Auto Exposure", "Background", "DOF Far Blur", "DOF Near Blur", "Fog", "Glow", "SS Reflections", "SSAO", "Tonemap" ]

View file

@ -1,276 +0,0 @@
[gd_scene load_steps=5 format=2]
[ext_resource path="res://scenes/Game/markers/arrow_z.tscn" type="PackedScene" id=1]
[ext_resource path="res://assets/Game/basekits/Kit_dispensaire.meshlib" type="MeshLibrary" id=2]
[ext_resource path="res://game_scene/Game/portail/portail.tscn" type="PackedScene" id=3]
[sub_resource type="Environment" id=1]
background_mode = 0
background_sky_custom_fov = 0.0
background_color = Color( 0, 0, 0, 1 )
background_energy = 1.0
background_canvas_max_layer = 0
ambient_light_color = Color( 0, 0, 0, 1 )
ambient_light_energy = 1.0
ambient_light_sky_contribution = 1.0
fog_enabled = false
fog_color = Color( 0.5, 0.6, 0.7, 1 )
fog_sun_color = Color( 1, 0.9, 0.7, 1 )
fog_sun_amount = 0.0
fog_depth_enabled = true
fog_depth_begin = 10.0
fog_depth_curve = 1.0
fog_transmit_enabled = false
fog_transmit_curve = 1.0
fog_height_enabled = false
fog_height_min = 0.0
fog_height_max = 100.0
fog_height_curve = 1.0
tonemap_mode = 0
tonemap_exposure = 1.0
tonemap_white = 1.0
auto_exposure_enabled = false
auto_exposure_scale = 0.4
auto_exposure_min_luma = 0.05
auto_exposure_max_luma = 8.0
auto_exposure_speed = 0.5
ss_reflections_enabled = false
ss_reflections_max_steps = 64
ss_reflections_fade_in = 0.15
ss_reflections_fade_out = 2.0
ss_reflections_depth_tolerance = 0.2
ss_reflections_roughness = true
ssao_enabled = false
ssao_radius = 1.0
ssao_intensity = 1.0
ssao_radius2 = 0.0
ssao_intensity2 = 1.0
ssao_bias = 0.01
ssao_light_affect = 0.0
ssao_color = Color( 0, 0, 0, 1 )
ssao_quality = 0
ssao_blur = 3
ssao_edge_sharpness = 4.0
dof_blur_far_enabled = false
dof_blur_far_distance = 10.0
dof_blur_far_transition = 5.0
dof_blur_far_amount = 0.1
dof_blur_far_quality = 1
dof_blur_near_enabled = false
dof_blur_near_distance = 2.0
dof_blur_near_transition = 1.0
dof_blur_near_amount = 0.1
dof_blur_near_quality = 1
glow_enabled = false
glow_levels/1 = false
glow_levels/2 = false
glow_levels/3 = true
glow_levels/4 = false
glow_levels/5 = true
glow_levels/6 = false
glow_levels/7 = false
glow_intensity = 0.8
glow_strength = 1.0
glow_bloom = 0.0
glow_blend_mode = 2
glow_hdr_threshold = 1.0
glow_hdr_scale = 2.0
glow_bicubic_upscale = false
adjustment_enabled = false
adjustment_brightness = 1.0
adjustment_contrast = 1.0
adjustment_saturation = 1.0
[node name="dispensaire_gridmap" type="Node"]
[node name="start_position" parent="." index="0" instance=ExtResource( 1 )]
transform = Transform( -4.37114e-008, 0, -1, 0, 1, 0, 1, 0, -4.37114e-008, -1.75272, 2, -1.32621 )
[node name="world" type="Spatial" parent="." index="1"]
[node name="grid_map" type="GridMap" parent="world" index="0"]
theme = ExtResource( 2 )
cell_size = Vector3( 3.5, 3.5, 3.5 )
cell_octant_size = 8
cell_center_x = true
cell_center_y = true
cell_center_z = true
cell_scale = 1.0
collision_layer = 1
collision_mask = 1
data = {
"cells": PoolIntArray( 3, 0, 655361, 5, 0, 655361, 65535, 0, 1048579, 2, 65534, 1, 4, 65534, 1073741825, 0, 65535, 1075183621, 1, 65535, 1441797, 2, 65535, 1441798, 3, 65535, 1074790406, 4, 65535, 1441798, 5, 65535, 1048582, 6, 65535, 1441793, 65535, 65535, 1048578 )
}
_sections_unfolded = [ "Cell" ]
__meta__ = {
"_editor_clip_": 0
}
[node name="portail" parent="world" index="1" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1.65801, 0, 3.40425 )
scene_path = NodePath("res://game_scene/Game/Game.tscn")
start_position_path = NodePath("start_position_gridmap")
[node name="world_environment" type="WorldEnvironment" parent="world" index="2"]
environment = SubResource( 1 )
[node name="omni_light" type="OmniLight" parent="." index="2"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -2.10265, 3.33108, 2.24407 )
layers = 1
light_color = Color( 1, 1, 1, 1 )
light_energy = 1.0
light_indirect_energy = 1.0
light_negative = false
light_specular = 0.5
light_bake_mode = 1
light_cull_mask = -1
shadow_enabled = false
shadow_color = Color( 0, 0, 0, 1 )
shadow_bias = 0.15
shadow_contact = 0.0
shadow_reverse_cull_face = false
editor_only = false
omni_range = 5.0
omni_attenuation = 1.0
omni_shadow_mode = 1
omni_shadow_detail = 1
[node name="omni_light2" type="OmniLight" parent="." index="3"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1.92399, 3.33108, -1.77007 )
layers = 1
light_color = Color( 1, 1, 1, 1 )
light_energy = 1.0
light_indirect_energy = 1.0
light_negative = false
light_specular = 0.5
light_bake_mode = 1
light_cull_mask = -1
shadow_enabled = false
shadow_color = Color( 0, 0, 0, 1 )
shadow_bias = 0.15
shadow_contact = 0.0
shadow_reverse_cull_face = false
editor_only = false
omni_range = 5.0
omni_attenuation = 1.0
omni_shadow_mode = 1
omni_shadow_detail = 1
[node name="omni_light3" type="OmniLight" parent="." index="4"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3.61797, 3.33108, -1.39791 )
layers = 1
light_color = Color( 1, 1, 1, 1 )
light_energy = 1.0
light_indirect_energy = 1.0
light_negative = false
light_specular = 0.5
light_bake_mode = 1
light_cull_mask = -1
shadow_enabled = false
shadow_color = Color( 0, 0, 0, 1 )
shadow_bias = 0.15
shadow_contact = 0.0
shadow_reverse_cull_face = false
editor_only = false
omni_range = 5.0
omni_attenuation = 1.0
omni_shadow_mode = 1
omni_shadow_detail = 1
[node name="omni_light4" type="OmniLight" parent="." index="5"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 8.6697, 3.33108, -1.75052 )
layers = 1
light_color = Color( 1, 1, 1, 1 )
light_energy = 1.0
light_indirect_energy = 1.0
light_negative = false
light_specular = 0.5
light_bake_mode = 1
light_cull_mask = -1
shadow_enabled = false
shadow_color = Color( 0, 0, 0, 1 )
shadow_bias = 0.15
shadow_contact = 0.0
shadow_reverse_cull_face = false
editor_only = false
omni_range = 5.0
omni_attenuation = 1.0
omni_shadow_mode = 1
omni_shadow_detail = 1
[node name="omni_light5" type="OmniLight" parent="." index="6"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 12.2862, 3.33108, -1.55863 )
layers = 1
light_color = Color( 1, 1, 1, 1 )
light_energy = 1.0
light_indirect_energy = 1.0
light_negative = false
light_specular = 0.5
light_bake_mode = 1
light_cull_mask = -1
shadow_enabled = false
shadow_color = Color( 0, 0, 0, 1 )
shadow_bias = 0.15
shadow_contact = 0.0
shadow_reverse_cull_face = false
editor_only = false
omni_range = 5.0
omni_attenuation = 1.0
omni_shadow_mode = 1
omni_shadow_detail = 1
[node name="omni_light6" type="OmniLight" parent="." index="7"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 15.9343, 3.33108, -1.71557 )
layers = 1
light_color = Color( 1, 1, 1, 1 )
light_energy = 1.0
light_indirect_energy = 1.0
light_negative = false
light_specular = 0.5
light_bake_mode = 1
light_cull_mask = -1
shadow_enabled = false
shadow_color = Color( 0, 0, 0, 1 )
shadow_bias = 0.15
shadow_contact = 0.0
shadow_reverse_cull_face = false
editor_only = false
omni_range = 5.0
omni_attenuation = 1.0
omni_shadow_mode = 1
omni_shadow_detail = 1
[node name="omni_light7" type="OmniLight" parent="." index="8"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 19.2111, 3.33108, -1.80768 )
layers = 1
light_color = Color( 1, 1, 1, 1 )
light_energy = 1.0
light_indirect_energy = 1.0
light_negative = false
light_specular = 0.5
light_bake_mode = 1
light_cull_mask = -1
shadow_enabled = false
shadow_color = Color( 0, 0, 0, 1 )
shadow_bias = 0.15
shadow_contact = 0.0
shadow_reverse_cull_face = false
editor_only = false
omni_range = 5.0
omni_attenuation = 1.0
omni_shadow_mode = 1
omni_shadow_detail = 1

View file

@ -1,235 +0,0 @@
[gd_scene load_steps=8 format=2]
[ext_resource path="res://assets/Game/basekits/dispensaire_scenes/DisCor1wDoLRAA01.tscn" type="PackedScene" id=1]
[ext_resource path="res://assets/Game/basekits/dispensaire_scenes/DisCor2wDoLAA01.tscn" type="PackedScene" id=2]
[ext_resource path="res://assets/Game/basekits/dispensaire_scenes/DisCor1wAA01.tscn" type="PackedScene" id=3]
[ext_resource path="res://assets/Game/basekits/dispensaire_scenes/DisCor2wDoLRAA01.tscn" type="PackedScene" id=4]
[ext_resource path="res://game_scene/Game/portail/portail.tscn" type="PackedScene" id=5]
[ext_resource path="res://scenes/Game/markers/arrow_z.tscn" type="PackedScene" id=6]
[sub_resource type="Environment" id=1]
background_mode = 0
background_sky_custom_fov = 0.0
background_color = Color( 0, 0, 0, 1 )
background_energy = 1.0
background_canvas_max_layer = 0
ambient_light_color = Color( 0, 0, 0, 1 )
ambient_light_energy = 1.0
ambient_light_sky_contribution = 1.0
fog_enabled = false
fog_color = Color( 0.5, 0.6, 0.7, 1 )
fog_sun_color = Color( 1, 0.9, 0.7, 1 )
fog_sun_amount = 0.0
fog_depth_enabled = true
fog_depth_begin = 10.0
fog_depth_curve = 1.0
fog_transmit_enabled = false
fog_transmit_curve = 1.0
fog_height_enabled = false
fog_height_min = 0.0
fog_height_max = 100.0
fog_height_curve = 1.0
tonemap_mode = 0
tonemap_exposure = 1.0
tonemap_white = 1.0
auto_exposure_enabled = false
auto_exposure_scale = 0.4
auto_exposure_min_luma = 0.05
auto_exposure_max_luma = 8.0
auto_exposure_speed = 0.5
ss_reflections_enabled = false
ss_reflections_max_steps = 64
ss_reflections_fade_in = 0.15
ss_reflections_fade_out = 2.0
ss_reflections_depth_tolerance = 0.2
ss_reflections_roughness = true
ssao_enabled = false
ssao_radius = 1.0
ssao_intensity = 1.0
ssao_radius2 = 0.0
ssao_intensity2 = 1.0
ssao_bias = 0.01
ssao_light_affect = 0.0
ssao_color = Color( 0, 0, 0, 1 )
ssao_quality = 0
ssao_blur = 3
ssao_edge_sharpness = 4.0
dof_blur_far_enabled = false
dof_blur_far_distance = 10.0
dof_blur_far_transition = 5.0
dof_blur_far_amount = 0.1
dof_blur_far_quality = 1
dof_blur_near_enabled = false
dof_blur_near_distance = 2.0
dof_blur_near_transition = 1.0
dof_blur_near_amount = 0.1
dof_blur_near_quality = 1
glow_enabled = false
glow_levels/1 = false
glow_levels/2 = false
glow_levels/3 = true
glow_levels/4 = false
glow_levels/5 = true
glow_levels/6 = false
glow_levels/7 = false
glow_intensity = 0.8
glow_strength = 1.0
glow_bloom = 0.0
glow_blend_mode = 2
glow_hdr_threshold = 1.0
glow_hdr_scale = 2.0
glow_bicubic_upscale = false
adjustment_enabled = false
adjustment_brightness = 1.0
adjustment_contrast = 1.0
adjustment_saturation = 1.0
_sections_unfolded = [ "Ambient Light", "Background" ]
[node name="dispensaire_scenes" type="Node"]
[node name="world" type="Spatial" parent="." index="0"]
editor/display_folded = true
[node name="DisCor1wDoLRAA01" parent="world" index="0" instance=ExtResource( 1 )]
editor/display_folded = true
transform = Transform( -1, 0, -8.74228e-008, 0, 1, 0, 8.74228e-008, 0, -1, -1, 0, 0 )
_sections_unfolded = [ "material" ]
[node name="DisCor2wDoLAA01" parent="world/DisCor1wDoLRAA01" index="1" instance=ExtResource( 2 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3.49329, -2.38419e-007, 3.49498 )
[node name="DisCor1wAA01" parent="world/DisCor1wDoLRAA01/DisCor2wDoLAA01" index="1" instance=ExtResource( 3 )]
transform = Transform( -4.37114e-008, 0, 1, 0, 1, 0, -1, 0, -4.37114e-008, -3.50318, -9.72748e-005, -0.00448775 )
[node name="DisCor2wDoLAA02" parent="world/DisCor1wDoLRAA01" index="2" instance=ExtResource( 2 )]
transform = Transform( -1, 0, -1.50996e-007, 0, 1, 0, 1.50996e-007, 0, -1, 3.49329, -2.38419e-007, 6.98099 )
[node name="DisCor1wAA01" parent="world/DisCor1wDoLRAA01/DisCor2wDoLAA02" index="1" instance=ExtResource( 3 )]
transform = Transform( -4.37114e-008, 0, 1, 0, 1, 0, -1, 0, -4.37114e-008, -3.50318, -9.72748e-005, -0.00448728 )
[node name="DisCor2wDoLAA03" parent="world/DisCor1wDoLRAA01" index="3" instance=ExtResource( 2 )]
transform = Transform( 1, 0, 2.38419e-007, 0, 1, 0, -2.38419e-007, 0, 1, 3.49329, -2.38419e-007, 10.4804 )
[node name="DisCor1wAA01" parent="world/DisCor1wDoLRAA01/DisCor2wDoLAA03" index="1" instance=ExtResource( 3 )]
transform = Transform( -4.37114e-008, 0, 1, 0, 1, 0, -1, 0, -4.37114e-008, -3.50318, -9.72748e-005, -0.00448728 )
[node name="DisCor1wAA01" parent="world/DisCor1wDoLRAA01/DisCor2wDoLAA03/DisCor1wAA01" index="1" instance=ExtResource( 3 )]
transform = Transform( -4.37114e-008, 0, 1, 0, 1, 0, -1, 0, -4.37114e-008, -3.48495, 9.75132e-005, 3.50005 )
[node name="DisCor2wDoLRAA01" parent="world" index="1" instance=ExtResource( 4 )]
transform = Transform( -1, 0, -8.74228e-008, 0, 1, 0, 8.74228e-008, 0, -1, -4.48443, 0, 0.0136418 )
[node name="omni_light" type="OmniLight" parent="world" index="2"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.902615, 3.38903, -2.44601 )
layers = 1
light_color = Color( 1, 1, 1, 1 )
light_energy = 1.0
light_indirect_energy = 1.0
light_negative = false
light_specular = 0.5
light_bake_mode = 1
light_cull_mask = -1
shadow_enabled = false
shadow_color = Color( 0, 0, 0, 1 )
shadow_bias = 0.15
shadow_contact = 0.0
shadow_reverse_cull_face = false
editor_only = false
omni_range = 4.71185
omni_attenuation = 1.0
omni_shadow_mode = 1
omni_shadow_detail = 1
[node name="omni_light2" type="OmniLight" parent="world" index="3"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -4.57933, 3.38903, -2.44601 )
layers = 1
light_color = Color( 1, 1, 1, 1 )
light_energy = 1.0
light_indirect_energy = 1.0
light_negative = false
light_specular = 0.5
light_bake_mode = 1
light_cull_mask = -1
shadow_enabled = false
shadow_color = Color( 0, 0, 0, 1 )
shadow_bias = 0.15
shadow_contact = 0.0
shadow_reverse_cull_face = false
editor_only = false
omni_range = 4.44127
omni_attenuation = 1.0
omni_shadow_mode = 1
omni_shadow_detail = 1
[node name="omni_light3" type="OmniLight" parent="world" index="4"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -4.57933, 3.38903, -7.06504 )
layers = 1
light_color = Color( 1, 1, 1, 1 )
light_energy = 1.0
light_indirect_energy = 1.0
light_negative = false
light_specular = 0.5
light_bake_mode = 1
light_cull_mask = -1
shadow_enabled = false
shadow_color = Color( 0, 0, 0, 1 )
shadow_bias = 0.15
shadow_contact = 0.0
shadow_reverse_cull_face = false
editor_only = false
omni_range = 4.89511
omni_attenuation = 1.0
omni_shadow_mode = 1
omni_shadow_detail = 1
[node name="omni_light4" type="OmniLight" parent="world" index="5"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -4.57933, 3.38903, -10.7416 )
layers = 1
light_color = Color( 1, 1, 1, 1 )
light_energy = 1.0
light_indirect_energy = 1.0
light_negative = false
light_specular = 0.5
light_bake_mode = 1
light_cull_mask = -1
shadow_enabled = false
shadow_color = Color( 0, 0, 0, 1 )
shadow_bias = 0.15
shadow_contact = 0.0
shadow_reverse_cull_face = false
editor_only = false
omni_range = 6.84121
omni_attenuation = 1.0
omni_shadow_mode = 1
omni_shadow_detail = 1
[node name="portail" parent="." index="1" instance=ExtResource( 5 )]
transform = Transform( -4.37114e-008, 0, -1, 0, 1, 0, 1, 0, -4.37114e-008, 0.679648, -1, 2.97083e-008 )
scene_path = NodePath("res://game_scene/Game/Game.tscn")
start_position_path = NodePath("start_position_scenes")
[node name="world_environment" type="WorldEnvironment" parent="." index="2"]
environment = SubResource( 1 )
[node name="start_position" parent="." index="3" instance=ExtResource( 6 )]
transform = Transform( -4.37114e-008, 0, 1, 0, 1, 0, -1, 0, -4.37114e-008, -1.18818, 0.000976563, -0.765998 )

View file

@ -1,8 +0,0 @@
extends RigidBody
func _on_Box_sleeping_state_changed():
# if self.sleeping:
# $MeshInstance.get_surface_material(0).albedo_color = Color( 0.0, 1.0, 0.0, 1 )
# else:
# $MeshInstance.get_surface_material(0).albedo_color = Color( 0.0, 0.0, 1.0, 1 )
pass

View file

@ -1,229 +0,0 @@
extends KinematicBody
########
#### Caracteristic
var pseudo = ""
var color = Color( 1.0, 0.25, 0.25, 1.0 )
var gender = 1
var size = 1.0
var slot = 0
var ears_size = 0.0
var eyes_color = Color( 0.0, 1.0, 0.0, 1.0 )
var dir = Vector3()
const GRAVITY = -24.8
var vel = Vector3()
const MAX_SPEED = 20
const ACCEL= 4.5
const FLY_SPEED = 7
const DEACCEL= 16
const MAX_SLOPE_ANGLE = 40
var MOUSE_SENSITIVITY = 0.05
onready var camera_rotation = $camera_rotation_helper
onready var camera = $camera_rotation_helper/camera
onready var player_infos_billboard = $infos_spatial/character_infos_billboard
onready var player_mesh = $suzanne/mesh
onready var flashlight = $suzanne/flashlight
### Caractéristiques du personnage.
var douleur = 0
var trauma = 0
var oubli = 0
func set_info_billboard_position():
var above_head = $infos_spatial
player_infos_billboard.get_node("label").text = self.pseudo
var offset = Vector2(-(player_infos_billboard.get_size().x/2), 0)
var unprojected_translation = camera.unproject_position(above_head.global_transform.xform(Vector3(0,0,0)))
player_infos_billboard.rect_position = (unprojected_translation + offset)
func _ready():
self.show_third_person_camera()
self.set_info_billboard_position()
self.update()
#func _enter_tree():
# print("qsdfghjklkjhgfdsqsdfghj")
# if self.get_parent().has_node( "start_position" ):
# self.translation = self.get_parent().get_node( "start_position" ).translation
func set_default_values():
self.pseudo = ""
self.color = Color( 1.0, 0.25, 0.25, 1.0 )
self.gender = 1
self.size = 1.0
self.slot = 0
self.ears_size = 0.0
self.eyes_color = Color( 0.0, 1.0, 0.0, 1.0 )
func update( start_position = null ):
if start_position:
# self.translation = start_position.to_global( start_position.translation )
# self.translation = Vector3( 0, 0, 0 )
# self.translate( start_position.translation )
self.translation = start_position.translation
self.rotation = start_position.rotation
self.scale = Vector3( self.size, self.size, self.size )
# $infos_spatial.scale = Vector3( self.size, self.size, self.size )
# self.player_mesh.scale = Vector3( self.size, self.size, self.size )
# ears_size
if self.ears_size > 0:
self.player_mesh.set( "blend_shapes/big_ears", self.ears_size )
self.player_mesh.set( "blend_shapes/small_ears", 0 )
elif self.ears_size < 0:
self.player_mesh.set( "blend_shapes/big_ears", 0 )
self.player_mesh.set( "blend_shapes/small_ears", -self.ears_size )
else:
self.player_mesh.set( "blend_shapes/big_ears", 0 )
self.player_mesh.set( "blend_shapes/small_ears", 0 )
# skin color
self.player_mesh.mesh.get( "surface_2/material" ).set_shader_param( "albedo", self.color )
# eyes color (pupil)
self.player_mesh.mesh.get( "surface_4/material" ).set_shader_param( "albedo", self.eyes_color )
func _process(delta):
process_input(delta)
process_movement(delta)
set_info_billboard_position()
func process_input(delta):
if Input.get_mouse_mode() == Input.MOUSE_MODE_CAPTURED:
# ----------------------------------
# Walking
dir = Vector3()
var cam_xform = camera.get_global_transform()
var input_movement_vector = Vector3()
var cam_scroll = 0.0
if Input.is_action_pressed("move_up"):
input_movement_vector.z += 1
if Input.is_action_pressed("move_down"):
input_movement_vector.z -= 1
if Input.is_action_pressed("move_left"):
input_movement_vector.x -= 1
if Input.is_action_pressed("move_right"):
input_movement_vector.x += 1
input_movement_vector = input_movement_vector.normalized()
dir += -cam_xform.basis.z.normalized() * input_movement_vector.z
dir += cam_xform.basis.x.normalized() * input_movement_vector.x
if Input.is_action_pressed("fly_up"):
vel.y = FLY_SPEED
elif Input.is_action_pressed("fly_down"):
vel.y = -FLY_SPEED
else:
vel.y = 0
if Input.is_action_pressed( "ui_face_cam" ):
$camera_rotation_helper/face_camera.make_current()
elif Input.is_action_just_released( "ui_face_cam" ):
$camera_rotation_helper/camera.make_current()
func process_movement(delta):
if Input.get_mouse_mode() == Input.MOUSE_MODE_CAPTURED:
dir.y = 0
dir = dir.normalized()
# vel.y += delta*GRAVITY
var hvel = vel
hvel.y = 0
var target = dir
target *= MAX_SPEED
var accel
if dir.dot(hvel) > 0:
accel = ACCEL
else:
accel = DEACCEL
hvel = hvel.linear_interpolate(target, accel*delta)
vel.x = hvel.x
vel.z = hvel.z
var collision_info = move_and_collide(vel * delta)
if collision_info:
vel = vel.bounce(collision_info.normal)
var obj = collision_info.collider
if obj.is_class( "RigidBody" ):
obj.sleeping = false
obj.apply_impulse( collision_info.position, -collision_info.normal*delta )
if not obj.get_node( "MeshInstance" ).get_surface_material(0).get("albedo_color") == null:
# obj.get_node( "MeshInstance" ).get_surface_material(0).albedo_color = Color( 1, 0, 1, 1 )
self.douleur += 0.25
if self.douleur >= 100:
self.trauma += 0.25
if self.trauma >= 100:
self.oubli += 0.25
func _input(event):
if Input.get_mouse_mode() == Input.MOUSE_MODE_CAPTURED:
if event is InputEventMouseMotion :
camera_rotation.rotate_x(deg2rad(event.relative.y * MOUSE_SENSITIVITY * -1))
self.rotate_y(deg2rad(event.relative.x * MOUSE_SENSITIVITY * -1))
var camera_rot = camera_rotation.rotation_degrees
camera_rot.x = clamp(camera_rot.x, -30, 30)
camera_rotation.rotation_degrees = camera_rot
if event is InputEventMouseButton:
# to prevent the cam sliding effect when clamp limit reached.
var old_x_translation = camera.translation.x
var old_y_translation = camera.translation.y
var cam_scroll = Vector3( 0.0, 0.0, 0.0 )
if event.button_index == BUTTON_WHEEL_UP:
cam_scroll.z = -1.0 * MOUSE_SENSITIVITY
if event.button_index == BUTTON_WHEEL_DOWN:
cam_scroll.z = 1.0 * MOUSE_SENSITIVITY
camera.translate( cam_scroll )
camera.translation.x = old_x_translation
camera.translation.y = old_y_translation
camera.translation.z = clamp(camera.translation.z, 0, 5)
# TODO trouver pourquoi cela ne se fait plus:
if Input.is_action_just_pressed("game_flashlight"):
# flashlight.visible = not flashlight.visible
if flashlight.is_visible_in_tree():
flashlight.hide()
else:
flashlight.show()
if Input.is_action_pressed( "hide_char" ):
if self.visible:
self.hide()
else:
self.show()
func hide_infos():
$infos_spatial/character_infos_billboard.hide()
func show_infos():
$infos_spatial/character_infos_billboard.show()
########
#### Cameras
func show_third_person_camera():
$camera_rotation_helper/camera.make_current()

View file

@ -1,113 +0,0 @@
[gd_scene load_steps=6 format=2]
[ext_resource path="res://game_scene/Game/Character/Character.gd" type="Script" id=1]
[ext_resource path="res://game_scene/Game/Character/infos_spatial.gd" type="Script" id=2]
[ext_resource path="res://game_scene/character_infos_billboard.tscn" type="PackedScene" id=3]
[ext_resource path="res://game_scene/suzanne/suzanne.tscn" type="PackedScene" id=4]
[sub_resource type="CapsuleShape" id=1]
radius = 1.0
height = 1.0
[node name="character" type="KinematicBody" index="0"]
transform = Transform( 0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, 0, 0, 0 )
input_ray_pickable = false
input_capture_on_drag = false
collision_layer = 1
collision_mask = 1
axis_lock_linear_x = false
axis_lock_linear_y = false
axis_lock_linear_z = false
axis_lock_angular_x = false
axis_lock_angular_y = false
axis_lock_angular_z = false
collision/safe_margin = 0.001
script = ExtResource( 1 )
_sections_unfolded = [ "Axis Lock", "Transform", "collision" ]
[node name="infos_spatial" type="Spatial" parent="." index="0"]
transform = Transform( 1, 0, 0, 0, 1, 0, -9.56715e-015, 0, 1, -4.65661e-010, 2.47932, -0.0688725 )
script = ExtResource( 2 )
[node name="character_infos_billboard" parent="infos_spatial" index="0" instance=ExtResource( 3 )]
visible = false
mouse_filter = 2
mouse_default_cursor_shape = 2
_sections_unfolded = [ "Mouse", "Rect", "Size Flags", "Visibility" ]
[node name="camera_rotation_helper" type="Spatial" parent="." index="1"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0730682, 0 )
[node name="camera" type="Camera" parent="camera_rotation_helper" index="0"]
transform = Transform( 1, 0, 0, 0, 0.981951, 0, 0, 0, 1.05023, 0, 2.5, 3 )
keep_aspect = 1
cull_mask = 1048575
environment = null
h_offset = 0.0
v_offset = 0.0
doppler_tracking = 0
projection = 0
current = false
fov = 75.0
size = 1.0
near = 0.05
far = 10000.0
_sections_unfolded = [ "Transform" ]
[node name="face_camera" type="Camera" parent="camera_rotation_helper" index="1"]
transform = Transform( -1, 0, -8.74228e-008, 0, 1, 0, 8.74228e-008, 0, -1, 0, 1.91278, -2.96733 )
keep_aspect = 1
cull_mask = 1048575
environment = null
h_offset = 0.0
v_offset = 0.0
doppler_tracking = 0
projection = 0
current = false
fov = 70.0
size = 2.0
near = 0.05
far = 10000.0
_sections_unfolded = [ "Transform" ]
[node name="suzanne" parent="." index="2" instance=ExtResource( 4 )]
transform = Transform( -1, 0, -8.74228e-008, 0, 1, 0, 8.74228e-008, 0, -1, 0, 1.2572, -0.180126 )
[node name="flashlight" type="SpotLight" parent="suzanne" index="1"]
transform = Transform( -0.718303, -4.51344e-010, 1.04295e-007, 0, 1.19299, 0.0148616, -6.27955e-008, 0.00516275, -1.19299, -0.020946, 0.599374, 0.0648584 )
layers = 1
light_color = Color( 1, 1, 1, 1 )
light_energy = 2.0
light_indirect_energy = 2.0
light_negative = false
light_specular = 0.5
light_bake_mode = 1
light_cull_mask = -1
shadow_enabled = true
shadow_color = Color( 0, 0, 0, 1 )
shadow_bias = 0.15
shadow_contact = 0.0
shadow_reverse_cull_face = true
editor_only = false
spot_range = 9.90764
spot_attenuation = 1.0
spot_angle = 22.2473
spot_angle_attenuation = 1.0
_sections_unfolded = [ "Light", "Shadow" ]
[node name="collision_shape" type="CollisionShape" parent="." index="3"]
transform = Transform( 0.430205, 0, 0, 0, 0.906621, 0, 0, 0, 0.294585, 0.00823072, 0.942657, -0.356263 )
shape = SubResource( 1 )
disabled = false

View file

@ -1,7 +0,0 @@
extends Spatial
func show():
$character_infos_billboard.show()
func hide():
$character_infos_billboard.hide()

View file

@ -1,122 +0,0 @@
[gd_scene load_steps=5 format=2]
[sub_resource type="SphereMesh" id=1]
custom_aabb = AABB( 0, 0, 0, 0, 0, 0 )
radius = 1.0
height = 2.0
radial_segments = 64
rings = 32
is_hemisphere = false
[sub_resource type="Shader" id=2]
code = "shader_type spatial;
render_mode blend_mix,depth_draw_opaque,cull_back,diffuse_burley,specular_schlick_ggx;
uniform vec4 albedo : hint_color;
uniform sampler2D texture_albedo : hint_albedo;
uniform float specular;
uniform float metallic;
uniform float roughness : hint_range(0,1);
uniform float point_size : hint_range(0,128);
uniform sampler2D texture_metallic : hint_white;
uniform vec4 metallic_texture_channel;
uniform sampler2D texture_roughness : hint_white;
uniform vec4 roughness_texture_channel;
uniform vec3 uv1_scale;
uniform vec3 uv1_offset;
uniform vec3 uv2_scale;
uniform vec3 uv2_offset;
void vertex() {
UV=UV*uv1_scale.xy+uv1_offset.xy;
}
void fragment() {
vec2 base_uv = UV;
vec4 albedo_tex = texture(texture_albedo,base_uv);
ALBEDO = albedo.rgb * albedo_tex.rgb;
float metallic_tex = dot(texture(texture_metallic,base_uv),metallic_texture_channel);
METALLIC = metallic_tex * metallic;
float roughness_tex = dot(texture(texture_roughness,base_uv),roughness_texture_channel);
ROUGHNESS = roughness_tex * roughness;
SPECULAR = specular;
}
"
_sections_unfolded = [ "Resource" ]
[sub_resource type="ShaderMaterial" id=3]
render_priority = 0
shader = SubResource( 2 )
shader_param/albedo = Color( 0.513085, 0.250778, 0.675781, 1 )
shader_param/specular = 1.0
shader_param/metallic = 1.0
shader_param/roughness = 0.5
shader_param/point_size = 0.0
shader_param/metallic_texture_channel = null
shader_param/roughness_texture_channel = null
shader_param/uv1_scale = null
shader_param/uv1_offset = null
shader_param/uv2_scale = null
shader_param/uv2_offset = null
_sections_unfolded = [ "shader_param" ]
[sub_resource type="ConvexPolygonShape" id=4]
points = PoolVector3Array( -1, 1, 1, 1, 1, -1, 1, 1, 1, -1, 1, -1, -1, -1, 1, 1, -1, -1, 1, -1, 1, -1, -1, -1, 1, 1, 1, -1, 1, -1, 1, 1, -1, -1, 1, 1, 1, -1, 1, -1, -1, -1, 1, -1, -1, -1, -1, 1, 1, 1, 1, -1, -1, 1, -1, 1, 1, 1, -1, 1, 1, 1, -1, -1, -1, -1, -1, 1, -1, 1, -1, -1 )
[node name="CubeShaderTest" type="RigidBody" index="0"]
input_ray_pickable = true
input_capture_on_drag = false
collision_layer = 1
collision_mask = 1
mode = 0
mass = 1.0
friction = 1.0
bounce = 0.0
gravity_scale = 1.0
custom_integrator = false
continuous_cd = false
contacts_reported = 0
contact_monitor = false
sleeping = false
can_sleep = true
axis_lock_linear_x = false
axis_lock_linear_y = false
axis_lock_linear_z = false
axis_lock_angular_x = false
axis_lock_angular_y = false
axis_lock_angular_z = false
linear_velocity = Vector3( 0, 0, 0 )
linear_damp = -1.0
angular_velocity = Vector3( 0, 0, 0 )
angular_damp = -1.0
[node name="MeshInstance" type="MeshInstance" parent="." index="0"]
layers = 1
material_override = null
cast_shadow = 1
extra_cull_margin = 0.0
use_in_baked_light = true
lod_min_distance = 0.0
lod_min_hysteresis = 0.0
lod_max_distance = 0.0
lod_max_hysteresis = 0.0
mesh = SubResource( 1 )
skeleton = NodePath("..")
material/0 = SubResource( 3 )
_sections_unfolded = [ "Geometry", "material" ]
[node name="CollisionShape" type="CollisionShape" parent="." index="1"]
shape = SubResource( 4 )
disabled = false

View file

@ -1,143 +0,0 @@
extends Spatial
var dir = Vector3()
const GRAVITY = -24.8
var vel = Vector3()
const MAX_SPEED = 20
const ACCEL= 4.5
const FLY_SPEED = 7
const DEACCEL= 16
const MAX_SLOPE_ANGLE = 40
var camera_rotation
var camera
var flashlight
var MOUSE_SENSITIVITY = 0.05
func _ready():
camera_rotation = $Character/Camera_rotation_helper
camera = $Character/Camera_rotation_helper/Camera
camera.make_current()
flashlight = $Character/MeshInstance/Flashlight
func _process(delta):
process_input(delta)
process_movement(delta)
func process_input(delta):
if Input.get_mouse_mode() == Input.MOUSE_MODE_CAPTURED:
# ----------------------------------
# Walking
dir = Vector3()
var cam_xform = camera.get_global_transform()
var input_movement_vector = Vector3()
var cam_scroll = 0.0
if Input.is_action_pressed("move_up"):
input_movement_vector.z += 1
if Input.is_action_pressed("move_down"):
input_movement_vector.z -= 1
if Input.is_action_pressed("move_left"):
input_movement_vector.x -= 1
if Input.is_action_pressed("move_right"):
input_movement_vector.x += 1
input_movement_vector = input_movement_vector.normalized()
dir += -cam_xform.basis.z.normalized() * input_movement_vector.z
dir += cam_xform.basis.x.normalized() * input_movement_vector.x
if Input.is_action_pressed("fly_up"):
vel.y = FLY_SPEED
elif Input.is_action_pressed("fly_down"):
vel.y = -FLY_SPEED
else:
vel.y = 0
func process_movement(delta):
if Input.get_mouse_mode() == Input.MOUSE_MODE_CAPTURED:
dir.y = 0
dir = dir.normalized()
# vel.y += delta*GRAVITY
var hvel = vel
hvel.y = 0
var target = dir
target *= MAX_SPEED
var accel
if dir.dot(hvel) > 0:
accel = ACCEL
else:
accel = DEACCEL
hvel = hvel.linear_interpolate(target, accel*delta)
vel.x = hvel.x
vel.z = hvel.z
var collision_info = $Character.move_and_collide(vel * delta)
if collision_info:
vel = vel.bounce(collision_info.normal)
var obj = collision_info.collider
if obj.is_class( "RigidBody" ):
obj.sleeping = false
obj.apply_impulse( collision_info.position, -collision_info.normal*delta )
if not obj.get_node( "MeshInstance" ).get_surface_material(0).get("albedo_color") == null:
obj.get_node( "MeshInstance" ).get_surface_material(0).albedo_color = Color( 1, 0, 1, 1 )
$Character.get_node( "../../GUI/HUD/Jauges/douleur/ProgressBar" ).value += 0.25
if $Character.get_node( "../../GUI/HUD/Jauges/douleur/ProgressBar" ).value >= 100:
$Character.get_node( "../../GUI/HUD/Jauges/trauma/ProgressBar" ).value += 0.25
if $Character.get_node( "../../GUI/HUD/Jauges/trauma/ProgressBar" ).value >= 100:
$Character.get_node( "../../GUI/HUD/Jauges/oubli/ProgressBar" ).value += 0.25
func _input(event):
if Input.get_mouse_mode() == Input.MOUSE_MODE_CAPTURED:
if event is InputEventMouseMotion :
camera_rotation.rotate_x(deg2rad(event.relative.y * MOUSE_SENSITIVITY * -1))
$Character.rotate_y(deg2rad(event.relative.x * MOUSE_SENSITIVITY * -1))
var camera_rot = camera_rotation.rotation_degrees
camera_rot.x = clamp(camera_rot.x, -30, 30)
camera_rotation.rotation_degrees = camera_rot
if event is InputEventMouseButton:
# to prevent the cam sliding effect when clamp limit reached.
var old_x_translation = camera.translation.x
var old_y_translation = camera.translation.y
var cam_scroll = Vector3( 0.0, 0.0, 0.0 )
if event.button_index == BUTTON_WHEEL_UP:
cam_scroll.z = -1.0 * MOUSE_SENSITIVITY
if event.button_index == BUTTON_WHEEL_DOWN:
cam_scroll.z = 1.0 * MOUSE_SENSITIVITY
camera.translate( cam_scroll )
camera.translation.x = old_x_translation
camera.translation.y = old_y_translation
camera.translation.z = clamp(camera.translation.z, 0, 5)
# TODO trouver pourquoi cela ne se fait plus:
if Input.is_action_just_pressed("game_flashlight"):
# flashlight.visible = not flashlight.visible
if flashlight.is_visible_in_tree():
flashlight.hide()
else:
flashlight.show()
if Input.is_action_pressed( "hide_char" ):
$MeshInstance.visible = not $MeshInstance.visible

File diff suppressed because one or more lines are too long

View file

@ -1,360 +0,0 @@
[gd_scene load_steps=10 format=2]
[ext_resource path="res://assets/Game/Brick08/Bricks08_col.jpg" type="Texture" id=1]
[ext_resource path="res://assets/Game/Brick08/Bricks08_AO.jpg" type="Texture" id=2]
[ext_resource path="res://assets/Game/Brick08/Bricks08_disp.jpg" type="Texture" id=3]
[ext_resource path="res://assets/Game/Brick08/Bricks08_nrm.jpg" type="Texture" id=4]
[ext_resource path="res://assets/Game/Brick08/Bricks08_rgh.jpg" type="Texture" id=5]
[sub_resource type="PlaneMesh" id=1]
custom_aabb = AABB( 0, 0, 0, 0, 0, 0 )
size = Vector2( 2, 2 )
subdivide_width = 0
subdivide_depth = 0
[sub_resource type="SpatialMaterial" id=2]
render_priority = 1
flags_transparent = false
flags_unshaded = false
flags_vertex_lighting = false
flags_no_depth_test = false
flags_use_point_size = false
flags_world_triplanar = false
flags_fixed_size = false
flags_albedo_tex_force_srgb = false
vertex_color_use_as_albedo = false
vertex_color_is_srgb = false
params_diffuse_mode = 0
params_specular_mode = 0
params_blend_mode = 0
params_cull_mode = 0
params_depth_draw_mode = 0
params_line_width = 1.0
params_point_size = 1.0
params_billboard_mode = 0
params_grow = false
params_use_alpha_scissor = false
albedo_color = Color( 1, 1, 1, 1 )
albedo_texture = ExtResource( 1 )
metallic = 0.0
metallic_specular = 0.0
metallic_texture_channel = 0
roughness = 1.0
roughness_texture = ExtResource( 5 )
roughness_texture_channel = 3
emission_enabled = false
normal_enabled = true
normal_scale = 1.0
normal_texture = ExtResource( 4 )
rim_enabled = false
clearcoat_enabled = false
anisotropy_enabled = false
ao_enabled = true
ao_light_affect = 0.0
ao_texture = ExtResource( 2 )
ao_on_uv2 = false
ao_texture_channel = 0
depth_enabled = true
depth_scale = 0.05
depth_deep_parallax = true
depth_min_layers = 8
depth_max_layers = 32
depth_texture = ExtResource( 3 )
subsurf_scatter_enabled = false
transmission_enabled = false
refraction_enabled = false
detail_enabled = false
uv1_scale = Vector3( 2, 2, 2 )
uv1_offset = Vector3( 0, 0, 0 )
uv1_triplanar = false
uv1_triplanar_sharpness = 1.0
uv2_scale = Vector3( 1, 1, 1 )
uv2_offset = Vector3( 0, 0, 0 )
uv2_triplanar = false
uv2_triplanar_sharpness = 1.0
proximity_fade_enable = false
distance_fade_enable = false
_sections_unfolded = [ "Albedo", "Ambient Occlusion", "Anisotropy", "Clearcoat", "Depth", "Detail", "Distance Fade", "Emission", "Flags", "Metallic", "NormalMap", "Parameters", "Proximity Fade", "Refraction", "Roughness", "Subsurf Scatter", "Transmission", "UV1", "UV2", "Vertex Color" ]
[sub_resource type="ConvexPolygonShape" id=3]
points = PoolVector3Array( 1, 0, 1, -1, 0, 1, 1, 0, -1, -1, 0, -1 )
[sub_resource type="SpatialMaterial" id=4]
render_priority = 0
flags_transparent = true
flags_unshaded = false
flags_vertex_lighting = false
flags_no_depth_test = false
flags_use_point_size = false
flags_world_triplanar = false
flags_fixed_size = false
flags_albedo_tex_force_srgb = false
vertex_color_use_as_albedo = false
vertex_color_is_srgb = false
params_diffuse_mode = 0
params_specular_mode = 0
params_blend_mode = 0
params_cull_mode = 0
params_depth_draw_mode = 0
params_line_width = 1.0
params_point_size = 1.0
params_billboard_mode = 0
params_grow = false
params_use_alpha_scissor = false
albedo_color = Color( 1, 1, 1, 0 )
metallic = 0.0
metallic_specular = 0.5
metallic_texture_channel = 0
roughness = 0.0
roughness_texture_channel = 0
emission_enabled = false
normal_enabled = false
rim_enabled = false
clearcoat_enabled = false
anisotropy_enabled = false
ao_enabled = false
depth_enabled = false
subsurf_scatter_enabled = false
transmission_enabled = false
refraction_enabled = false
detail_enabled = false
uv1_scale = Vector3( 1, 1, 1 )
uv1_offset = Vector3( 0, 0, 0 )
uv1_triplanar = false
uv1_triplanar_sharpness = 1.0
uv2_scale = Vector3( 1, 1, 1 )
uv2_offset = Vector3( 0, 0, 0 )
uv2_triplanar = false
uv2_triplanar_sharpness = 1.0
proximity_fade_enable = false
distance_fade_enable = false
_sections_unfolded = [ "Albedo", "Flags" ]
[node name="Terrain" type="Spatial"]
[node name="Floor" type="StaticBody" parent="." index="0"]
editor/display_folded = true
input_ray_pickable = true
input_capture_on_drag = false
collision_layer = 1
collision_mask = 1
friction = 1.0
bounce = 0.0
constant_linear_velocity = Vector3( 0, 0, 0 )
constant_angular_velocity = Vector3( 0, 0, 0 )
[node name="MeshInstance" type="MeshInstance" parent="Floor" index="0"]
transform = Transform( 10, 0, 0, 0, 10, 0, 0, 0, 10, 0, 0, 0 )
layers = 1
material_override = null
cast_shadow = 1
extra_cull_margin = 0.0
use_in_baked_light = false
lod_min_distance = 0.0
lod_min_hysteresis = 0.0
lod_max_distance = 0.0
lod_max_hysteresis = 0.0
mesh = SubResource( 1 )
skeleton = NodePath("..")
material/0 = SubResource( 2 )
_sections_unfolded = [ "Geometry", "Transform", "material" ]
[node name="CollisionShape" type="CollisionShape" parent="Floor" index="1"]
transform = Transform( 10, 0, 0, 0, 10, 0, 0, 0, 10, 0, 0, 0 )
shape = SubResource( 3 )
disabled = false
[node name="Ceilling" type="StaticBody" parent="." index="1"]
editor/display_folded = true
transform = Transform( 1, 0, 0, 0, -0.984809, -0.173641, 0, 0.173641, -0.984809, 0, 20, 0 )
input_ray_pickable = true
input_capture_on_drag = false
collision_layer = 1
collision_mask = 1
friction = 1.0
bounce = 0.0
constant_linear_velocity = Vector3( 0, 0, 0 )
constant_angular_velocity = Vector3( 0, 0, 0 )
_sections_unfolded = [ "Transform" ]
[node name="MeshInstance" type="MeshInstance" parent="Ceilling" index="0"]
transform = Transform( 10, 0, 0, 0, 10, 0, 0, 0, 10, 0, 0, 0 )
layers = 1
material_override = null
cast_shadow = 1
extra_cull_margin = 0.0
use_in_baked_light = false
lod_min_distance = 0.0
lod_min_hysteresis = 0.0
lod_max_distance = 0.0
lod_max_hysteresis = 0.0
mesh = SubResource( 1 )
skeleton = NodePath("..")
material/0 = SubResource( 4 )
_sections_unfolded = [ "Transform", "material" ]
[node name="CollisionShape" type="CollisionShape" parent="Ceilling" index="1"]
transform = Transform( 10, 0, 0, 0, 10, 0, 0, 0, 10, 0, 0, 0 )
shape = SubResource( 3 )
disabled = false
[node name="Wall1" type="StaticBody" parent="." index="2"]
editor/display_folded = true
transform = Transform( -4.37114e-008, 1, 0, -1, -4.37114e-008, 0, 0, 0, 1, -10, 10, 0 )
input_ray_pickable = true
input_capture_on_drag = false
collision_layer = 1
collision_mask = 1
friction = 1.0
bounce = 0.0
constant_linear_velocity = Vector3( 0, 0, 0 )
constant_angular_velocity = Vector3( 0, 0, 0 )
_sections_unfolded = [ "Transform" ]
[node name="MeshInstance" type="MeshInstance" parent="Wall1" index="0"]
transform = Transform( -4.37114e-007, 0, -10, 0, 10, 0, 10, 0, -4.37114e-007, 0, 0, 0 )
layers = 1
material_override = null
cast_shadow = 1
extra_cull_margin = 0.0
use_in_baked_light = false
lod_min_distance = 0.0
lod_min_hysteresis = 0.0
lod_max_distance = 0.0
lod_max_hysteresis = 0.0
mesh = SubResource( 1 )
skeleton = NodePath("..")
material/0 = SubResource( 2 )
_sections_unfolded = [ "Transform", "material" ]
[node name="CollisionShape" type="CollisionShape" parent="Wall1" index="1"]
transform = Transform( 10, 0, 0, 0, 10, 0, 0, 0, 10, 0, 0, 0 )
shape = SubResource( 3 )
disabled = false
_sections_unfolded = [ "Transform" ]
[node name="Wall2" type="StaticBody" parent="." index="3"]
editor/display_folded = true
transform = Transform( -4.37114e-008, -1, 0, 1, -4.37114e-008, 0, 0, 0, 1, 10, 10, 0 )
input_ray_pickable = true
input_capture_on_drag = false
collision_layer = 1
collision_mask = 1
friction = 1.0
bounce = 0.0
constant_linear_velocity = Vector3( 0, 0, 0 )
constant_angular_velocity = Vector3( 0, 0, 0 )
_sections_unfolded = [ "Transform" ]
[node name="MeshInstance" type="MeshInstance" parent="Wall2" index="0"]
transform = Transform( -4.37114e-007, 0, 10, 0, 10, 0, -10, 0, -4.37114e-007, 0, 0, 0 )
layers = 1
material_override = null
cast_shadow = 1
extra_cull_margin = 0.0
use_in_baked_light = false
lod_min_distance = 0.0
lod_min_hysteresis = 0.0
lod_max_distance = 0.0
lod_max_hysteresis = 0.0
mesh = SubResource( 1 )
skeleton = NodePath("..")
material/0 = SubResource( 2 )
_sections_unfolded = [ "Transform", "material" ]
[node name="CollisionShape" type="CollisionShape" parent="Wall2" index="1"]
transform = Transform( 10, 0, 0, 0, 10, 0, 0, 0, 10, 0, 0, 0 )
shape = SubResource( 3 )
disabled = false
[node name="Wall3" type="StaticBody" parent="." index="4"]
editor/display_folded = true
transform = Transform( 1.91069e-015, 4.37114e-008, 1, 1, -4.37114e-008, 0, 4.37114e-008, 1, -4.37114e-008, 0, 10, -10 )
input_ray_pickable = true
input_capture_on_drag = false
collision_layer = 1
collision_mask = 1
friction = 1.0
bounce = 0.0
constant_linear_velocity = Vector3( 0, 0, 0 )
constant_angular_velocity = Vector3( 0, 0, 0 )
_sections_unfolded = [ "Transform" ]
[node name="MeshInstance" type="MeshInstance" parent="Wall3" index="0"]
transform = Transform( -4.37114e-007, 0, 10, 0, 10, 0, -10, 0, -4.37114e-007, 0, 0, 0 )
layers = 1
material_override = null
cast_shadow = 1
extra_cull_margin = 0.0
use_in_baked_light = false
lod_min_distance = 0.0
lod_min_hysteresis = 0.0
lod_max_distance = 0.0
lod_max_hysteresis = 0.0
mesh = SubResource( 1 )
skeleton = NodePath("..")
material/0 = SubResource( 2 )
_sections_unfolded = [ "Transform", "material" ]
[node name="CollisionShape" type="CollisionShape" parent="Wall3" index="1"]
transform = Transform( 10, 0, 0, 0, 10, 0, 0, 0, 10, 0, 0, 0 )
shape = SubResource( 3 )
disabled = false
[node name="Wall4" type="StaticBody" parent="." index="5"]
editor/display_folded = true
transform = Transform( 1.91069e-015, 4.37114e-008, -1, 1, -4.37114e-008, 0, -4.37114e-008, -1, -4.37114e-008, 0, 10, 10 )
input_ray_pickable = true
input_capture_on_drag = false
collision_layer = 1
collision_mask = 1
friction = 1.0
bounce = 0.0
constant_linear_velocity = Vector3( 0, 0, 0 )
constant_angular_velocity = Vector3( 0, 0, 0 )
_sections_unfolded = [ "Transform" ]
[node name="MeshInstance" type="MeshInstance" parent="Wall4" index="0"]
transform = Transform( -4.37114e-007, 0, 10, 0, 10, 0, -10, 0, -4.37114e-007, 0, 0, 0 )
layers = 1
material_override = null
cast_shadow = 1
extra_cull_margin = 0.0
use_in_baked_light = false
lod_min_distance = 0.0
lod_min_hysteresis = 0.0
lod_max_distance = 0.0
lod_max_hysteresis = 0.0
mesh = SubResource( 1 )
skeleton = NodePath("..")
material/0 = SubResource( 2 )
_sections_unfolded = [ "Transform", "material" ]
[node name="CollisionShape" type="CollisionShape" parent="Wall4" index="1"]
transform = Transform( 10, 0, 0, 0, 10, 0, 0, 0, 10, 0, 0, 0 )
shape = SubResource( 3 )
disabled = false

File diff suppressed because one or more lines are too long

View file

@ -1,27 +0,0 @@
[gd_scene load_steps=1 format=2]
[sub_resource id=1 type="ArrayMesh"]
surfaces/0 = {
"primitive":4,
"arrays":[
Vector3Array(1.0, 4.0, -1.0, -1.0, 4.0, 1.0, -1.0, 4.0, -1.0, 1.0, 4.0, 1.0),
Vector3Array(0.0, -1.0, 0.0, 0.0, -1.0, 0.0, 0.0, -1.0, 0.0, 0.0, -1.0, 0.0),
null, ; No Tangents,
null, ; no Vertex Colors,
null, ; No UV1,
null, ; No UV2,
null, ; No Bones,
null, ; No Weights,
IntArray(0, 2, 1, 0, 1, 3)
],
"morph_arrays":[]
}
[node type="Spatial" name="Scene"]
[node name="Plane" type="MeshInstance" parent="."]
mesh = SubResource(1)
visible = true
transform = Transform(1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0)

Some files were not shown because too many files have changed in this diff Show more