Compare commits
1 Commits
guns
...
3ce278f89b
Author | SHA1 | Date | |
---|---|---|---|
3ce278f89b
|
@ -1,5 +1 @@
|
|||||||
# open-strike-2
|
# open-strike-2
|
||||||
|
|
||||||
## Development
|
|
||||||
|
|
||||||
## Project structure
|
|
||||||
|
0
Screenshots/.gdignore
Normal file
0
Screenshots/.gdignore
Normal file
BIN
Screenshots/Godot_icon.png
(Stored with Git LFS)
Normal file
BIN
Screenshots/Godot_icon.png
(Stored with Git LFS)
Normal file
Binary file not shown.
220
Screenshots/Godot_icon.svg
Normal file
220
Screenshots/Godot_icon.svg
Normal file
@ -0,0 +1,220 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
width="1024"
|
||||||
|
height="1024"
|
||||||
|
id="svg3030"
|
||||||
|
version="1.1"
|
||||||
|
inkscape:version="1.0.2 (e86c870879, 2021-01-15)"
|
||||||
|
sodipodi:docname="Godot_icon.svg"
|
||||||
|
inkscape:export-filename="/home/bence/Documents/GodotMirror/Screenshots/Godot_icon.svg.png"
|
||||||
|
inkscape:export-xdpi="24"
|
||||||
|
inkscape:export-ydpi="24">
|
||||||
|
<defs
|
||||||
|
id="defs3032" />
|
||||||
|
<sodipodi:namedview
|
||||||
|
id="base"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1.0"
|
||||||
|
inkscape:pageopacity="0.0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:zoom="0.7"
|
||||||
|
inkscape:cx="454.17422"
|
||||||
|
inkscape:cy="511.72319"
|
||||||
|
inkscape:document-units="px"
|
||||||
|
inkscape:current-layer="g1049"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:window-width="1920"
|
||||||
|
inkscape:window-height="1016"
|
||||||
|
inkscape:window-x="1920"
|
||||||
|
inkscape:window-y="27"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:document-rotation="0" />
|
||||||
|
<metadata
|
||||||
|
id="metadata3035">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
<dc:title></dc:title>
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<g
|
||||||
|
inkscape:label="Layer 1"
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="layer1"
|
||||||
|
transform="translate(0,-98.519719)">
|
||||||
|
<g
|
||||||
|
id="g1049">
|
||||||
|
<path
|
||||||
|
id="rect1129"
|
||||||
|
style="fill:#ececec;stroke:#000000;stroke-width:37.583;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stop-color:#000000;opacity:1;fill-opacity:1;stroke-linejoin:round"
|
||||||
|
d="M 39.535993,146.47003 553.73185,331.49989 V 894.11097 L 39.535993,1079.1409 Z"
|
||||||
|
sodipodi:nodetypes="ccccc" />
|
||||||
|
<g
|
||||||
|
id="g1127"
|
||||||
|
transform="matrix(1.0517442,0,0,1.0517442,-126.67183,-45.231534)">
|
||||||
|
<g
|
||||||
|
id="g1065"
|
||||||
|
transform="translate(168.57143,10)">
|
||||||
|
<g
|
||||||
|
id="g78"
|
||||||
|
transform="matrix(1.6878585,0,0,-1.6878585,885.69963,674.45569)"
|
||||||
|
style="stroke-width:0.320312">
|
||||||
|
<path
|
||||||
|
d="m 0,0 c 0,0 -0.325,1.994 -0.515,1.976 l -36.182,-3.491 c -2.879,-0.278 -5.115,-2.574 -5.317,-5.459 l -0.994,-14.247 -27.992,-1.997 -1.904,12.912 c -0.424,2.872 -2.932,5.037 -5.835,5.037 h -38.188 c -2.902,0 -5.41,-2.165 -5.834,-5.037 l -1.905,-12.912 -27.992,1.997 -0.994,14.247 c -0.202,2.886 -2.438,5.182 -5.317,5.46 l -36.2,3.49 c -0.187,0.018 -0.324,-1.978 -0.511,-1.978 l -0.049,-7.83 30.658,-4.944 1.004,-14.374 c 0.203,-2.91 2.551,-5.263 5.463,-5.472 l 38.551,-2.75 c 0.146,-0.01 0.29,-0.016 0.434,-0.016 2.897,0 5.401,2.166 5.825,5.038 l 1.959,13.286 h 28.005 l 1.959,-13.286 c 0.423,-2.871 2.93,-5.037 5.831,-5.037 0.142,0 0.284,0.005 0.423,0.015 l 38.556,2.75 c 2.911,0.209 5.26,2.562 5.463,5.472 l 1.003,14.374 30.645,4.966 z"
|
||||||
|
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.320312"
|
||||||
|
id="path80"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
id="g82-3"
|
||||||
|
transform="matrix(1.6878585,0,0,-1.6878585,555.4187,574.80276)"
|
||||||
|
style="stroke-width:0.320312">
|
||||||
|
<path
|
||||||
|
d="m 0,0 v -47.514 -6.035 -5.492 c 0.108,-0.001 0.216,-0.005 0.323,-0.015 l 36.196,-3.49 c 1.896,-0.183 3.382,-1.709 3.514,-3.609 l 1.116,-15.978 31.574,-2.253 2.175,14.747 c 0.282,1.912 1.922,3.329 3.856,3.329 h 38.188 c 1.933,0 3.573,-1.417 3.855,-3.329 l 2.175,-14.747 31.575,2.253 1.115,15.978 c 0.133,1.9 1.618,3.425 3.514,3.609 l 36.182,3.49 c 0.107,0.01 0.214,0.014 0.322,0.015 v 4.711 l 0.015,0.005 V 0 h 0.134 c 4.795,6.12 9.232,12.569 13.487,19.449 -5.651,9.62 -12.575,18.217 -19.976,26.182 -6.864,-3.455 -13.531,-7.369 -19.828,-11.534 -3.151,3.132 -6.7,5.694 -10.186,8.372 -3.425,2.751 -7.285,4.768 -10.946,7.118 1.09,8.117 1.629,16.108 1.846,24.448 -9.446,4.754 -19.519,7.906 -29.708,10.17 -4.068,-6.837 -7.788,-14.241 -11.028,-21.479 -3.842,0.642 -7.702,0.88 -11.567,0.926 v 0.006 c -0.027,0 -0.052,-0.006 -0.075,-0.006 -0.024,0 -0.049,0.006 -0.073,0.006 V 63.652 C 93.903,63.606 90.046,63.368 86.203,62.726 82.965,69.964 79.247,77.368 75.173,84.205 64.989,81.941 54.915,78.789 45.47,74.035 45.686,65.695 46.225,57.704 47.318,49.587 43.65,47.237 39.795,45.22 36.369,42.469 32.888,39.791 29.333,37.229 26.181,34.097 19.884,38.262 13.219,42.176 6.353,45.631 -1.048,37.666 -7.968,29.069 -13.621,19.449 -9.368,12.569 -4.928,6.12 -0.134,0 Z"
|
||||||
|
style="fill:#478cbf;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.320312"
|
||||||
|
id="path84-6"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
id="g86-7"
|
||||||
|
transform="matrix(1.6878585,0,0,-1.6878585,830.89115,692.93384)"
|
||||||
|
style="stroke-width:0.320312">
|
||||||
|
<path
|
||||||
|
d="m 0,0 -1.121,-16.063 c -0.135,-1.936 -1.675,-3.477 -3.611,-3.616 l -38.555,-2.751 c -0.094,-0.007 -0.188,-0.01 -0.281,-0.01 -1.916,0 -3.569,1.406 -3.852,3.33 l -2.211,14.994 H -81.09 l -2.211,-14.994 c -0.297,-2.018 -2.101,-3.469 -4.133,-3.32 l -38.555,2.751 c -1.936,0.139 -3.476,1.68 -3.611,3.616 L -130.721,0 -163.268,3.138 c 0.015,-3.498 0.06,-7.33 0.06,-8.093 0,-34.374 43.605,-50.896 97.781,-51.086 h 0.066 0.067 c 54.176,0.19 97.766,16.712 97.766,51.086 0,0.777 0.047,4.593 0.063,8.093 z"
|
||||||
|
style="fill:#478cbf;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.320312"
|
||||||
|
id="path88-5"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
id="g90-3"
|
||||||
|
transform="matrix(1.6878585,0,0,-1.6878585,670.78441,615.25518)"
|
||||||
|
style="stroke-width:0.320312">
|
||||||
|
<path
|
||||||
|
d="m -22.024595,1.6720738 c -12.042,0 -25.67305,-13.0143828 -21.598405,-1.6720738 3.739059,10.408162 17.019368,10.676839 21.492607,10.693249 C -17.657154,10.709659 -2.7380023,7.1323685 0,0 2.7380023,-7.1323685 -9.9765953,1.6720738 -22.024595,1.6720738 Z"
|
||||||
|
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.320312"
|
||||||
|
id="path92-5"
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
sodipodi:nodetypes="sszzs" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
id="g98-9"
|
||||||
|
transform="matrix(1.6878585,0,0,-1.6878585,720.56874,655.42554)"
|
||||||
|
style="stroke-width:0.320312">
|
||||||
|
<path
|
||||||
|
d="m 0,0 c -3.878,0 -7.021,2.858 -7.021,6.381 v 20.081 c 0,3.52 3.143,6.381 7.021,6.381 3.878,0 7.028,-2.861 7.028,-6.381 V 6.381 C 7.028,2.858 3.878,0 0,0"
|
||||||
|
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.320312"
|
||||||
|
id="path100-1"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
id="g102-2"
|
||||||
|
transform="matrix(1.6878585,0,0,-1.6878585,770.35921,615.25518)"
|
||||||
|
style="stroke-width:0.320312">
|
||||||
|
<path
|
||||||
|
d="m 0,0 c 0,-12.052 9.765,-21.815 21.815,-21.815 12.041,0 21.808,9.763 21.808,21.815 0,12.044 -9.767,21.802 -21.808,21.802 C 9.765,21.802 0,12.044 0,0"
|
||||||
|
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.320312"
|
||||||
|
id="path104-7"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
id="g106-0"
|
||||||
|
transform="matrix(1.6878585,0,0,-1.6878585,779.22038,617.43899)"
|
||||||
|
style="stroke-width:0.320312">
|
||||||
|
<path
|
||||||
|
d="m 0,0 c 0,-7.994 6.477,-14.473 14.471,-14.473 8.002,0 14.479,6.479 14.479,14.473 0,7.994 -6.477,14.479 -14.479,14.479 C 6.477,14.479 0,7.994 0,0"
|
||||||
|
style="fill:#414042;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.320312"
|
||||||
|
id="path108-9"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
id="g1095"
|
||||||
|
transform="matrix(-1,0,0,1,1125.4286,10)">
|
||||||
|
<g
|
||||||
|
id="g1069"
|
||||||
|
transform="matrix(1.6878585,0,0,-1.6878585,885.69963,674.45569)"
|
||||||
|
style="stroke-width:0.320312">
|
||||||
|
<path
|
||||||
|
d="m 0,0 c 0,0 -0.325,1.994 -0.515,1.976 l -36.182,-3.491 c -2.879,-0.278 -5.115,-2.574 -5.317,-5.459 l -0.994,-14.247 -27.992,-1.997 -1.904,12.912 c -0.424,2.872 -2.932,5.037 -5.835,5.037 h -38.188 c -2.902,0 -5.41,-2.165 -5.834,-5.037 l -1.905,-12.912 -27.992,1.997 -0.994,14.247 c -0.202,2.886 -2.438,5.182 -5.317,5.46 l -36.2,3.49 c -0.187,0.018 -0.324,-1.978 -0.511,-1.978 l -0.049,-7.83 30.658,-4.944 1.004,-14.374 c 0.203,-2.91 2.551,-5.263 5.463,-5.472 l 38.551,-2.75 c 0.146,-0.01 0.29,-0.016 0.434,-0.016 2.897,0 5.401,2.166 5.825,5.038 l 1.959,13.286 h 28.005 l 1.959,-13.286 c 0.423,-2.871 2.93,-5.037 5.831,-5.037 0.142,0 0.284,0.005 0.423,0.015 l 38.556,2.75 c 2.911,0.209 5.26,2.562 5.463,5.472 l 1.003,14.374 30.645,4.966 z"
|
||||||
|
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.320312"
|
||||||
|
id="path1067"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
id="g1073"
|
||||||
|
transform="matrix(1.6878585,0,0,-1.6878585,555.4187,574.80276)"
|
||||||
|
style="stroke-width:0.320312">
|
||||||
|
<path
|
||||||
|
d="m 0,0 v -47.514 -6.035 -5.492 c 0.108,-0.001 0.216,-0.005 0.323,-0.015 l 36.196,-3.49 c 1.896,-0.183 3.382,-1.709 3.514,-3.609 l 1.116,-15.978 31.574,-2.253 2.175,14.747 c 0.282,1.912 1.922,3.329 3.856,3.329 h 38.188 c 1.933,0 3.573,-1.417 3.855,-3.329 l 2.175,-14.747 31.575,2.253 1.115,15.978 c 0.133,1.9 1.618,3.425 3.514,3.609 l 36.182,3.49 c 0.107,0.01 0.214,0.014 0.322,0.015 v 4.711 l 0.015,0.005 V 0 h 0.134 c 4.795,6.12 9.232,12.569 13.487,19.449 -5.651,9.62 -12.575,18.217 -19.976,26.182 -6.864,-3.455 -13.531,-7.369 -19.828,-11.534 -3.151,3.132 -6.7,5.694 -10.186,8.372 -3.425,2.751 -7.285,4.768 -10.946,7.118 1.09,8.117 1.629,16.108 1.846,24.448 -9.446,4.754 -19.519,7.906 -29.708,10.17 -4.068,-6.837 -7.788,-14.241 -11.028,-21.479 -3.842,0.642 -7.702,0.88 -11.567,0.926 v 0.006 c -0.027,0 -0.052,-0.006 -0.075,-0.006 -0.024,0 -0.049,0.006 -0.073,0.006 V 63.652 C 93.903,63.606 90.046,63.368 86.203,62.726 82.965,69.964 79.247,77.368 75.173,84.205 64.989,81.941 54.915,78.789 45.47,74.035 45.686,65.695 46.225,57.704 47.318,49.587 43.65,47.237 39.795,45.22 36.369,42.469 32.888,39.791 29.333,37.229 26.181,34.097 19.884,38.262 13.219,42.176 6.353,45.631 -1.048,37.666 -7.968,29.069 -13.621,19.449 -9.368,12.569 -4.928,6.12 -0.134,0 Z"
|
||||||
|
style="fill:#478cbf;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.320312"
|
||||||
|
id="path1071"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
id="g1077"
|
||||||
|
transform="matrix(1.6878585,0,0,-1.6878585,830.89115,692.93384)"
|
||||||
|
style="stroke-width:0.320312">
|
||||||
|
<path
|
||||||
|
d="m 0,0 -1.121,-16.063 c -0.135,-1.936 -1.675,-3.477 -3.611,-3.616 l -38.555,-2.751 c -0.094,-0.007 -0.188,-0.01 -0.281,-0.01 -1.916,0 -3.569,1.406 -3.852,3.33 l -2.211,14.994 H -81.09 l -2.211,-14.994 c -0.297,-2.018 -2.101,-3.469 -4.133,-3.32 l -38.555,2.751 c -1.936,0.139 -3.476,1.68 -3.611,3.616 L -130.721,0 -163.268,3.138 c 0.015,-3.498 0.06,-7.33 0.06,-8.093 0,-34.374 43.605,-50.896 97.781,-51.086 h 0.066 0.067 c 54.176,0.19 97.766,16.712 97.766,51.086 0,0.777 0.047,4.593 0.063,8.093 z"
|
||||||
|
style="fill:#478cbf;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.320312"
|
||||||
|
id="path1075"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
id="g1081"
|
||||||
|
transform="matrix(1.6878585,0,0,-1.6878585,670.78441,615.25518)"
|
||||||
|
style="stroke-width:0.320312">
|
||||||
|
<path
|
||||||
|
d="m -22.024595,1.6720738 c -12.042,0 -25.67305,-13.0143828 -21.598405,-1.6720738 3.739059,10.408162 17.019368,10.676839 21.492607,10.693249 C -17.657154,10.709659 -2.7380023,7.1323685 0,0 2.7380023,-7.1323685 -9.9765953,1.6720738 -22.024595,1.6720738 Z"
|
||||||
|
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.320312"
|
||||||
|
id="path1079"
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
sodipodi:nodetypes="sszzs" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
id="g1085"
|
||||||
|
transform="matrix(1.6878585,0,0,-1.6878585,720.56874,655.42554)"
|
||||||
|
style="stroke-width:0.320312">
|
||||||
|
<path
|
||||||
|
d="m 0,0 c -3.878,0 -7.021,2.858 -7.021,6.381 v 20.081 c 0,3.52 3.143,6.381 7.021,6.381 3.878,0 7.028,-2.861 7.028,-6.381 V 6.381 C 7.028,2.858 3.878,0 0,0"
|
||||||
|
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.320312"
|
||||||
|
id="path1083"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
id="g1089"
|
||||||
|
transform="matrix(1.6878585,0,0,-1.6878585,770.35921,615.25518)"
|
||||||
|
style="stroke-width:0.320312">
|
||||||
|
<path
|
||||||
|
d="m 0,0 c 0,-12.052 9.765,-21.815 21.815,-21.815 12.041,0 21.808,9.763 21.808,21.815 0,12.044 -9.767,21.802 -21.808,21.802 C 9.765,21.802 0,12.044 0,0"
|
||||||
|
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.320312"
|
||||||
|
id="path1087"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
id="g1093"
|
||||||
|
transform="matrix(1.6878585,0,0,-1.6878585,779.22038,617.43899)"
|
||||||
|
style="stroke-width:0.320312">
|
||||||
|
<path
|
||||||
|
d="m 0,0 c 0,-7.994 6.477,-14.473 14.471,-14.473 8.002,0 14.479,6.479 14.479,14.473 0,7.994 -6.477,14.479 -14.479,14.479 C 6.477,14.479 0,7.994 0,0"
|
||||||
|
style="fill:#414042;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.320312"
|
||||||
|
id="path1091"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 14 KiB |
BIN
Screenshots/Mirror.png
(Stored with Git LFS)
Normal file
BIN
Screenshots/Mirror.png
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -3,26 +3,25 @@
|
|||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://coqym2otrhygu"
|
uid="uid://coqym2otrhygu"
|
||||||
path.s3tc="res://.godot/imported/texture_02.png-bb6eefc15212ba5b8098e9e672c21f12.s3tc.ctex"
|
path="res://.godot/imported/texture_02.png-bb6eefc15212ba5b8098e9e672c21f12.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"imported_formats": ["s3tc_bptc"],
|
"vram_texture": false
|
||||||
"vram_texture": true
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://addons/kenney_prototype_textures/red/texture_02.png"
|
source_file="res://addons/kenney_prototype_textures/red/texture_02.png"
|
||||||
dest_files=["res://.godot/imported/texture_02.png-bb6eefc15212ba5b8098e9e672c21f12.s3tc.ctex"]
|
dest_files=["res://.godot/imported/texture_02.png-bb6eefc15212ba5b8098e9e672c21f12.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
compress/mode=2
|
compress/mode=0
|
||||||
compress/high_quality=false
|
compress/high_quality=false
|
||||||
compress/lossy_quality=0.7
|
compress/lossy_quality=0.7
|
||||||
compress/hdr_compression=1
|
compress/hdr_compression=1
|
||||||
compress/normal_map=0
|
compress/normal_map=0
|
||||||
compress/channel_pack=0
|
compress/channel_pack=0
|
||||||
mipmaps/generate=true
|
mipmaps/generate=false
|
||||||
mipmaps/limit=-1
|
mipmaps/limit=-1
|
||||||
roughness/mode=0
|
roughness/mode=0
|
||||||
roughness/src_normal=""
|
roughness/src_normal=""
|
||||||
@ -32,4 +31,4 @@ process/normal_map_invert_y=false
|
|||||||
process/hdr_as_srgb=false
|
process/hdr_as_srgb=false
|
||||||
process/hdr_clamp_exposure=false
|
process/hdr_clamp_exposure=false
|
||||||
process/size_limit=0
|
process/size_limit=0
|
||||||
detect_3d/compress_to=0
|
detect_3d/compress_to=1
|
||||||
|
BIN
assets/crosshairs/crosshair_default.png
(Stored with Git LFS)
BIN
assets/crosshairs/crosshair_default.png
(Stored with Git LFS)
Binary file not shown.
BIN
assets/crosshairs/crosshair_default.png.import
(Stored with Git LFS)
BIN
assets/crosshairs/crosshair_default.png.import
(Stored with Git LFS)
Binary file not shown.
BIN
assets/models/low_poly_weapon/g17_gen5_mos_non_texture.glb
(Stored with Git LFS)
BIN
assets/models/low_poly_weapon/g17_gen5_mos_non_texture.glb
(Stored with Git LFS)
Binary file not shown.
BIN
assets/models/low_poly_weapon/g17_gen5_mos_non_texture.glb.import
(Stored with Git LFS)
BIN
assets/models/low_poly_weapon/g17_gen5_mos_non_texture.glb.import
(Stored with Git LFS)
Binary file not shown.
BIN
assets/models/low_poly_weapon/gawk_p80_g17_gen1.glb
(Stored with Git LFS)
BIN
assets/models/low_poly_weapon/gawk_p80_g17_gen1.glb
(Stored with Git LFS)
Binary file not shown.
BIN
assets/models/low_poly_weapon/gawk_p80_g17_gen1.glb.import
(Stored with Git LFS)
BIN
assets/models/low_poly_weapon/gawk_p80_g17_gen1.glb.import
(Stored with Git LFS)
Binary file not shown.
BIN
assets/models/low_poly_weapon/gawk_p80_g17_gen1_0.png
(Stored with Git LFS)
BIN
assets/models/low_poly_weapon/gawk_p80_g17_gen1_0.png
(Stored with Git LFS)
Binary file not shown.
BIN
assets/models/low_poly_weapon/gawk_p80_g17_gen1_0.png.import
(Stored with Git LFS)
BIN
assets/models/low_poly_weapon/gawk_p80_g17_gen1_0.png.import
(Stored with Git LFS)
Binary file not shown.
BIN
assets/models/low_poly_weapon/gawk_p80_g17_gen1_1.png
(Stored with Git LFS)
BIN
assets/models/low_poly_weapon/gawk_p80_g17_gen1_1.png
(Stored with Git LFS)
Binary file not shown.
BIN
assets/models/low_poly_weapon/gawk_p80_g17_gen1_1.png.import
(Stored with Git LFS)
BIN
assets/models/low_poly_weapon/gawk_p80_g17_gen1_1.png.import
(Stored with Git LFS)
Binary file not shown.
BIN
assets/models/low_poly_weapon/gawk_p80_g17_gen1_2.png
(Stored with Git LFS)
BIN
assets/models/low_poly_weapon/gawk_p80_g17_gen1_2.png
(Stored with Git LFS)
Binary file not shown.
BIN
assets/models/low_poly_weapon/gawk_p80_g17_gen1_2.png.import
(Stored with Git LFS)
BIN
assets/models/low_poly_weapon/gawk_p80_g17_gen1_2.png.import
(Stored with Git LFS)
Binary file not shown.
BIN
assets/models/low_poly_weapon/gawk_p80_g17_gen1_3.png
(Stored with Git LFS)
BIN
assets/models/low_poly_weapon/gawk_p80_g17_gen1_3.png
(Stored with Git LFS)
Binary file not shown.
BIN
assets/models/low_poly_weapon/gawk_p80_g17_gen1_3.png.import
(Stored with Git LFS)
BIN
assets/models/low_poly_weapon/gawk_p80_g17_gen1_3.png.import
(Stored with Git LFS)
Binary file not shown.
BIN
assets/models/low_poly_weapon/gawk_p80_g17_gen1_4.png
(Stored with Git LFS)
BIN
assets/models/low_poly_weapon/gawk_p80_g17_gen1_4.png
(Stored with Git LFS)
Binary file not shown.
BIN
assets/models/low_poly_weapon/gawk_p80_g17_gen1_4.png.import
(Stored with Git LFS)
BIN
assets/models/low_poly_weapon/gawk_p80_g17_gen1_4.png.import
(Stored with Git LFS)
Binary file not shown.
BIN
assets/models/low_poly_weapon/low-poly_cz_bren_2_ms_5.56_11.glb
(Stored with Git LFS)
BIN
assets/models/low_poly_weapon/low-poly_cz_bren_2_ms_5.56_11.glb
(Stored with Git LFS)
Binary file not shown.
BIN
assets/models/low_poly_weapon/low-poly_cz_bren_2_ms_5.56_11.glb.import
(Stored with Git LFS)
BIN
assets/models/low_poly_weapon/low-poly_cz_bren_2_ms_5.56_11.glb.import
(Stored with Git LFS)
Binary file not shown.
BIN
assets/models/low_poly_weapon/low-poly_desert-eagle_vii_.50_ae_black.glb.import
(Stored with Git LFS)
BIN
assets/models/low_poly_weapon/low-poly_desert-eagle_vii_.50_ae_black.glb.import
(Stored with Git LFS)
Binary file not shown.
BIN
assets/models/low_poly_weapon/low-poly_imi_uzi.glb
(Stored with Git LFS)
BIN
assets/models/low_poly_weapon/low-poly_imi_uzi.glb
(Stored with Git LFS)
Binary file not shown.
BIN
assets/models/low_poly_weapon/low-poly_imi_uzi.glb.import
(Stored with Git LFS)
BIN
assets/models/low_poly_weapon/low-poly_imi_uzi.glb.import
(Stored with Git LFS)
Binary file not shown.
BIN
assets/models/low_poly_weapon/low-poly_kriss_vector.glb
(Stored with Git LFS)
BIN
assets/models/low_poly_weapon/low-poly_kriss_vector.glb
(Stored with Git LFS)
Binary file not shown.
BIN
assets/models/low_poly_weapon/low-poly_kriss_vector.glb.import
(Stored with Git LFS)
BIN
assets/models/low_poly_weapon/low-poly_kriss_vector.glb.import
(Stored with Git LFS)
Binary file not shown.
BIN
assets/models/low_poly_weapon/low-poly_m1_garand.glb
(Stored with Git LFS)
BIN
assets/models/low_poly_weapon/low-poly_m1_garand.glb
(Stored with Git LFS)
Binary file not shown.
BIN
assets/models/low_poly_weapon/low-poly_m1_garand.glb.import
(Stored with Git LFS)
BIN
assets/models/low_poly_weapon/low-poly_m1_garand.glb.import
(Stored with Git LFS)
Binary file not shown.
BIN
assets/models/low_poly_weapon/low-poly_sa-58_osw.glb
(Stored with Git LFS)
BIN
assets/models/low_poly_weapon/low-poly_sa-58_osw.glb
(Stored with Git LFS)
Binary file not shown.
BIN
assets/models/low_poly_weapon/low-poly_sa-58_osw.glb.import
(Stored with Git LFS)
BIN
assets/models/low_poly_weapon/low-poly_sa-58_osw.glb.import
(Stored with Git LFS)
Binary file not shown.
BIN
assets/models/low_poly_weapon/low-poly_sjogren_inertia.glb
(Stored with Git LFS)
BIN
assets/models/low_poly_weapon/low-poly_sjogren_inertia.glb
(Stored with Git LFS)
Binary file not shown.
BIN
assets/models/low_poly_weapon/low-poly_sjogren_inertia.glb.import
(Stored with Git LFS)
BIN
assets/models/low_poly_weapon/low-poly_sjogren_inertia.glb.import
(Stored with Git LFS)
Binary file not shown.
BIN
assets/models/low_poly_weapon/low_poly_fps_arms_rigged-animated.glb
(Stored with Git LFS)
Normal file
BIN
assets/models/low_poly_weapon/low_poly_fps_arms_rigged-animated.glb
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
assets/models/low_poly_weapon/low_poly_fps_arms_rigged-animated.glb.import
(Stored with Git LFS)
Normal file
BIN
assets/models/low_poly_weapon/low_poly_fps_arms_rigged-animated.glb.import
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
assets/models/maps/lowpoly_tdm/lowpoly_tdm_1.glb
(Stored with Git LFS)
BIN
assets/models/maps/lowpoly_tdm/lowpoly_tdm_1.glb
(Stored with Git LFS)
Binary file not shown.
BIN
assets/models/maps/lowpoly_tdm/lowpoly_tdm_1.glb.import
(Stored with Git LFS)
BIN
assets/models/maps/lowpoly_tdm/lowpoly_tdm_1.glb.import
(Stored with Git LFS)
Binary file not shown.
BIN
assets/models/maps/lowpoly_tdm/lowpoly_tdm_2.glb
(Stored with Git LFS)
BIN
assets/models/maps/lowpoly_tdm/lowpoly_tdm_2.glb
(Stored with Git LFS)
Binary file not shown.
BIN
assets/models/maps/lowpoly_tdm/lowpoly_tdm_2.glb.import
(Stored with Git LFS)
BIN
assets/models/maps/lowpoly_tdm/lowpoly_tdm_2.glb.import
(Stored with Git LFS)
Binary file not shown.
@ -1,6 +1,7 @@
|
|||||||
extends Control
|
extends Node
|
||||||
|
|
||||||
|
var test = 1
|
||||||
|
|
||||||
@onready =
|
|
||||||
# Called when the node enters the scene tree for the first time.
|
# Called when the node enters the scene tree for the first time.
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
pass # Replace with function body.
|
pass # Replace with function body.
|
@ -1,18 +0,0 @@
|
|||||||
Copyright (c) Mikael Hermansson and Godot Jolt contributors.
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
||||||
this software and associated documentation files (the "Software"), to deal in
|
|
||||||
the Software without restriction, including without limitation the rights to
|
|
||||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
||||||
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
||||||
subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
||||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
||||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
||||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
||||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@ -1,91 +0,0 @@
|
|||||||
Godot Jolt incorporates third-party material from the projects listed below.
|
|
||||||
|
|
||||||
Godot Engine (https://github.com/godotengine/godot)
|
|
||||||
|
|
||||||
Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md).
|
|
||||||
Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur.
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to
|
|
||||||
deal in the Software without restriction, including without limitation the
|
|
||||||
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
||||||
sell copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in
|
|
||||||
all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
||||||
IN THE SOFTWARE.
|
|
||||||
|
|
||||||
godot-cpp (https://github.com/godot-jolt/godot-cpp)
|
|
||||||
|
|
||||||
Copyright (c) 2017-present Godot Engine contributors.
|
|
||||||
Copyright (c) 2022-present Mikael Hermansson.
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to
|
|
||||||
deal in the Software without restriction, including without limitation the
|
|
||||||
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
||||||
sell copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in
|
|
||||||
all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
||||||
IN THE SOFTWARE.
|
|
||||||
|
|
||||||
Jolt Physics (https://github.com/godot-jolt/jolt)
|
|
||||||
|
|
||||||
Copyright (c) 2021 Jorrit Rouwe.
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to
|
|
||||||
deal in the Software without restriction, including without limitation the
|
|
||||||
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
||||||
sell copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in
|
|
||||||
all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
||||||
IN THE SOFTWARE.
|
|
||||||
|
|
||||||
mimalloc (https://github.com/godot-jolt/mimalloc)
|
|
||||||
|
|
||||||
Copyright (c) 2018-2021 Microsoft Corporation, Daan Leijen.
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to
|
|
||||||
deal in the Software without restriction, including without limitation the
|
|
||||||
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
||||||
sell copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in
|
|
||||||
all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
||||||
IN THE SOFTWARE.
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,41 +0,0 @@
|
|||||||
[godot-jolt]
|
|
||||||
version = "0.14.0-stable"
|
|
||||||
build = "3392156fab"
|
|
||||||
|
|
||||||
[configuration]
|
|
||||||
|
|
||||||
entry_symbol = "godot_jolt_main"
|
|
||||||
compatibility_minimum = "4.3"
|
|
||||||
compatibility_maximum = "4.3"
|
|
||||||
|
|
||||||
[libraries]
|
|
||||||
|
|
||||||
windows.release.single.x86_64 = "windows/godot-jolt_windows-x64.dll"
|
|
||||||
windows.debug.single.x86_64 = "windows/godot-jolt_windows-x64_editor.dll"
|
|
||||||
|
|
||||||
windows.release.single.x86_32 = "windows/godot-jolt_windows-x86.dll"
|
|
||||||
windows.debug.single.x86_32 = "windows/godot-jolt_windows-x86_editor.dll"
|
|
||||||
|
|
||||||
linux.release.single.x86_64 = "linux/godot-jolt_linux-x64.so"
|
|
||||||
linux.debug.single.x86_64 = "linux/godot-jolt_linux-x64_editor.so"
|
|
||||||
|
|
||||||
linux.release.single.x86_32 = "linux/godot-jolt_linux-x86.so"
|
|
||||||
linux.debug.single.x86_32 = "linux/godot-jolt_linux-x86_editor.so"
|
|
||||||
|
|
||||||
macos.release.single = "macos/godot-jolt_macos.framework"
|
|
||||||
macos.debug.single = "macos/godot-jolt_macos_editor.framework"
|
|
||||||
|
|
||||||
ios.release.single = "ios/godot-jolt_ios.framework"
|
|
||||||
ios.debug.single = "ios/godot-jolt_ios_editor.framework"
|
|
||||||
|
|
||||||
android.release.single.arm64 = "android/libgodot-jolt_android-arm64.so"
|
|
||||||
android.debug.single.arm64 = "android/libgodot-jolt_android-arm64_editor.so"
|
|
||||||
|
|
||||||
android.release.single.arm32 = "android/libgodot-jolt_android-arm32.so"
|
|
||||||
android.debug.single.arm32 = "android/libgodot-jolt_android-arm32_editor.so"
|
|
||||||
|
|
||||||
android.release.single.x86_64 = "android/libgodot-jolt_android-x64.so"
|
|
||||||
android.debug.single.x86_64 = "android/libgodot-jolt_android-x64_editor.so"
|
|
||||||
|
|
||||||
android.release.single.x86_32 = "android/libgodot-jolt_android-x86.so"
|
|
||||||
android.debug.single.x86_32 = "android/libgodot-jolt_android-x86_editor.so"
|
|
@ -1,51 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>CFBundleInfoDictionaryVersion</key>
|
|
||||||
<string>6.0</string>
|
|
||||||
<key>CFBundleDevelopmentRegion</key>
|
|
||||||
<string>en</string>
|
|
||||||
<key>CFBundleExecutable</key>
|
|
||||||
<string>godot-jolt_ios</string>
|
|
||||||
<key>CFBundleName</key>
|
|
||||||
<string>Godot Jolt</string>
|
|
||||||
<key>CFBundleDisplayName</key>
|
|
||||||
<string>Godot Jolt</string>
|
|
||||||
<key>CFBundleIdentifier</key>
|
|
||||||
<string>org.godot-jolt.godot-jolt</string>
|
|
||||||
<key>NSHumanReadableCopyright</key>
|
|
||||||
<string>Copyright (c) Mikael Hermansson and Godot Jolt contributors.</string>
|
|
||||||
<key>CFBundleVersion</key>
|
|
||||||
<string>0.14.0</string>
|
|
||||||
<key>CFBundleShortVersionString</key>
|
|
||||||
<string>0.14.0</string>
|
|
||||||
<key>CFBundlePackageType</key>
|
|
||||||
<string>FMWK</string>
|
|
||||||
<key>CFBundleSupportedPlatforms</key>
|
|
||||||
<array>
|
|
||||||
<string>iPhoneOS</string>
|
|
||||||
</array>
|
|
||||||
<key>CSResourcesFileMapped</key>
|
|
||||||
<true/>
|
|
||||||
<key>DTPlatformName</key>
|
|
||||||
<string>iphoneos</string>
|
|
||||||
<key>MinimumOSVersion</key>
|
|
||||||
<string>12.0</string>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
HACK(mihe): This is to work around a bug in Godot 4.3-beta1, where it treats Framework
|
|
||||||
bundles the same as XCFramework bundles, and expects there to be an `AvailableLibraries`
|
|
||||||
entry, which is really only a thing in XCFramework bundles. Note that we also lie about the
|
|
||||||
binary path having a `.dylib` extension in order for Godot to correctly identify this as a
|
|
||||||
dynamically linked bundle.
|
|
||||||
-->
|
|
||||||
<key>AvailableLibraries</key>
|
|
||||||
<array>
|
|
||||||
<dict>
|
|
||||||
<key>BinaryPath</key>
|
|
||||||
<string>godot-jolt_ios.dylib</string>
|
|
||||||
</dict>
|
|
||||||
</array>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
Binary file not shown.
@ -1,51 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>CFBundleInfoDictionaryVersion</key>
|
|
||||||
<string>6.0</string>
|
|
||||||
<key>CFBundleDevelopmentRegion</key>
|
|
||||||
<string>en</string>
|
|
||||||
<key>CFBundleExecutable</key>
|
|
||||||
<string>godot-jolt_ios_editor</string>
|
|
||||||
<key>CFBundleName</key>
|
|
||||||
<string>Godot Jolt</string>
|
|
||||||
<key>CFBundleDisplayName</key>
|
|
||||||
<string>Godot Jolt</string>
|
|
||||||
<key>CFBundleIdentifier</key>
|
|
||||||
<string>org.godot-jolt.godot-jolt</string>
|
|
||||||
<key>NSHumanReadableCopyright</key>
|
|
||||||
<string>Copyright (c) Mikael Hermansson and Godot Jolt contributors.</string>
|
|
||||||
<key>CFBundleVersion</key>
|
|
||||||
<string>0.14.0</string>
|
|
||||||
<key>CFBundleShortVersionString</key>
|
|
||||||
<string>0.14.0</string>
|
|
||||||
<key>CFBundlePackageType</key>
|
|
||||||
<string>FMWK</string>
|
|
||||||
<key>CFBundleSupportedPlatforms</key>
|
|
||||||
<array>
|
|
||||||
<string>iPhoneOS</string>
|
|
||||||
</array>
|
|
||||||
<key>CSResourcesFileMapped</key>
|
|
||||||
<true/>
|
|
||||||
<key>DTPlatformName</key>
|
|
||||||
<string>iphoneos</string>
|
|
||||||
<key>MinimumOSVersion</key>
|
|
||||||
<string>12.0</string>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
HACK(mihe): This is to work around a bug in Godot 4.3-beta1, where it treats Framework
|
|
||||||
bundles the same as XCFramework bundles, and expects there to be an `AvailableLibraries`
|
|
||||||
entry, which is really only a thing in XCFramework bundles. Note that we also lie about the
|
|
||||||
binary path having a `.dylib` extension in order for Godot to correctly identify this as a
|
|
||||||
dynamically linked bundle.
|
|
||||||
-->
|
|
||||||
<key>AvailableLibraries</key>
|
|
||||||
<array>
|
|
||||||
<dict>
|
|
||||||
<key>BinaryPath</key>
|
|
||||||
<string>godot-jolt_ios_editor.dylib</string>
|
|
||||||
</dict>
|
|
||||||
</array>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,36 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>CFBundleInfoDictionaryVersion</key>
|
|
||||||
<string>6.0</string>
|
|
||||||
<key>CFBundleDevelopmentRegion</key>
|
|
||||||
<string>en</string>
|
|
||||||
<key>CFBundleExecutable</key>
|
|
||||||
<string>godot-jolt_macos</string>
|
|
||||||
<key>CFBundleName</key>
|
|
||||||
<string>Godot Jolt</string>
|
|
||||||
<key>CFBundleDisplayName</key>
|
|
||||||
<string>Godot Jolt</string>
|
|
||||||
<key>CFBundleIdentifier</key>
|
|
||||||
<string>org.godot-jolt.godot-jolt</string>
|
|
||||||
<key>NSHumanReadableCopyright</key>
|
|
||||||
<string>Copyright (c) Mikael Hermansson and Godot Jolt contributors.</string>
|
|
||||||
<key>CFBundleVersion</key>
|
|
||||||
<string>0.14.0</string>
|
|
||||||
<key>CFBundleShortVersionString</key>
|
|
||||||
<string>0.14.0</string>
|
|
||||||
<key>CFBundlePackageType</key>
|
|
||||||
<string>FMWK</string>
|
|
||||||
<key>CFBundleSupportedPlatforms</key>
|
|
||||||
<array>
|
|
||||||
<string>MacOSX</string>
|
|
||||||
</array>
|
|
||||||
<key>CSResourcesFileMapped</key>
|
|
||||||
<true/>
|
|
||||||
<key>DTPlatformName</key>
|
|
||||||
<string>macosx</string>
|
|
||||||
<key>LSMinimumSystemVersion</key>
|
|
||||||
<string>10.12</string>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
@ -1,128 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>files</key>
|
|
||||||
<dict>
|
|
||||||
<key>Resources/Info.plist</key>
|
|
||||||
<data>
|
|
||||||
et0C7sxAlu4eIDcq2ihFQ2BhDSk=
|
|
||||||
</data>
|
|
||||||
</dict>
|
|
||||||
<key>files2</key>
|
|
||||||
<dict>
|
|
||||||
<key>Resources/Info.plist</key>
|
|
||||||
<dict>
|
|
||||||
<key>hash2</key>
|
|
||||||
<data>
|
|
||||||
ZnG0hD4DciikOVWrf1Ai1Qedz9hESuIFvUujZAebHRY=
|
|
||||||
</data>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<key>rules</key>
|
|
||||||
<dict>
|
|
||||||
<key>^Resources/</key>
|
|
||||||
<true/>
|
|
||||||
<key>^Resources/.*\.lproj/</key>
|
|
||||||
<dict>
|
|
||||||
<key>optional</key>
|
|
||||||
<true/>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>1000</real>
|
|
||||||
</dict>
|
|
||||||
<key>^Resources/.*\.lproj/locversion.plist$</key>
|
|
||||||
<dict>
|
|
||||||
<key>omit</key>
|
|
||||||
<true/>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>1100</real>
|
|
||||||
</dict>
|
|
||||||
<key>^Resources/Base\.lproj/</key>
|
|
||||||
<dict>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>1010</real>
|
|
||||||
</dict>
|
|
||||||
<key>^version.plist$</key>
|
|
||||||
<true/>
|
|
||||||
</dict>
|
|
||||||
<key>rules2</key>
|
|
||||||
<dict>
|
|
||||||
<key>.*\.dSYM($|/)</key>
|
|
||||||
<dict>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>11</real>
|
|
||||||
</dict>
|
|
||||||
<key>^(.*/)?\.DS_Store$</key>
|
|
||||||
<dict>
|
|
||||||
<key>omit</key>
|
|
||||||
<true/>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>2000</real>
|
|
||||||
</dict>
|
|
||||||
<key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>
|
|
||||||
<dict>
|
|
||||||
<key>nested</key>
|
|
||||||
<true/>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>10</real>
|
|
||||||
</dict>
|
|
||||||
<key>^.*</key>
|
|
||||||
<true/>
|
|
||||||
<key>^Info\.plist$</key>
|
|
||||||
<dict>
|
|
||||||
<key>omit</key>
|
|
||||||
<true/>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>20</real>
|
|
||||||
</dict>
|
|
||||||
<key>^PkgInfo$</key>
|
|
||||||
<dict>
|
|
||||||
<key>omit</key>
|
|
||||||
<true/>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>20</real>
|
|
||||||
</dict>
|
|
||||||
<key>^Resources/</key>
|
|
||||||
<dict>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>20</real>
|
|
||||||
</dict>
|
|
||||||
<key>^Resources/.*\.lproj/</key>
|
|
||||||
<dict>
|
|
||||||
<key>optional</key>
|
|
||||||
<true/>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>1000</real>
|
|
||||||
</dict>
|
|
||||||
<key>^Resources/.*\.lproj/locversion.plist$</key>
|
|
||||||
<dict>
|
|
||||||
<key>omit</key>
|
|
||||||
<true/>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>1100</real>
|
|
||||||
</dict>
|
|
||||||
<key>^Resources/Base\.lproj/</key>
|
|
||||||
<dict>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>1010</real>
|
|
||||||
</dict>
|
|
||||||
<key>^[^/]+$</key>
|
|
||||||
<dict>
|
|
||||||
<key>nested</key>
|
|
||||||
<true/>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>10</real>
|
|
||||||
</dict>
|
|
||||||
<key>^embedded\.provisionprofile$</key>
|
|
||||||
<dict>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>20</real>
|
|
||||||
</dict>
|
|
||||||
<key>^version\.plist$</key>
|
|
||||||
<dict>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>20</real>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
Binary file not shown.
@ -1,36 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>CFBundleInfoDictionaryVersion</key>
|
|
||||||
<string>6.0</string>
|
|
||||||
<key>CFBundleDevelopmentRegion</key>
|
|
||||||
<string>en</string>
|
|
||||||
<key>CFBundleExecutable</key>
|
|
||||||
<string>godot-jolt_macos_editor</string>
|
|
||||||
<key>CFBundleName</key>
|
|
||||||
<string>Godot Jolt</string>
|
|
||||||
<key>CFBundleDisplayName</key>
|
|
||||||
<string>Godot Jolt</string>
|
|
||||||
<key>CFBundleIdentifier</key>
|
|
||||||
<string>org.godot-jolt.godot-jolt</string>
|
|
||||||
<key>NSHumanReadableCopyright</key>
|
|
||||||
<string>Copyright (c) Mikael Hermansson and Godot Jolt contributors.</string>
|
|
||||||
<key>CFBundleVersion</key>
|
|
||||||
<string>0.14.0</string>
|
|
||||||
<key>CFBundleShortVersionString</key>
|
|
||||||
<string>0.14.0</string>
|
|
||||||
<key>CFBundlePackageType</key>
|
|
||||||
<string>FMWK</string>
|
|
||||||
<key>CFBundleSupportedPlatforms</key>
|
|
||||||
<array>
|
|
||||||
<string>MacOSX</string>
|
|
||||||
</array>
|
|
||||||
<key>CSResourcesFileMapped</key>
|
|
||||||
<true/>
|
|
||||||
<key>DTPlatformName</key>
|
|
||||||
<string>macosx</string>
|
|
||||||
<key>LSMinimumSystemVersion</key>
|
|
||||||
<string>10.12</string>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
@ -1,128 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>files</key>
|
|
||||||
<dict>
|
|
||||||
<key>Resources/Info.plist</key>
|
|
||||||
<data>
|
|
||||||
oIAzxlQz4Hun6JnLVOu9jafYxGE=
|
|
||||||
</data>
|
|
||||||
</dict>
|
|
||||||
<key>files2</key>
|
|
||||||
<dict>
|
|
||||||
<key>Resources/Info.plist</key>
|
|
||||||
<dict>
|
|
||||||
<key>hash2</key>
|
|
||||||
<data>
|
|
||||||
FA6I/u5+Ww0DzXAvawYXs792eum+8Bim8uHBbg98jqY=
|
|
||||||
</data>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<key>rules</key>
|
|
||||||
<dict>
|
|
||||||
<key>^Resources/</key>
|
|
||||||
<true/>
|
|
||||||
<key>^Resources/.*\.lproj/</key>
|
|
||||||
<dict>
|
|
||||||
<key>optional</key>
|
|
||||||
<true/>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>1000</real>
|
|
||||||
</dict>
|
|
||||||
<key>^Resources/.*\.lproj/locversion.plist$</key>
|
|
||||||
<dict>
|
|
||||||
<key>omit</key>
|
|
||||||
<true/>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>1100</real>
|
|
||||||
</dict>
|
|
||||||
<key>^Resources/Base\.lproj/</key>
|
|
||||||
<dict>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>1010</real>
|
|
||||||
</dict>
|
|
||||||
<key>^version.plist$</key>
|
|
||||||
<true/>
|
|
||||||
</dict>
|
|
||||||
<key>rules2</key>
|
|
||||||
<dict>
|
|
||||||
<key>.*\.dSYM($|/)</key>
|
|
||||||
<dict>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>11</real>
|
|
||||||
</dict>
|
|
||||||
<key>^(.*/)?\.DS_Store$</key>
|
|
||||||
<dict>
|
|
||||||
<key>omit</key>
|
|
||||||
<true/>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>2000</real>
|
|
||||||
</dict>
|
|
||||||
<key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>
|
|
||||||
<dict>
|
|
||||||
<key>nested</key>
|
|
||||||
<true/>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>10</real>
|
|
||||||
</dict>
|
|
||||||
<key>^.*</key>
|
|
||||||
<true/>
|
|
||||||
<key>^Info\.plist$</key>
|
|
||||||
<dict>
|
|
||||||
<key>omit</key>
|
|
||||||
<true/>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>20</real>
|
|
||||||
</dict>
|
|
||||||
<key>^PkgInfo$</key>
|
|
||||||
<dict>
|
|
||||||
<key>omit</key>
|
|
||||||
<true/>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>20</real>
|
|
||||||
</dict>
|
|
||||||
<key>^Resources/</key>
|
|
||||||
<dict>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>20</real>
|
|
||||||
</dict>
|
|
||||||
<key>^Resources/.*\.lproj/</key>
|
|
||||||
<dict>
|
|
||||||
<key>optional</key>
|
|
||||||
<true/>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>1000</real>
|
|
||||||
</dict>
|
|
||||||
<key>^Resources/.*\.lproj/locversion.plist$</key>
|
|
||||||
<dict>
|
|
||||||
<key>omit</key>
|
|
||||||
<true/>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>1100</real>
|
|
||||||
</dict>
|
|
||||||
<key>^Resources/Base\.lproj/</key>
|
|
||||||
<dict>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>1010</real>
|
|
||||||
</dict>
|
|
||||||
<key>^[^/]+$</key>
|
|
||||||
<dict>
|
|
||||||
<key>nested</key>
|
|
||||||
<true/>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>10</real>
|
|
||||||
</dict>
|
|
||||||
<key>^embedded\.provisionprofile$</key>
|
|
||||||
<dict>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>20</real>
|
|
||||||
</dict>
|
|
||||||
<key>^version\.plist$</key>
|
|
||||||
<dict>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>20</real>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -11,9 +11,8 @@ config_version=5
|
|||||||
[application]
|
[application]
|
||||||
|
|
||||||
config/name="Open Strike"
|
config/name="Open Strike"
|
||||||
run/main_scene="res://scenes/utils/menus/main/main_menu.tscn"
|
run/main_scene="res://scenes/utils/Menu.tscn"
|
||||||
config/features=PackedStringArray("4.3", "Forward Plus")
|
config/features=PackedStringArray("4.3", "Forward Plus")
|
||||||
run/max_fps=120
|
|
||||||
config/icon="res://icon.svg"
|
config/icon="res://icon.svg"
|
||||||
|
|
||||||
[autoload]
|
[autoload]
|
||||||
@ -23,23 +22,14 @@ GameServerManager="*res://scripts/game_server_manager.gd"
|
|||||||
[display]
|
[display]
|
||||||
|
|
||||||
window/size/viewport_width=1920
|
window/size/viewport_width=1920
|
||||||
window/size/viewport_height=1964
|
window/size/viewport_height=1080
|
||||||
window/size/mode=4
|
window/size/mode=4
|
||||||
window/size/borderless=true
|
window/size/borderless=true
|
||||||
window/stretch/mode="canvas_items"
|
|
||||||
window/stretch/aspect="expand"
|
|
||||||
window/vsync/vsync_mode=2
|
|
||||||
|
|
||||||
[filesystem]
|
[filesystem]
|
||||||
|
|
||||||
import/blender/enabled=false
|
import/blender/enabled=false
|
||||||
|
|
||||||
[global_group]
|
|
||||||
|
|
||||||
body=""
|
|
||||||
target=""
|
|
||||||
player_placeholder=""
|
|
||||||
|
|
||||||
[input]
|
[input]
|
||||||
|
|
||||||
move_left={
|
move_left={
|
||||||
@ -95,10 +85,4 @@ crouch={
|
|||||||
|
|
||||||
[physics]
|
[physics]
|
||||||
|
|
||||||
3d/physics_engine="JoltPhysics3D"
|
|
||||||
3d/default_gravity=15.0
|
3d/default_gravity=15.0
|
||||||
|
|
||||||
[rendering]
|
|
||||||
|
|
||||||
anti_aliasing/quality/msaa_3d=1
|
|
||||||
anti_aliasing/quality/screen_space_aa=1
|
|
||||||
|
@ -1,14 +0,0 @@
|
|||||||
[gd_scene load_steps=2 format=3 uid="uid://7ypb23b3pugx"]
|
|
||||||
|
|
||||||
[ext_resource type="PackedScene" uid="uid://drkp6lgdexdwd" path="res://scenes/characters/first_person_view.tscn" id="1_pw4gm"]
|
|
||||||
|
|
||||||
[node name="FirstPersonCamera" type="Node3D"]
|
|
||||||
|
|
||||||
[node name="ViewModelCamera" type="Camera3D" parent="."]
|
|
||||||
transform = Transform3D(0.787899, 0, 0, 0, 0.787899, 0, 0, 0, 0.787899, -0.00122696, 5.96046e-08, -0.00121003)
|
|
||||||
fov = 40.0
|
|
||||||
|
|
||||||
[node name="FirstPersonView" parent="ViewModelCamera" instance=ExtResource("1_pw4gm")]
|
|
||||||
|
|
||||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, -0.0288114, 0.999585, 0, -0.999585, -0.0288114, 0, 2.05115, 0)
|
|
@ -1,41 +0,0 @@
|
|||||||
extends Node3D
|
|
||||||
|
|
||||||
|
|
||||||
var owner_placeholder: CharacterBody3D = null
|
|
||||||
# Called when the node enters the scene tree for the first time.
|
|
||||||
func _ready() -> void:
|
|
||||||
$Body/Armature/Skeleton3D.physical_bones_start_simulation()
|
|
||||||
owner_placeholder = _get_owner()
|
|
||||||
pass # Replace with function body.
|
|
||||||
|
|
||||||
|
|
||||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
||||||
func _process(delta: float) -> void:
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
func _on_head_collision_body_part_hit(dam: Variant) -> void:
|
|
||||||
#print("head is hit" + str(dam))
|
|
||||||
#print(owner_placeholder)
|
|
||||||
#if owner_placeholder.has_method("take_damage"):
|
|
||||||
if owner_placeholder:
|
|
||||||
owner_placeholder.take_damage(dam)
|
|
||||||
pass # Replace with function body.
|
|
||||||
|
|
||||||
func _get_owner() -> CharacterBody3D:
|
|
||||||
var owner_placeholder := find_parent("PlayerPlaceholder*")
|
|
||||||
return owner_placeholder
|
|
||||||
|
|
||||||
func die():
|
|
||||||
for child in $Body/Armature/Skeleton3D/PhysicalBoneSimulator3D.get_children():
|
|
||||||
if child is PhysicalBone3D:
|
|
||||||
child.collision_layer = 1
|
|
||||||
child.collision_mask = 1
|
|
||||||
$Body/Armature/Skeleton3D.physical_bones_stop_simulation()
|
|
||||||
$Body/Armature/Skeleton3D/PhysicalBoneSimulator3D.physical_bones_start_simulation()
|
|
||||||
|
|
||||||
func make_invisible():
|
|
||||||
$Body/Armature/Skeleton3D/Alpha_Joints.set_layer_mask_value(1, false)
|
|
||||||
$Body/Armature/Skeleton3D/Alpha_Surface.set_layer_mask_value(1, false)
|
|
||||||
$Body/Armature/Skeleton3D/Alpha_Joints.set_layer_mask_value(2, true)
|
|
||||||
$Body/Armature/Skeleton3D/Alpha_Surface.set_layer_mask_value(2, true)
|
|
@ -1,7 +1,8 @@
|
|||||||
[gd_scene load_steps=28 format=4 uid="uid://1txob6jskn5s"]
|
[gd_scene load_steps=10 format=4 uid="uid://1txob6jskn5s"]
|
||||||
|
|
||||||
[ext_resource type="Script" path="res://scenes/characters/blue/dummy.gd" id="1_cyeub"]
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_e8avt"]
|
||||||
[ext_resource type="Script" path="res://scenes/characters/blue/head_collision.gd" id="1_lianf"]
|
radius = 0.252578
|
||||||
|
height = 1.8094
|
||||||
|
|
||||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_gqjtb"]
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_gqjtb"]
|
||||||
resource_name = "Alpha_Joints_MAT"
|
resource_name = "Alpha_Joints_MAT"
|
||||||
@ -258,71 +259,6 @@ blend_shape_mode = 0
|
|||||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_j3emx"]
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_j3emx"]
|
||||||
albedo_color = Color(0, 0, 1, 1)
|
albedo_color = Color(0, 0, 1, 1)
|
||||||
|
|
||||||
[sub_resource type="SphereShape3D" id="SphereShape3D_axep3"]
|
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_0ptuo"]
|
|
||||||
radius = 11.7055
|
|
||||||
height = 28.953
|
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_126jt"]
|
|
||||||
radius = 3.944
|
|
||||||
height = 12.926
|
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_1gw5y"]
|
|
||||||
radius = 10.779
|
|
||||||
height = 24.58
|
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_krlof"]
|
|
||||||
radius = 2.74047
|
|
||||||
height = 27.4047
|
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_2k34c"]
|
|
||||||
radius = 2.76145
|
|
||||||
height = 27.6145
|
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_5fgdh"]
|
|
||||||
radius = 5.286
|
|
||||||
height = 20.647
|
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_8vkyv"]
|
|
||||||
radius = 2.74047
|
|
||||||
height = 27.4047
|
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_fh1k4"]
|
|
||||||
radius = 2.76144
|
|
||||||
height = 27.6144
|
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_1m8r5"]
|
|
||||||
radius = 5.286
|
|
||||||
height = 20.647
|
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_3cygo"]
|
|
||||||
radius = 4.05994
|
|
||||||
height = 40.5994
|
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_vwdij"]
|
|
||||||
radius = 4.2099
|
|
||||||
height = 42.099
|
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_qyg6j"]
|
|
||||||
radius = 1.57216
|
|
||||||
height = 15.7216
|
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_a81km"]
|
|
||||||
radius = 4.05995
|
|
||||||
height = 40.5995
|
|
||||||
|
|
||||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_2binp"]
|
|
||||||
height = 42.0
|
|
||||||
radius = 3.0
|
|
||||||
|
|
||||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_l2il6"]
|
|
||||||
height = 27.0
|
|
||||||
radius = 1.75
|
|
||||||
|
|
||||||
[sub_resource type="SphereShape3D" id="SphereShape3D_wnhib"]
|
|
||||||
radius = 1.2
|
|
||||||
|
|
||||||
[sub_resource type="Animation" id="Animation_6g1lc"]
|
[sub_resource type="Animation" id="Animation_6g1lc"]
|
||||||
resource_name = "Run Forward"
|
resource_name = "Run Forward"
|
||||||
length = 0.533333
|
length = 0.533333
|
||||||
@ -928,15 +864,19 @@ _data = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
[node name="Dummy" type="Node3D"]
|
[node name="Dummy" type="Node3D"]
|
||||||
transform = Transform3D(-1, 0, -1.50996e-07, 0, 1, 0, 1.50996e-07, 0, -1, 0, 0, 0)
|
|
||||||
script = ExtResource("1_cyeub")
|
|
||||||
|
|
||||||
[node name="Body" type="Node3D" parent="."]
|
[node name="CharacterBody3D" type="CharacterBody3D" parent="."]
|
||||||
|
|
||||||
[node name="Armature" type="Node3D" parent="Body"]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="CharacterBody3D"]
|
||||||
transform = Transform3D(0.01, 0, 0, 0, -4.37114e-10, -0.01, 0, 0.01, -4.37114e-10, 0, 0, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.897246, 0)
|
||||||
|
shape = SubResource("CapsuleShape3D_e8avt")
|
||||||
|
|
||||||
[node name="Skeleton3D" type="Skeleton3D" parent="Body/Armature"]
|
[node name="Body" type="Node3D" parent="CharacterBody3D"]
|
||||||
|
|
||||||
|
[node name="Armature" type="Node3D" parent="CharacterBody3D/Body"]
|
||||||
|
transform = Transform3D(0.01, 0, 0, 0, 0, -0.01, 0, 0.01, 0, 0, 0, 0)
|
||||||
|
|
||||||
|
[node name="Skeleton3D" type="Skeleton3D" parent="CharacterBody3D/Body/Armature"]
|
||||||
bones/0/name = "mixamorig_Hips"
|
bones/0/name = "mixamorig_Hips"
|
||||||
bones/0/parent = -1
|
bones/0/parent = -1
|
||||||
bones/0/rest = Transform3D(1, -8.78096e-05, -2.78699e-06, 2.78699e-06, 0, 1, -8.78096e-05, -1, 0, -6.75701e-06, 4.84474e-05, -99.7919)
|
bones/0/rest = Transform3D(1, -8.78096e-05, -2.78699e-06, 2.78699e-06, 0, 1, -8.78096e-05, -1, 0, -6.75701e-06, 4.84474e-05, -99.7919)
|
||||||
@ -1109,7 +1049,7 @@ bones/24/name = "mixamorig_LeftHandRing2"
|
|||||||
bones/24/parent = 23
|
bones/24/parent = 23
|
||||||
bones/24/rest = Transform3D(1, 1.61871e-05, -9.45085e-08, -1.61871e-05, 1, 3.29224e-06, 9.45618e-08, -3.29224e-06, 1, 6.3543e-07, 3.60118, -1.47875e-05)
|
bones/24/rest = Transform3D(1, 1.61871e-05, -9.45085e-08, -1.61871e-05, 1, 3.29224e-06, 9.45618e-08, -3.29224e-06, 1, 6.3543e-07, 3.60118, -1.47875e-05)
|
||||||
bones/24/enabled = true
|
bones/24/enabled = true
|
||||||
bones/24/position = Vector3(-3.30613e-06, 3.60119, 1.50864e-07)
|
bones/24/position = Vector3(-3.30613e-06, 3.60119, 1.50863e-07)
|
||||||
bones/24/rotation = Quaternion(0.563924, -3.30111e-07, -0.0577891, 0.823803)
|
bones/24/rotation = Quaternion(0.563924, -3.30111e-07, -0.0577891, 0.823803)
|
||||||
bones/24/scale = Vector3(1, 1, 1)
|
bones/24/scale = Vector3(1, 1, 1)
|
||||||
bones/25/name = "mixamorig_LeftHandRing3"
|
bones/25/name = "mixamorig_LeftHandRing3"
|
||||||
@ -1138,7 +1078,7 @@ bones/28/parent = 27
|
|||||||
bones/28/rest = Transform3D(1, 0.000736602, -7.57697e-07, -0.000736602, 1, 9.24707e-06, 7.64508e-07, -9.24651e-06, 1, 1.0844e-06, 4.13666, 1.41886e-05)
|
bones/28/rest = Transform3D(1, 0.000736602, -7.57697e-07, -0.000736602, 1, 9.24707e-06, 7.64508e-07, -9.24651e-06, 1, 1.0844e-06, 4.13666, 1.41886e-05)
|
||||||
bones/28/enabled = true
|
bones/28/enabled = true
|
||||||
bones/28/position = Vector3(-9.08385e-06, 4.13665, 5.47372e-06)
|
bones/28/position = Vector3(-9.08385e-06, 4.13665, 5.47372e-06)
|
||||||
bones/28/rotation = Quaternion(0.433129, -6.53827e-07, -0.0443853, 0.900239)
|
bones/28/rotation = Quaternion(0.433129, -6.53828e-07, -0.0443853, 0.900239)
|
||||||
bones/28/scale = Vector3(1, 1, 1)
|
bones/28/scale = Vector3(1, 1, 1)
|
||||||
bones/29/name = "mixamorig_LeftHandPinky3"
|
bones/29/name = "mixamorig_LeftHandPinky3"
|
||||||
bones/29/parent = 28
|
bones/29/parent = 28
|
||||||
@ -1187,7 +1127,7 @@ bones/35/parent = 34
|
|||||||
bones/35/rest = Transform3D(0.894428, 0.447212, -8.12113e-07, -0.387297, 0.774597, -0.500001, -0.223606, 0.447215, 0.866025, 3.00297, 3.7888, 2.16716)
|
bones/35/rest = Transform3D(0.894428, 0.447212, -8.12113e-07, -0.387297, 0.774597, -0.500001, -0.223606, 0.447215, 0.866025, 3.00297, 3.7888, 2.16716)
|
||||||
bones/35/enabled = true
|
bones/35/enabled = true
|
||||||
bones/35/position = Vector3(3.00297, 3.7888, 2.16716)
|
bones/35/position = Vector3(3.00297, 3.7888, 2.16716)
|
||||||
bones/35/rotation = Quaternion(0.227577, -0.0598799, -0.162411, 0.958251)
|
bones/35/rotation = Quaternion(0.227577, -0.0598799, -0.162411, 0.958252)
|
||||||
bones/35/scale = Vector3(1, 1, 1)
|
bones/35/scale = Vector3(1, 1, 1)
|
||||||
bones/36/name = "mixamorig_RightHandThumb2"
|
bones/36/name = "mixamorig_RightHandThumb2"
|
||||||
bones/36/parent = 35
|
bones/36/parent = 35
|
||||||
@ -1271,14 +1211,14 @@ bones/47/parent = 34
|
|||||||
bones/47/rest = Transform3D(1, 9.66599e-06, -1.40744e-07, -9.66599e-06, 1, -2.81994e-06, 1.40717e-07, 2.81994e-06, 1, -2.21663, 12.147, -0.00999829)
|
bones/47/rest = Transform3D(1, 9.66599e-06, -1.40744e-07, -9.66599e-06, 1, -2.81994e-06, 1.40717e-07, 2.81994e-06, 1, -2.21663, 12.147, -0.00999829)
|
||||||
bones/47/enabled = true
|
bones/47/enabled = true
|
||||||
bones/47/position = Vector3(-2.21664, 12.147, -0.00998812)
|
bones/47/position = Vector3(-2.21664, 12.147, -0.00998812)
|
||||||
bones/47/rotation = Quaternion(0.0911117, 0.11369, 0.100504, 0.984212)
|
bones/47/rotation = Quaternion(0.0911117, 0.11369, 0.100504, 0.984211)
|
||||||
bones/47/scale = Vector3(1, 1, 1)
|
bones/47/scale = Vector3(1, 1, 1)
|
||||||
bones/48/name = "mixamorig_RightHandRing2"
|
bones/48/name = "mixamorig_RightHandRing2"
|
||||||
bones/48/parent = 47
|
bones/48/parent = 47
|
||||||
bones/48/rest = Transform3D(1, -1.60845e-05, 3.26056e-09, 1.60845e-05, 1, 1.32059e-06, -3.2818e-09, -1.32059e-06, 1, -2.50026e-07, 3.6012, -7.75122e-07)
|
bones/48/rest = Transform3D(1, -1.60845e-05, 3.26056e-09, 1.60845e-05, 1, 1.32059e-06, -3.2818e-09, -1.32059e-06, 1, -2.50026e-07, 3.6012, -7.75122e-07)
|
||||||
bones/48/enabled = true
|
bones/48/enabled = true
|
||||||
bones/48/position = Vector3(-2.50026e-07, 3.6012, -7.75122e-07)
|
bones/48/position = Vector3(-2.50026e-07, 3.6012, -7.75122e-07)
|
||||||
bones/48/rotation = Quaternion(0.836665, 8.70474e-07, 0.068157, 0.543457)
|
bones/48/rotation = Quaternion(0.836665, 8.70473e-07, 0.068157, 0.543457)
|
||||||
bones/48/scale = Vector3(1, 1, 1)
|
bones/48/scale = Vector3(1, 1, 1)
|
||||||
bones/49/name = "mixamorig_RightHandRing3"
|
bones/49/name = "mixamorig_RightHandRing3"
|
||||||
bones/49/parent = 48
|
bones/49/parent = 48
|
||||||
@ -1362,14 +1302,14 @@ bones/60/parent = 0
|
|||||||
bones/60/rest = Transform3D(-0.999981, -0.00611455, -7.52684e-05, 0.00611501, -0.999901, -0.0126672, 2.1931e-06, -0.0126674, 0.99992, -9.12503, -6.6556, -0.0553527)
|
bones/60/rest = Transform3D(-0.999981, -0.00611455, -7.52684e-05, 0.00611501, -0.999901, -0.0126672, 2.1931e-06, -0.0126674, 0.99992, -9.12503, -6.6556, -0.0553527)
|
||||||
bones/60/enabled = true
|
bones/60/enabled = true
|
||||||
bones/60/position = Vector3(-9.12503, -6.6556, -0.0553527)
|
bones/60/position = Vector3(-9.12503, -6.6556, -0.0553527)
|
||||||
bones/60/rotation = Quaternion(-0.0339455, 0.334676, 0.92684, -0.166754)
|
bones/60/rotation = Quaternion(-0.0339456, 0.334676, 0.92684, -0.166754)
|
||||||
bones/60/scale = Vector3(1, 1, 1)
|
bones/60/scale = Vector3(1, 1, 1)
|
||||||
bones/61/name = "mixamorig_RightLeg"
|
bones/61/name = "mixamorig_RightLeg"
|
||||||
bones/61/parent = 60
|
bones/61/parent = 60
|
||||||
bones/61/rest = Transform3D(0.99993, -0.0118315, -0.000580536, 0.0118448, 0.999271, 0.0362854, 0.000150802, -0.0362897, 0.999341, 3.28565e-07, 40.5995, 1.49012e-08)
|
bones/61/rest = Transform3D(0.99993, -0.0118315, -0.000580536, 0.0118448, 0.999271, 0.0362854, 0.000150802, -0.0362897, 0.999341, 3.28565e-07, 40.5995, 1.49012e-08)
|
||||||
bones/61/enabled = true
|
bones/61/enabled = true
|
||||||
bones/61/position = Vector3(3.28565e-07, 40.5995, 1.49012e-08)
|
bones/61/position = Vector3(3.28565e-07, 40.5995, 1.49012e-08)
|
||||||
bones/61/rotation = Quaternion(-0.581827, -0.0846291, -0.0166473, 0.808726)
|
bones/61/rotation = Quaternion(-0.581827, -0.0846291, -0.0166473, 0.808727)
|
||||||
bones/61/scale = Vector3(1, 1, 1)
|
bones/61/scale = Vector3(1, 1, 1)
|
||||||
bones/62/name = "mixamorig_RightFoot"
|
bones/62/name = "mixamorig_RightFoot"
|
||||||
bones/62/parent = 61
|
bones/62/parent = 61
|
||||||
@ -1393,289 +1333,16 @@ bones/64/position = Vector3(-8.19564e-08, 10, 5.51343e-07)
|
|||||||
bones/64/rotation = Quaternion(-8.44739e-09, 1.30531e-08, -2.55386e-09, 1)
|
bones/64/rotation = Quaternion(-8.44739e-09, 1.30531e-08, -2.55386e-09, 1)
|
||||||
bones/64/scale = Vector3(1, 1, 1)
|
bones/64/scale = Vector3(1, 1, 1)
|
||||||
|
|
||||||
[node name="Alpha_Joints" type="MeshInstance3D" parent="Body/Armature/Skeleton3D"]
|
[node name="Alpha_Joints" type="MeshInstance3D" parent="CharacterBody3D/Body/Armature/Skeleton3D"]
|
||||||
mesh = SubResource("ArrayMesh_kiui0")
|
mesh = SubResource("ArrayMesh_kiui0")
|
||||||
skin = SubResource("Skin_hwx5g")
|
skin = SubResource("Skin_hwx5g")
|
||||||
|
|
||||||
[node name="Alpha_Surface" type="MeshInstance3D" parent="Body/Armature/Skeleton3D"]
|
[node name="Alpha_Surface" type="MeshInstance3D" parent="CharacterBody3D/Body/Armature/Skeleton3D"]
|
||||||
mesh = SubResource("ArrayMesh_8h4ki")
|
mesh = SubResource("ArrayMesh_8h4ki")
|
||||||
skin = SubResource("Skin_hwx5g")
|
skin = SubResource("Skin_hwx5g")
|
||||||
surface_material_override/0 = SubResource("StandardMaterial3D_j3emx")
|
surface_material_override/0 = SubResource("StandardMaterial3D_j3emx")
|
||||||
|
|
||||||
[node name="HitCollisions" type="Node3D" parent="Body/Armature/Skeleton3D"]
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="CharacterBody3D/Body"]
|
||||||
|
|
||||||
[node name="BoneAttachment3D" type="BoneAttachment3D" parent="Body/Armature/Skeleton3D"]
|
|
||||||
transform = Transform3D(0.978017, -0.176546, -0.110973, 0.15839, 0.282801, 0.946011, -0.135631, -0.942791, 0.304547, -11.8203, 17.7472, -135.936)
|
|
||||||
bone_name = "mixamorig_Head"
|
|
||||||
bone_idx = 5
|
|
||||||
|
|
||||||
[node name="HeadCollision" type="Area3D" parent="Body/Armature/Skeleton3D/BoneAttachment3D" groups=["body"]]
|
|
||||||
transform = Transform3D(9.90229, 1.3945, -6.09554e-08, 0, -4.37114e-07, -10, -1.3945, 9.90229, -4.32843e-07, 0.58762, 7.43451, 1.4646)
|
|
||||||
script = ExtResource("1_lianf")
|
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Body/Armature/Skeleton3D/BoneAttachment3D/HeadCollision"]
|
|
||||||
shape = SubResource("SphereShape3D_axep3")
|
|
||||||
|
|
||||||
[node name="PhysicalBoneSimulator3D" type="PhysicalBoneSimulator3D" parent="Body/Armature/Skeleton3D"]
|
|
||||||
|
|
||||||
[node name="Physical Bone mixamorig_Hips" type="PhysicalBone3D" parent="Body/Armature/Skeleton3D/PhysicalBoneSimulator3D"]
|
|
||||||
transform = Transform3D(82.5044, -54.0559, -16.4615, 55.0482, 83.4649, 1.8195, 12.756, -10.5629, 98.619, 1.31498, 0.290624, -87.4646)
|
|
||||||
collision_layer = 4
|
|
||||||
collision_mask = 4
|
|
||||||
joint_type = 1
|
|
||||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8.35312e-08, -5.58794e-09, 0.0499956)
|
|
||||||
body_offset = Transform3D(100, -0.0695305, -0.00860751, -1.19209e-05, 12.2744, -99.2438, 0.0700493, 99.2438, 12.2744, 0.00043869, 4.96175, -0.613665)
|
|
||||||
mass = 20.0
|
|
||||||
bone_name = "mixamorig_Hips"
|
|
||||||
joint_constraints/bias = 0.3
|
|
||||||
joint_constraints/damping = 1.0
|
|
||||||
joint_constraints/impulse_clamp = 0.0
|
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Body/Armature/Skeleton3D/PhysicalBoneSimulator3D/Physical Bone mixamorig_Hips"]
|
|
||||||
transform = Transform3D(0.01, 0, 0, 0, -4.37114e-10, 0.01, 0, -0.01, -4.37114e-10, 0.0161502, -2.32831e-11, 1.01774e-18)
|
|
||||||
shape = SubResource("CapsuleShape3D_0ptuo")
|
|
||||||
|
|
||||||
[node name="Physical Bone mixamorig_Spine" type="PhysicalBone3D" parent="Body/Armature/Skeleton3D/PhysicalBoneSimulator3D"]
|
|
||||||
transform = Transform3D(80.9412, -58.546, -4.56913, 57.6046, 80.6695, -13.1964, 11.4119, 8.0493, 99.0201, 2.40599, 0.973749, -98.2036)
|
|
||||||
collision_layer = 4
|
|
||||||
collision_mask = 4
|
|
||||||
joint_type = 1
|
|
||||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.2222e-09, 2.2377e-09, 0.05866)
|
|
||||||
body_offset = Transform3D(100, 7.62939e-06, 9.05991e-06, 4.76837e-06, -1.90735e-06, -100, -1.52588e-05, 100, -3.8147e-06, -9.53674e-07, 5.866, 0)
|
|
||||||
mass = 20.0
|
|
||||||
bone_name = "mixamorig_Spine"
|
|
||||||
joint_constraints/bias = 0.3
|
|
||||||
joint_constraints/damping = 1.0
|
|
||||||
joint_constraints/impulse_clamp = 0.0
|
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Body/Armature/Skeleton3D/PhysicalBoneSimulator3D/Physical Bone mixamorig_Spine"]
|
|
||||||
transform = Transform3D(0.0318071, 3.86358e-14, 4.9738e-14, -2.13163e-14, -1.62981e-09, 0.0318071, -4.26326e-14, -0.0318071, -1.62981e-09, -0.00245133, -5.91656e-09, -0.223859)
|
|
||||||
shape = SubResource("CapsuleShape3D_126jt")
|
|
||||||
|
|
||||||
[node name="Physical Bone mixamorig_Head" type="PhysicalBone3D" parent="Body/Armature/Skeleton3D/PhysicalBoneSimulator3D"]
|
|
||||||
transform = Transform3D(-97.8019, 4.47329, 20.366, -15.8369, -79.4709, -58.5966, 13.5638, -60.5339, 78.4325, -13.8193, 23.4986, -143.635)
|
|
||||||
collision_layer = 4
|
|
||||||
collision_mask = 4
|
|
||||||
joint_type = 1
|
|
||||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.90306e-08, -1.39698e-07, 0.0981531)
|
|
||||||
body_offset = Transform3D(-100, -0.00220013, -0.000778198, -5.24521e-06, 33.8066, -94.1122, 0.00232792, -94.1122, -33.8066, 7.24792e-05, 9.23741, 3.31821)
|
|
||||||
mass = 7.0
|
|
||||||
bone_name = "mixamorig_Head"
|
|
||||||
joint_constraints/bias = 0.3
|
|
||||||
joint_constraints/damping = 1.0
|
|
||||||
joint_constraints/impulse_clamp = 0.0
|
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Body/Armature/Skeleton3D/PhysicalBoneSimulator3D/Physical Bone mixamorig_Head"]
|
|
||||||
transform = Transform3D(0.01, 0, 0, 0, -4.37114e-10, 0.01, 0, -0.01, -4.37114e-10, 0, 0, 0)
|
|
||||||
shape = SubResource("CapsuleShape3D_1gw5y")
|
|
||||||
|
|
||||||
[node name="Physical Bone mixamorig_LeftArm" type="PhysicalBone3D" parent="Body/Armature/Skeleton3D/PhysicalBoneSimulator3D"]
|
|
||||||
transform = Transform3D(86.1165, 14.0252, -48.8594, -45.4995, 64.1262, -61.787, 22.6659, 75.4396, 61.6046, 16.1942, 31.0309, -132.592)
|
|
||||||
collision_layer = 4
|
|
||||||
collision_mask = 4
|
|
||||||
joint_type = 1
|
|
||||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.65892e-08, 2.39336e-07, 0.137023)
|
|
||||||
body_offset = Transform3D(100, -3.05176e-05, -2.67029e-05, 2.09808e-05, 100, -7.62939e-06, 1.71661e-05, -3.8147e-06, 100, 0, -2.28882e-05, -13.7023)
|
|
||||||
mass = 3.0
|
|
||||||
bone_name = "mixamorig_LeftArm"
|
|
||||||
joint_constraints/bias = 0.3
|
|
||||||
joint_constraints/damping = 1.0
|
|
||||||
joint_constraints/impulse_clamp = 0.0
|
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Body/Armature/Skeleton3D/PhysicalBoneSimulator3D/Physical Bone mixamorig_LeftArm"]
|
|
||||||
transform = Transform3D(0.01, 0, 0, 0, 0.00997432, -0.000716193, 0, 0.000716193, 0.00997432, 4.61853e-15, 0.165399, 0.142978)
|
|
||||||
shape = SubResource("CapsuleShape3D_krlof")
|
|
||||||
|
|
||||||
[node name="Physical Bone mixamorig_LeftForeArm" type="PhysicalBone3D" parent="Body/Armature/Skeleton3D/PhysicalBoneSimulator3D"]
|
|
||||||
transform = Transform3D(-48.2566, -12.058, 86.752, -78.7312, -37.4258, -48.997, 38.3757, -91.9452, 8.56699, 1.36485, 46.9033, -104.66)
|
|
||||||
collision_layer = 4
|
|
||||||
collision_mask = 4
|
|
||||||
joint_type = 1
|
|
||||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.47239e-07, 6.31263e-08, 0.138072)
|
|
||||||
body_offset = Transform3D(100, 3.05176e-05, -4.19617e-05, -3.8147e-05, 0, -100, -3.8147e-06, 100, 9.53674e-06, 3.05176e-05, 13.8072, -7.62939e-06)
|
|
||||||
mass = 3.0
|
|
||||||
bone_name = "mixamorig_LeftForeArm"
|
|
||||||
joint_constraints/bias = 0.3
|
|
||||||
joint_constraints/damping = 1.0
|
|
||||||
joint_constraints/impulse_clamp = 0.0
|
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Body/Armature/Skeleton3D/PhysicalBoneSimulator3D/Physical Bone mixamorig_LeftForeArm"]
|
|
||||||
transform = Transform3D(0.01, 0, 0, 0, -4.37114e-10, 0.01, 0, -0.01, -4.37114e-10, 0, 0, 0)
|
|
||||||
shape = SubResource("CapsuleShape3D_2k34c")
|
|
||||||
|
|
||||||
[node name="Physical Bone mixamorig_LeftHand" type="PhysicalBone3D" parent="Body/Armature/Skeleton3D/PhysicalBoneSimulator3D"]
|
|
||||||
transform = Transform3D(9.11563, -98.6768, 13.4089, 23.9481, -10.8976, -96.4766, 96.6612, 12.0056, 22.6379, -10.9685, 56.2242, -106.442)
|
|
||||||
collision_layer = 4
|
|
||||||
collision_mask = 4
|
|
||||||
joint_type = 1
|
|
||||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.24797e-07, -1.22003e-07, 0.0264902)
|
|
||||||
body_offset = Transform3D(-58.5197, 57.9894, 56.6805, 1.62125e-05, 69.899, -71.5132, -81.0891, -41.8493, -40.9047, -1.50148, 1.89441, 1.08356)
|
|
||||||
bone_name = "mixamorig_LeftHand"
|
|
||||||
joint_constraints/bias = 0.3
|
|
||||||
joint_constraints/damping = 1.0
|
|
||||||
joint_constraints/impulse_clamp = 0.0
|
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Body/Armature/Skeleton3D/PhysicalBoneSimulator3D/Physical Bone mixamorig_LeftHand"]
|
|
||||||
transform = Transform3D(0.01, 0, 0, 0, 0.00697578, 0.00716509, 0, -0.00716509, 0.00697578, 9.31323e-12, 0.0631712, -0.0648856)
|
|
||||||
shape = SubResource("CapsuleShape3D_5fgdh")
|
|
||||||
|
|
||||||
[node name="Physical Bone mixamorig_RightArm" type="PhysicalBone3D" parent="Body/Armature/Skeleton3D/PhysicalBoneSimulator3D"]
|
|
||||||
transform = Transform3D(30.7246, 72.8896, 61.1809, 93.7855, -34.092, -6.48192, 16.1331, 59.3704, -78.8345, -27.5296, -1.29566, -110.13)
|
|
||||||
collision_layer = 4
|
|
||||||
collision_mask = 4
|
|
||||||
joint_type = 1
|
|
||||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.63344e-08, 1.16326e-07, 0.137023)
|
|
||||||
body_offset = Transform3D(100, -5.72205e-06, 1.19209e-05, 6.67572e-06, 1.07288e-05, -100, -1.90735e-06, 100, 2.64645e-05, 0, 13.7023, -1.52588e-05)
|
|
||||||
mass = 3.0
|
|
||||||
bone_name = "mixamorig_RightArm"
|
|
||||||
joint_constraints/bias = 0.3
|
|
||||||
joint_constraints/damping = 1.0
|
|
||||||
joint_constraints/impulse_clamp = 0.0
|
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Body/Armature/Skeleton3D/PhysicalBoneSimulator3D/Physical Bone mixamorig_RightArm"]
|
|
||||||
transform = Transform3D(0.01, 0, 0, 0, -4.37114e-10, 0.01, 0, -0.01, -4.37114e-10, 0, 0, 0)
|
|
||||||
shape = SubResource("CapsuleShape3D_8vkyv")
|
|
||||||
|
|
||||||
[node name="Physical Bone mixamorig_RightForeArm" type="PhysicalBone3D" parent="Body/Armature/Skeleton3D/PhysicalBoneSimulator3D"]
|
|
||||||
transform = Transform3D(24.3552, 37.4063, 89.4852, -25.0101, 91.5653, -31.4688, -93.7087, -14.716, 31.6563, -48.2682, 3.93749, -103.698)
|
|
||||||
collision_layer = 4
|
|
||||||
collision_mask = 4
|
|
||||||
joint_type = 1
|
|
||||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.40737e-07, -2.80688e-08, 0.138072)
|
|
||||||
body_offset = Transform3D(100, -1.14441e-05, 8.58307e-06, -3.8147e-06, 100, 9.53674e-06, 5.72205e-06, -5.72205e-06, 100, -1.52588e-05, 1.49012e-06, -13.8072)
|
|
||||||
mass = 3.0
|
|
||||||
bone_name = "mixamorig_RightForeArm"
|
|
||||||
joint_constraints/bias = 0.3
|
|
||||||
joint_constraints/damping = 1.0
|
|
||||||
joint_constraints/impulse_clamp = 0.0
|
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Body/Armature/Skeleton3D/PhysicalBoneSimulator3D/Physical Bone mixamorig_RightForeArm"]
|
|
||||||
transform = Transform3D(0.01, 0, 0, 0, 0.00999714, -0.000239087, 0, 0.000239087, 0.00999714, 2.23821e-15, 0.145694, 0.138911)
|
|
||||||
shape = SubResource("CapsuleShape3D_fh1k4")
|
|
||||||
|
|
||||||
[node name="Physical Bone mixamorig_RightHand" type="PhysicalBone3D" parent="Body/Armature/Skeleton3D/PhysicalBoneSimulator3D"]
|
|
||||||
transform = Transform3D(89.0767, -24.8074, -38.0781, 5.05123, 88.6726, -45.9527, 45.1645, 39.0097, 80.2397, -24.5746, 26.0951, -105.517)
|
|
||||||
collision_layer = 4
|
|
||||||
collision_mask = 4
|
|
||||||
joint_type = 1
|
|
||||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.86265e-08, 2.31434e-07, 0.0264903)
|
|
||||||
body_offset = Transform3D(-58.5197, -57.9893, -56.6805, -1.19209e-05, 69.8991, -71.5131, 81.0891, -41.8492, -40.9048, 1.5015, 1.89439, 1.08359)
|
|
||||||
bone_name = "mixamorig_RightHand"
|
|
||||||
joint_constraints/bias = 0.3
|
|
||||||
joint_constraints/damping = 1.0
|
|
||||||
joint_constraints/impulse_clamp = 0.0
|
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Body/Armature/Skeleton3D/PhysicalBoneSimulator3D/Physical Bone mixamorig_RightHand"]
|
|
||||||
transform = Transform3D(0.01, 0, 0, 0, 0.00693402, 0.00720551, 0, -0.00720551, 0.00693402, -3.72529e-11, 0.0680192, -0.0706824)
|
|
||||||
shape = SubResource("CapsuleShape3D_1m8r5")
|
|
||||||
|
|
||||||
[node name="Physical Bone mixamorig_LeftUpLeg" type="PhysicalBone3D" parent="Body/Armature/Skeleton3D/PhysicalBoneSimulator3D"]
|
|
||||||
transform = Transform3D(-96.1774, -26.2683, 7.73901, -23.4203, 64.2554, -72.957, 14.1919, -71.9807, -67.9513, 5.83707, 19.601, -60.9754)
|
|
||||||
collision_layer = 4
|
|
||||||
collision_mask = 4
|
|
||||||
joint_type = 1
|
|
||||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.78612e-08, -7.74374e-09, 0.202997)
|
|
||||||
body_offset = Transform3D(100, -2.86102e-05, 9.53674e-06, 7.62939e-06, 7.62939e-06, -100, 3.71933e-05, 100, 3.8147e-06, -5.72205e-06, 20.2997, 0)
|
|
||||||
mass = 5.0
|
|
||||||
bone_name = "mixamorig_LeftUpLeg"
|
|
||||||
joint_constraints/bias = 0.3
|
|
||||||
joint_constraints/damping = 1.0
|
|
||||||
joint_constraints/impulse_clamp = 0.0
|
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Body/Armature/Skeleton3D/PhysicalBoneSimulator3D/Physical Bone mixamorig_LeftUpLeg"]
|
|
||||||
transform = Transform3D(0.01, 0, 0, 0, -4.37114e-10, 0.01, 0, -0.01, -4.37114e-10, 0, 0, 0)
|
|
||||||
shape = SubResource("CapsuleShape3D_3cygo")
|
|
||||||
|
|
||||||
[node name="Physical Bone mixamorig_LeftLeg" type="PhysicalBone3D" parent="Body/Armature/Skeleton3D/PhysicalBoneSimulator3D"]
|
|
||||||
transform = Transform3D(-97.5216, -11.6193, -18.8291, -22.0483, 58.1427, 78.3154, 1.84805, 80.5259, -59.2635, 8.22949, 17.9261, -34.7068)
|
|
||||||
collision_layer = 4
|
|
||||||
collision_mask = 4
|
|
||||||
joint_type = 1
|
|
||||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.03053e-09, -1.30455e-08, 0.210495)
|
|
||||||
body_offset = Transform3D(100, 4.76837e-06, 1.33514e-05, 5.72205e-06, 0, -100, -9.53674e-07, 100, 1.52588e-05, -1.90735e-06, 21.0495, -1.90735e-06)
|
|
||||||
mass = 5.0
|
|
||||||
bone_name = "mixamorig_LeftLeg"
|
|
||||||
joint_constraints/bias = 0.3
|
|
||||||
joint_constraints/damping = 1.0
|
|
||||||
joint_constraints/impulse_clamp = 0.0
|
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Body/Armature/Skeleton3D/PhysicalBoneSimulator3D/Physical Bone mixamorig_LeftLeg"]
|
|
||||||
transform = Transform3D(0.01, 0, 0, 0, -4.37114e-10, 0.01, 0, -0.01, -4.37114e-10, 0, 0, 0)
|
|
||||||
shape = SubResource("CapsuleShape3D_vwdij")
|
|
||||||
|
|
||||||
[node name="Physical Bone mixamorig_LeftFoot" type="PhysicalBone3D" parent="Body/Armature/Skeleton3D/PhysicalBoneSimulator3D"]
|
|
||||||
transform = Transform3D(-93.6712, -34.5296, 5.78095, -34.9451, 91.207, -21.4506, 2.13418, -22.1132, -97.501, 11.7385, 3.12728, -14.5678)
|
|
||||||
collision_layer = 4
|
|
||||||
collision_mask = 4
|
|
||||||
joint_type = 1
|
|
||||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.66258e-09, 5.6483e-08, 0.078608)
|
|
||||||
body_offset = Transform3D(100, 5.72205e-06, -2.38419e-06, -2.86102e-06, -1.52588e-05, -100, -5.72205e-06, 100, -3.24249e-05, 9.53674e-07, 7.8608, -3.09944e-06)
|
|
||||||
bone_name = "mixamorig_LeftFoot"
|
|
||||||
joint_constraints/bias = 0.3
|
|
||||||
joint_constraints/damping = 1.0
|
|
||||||
joint_constraints/impulse_clamp = 0.0
|
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Body/Armature/Skeleton3D/PhysicalBoneSimulator3D/Physical Bone mixamorig_LeftFoot"]
|
|
||||||
transform = Transform3D(0.01, 0, 0, 0, -4.37114e-10, 0.01, 0, -0.01, -4.37114e-10, 0, 0, 0)
|
|
||||||
shape = SubResource("CapsuleShape3D_qyg6j")
|
|
||||||
|
|
||||||
[node name="Physical Bone mixamorig_RightUpLeg" type="PhysicalBone3D" parent="Body/Armature/Skeleton3D/PhysicalBoneSimulator3D"]
|
|
||||||
transform = Transform3D(-83.6898, -51.5224, 18.4786, -50.5592, 59.8312, -62.161, 20.9708, -61.3651, -76.122, -11.4062, 7.37456, -61.646)
|
|
||||||
collision_layer = 4
|
|
||||||
collision_mask = 4
|
|
||||||
joint_type = 1
|
|
||||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.31228e-08, 7.74372e-09, 0.202997)
|
|
||||||
body_offset = Transform3D(100, -1.52588e-05, 7.62939e-06, 5.72205e-06, -3.8147e-06, -100, 1.14441e-05, 100, -3.8147e-06, -2.86102e-06, 20.2997, 0)
|
|
||||||
mass = 5.0
|
|
||||||
bone_name = "mixamorig_RightUpLeg"
|
|
||||||
joint_constraints/bias = 0.3
|
|
||||||
joint_constraints/damping = 1.0
|
|
||||||
joint_constraints/impulse_clamp = 0.0
|
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Body/Armature/Skeleton3D/PhysicalBoneSimulator3D/Physical Bone mixamorig_RightUpLeg"]
|
|
||||||
transform = Transform3D(0.01, 0, 0, 0, -4.37114e-10, 0.01, 0, -0.01, -4.37114e-10, 0, 0, 0)
|
|
||||||
shape = SubResource("CapsuleShape3D_a81km")
|
|
||||||
|
|
||||||
[node name="Physical Bone mixamorig_RightLeg" type="PhysicalBone3D" parent="Body/Armature/Skeleton3D/PhysicalBoneSimulator3D"]
|
|
||||||
transform = Transform3D(-91.8175, -23.5086, -31.8888, -36.0103, 83.0805, 42.437, 16.517, 50.4478, -84.7479, -8.44487, 11.0604, -28.3544)
|
|
||||||
collision_layer = 4
|
|
||||||
collision_mask = 4
|
|
||||||
joint_type = 1
|
|
||||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.27453e-09, -2.4944e-07, 0.210495)
|
|
||||||
body_offset = Transform3D(100, -1.71661e-05, 1.33514e-05, -9.53674e-07, 4.19617e-05, -100, 1.90735e-05, 100, 6.86646e-05, -3.33786e-06, 21.0495, 1.04904e-05)
|
|
||||||
mass = 5.0
|
|
||||||
bone_name = "mixamorig_RightLeg"
|
|
||||||
joint_constraints/bias = 0.3
|
|
||||||
joint_constraints/damping = 1.0
|
|
||||||
joint_constraints/impulse_clamp = 0.0
|
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Body/Armature/Skeleton3D/PhysicalBoneSimulator3D/Physical Bone mixamorig_RightLeg"]
|
|
||||||
transform = Transform3D(0.01, 0, 0, 0, -4.37114e-10, 0.01, 0, -0.01, -4.37114e-10, 0, 0, 0)
|
|
||||||
shape = SubResource("CylinderShape3D_2binp")
|
|
||||||
|
|
||||||
[node name="Physical Bone mixamorig_RightFoot" type="PhysicalBone3D" parent="Body/Armature/Skeleton3D/PhysicalBoneSimulator3D"]
|
|
||||||
transform = Transform3D(-88.192, -17.3351, 43.8367, -46.8549, 42.4444, -77.4796, -5.17505, -88.8705, -45.5549, -5.17837, 8.21811, -6.93437)
|
|
||||||
collision_layer = 4
|
|
||||||
collision_mask = 4
|
|
||||||
joint_type = 1
|
|
||||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.24153e-08, -2.70381e-09, 0.078608)
|
|
||||||
body_offset = Transform3D(100, 1.14441e-05, -7.62939e-06, -7.62939e-06, -1.90735e-05, -100, 0, 100, -5.72205e-05, 5.84126e-06, 7.8608, 4.76837e-06)
|
|
||||||
bone_name = "mixamorig_RightFoot"
|
|
||||||
joint_constraints/bias = 0.3
|
|
||||||
joint_constraints/damping = 1.0
|
|
||||||
joint_constraints/impulse_clamp = 0.0
|
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Body/Armature/Skeleton3D/PhysicalBoneSimulator3D/Physical Bone mixamorig_RightFoot"]
|
|
||||||
transform = Transform3D(0.01, 1.50737e-10, 9.12129e-10, 0, 0.00258819, 0.00965926, -4.42378e-09, -0.00965926, 0.00258819, 6.02947e-10, 0.0103528, -0.038637)
|
|
||||||
shape = SubResource("CylinderShape3D_l2il6")
|
|
||||||
|
|
||||||
[node name="Collision" type="CollisionShape3D" parent="Body/Armature/Skeleton3D/PhysicalBoneSimulator3D"]
|
|
||||||
transform = Transform3D(9.83936, 0.264962, 1.76546, 0.249217, 9.58855, -2.82801, -1.76775, 2.82658, 9.42791, -12.7207, 21.3283, -142.579)
|
|
||||||
shape = SubResource("SphereShape3D_wnhib")
|
|
||||||
|
|
||||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="Body"]
|
|
||||||
libraries = {
|
libraries = {
|
||||||
"": SubResource("AnimationLibrary_dbxeu")
|
"": SubResource("AnimationLibrary_dbxeu")
|
||||||
}
|
}
|
||||||
|
|
||||||
[connection signal="body_part_hit" from="Body/Armature/Skeleton3D/BoneAttachment3D/HeadCollision" to="." method="_on_head_collision_body_part_hit"]
|
|
||||||
|
@ -1,17 +0,0 @@
|
|||||||
extends Area3D
|
|
||||||
|
|
||||||
@export var damage_multiplexer: float = 2.0
|
|
||||||
|
|
||||||
signal body_part_hit(damage: int)
|
|
||||||
# Called when the node enters the scene tree for the first time.
|
|
||||||
|
|
||||||
func _ready() -> void:
|
|
||||||
pass # Replace with function body.
|
|
||||||
|
|
||||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
||||||
func _process(delta: float) -> void:
|
|
||||||
pass
|
|
||||||
|
|
||||||
func hit(base_damage: int):
|
|
||||||
var final_damage = round(base_damage * damage_multiplexer)
|
|
||||||
emit_signal("body_part_hit", final_damage)
|
|
File diff suppressed because one or more lines are too long
@ -1,7 +0,0 @@
|
|||||||
[gd_scene format=3 uid="uid://dv23lxk4hr8io"]
|
|
||||||
|
|
||||||
[node name="FirstViewGenericGun" type="Node3D"]
|
|
||||||
|
|
||||||
[node name="TestCamera" type="Camera3D" parent="."]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.49377, 1.45724, 5.45639)
|
|
||||||
fov = 40.0
|
|
@ -1,165 +0,0 @@
|
|||||||
[gd_scene load_steps=11 format=3 uid="uid://b10lpwfjgxds4"]
|
|
||||||
|
|
||||||
[ext_resource type="Script" path="res://scripts/player/player_input_controller.gd" id="1_q75ai"]
|
|
||||||
[ext_resource type="Texture2D" uid="uid://oopj5mj1vdp0" path="res://assets/crosshairs/crosshair_default.png" id="2_lsd7c"]
|
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_jc50w"]
|
|
||||||
margin = 0.5
|
|
||||||
radius = 0.4
|
|
||||||
height = 1.6
|
|
||||||
|
|
||||||
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_tl74a"]
|
|
||||||
properties/0/path = NodePath(".:position")
|
|
||||||
properties/0/spawn = false
|
|
||||||
properties/0/replication_mode = 1
|
|
||||||
properties/1/path = NodePath(".:rotation")
|
|
||||||
properties/1/spawn = false
|
|
||||||
properties/1/replication_mode = 1
|
|
||||||
properties/2/path = NodePath(".:health")
|
|
||||||
properties/2/spawn = false
|
|
||||||
properties/2/replication_mode = 2
|
|
||||||
|
|
||||||
[sub_resource type="Animation" id="Animation_falg4"]
|
|
||||||
length = 0.001
|
|
||||||
tracks/0/type = "value"
|
|
||||||
tracks/0/imported = false
|
|
||||||
tracks/0/enabled = true
|
|
||||||
tracks/0/path = NodePath(".:position")
|
|
||||||
tracks/0/interp = 1
|
|
||||||
tracks/0/loop_wrap = true
|
|
||||||
tracks/0/keys = {
|
|
||||||
"times": PackedFloat32Array(0.125),
|
|
||||||
"transitions": PackedFloat32Array(1),
|
|
||||||
"update": 0,
|
|
||||||
"values": [Vector3(0, 0, 0)]
|
|
||||||
}
|
|
||||||
|
|
||||||
[sub_resource type="Animation" id="Animation_mkk0p"]
|
|
||||||
resource_name = "move"
|
|
||||||
length = 0.5
|
|
||||||
loop_mode = 1
|
|
||||||
tracks/0/type = "value"
|
|
||||||
tracks/0/imported = false
|
|
||||||
tracks/0/enabled = true
|
|
||||||
tracks/0/path = NodePath(".:position")
|
|
||||||
tracks/0/interp = 1
|
|
||||||
tracks/0/loop_wrap = true
|
|
||||||
tracks/0/keys = {
|
|
||||||
"times": PackedFloat32Array(0, 0.125, 0.25, 0.375, 0.5),
|
|
||||||
"transitions": PackedFloat32Array(1, 2, 1, 2, 1),
|
|
||||||
"update": 0,
|
|
||||||
"values": [Vector3(0, 0, 0), Vector3(0.001, 0.001, -0.001), Vector3(0, 0, 0), Vector3(-0.001, 0.001, -0.001), Vector3(0, 0, 0)]
|
|
||||||
}
|
|
||||||
|
|
||||||
[sub_resource type="Animation" id="Animation_ah507"]
|
|
||||||
resource_name = "shooting"
|
|
||||||
length = 0.2
|
|
||||||
loop_mode = 1
|
|
||||||
step = 0.1
|
|
||||||
tracks/0/type = "value"
|
|
||||||
tracks/0/imported = false
|
|
||||||
tracks/0/enabled = true
|
|
||||||
tracks/0/path = NodePath(".:position")
|
|
||||||
tracks/0/interp = 1
|
|
||||||
tracks/0/loop_wrap = true
|
|
||||||
tracks/0/keys = {
|
|
||||||
"times": PackedFloat32Array(0, 0.1, 0.2),
|
|
||||||
"transitions": PackedFloat32Array(1, 0.233258, 8.57419),
|
|
||||||
"update": 0,
|
|
||||||
"values": [Vector3(0, 0, 0), Vector3(0, -0.01, -0.01), Vector3(0, 0, 0)]
|
|
||||||
}
|
|
||||||
|
|
||||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_u1b6p"]
|
|
||||||
_data = {
|
|
||||||
"RESET": SubResource("Animation_falg4"),
|
|
||||||
"move": SubResource("Animation_mkk0p"),
|
|
||||||
"shooting": SubResource("Animation_ah507")
|
|
||||||
}
|
|
||||||
|
|
||||||
[sub_resource type="LabelSettings" id="LabelSettings_toaij"]
|
|
||||||
font_size = 70
|
|
||||||
|
|
||||||
[sub_resource type="LabelSettings" id="LabelSettings_1j1uq"]
|
|
||||||
font_size = 100
|
|
||||||
font_color = Color(0.756874, 0, 0.223924, 1)
|
|
||||||
|
|
||||||
[node name="CharacterPlaceholder" type="CharacterBody3D"]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.799455, 0)
|
|
||||||
collision_layer = 9
|
|
||||||
collision_mask = 9
|
|
||||||
script = ExtResource("1_q75ai")
|
|
||||||
|
|
||||||
[node name="Collision" type="CollisionShape3D" parent="."]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0150437, 0)
|
|
||||||
shape = SubResource("CapsuleShape3D_jc50w")
|
|
||||||
|
|
||||||
[node name="PlayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
|
||||||
replication_config = SubResource("SceneReplicationConfig_tl74a")
|
|
||||||
|
|
||||||
[node name="FirstPersonCameraMount" type="Node3D" parent="."]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.609154, -0.209324)
|
|
||||||
|
|
||||||
[node name="Camera" type="Camera3D" parent="FirstPersonCameraMount"]
|
|
||||||
fov = 40.0
|
|
||||||
|
|
||||||
[node name="BulletStartingPoint" type="Node3D" parent="FirstPersonCameraMount"]
|
|
||||||
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, -0.42185)
|
|
||||||
|
|
||||||
[node name="AimRay" type="RayCast3D" parent="FirstPersonCameraMount/BulletStartingPoint"]
|
|
||||||
target_position = Vector3(0, 0, 1000)
|
|
||||||
hit_from_inside = true
|
|
||||||
collide_with_areas = true
|
|
||||||
|
|
||||||
[node name="GunMount" type="Node3D" parent="FirstPersonCameraMount"]
|
|
||||||
|
|
||||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="FirstPersonCameraMount/GunMount"]
|
|
||||||
libraries = {
|
|
||||||
"": SubResource("AnimationLibrary_u1b6p")
|
|
||||||
}
|
|
||||||
|
|
||||||
[node name="HUD" type="Control" parent="FirstPersonCameraMount"]
|
|
||||||
layout_mode = 3
|
|
||||||
anchors_preset = 15
|
|
||||||
anchor_right = 1.0
|
|
||||||
anchor_bottom = 1.0
|
|
||||||
offset_left = 8.0
|
|
||||||
offset_right = 8.0
|
|
||||||
grow_horizontal = 2
|
|
||||||
grow_vertical = 2
|
|
||||||
mouse_filter = 2
|
|
||||||
|
|
||||||
[node name="TextureRect" type="TextureRect" parent="FirstPersonCameraMount/HUD"]
|
|
||||||
layout_mode = 1
|
|
||||||
anchors_preset = 8
|
|
||||||
anchor_left = 0.5
|
|
||||||
anchor_top = 0.5
|
|
||||||
anchor_right = 0.5
|
|
||||||
anchor_bottom = 0.5
|
|
||||||
offset_left = -36.0
|
|
||||||
offset_top = -36.0
|
|
||||||
offset_right = 36.0
|
|
||||||
offset_bottom = 36.0
|
|
||||||
grow_horizontal = 2
|
|
||||||
grow_vertical = 2
|
|
||||||
texture = ExtResource("2_lsd7c")
|
|
||||||
|
|
||||||
[node name="HealthIndicator" type="Label" parent="FirstPersonCameraMount/HUD"]
|
|
||||||
layout_mode = 1
|
|
||||||
anchors_preset = 2
|
|
||||||
anchor_top = 1.0
|
|
||||||
anchor_bottom = 1.0
|
|
||||||
offset_top = -23.0
|
|
||||||
offset_right = 40.0
|
|
||||||
grow_vertical = 0
|
|
||||||
text = "100"
|
|
||||||
label_settings = SubResource("LabelSettings_toaij")
|
|
||||||
|
|
||||||
[node name="FPS" type="Label" parent="FirstPersonCameraMount/HUD" groups=["player_placeholder"]]
|
|
||||||
layout_mode = 1
|
|
||||||
offset_right = 40.0
|
|
||||||
offset_bottom = 23.0
|
|
||||||
text = "0"
|
|
||||||
label_settings = SubResource("LabelSettings_1j1uq")
|
|
||||||
|
|
||||||
[node name="ModelMount" type="Node3D" parent="."]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.790262, 0)
|
|
@ -1049,7 +1049,7 @@ bones/24/name = "mixamorig_LeftHandRing2"
|
|||||||
bones/24/parent = 23
|
bones/24/parent = 23
|
||||||
bones/24/rest = Transform3D(1, 1.61871e-05, -9.45085e-08, -1.61871e-05, 1, 3.29224e-06, 9.45618e-08, -3.29224e-06, 1, 6.3543e-07, 3.60118, -1.47875e-05)
|
bones/24/rest = Transform3D(1, 1.61871e-05, -9.45085e-08, -1.61871e-05, 1, 3.29224e-06, 9.45618e-08, -3.29224e-06, 1, 6.3543e-07, 3.60118, -1.47875e-05)
|
||||||
bones/24/enabled = true
|
bones/24/enabled = true
|
||||||
bones/24/position = Vector3(-3.30613e-06, 3.60119, 1.50864e-07)
|
bones/24/position = Vector3(-3.30613e-06, 3.60119, 1.50863e-07)
|
||||||
bones/24/rotation = Quaternion(0.563924, -3.30111e-07, -0.0577891, 0.823803)
|
bones/24/rotation = Quaternion(0.563924, -3.30111e-07, -0.0577891, 0.823803)
|
||||||
bones/24/scale = Vector3(1, 1, 1)
|
bones/24/scale = Vector3(1, 1, 1)
|
||||||
bones/25/name = "mixamorig_LeftHandRing3"
|
bones/25/name = "mixamorig_LeftHandRing3"
|
||||||
@ -1078,7 +1078,7 @@ bones/28/parent = 27
|
|||||||
bones/28/rest = Transform3D(1, 0.000736602, -7.57697e-07, -0.000736602, 1, 9.24707e-06, 7.64508e-07, -9.24651e-06, 1, 1.0844e-06, 4.13666, 1.41886e-05)
|
bones/28/rest = Transform3D(1, 0.000736602, -7.57697e-07, -0.000736602, 1, 9.24707e-06, 7.64508e-07, -9.24651e-06, 1, 1.0844e-06, 4.13666, 1.41886e-05)
|
||||||
bones/28/enabled = true
|
bones/28/enabled = true
|
||||||
bones/28/position = Vector3(-9.08385e-06, 4.13665, 5.47372e-06)
|
bones/28/position = Vector3(-9.08385e-06, 4.13665, 5.47372e-06)
|
||||||
bones/28/rotation = Quaternion(0.433129, -6.53827e-07, -0.0443853, 0.900239)
|
bones/28/rotation = Quaternion(0.433129, -6.53828e-07, -0.0443853, 0.900239)
|
||||||
bones/28/scale = Vector3(1, 1, 1)
|
bones/28/scale = Vector3(1, 1, 1)
|
||||||
bones/29/name = "mixamorig_LeftHandPinky3"
|
bones/29/name = "mixamorig_LeftHandPinky3"
|
||||||
bones/29/parent = 28
|
bones/29/parent = 28
|
||||||
@ -1127,7 +1127,7 @@ bones/35/parent = 34
|
|||||||
bones/35/rest = Transform3D(0.894428, 0.447212, -8.12113e-07, -0.387297, 0.774597, -0.500001, -0.223606, 0.447215, 0.866025, 3.00297, 3.7888, 2.16716)
|
bones/35/rest = Transform3D(0.894428, 0.447212, -8.12113e-07, -0.387297, 0.774597, -0.500001, -0.223606, 0.447215, 0.866025, 3.00297, 3.7888, 2.16716)
|
||||||
bones/35/enabled = true
|
bones/35/enabled = true
|
||||||
bones/35/position = Vector3(3.00297, 3.7888, 2.16716)
|
bones/35/position = Vector3(3.00297, 3.7888, 2.16716)
|
||||||
bones/35/rotation = Quaternion(0.227577, -0.0598799, -0.162411, 0.958251)
|
bones/35/rotation = Quaternion(0.227577, -0.0598799, -0.162411, 0.958252)
|
||||||
bones/35/scale = Vector3(1, 1, 1)
|
bones/35/scale = Vector3(1, 1, 1)
|
||||||
bones/36/name = "mixamorig_RightHandThumb2"
|
bones/36/name = "mixamorig_RightHandThumb2"
|
||||||
bones/36/parent = 35
|
bones/36/parent = 35
|
||||||
@ -1211,14 +1211,14 @@ bones/47/parent = 34
|
|||||||
bones/47/rest = Transform3D(1, 9.66599e-06, -1.40744e-07, -9.66599e-06, 1, -2.81994e-06, 1.40717e-07, 2.81994e-06, 1, -2.21663, 12.147, -0.00999829)
|
bones/47/rest = Transform3D(1, 9.66599e-06, -1.40744e-07, -9.66599e-06, 1, -2.81994e-06, 1.40717e-07, 2.81994e-06, 1, -2.21663, 12.147, -0.00999829)
|
||||||
bones/47/enabled = true
|
bones/47/enabled = true
|
||||||
bones/47/position = Vector3(-2.21664, 12.147, -0.00998812)
|
bones/47/position = Vector3(-2.21664, 12.147, -0.00998812)
|
||||||
bones/47/rotation = Quaternion(0.0911117, 0.11369, 0.100504, 0.984212)
|
bones/47/rotation = Quaternion(0.0911117, 0.11369, 0.100504, 0.984211)
|
||||||
bones/47/scale = Vector3(1, 1, 1)
|
bones/47/scale = Vector3(1, 1, 1)
|
||||||
bones/48/name = "mixamorig_RightHandRing2"
|
bones/48/name = "mixamorig_RightHandRing2"
|
||||||
bones/48/parent = 47
|
bones/48/parent = 47
|
||||||
bones/48/rest = Transform3D(1, -1.60845e-05, 3.26056e-09, 1.60845e-05, 1, 1.32059e-06, -3.2818e-09, -1.32059e-06, 1, -2.50026e-07, 3.6012, -7.75122e-07)
|
bones/48/rest = Transform3D(1, -1.60845e-05, 3.26056e-09, 1.60845e-05, 1, 1.32059e-06, -3.2818e-09, -1.32059e-06, 1, -2.50026e-07, 3.6012, -7.75122e-07)
|
||||||
bones/48/enabled = true
|
bones/48/enabled = true
|
||||||
bones/48/position = Vector3(-2.50026e-07, 3.6012, -7.75122e-07)
|
bones/48/position = Vector3(-2.50026e-07, 3.6012, -7.75122e-07)
|
||||||
bones/48/rotation = Quaternion(0.836665, 8.70474e-07, 0.068157, 0.543457)
|
bones/48/rotation = Quaternion(0.836665, 8.70473e-07, 0.068157, 0.543457)
|
||||||
bones/48/scale = Vector3(1, 1, 1)
|
bones/48/scale = Vector3(1, 1, 1)
|
||||||
bones/49/name = "mixamorig_RightHandRing3"
|
bones/49/name = "mixamorig_RightHandRing3"
|
||||||
bones/49/parent = 48
|
bones/49/parent = 48
|
||||||
@ -1302,14 +1302,14 @@ bones/60/parent = 0
|
|||||||
bones/60/rest = Transform3D(-0.999981, -0.00611455, -7.52684e-05, 0.00611501, -0.999901, -0.0126672, 2.1931e-06, -0.0126674, 0.99992, -9.12503, -6.6556, -0.0553527)
|
bones/60/rest = Transform3D(-0.999981, -0.00611455, -7.52684e-05, 0.00611501, -0.999901, -0.0126672, 2.1931e-06, -0.0126674, 0.99992, -9.12503, -6.6556, -0.0553527)
|
||||||
bones/60/enabled = true
|
bones/60/enabled = true
|
||||||
bones/60/position = Vector3(-9.12503, -6.6556, -0.0553527)
|
bones/60/position = Vector3(-9.12503, -6.6556, -0.0553527)
|
||||||
bones/60/rotation = Quaternion(-0.0339455, 0.334676, 0.92684, -0.166754)
|
bones/60/rotation = Quaternion(-0.0339456, 0.334676, 0.92684, -0.166754)
|
||||||
bones/60/scale = Vector3(1, 1, 1)
|
bones/60/scale = Vector3(1, 1, 1)
|
||||||
bones/61/name = "mixamorig_RightLeg"
|
bones/61/name = "mixamorig_RightLeg"
|
||||||
bones/61/parent = 60
|
bones/61/parent = 60
|
||||||
bones/61/rest = Transform3D(0.99993, -0.0118315, -0.000580536, 0.0118448, 0.999271, 0.0362854, 0.000150802, -0.0362897, 0.999341, 3.28565e-07, 40.5995, 1.49012e-08)
|
bones/61/rest = Transform3D(0.99993, -0.0118315, -0.000580536, 0.0118448, 0.999271, 0.0362854, 0.000150802, -0.0362897, 0.999341, 3.28565e-07, 40.5995, 1.49012e-08)
|
||||||
bones/61/enabled = true
|
bones/61/enabled = true
|
||||||
bones/61/position = Vector3(3.28565e-07, 40.5995, 1.49012e-08)
|
bones/61/position = Vector3(3.28565e-07, 40.5995, 1.49012e-08)
|
||||||
bones/61/rotation = Quaternion(-0.581827, -0.0846291, -0.0166473, 0.808726)
|
bones/61/rotation = Quaternion(-0.581827, -0.0846291, -0.0166473, 0.808727)
|
||||||
bones/61/scale = Vector3(1, 1, 1)
|
bones/61/scale = Vector3(1, 1, 1)
|
||||||
bones/62/name = "mixamorig_RightFoot"
|
bones/62/name = "mixamorig_RightFoot"
|
||||||
bones/62/parent = 61
|
bones/62/parent = 61
|
||||||
|
File diff suppressed because one or more lines are too long
@ -1,22 +0,0 @@
|
|||||||
extends Node
|
|
||||||
|
|
||||||
# This script shoud be able to find the player
|
|
||||||
|
|
||||||
var players: Dictionary = {}
|
|
||||||
|
|
||||||
func spawn_a_bullet():
|
|
||||||
# -- Get
|
|
||||||
pass
|
|
||||||
|
|
||||||
# Called when the node enters the scene tree for the first time.
|
|
||||||
func _ready() -> void:
|
|
||||||
var world: MapController = find_parent("Map")
|
|
||||||
# Get all the players on the server and add
|
|
||||||
# corresponding nodes to them
|
|
||||||
|
|
||||||
pass # Replace with function body.
|
|
||||||
|
|
||||||
|
|
||||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
||||||
func _process(delta: float) -> void:
|
|
||||||
pass
|
|
@ -1,8 +0,0 @@
|
|||||||
[gd_scene format=3 uid="uid://sh5diukewgs5"]
|
|
||||||
|
|
||||||
[node name="BulletSpawner" type="Node3D"]
|
|
||||||
|
|
||||||
[node name="MultiplayerSpawner" type="MultiplayerSpawner" parent="."]
|
|
||||||
spawn_path = NodePath("../Node3D")
|
|
||||||
|
|
||||||
[node name="Node3D" type="Node3D" parent="."]
|
|
@ -1,84 +0,0 @@
|
|||||||
class_name MapController extends Node
|
|
||||||
@export_category("MapController")
|
|
||||||
|
|
||||||
const PLAYER_SPAWNER: String = "res://scenes/maps/base/player_spawner/player_spawner.tscn"
|
|
||||||
const OBJECT_SPAWNER: String = "res://scenes/maps/base/object_spawner/object_spawner.tscn"
|
|
||||||
|
|
||||||
var player_spawner: PlayerSpawnerController
|
|
||||||
var object_spawner: Node3D
|
|
||||||
@onready var spawn_locations: SpawnController = $SpawnLocations
|
|
||||||
|
|
||||||
func _on_player_connected(id):
|
|
||||||
if multiplayer.is_server():
|
|
||||||
GameServerManager.load_map.rpc_id(id, GameServerManager.current_map)
|
|
||||||
# add the player to the
|
|
||||||
|
|
||||||
# Called when the node enters the scene tree for the first time.
|
|
||||||
func _ready() -> void:
|
|
||||||
# add player spawner
|
|
||||||
var err: Error = OK
|
|
||||||
|
|
||||||
err = _add_player_spawner()
|
|
||||||
if err != OK:
|
|
||||||
print("Couldn't load player spawner")
|
|
||||||
|
|
||||||
err = _add_object_spawner()
|
|
||||||
if err != OK:
|
|
||||||
print("Couldn't load object spawner")
|
|
||||||
# add objects spawner
|
|
||||||
if multiplayer.is_server():
|
|
||||||
_spawn_player(1)
|
|
||||||
else:
|
|
||||||
_request_spawn.rpc_id(1, multiplayer.get_unique_id())
|
|
||||||
pass # Replace with function body.
|
|
||||||
|
|
||||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
||||||
func _process(delta: float) -> void:
|
|
||||||
pass
|
|
||||||
|
|
||||||
@rpc("call_local", "reliable", "any_peer")
|
|
||||||
func _request_spawn(id: int):
|
|
||||||
_spawn_player(id)
|
|
||||||
|
|
||||||
func _spawn_player(id: int):
|
|
||||||
var char : Node3D = null
|
|
||||||
player_spawner.spawn_players(spawn_locations, id)
|
|
||||||
|
|
||||||
func _add_player_spawner() -> Error :
|
|
||||||
if not ResourceLoader.exists(PLAYER_SPAWNER):
|
|
||||||
return ERR_DOES_NOT_EXIST
|
|
||||||
var scene: PackedScene = ResourceLoader.load(PLAYER_SPAWNER)
|
|
||||||
if not scene.can_instantiate():
|
|
||||||
return ERR_CANT_OPEN
|
|
||||||
|
|
||||||
var node: Node3D = scene.instantiate()
|
|
||||||
add_child(node)
|
|
||||||
player_spawner = node
|
|
||||||
return OK
|
|
||||||
|
|
||||||
func _add_object_spawner() -> Error :
|
|
||||||
if not ResourceLoader.exists(OBJECT_SPAWNER):
|
|
||||||
return ERR_DOES_NOT_EXIST
|
|
||||||
var scene: PackedScene = ResourceLoader.load(OBJECT_SPAWNER)
|
|
||||||
if not scene.can_instantiate():
|
|
||||||
return ERR_CANT_OPEN
|
|
||||||
|
|
||||||
var node: Node3D = scene.instantiate()
|
|
||||||
add_child(node)
|
|
||||||
object_spawner = node
|
|
||||||
return OK
|
|
||||||
|
|
||||||
var bullet_amount: int = 0
|
|
||||||
func spawn_bullet(starting_point: Node3D, speed: int, damage: int):
|
|
||||||
var node: Node3D = ResourceLoader.load("res://scenes/weapon/bullet.tscn").instantiate()
|
|
||||||
node.position = starting_point.global_position
|
|
||||||
node.transform.basis = starting_point.global_transform.basis
|
|
||||||
node.name = str(bullet_amount)
|
|
||||||
node.speed = speed
|
|
||||||
node.damage = damage
|
|
||||||
bullet_amount += 1
|
|
||||||
var spawner: MultiplayerSpawner = object_spawner.find_child("MultiplayerSpawner")
|
|
||||||
var root_node: Node3D = object_spawner.find_child("Objects")
|
|
||||||
|
|
||||||
spawner.spawn(node)
|
|
||||||
root_node.add_child(node)
|
|
@ -1,9 +0,0 @@
|
|||||||
[gd_scene format=3 uid="uid://b0k17hibnhnv4"]
|
|
||||||
|
|
||||||
[node name="ObjectSpawner" type="Node3D"]
|
|
||||||
|
|
||||||
[node name="MultiplayerSpawner" type="MultiplayerSpawner" parent="."]
|
|
||||||
spawn_path = NodePath("../Objects")
|
|
||||||
spawn_limit = 10000
|
|
||||||
|
|
||||||
[node name="Objects" type="Node3D" parent="."]
|
|
@ -1,33 +0,0 @@
|
|||||||
class_name PlayerSpawnerController extends Node3D
|
|
||||||
|
|
||||||
|
|
||||||
# Called when the node enters the scene tree for the first time.
|
|
||||||
func _ready() -> void:
|
|
||||||
pass # Replace with function body.
|
|
||||||
|
|
||||||
|
|
||||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
||||||
func _process(delta: float) -> void:
|
|
||||||
pass
|
|
||||||
|
|
||||||
func _get_spawner() -> MultiplayerSpawner:
|
|
||||||
return $MultiplayerSpawner
|
|
||||||
|
|
||||||
func _get_root() -> Node3D:
|
|
||||||
return $Players
|
|
||||||
|
|
||||||
# -- Spawn a player node and sync it across all peers
|
|
||||||
func spawn_players(spawn_location: SpawnController, id: int) -> Error:
|
|
||||||
if multiplayer.is_server():
|
|
||||||
var char : Node3D = null
|
|
||||||
var player_data: PlayerState = GameServerManager.players[id]
|
|
||||||
char = ResourceLoader.load("res://scenes/characters/placeholder.tscn").instantiate()
|
|
||||||
char.name = "PlayerPlaceholder_" + str(player_data.id)
|
|
||||||
print(player_data)
|
|
||||||
var position = spawn_location.get_spawner(SpawnController.Sides.BLUE)
|
|
||||||
char.global_position = position
|
|
||||||
char.global_position = position
|
|
||||||
#_get_spawner().spawn(char)
|
|
||||||
_get_root().add_child(char)
|
|
||||||
return OK
|
|
||||||
return ERR_UNAUTHORIZED
|
|
@ -1,13 +0,0 @@
|
|||||||
[gd_scene load_steps=2 format=3 uid="uid://xh710fr73bid"]
|
|
||||||
|
|
||||||
[ext_resource type="Script" path="res://scenes/maps/base/player_spawner/player_spawner.gd" id="1_2hsyd"]
|
|
||||||
|
|
||||||
[node name="PlayerSpawner" type="Node3D"]
|
|
||||||
script = ExtResource("1_2hsyd")
|
|
||||||
|
|
||||||
[node name="MultiplayerSpawner" type="MultiplayerSpawner" parent="."]
|
|
||||||
_spawnable_scenes = PackedStringArray("res://scenes/characters/placeholder.tscn")
|
|
||||||
spawn_path = NodePath("../Players")
|
|
||||||
spawn_limit = 10
|
|
||||||
|
|
||||||
[node name="Players" type="Node3D" parent="."]
|
|
@ -1,11 +0,0 @@
|
|||||||
extends Node3D
|
|
||||||
|
|
||||||
var busy: bool = false
|
|
||||||
|
|
||||||
# Called when the node enters the scene tree for the first time.
|
|
||||||
func _ready() -> void:
|
|
||||||
pass # Replace with function body.
|
|
||||||
|
|
||||||
func choose_spawn_location() -> Vector3:
|
|
||||||
busy = true
|
|
||||||
return global_position
|
|
@ -1,52 +0,0 @@
|
|||||||
class_name SpawnController extends Node3D
|
|
||||||
|
|
||||||
@export_category("SpawnController")
|
|
||||||
|
|
||||||
@onready var blue_spawners: Node3D = $Blue
|
|
||||||
@onready var red_spawners: Node3D = $Red
|
|
||||||
|
|
||||||
const SINGLE_SPAWN_CONTROLLER_PATH = "res://scenes/maps/base/single_spawn_controller.gd"
|
|
||||||
enum Sides {BLUE, RED, UNDEFINED}
|
|
||||||
|
|
||||||
@export var side: Sides = Sides.UNDEFINED
|
|
||||||
|
|
||||||
# Called when the node enters the scene tree for the first time.
|
|
||||||
func _ready() -> void:
|
|
||||||
var single_spawn_controller: GDScript = ResourceLoader.load(SINGLE_SPAWN_CONTROLLER_PATH)
|
|
||||||
for spawn: Node3D in blue_spawners.get_children():
|
|
||||||
spawn.set_script(single_spawn_controller)
|
|
||||||
for spawn: Node3D in red_spawners.get_children():
|
|
||||||
spawn.set_script(single_spawn_controller)
|
|
||||||
pass # Replace with function body.
|
|
||||||
|
|
||||||
|
|
||||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
||||||
func _process(delta: float) -> void:
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
func _get_available_spawn(spawn_set: Node3D) -> Node3D:
|
|
||||||
if multiplayer.is_server():
|
|
||||||
var spawns: Array[Node3D] = []
|
|
||||||
for spawn: Node3D in spawn_set.get_children():
|
|
||||||
if not spawn.busy:
|
|
||||||
spawns.push_back(spawn)
|
|
||||||
print(spawns.size())
|
|
||||||
var random_index: int = randi_range(0, spawns.size() - 1)
|
|
||||||
print(random_index)
|
|
||||||
return spawns[random_index]
|
|
||||||
return null
|
|
||||||
|
|
||||||
|
|
||||||
func get_spawner(team: Sides) -> Vector3:
|
|
||||||
match team:
|
|
||||||
Sides.BLUE:
|
|
||||||
var spawn := _get_available_spawn(blue_spawners)
|
|
||||||
return spawn.choose_spawn_location()
|
|
||||||
Sides.RED:
|
|
||||||
print("red")
|
|
||||||
return Vector3(0,0,0)
|
|
||||||
_:
|
|
||||||
print("хз")
|
|
||||||
return Vector3(0,0,0)
|
|
||||||
# Get all spawners for each team
|
|
39
scenes/maps/el_test.gd
Normal file
39
scenes/maps/el_test.gd
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
extends Node3D
|
||||||
|
|
||||||
|
var player_side: String
|
||||||
|
|
||||||
|
@onready var intro_camera = $Intro/CameraMount/IntroCamera
|
||||||
|
@onready var intro_view_port = $Intro/CameraMount/IntroCamera/SubViewportContainer/SubViewport
|
||||||
|
@onready var spawns = $Spawns
|
||||||
|
@onready var root = $'.'
|
||||||
|
@onready var players = $Players
|
||||||
|
# Called when the node enters the scene tree for the first time.
|
||||||
|
func _ready() -> void:
|
||||||
|
var char : Node3D = null
|
||||||
|
var red_spawn: Node3D = $Spawns/Blue/SpawnArea
|
||||||
|
var position := red_spawn.global_position
|
||||||
|
if multiplayer.is_server():
|
||||||
|
for i in GameServerManager.players:
|
||||||
|
char = ResourceLoader.load("res://scenes/utils/character.tscn").instantiate()
|
||||||
|
char.name = str(GameServerManager.players[i].name)
|
||||||
|
char.global_position = position
|
||||||
|
var my_random_number = RandomNumberGenerator.new().randf_range(-2.0, 2.0)
|
||||||
|
char.global_position = position
|
||||||
|
char.global_position.x += my_random_number
|
||||||
|
$MultiplayerSpawner.spawn(char)
|
||||||
|
players.add_child(char)
|
||||||
|
|
||||||
|
func spawn_player(id: int):
|
||||||
|
var red_spawn: Node3D = $Spawns/Blue/SpawnArea
|
||||||
|
var position := red_spawn.global_position
|
||||||
|
var char = ResourceLoader.load("res://scenes/utils/character.tscn").instantiate()
|
||||||
|
char.name = str(GameServerManager.players[id].name)
|
||||||
|
char.global_position = position
|
||||||
|
var my_random_number = RandomNumberGenerator.new().randf_range(-2.0, 2.0)
|
||||||
|
char.global_position = position
|
||||||
|
char.global_position.x += my_random_number
|
||||||
|
|
||||||
|
|
||||||
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
|
func _process(delta: float) -> void:
|
||||||
|
pass
|
33
scenes/maps/el_test.tscn
Normal file
33
scenes/maps/el_test.tscn
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
[gd_scene load_steps=3 format=3 uid="uid://c1v6kb00y77ij"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" path="res://scenes/maps/el_test.gd" id="1_d5e7i"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://clp0pm3nxovxc" path="res://assets/models/maps/el_test.glb" id="2_cnkr5"]
|
||||||
|
|
||||||
|
[node name="ElTest" type="Node3D"]
|
||||||
|
script = ExtResource("1_d5e7i")
|
||||||
|
|
||||||
|
[node name="Light" type="DirectionalLight3D" parent="."]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 0.508004, 0.861354, 0, -0.861354, 0.508004, 0, 2.97783, 2.62213)
|
||||||
|
|
||||||
|
[node name="Map" parent="." instance=ExtResource("2_cnkr5")]
|
||||||
|
|
||||||
|
[node name="Spawns" type="Node3D" parent="."]
|
||||||
|
|
||||||
|
[node name="Red" type="Node3D" parent="Spawns"]
|
||||||
|
|
||||||
|
[node name="SpawnArea" type="CSGBox3D" parent="Spawns/Red"]
|
||||||
|
transform = Transform3D(12.6683, 0, 0, 0, 1.0986, 0, 0, 0, 7.83287, -24.5455, 1.59351, 1.14462)
|
||||||
|
size = Vector3(0.100647, 1, 6.02112)
|
||||||
|
|
||||||
|
[node name="Blue" type="Node3D" parent="Spawns"]
|
||||||
|
|
||||||
|
[node name="SpawnArea" type="CSGBox3D" parent="Spawns/Blue"]
|
||||||
|
transform = Transform3D(5.70162, 0, 0, 0, 1, 0, 0, 0, 7.97817, 21.2099, 1.78438, 1.23551)
|
||||||
|
size = Vector3(0.484497, 1, 5.99213)
|
||||||
|
|
||||||
|
[node name="MultiplayerSpawner" type="MultiplayerSpawner" parent="."]
|
||||||
|
_spawnable_scenes = PackedStringArray("res://scenes/utils/character.tscn")
|
||||||
|
spawn_path = NodePath("../Players")
|
||||||
|
spawn_limit = 4
|
||||||
|
|
||||||
|
[node name="Players" type="Node3D" parent="."]
|
24
scenes/maps/intro_screen.gd
Normal file
24
scenes/maps/intro_screen.gd
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
extends Node3D
|
||||||
|
|
||||||
|
var target_node_name: String = "TargetNode" # Name of the Node3D to detect
|
||||||
|
|
||||||
|
@onready var raycast : RayCast3D = $CameraMount/Camera3D/RayCast3D
|
||||||
|
@onready var camera : Camera3D = $CameraMount/Camera3D
|
||||||
|
# Called when the node enters the scene tree for the first time.
|
||||||
|
func _ready() -> void:
|
||||||
|
pass # Replace with function body.
|
||||||
|
|
||||||
|
|
||||||
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
|
func _process(delta: float) -> void:
|
||||||
|
var blue := $ChooseTeam/Blue
|
||||||
|
var red := $ChooseTeam/Read
|
||||||
|
if
|
||||||
|
if raycast.is_colliding():
|
||||||
|
var collider = raycast.get_collider()
|
||||||
|
if collider and collider.name == target_node_name:
|
||||||
|
print("Mouse is pointing at:", collider.name)
|
||||||
|
else:
|
||||||
|
print("Mouse is not pointing at the target node.")
|
||||||
|
else:
|
||||||
|
print("Mouse is not pointing at anything.")
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
76
scenes/maps/test_map.tscn
Normal file
76
scenes/maps/test_map.tscn
Normal file
@ -0,0 +1,76 @@
|
|||||||
|
[gd_scene load_steps=14 format=3 uid="uid://hivk5ek6u887"]
|
||||||
|
|
||||||
|
[ext_resource type="Texture2D" uid="uid://c5uytbu1wc1bq" path="res://addons/kenney_prototype_textures/orange/texture_09.png" id="1_llm1c"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://e4nd8b6f0tw7" path="res://addons/kenney_prototype_textures/dark/texture_04.png" id="2_k2arh"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://1j5ajc26w5xk" path="res://scenes/utils/character_bak.tscn" id="3_6anfg"]
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_bcdcw"]
|
||||||
|
albedo_texture = ExtResource("1_lae2b")
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_p4psn"]
|
||||||
|
albedo_texture = ExtResource("2_7newm")
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_0jiki"]
|
||||||
|
albedo_texture = ExtResource("2_7newm")
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_1pwnn"]
|
||||||
|
albedo_texture = ExtResource("2_7newm")
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_1yo6k"]
|
||||||
|
albedo_texture = ExtResource("2_7newm")
|
||||||
|
|
||||||
|
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_3aaun"]
|
||||||
|
|
||||||
|
[sub_resource type="Sky" id="Sky_xco2g"]
|
||||||
|
sky_material = SubResource("ProceduralSkyMaterial_3aaun")
|
||||||
|
|
||||||
|
[sub_resource type="Environment" id="Environment_5t2t5"]
|
||||||
|
background_mode = 2
|
||||||
|
sky = SubResource("Sky_xco2g")
|
||||||
|
sdfgi_enabled = true
|
||||||
|
fog_light_energy = 0.52
|
||||||
|
fog_density = 0.1387
|
||||||
|
volumetric_fog_enabled = true
|
||||||
|
volumetric_fog_density = 0.0
|
||||||
|
|
||||||
|
[sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_32hnm"]
|
||||||
|
|
||||||
|
[node name="TestMap" type="Node3D"]
|
||||||
|
|
||||||
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 50, 0)
|
||||||
|
|
||||||
|
[node name="World" type="Node3D" parent="."]
|
||||||
|
|
||||||
|
[node name="Base" type="Node3D" parent="World"]
|
||||||
|
|
||||||
|
[node name="Floor" type="CSGBox3D" parent="World/Base"]
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(100, 1, 100)
|
||||||
|
|
||||||
|
[node name="Wall_1" type="CSGBox3D" parent="World/Base"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 50, 0, 0)
|
||||||
|
material_override = SubResource("StandardMaterial3D_p4psn")
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(1, 20, 100)
|
||||||
|
|
||||||
|
[node name="Wall_2" type="CSGBox3D" parent="World/Base"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -50, 0, 0)
|
||||||
|
material_override = SubResource("StandardMaterial3D_0jiki")
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(1, 20, 100)
|
||||||
|
|
||||||
|
[node name="Wall_3" type="CSGBox3D" parent="World/Base"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 50)
|
||||||
|
material_override = SubResource("StandardMaterial3D_1pwnn")
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(100, 20, 1)
|
||||||
|
|
||||||
|
[node name="Wall_4" type="CSGBox3D" parent="World/Base"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -50)
|
||||||
|
material_override = SubResource("StandardMaterial3D_1yo6k")
|
||||||
|
use_collision = true
|
||||||
|
size = Vector3(100, 20, 1)
|
||||||
|
|
||||||
|
[node name="Character" parent="World" instance=ExtResource("3_6anfg")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 14.6432, 0)
|
@ -1,14 +0,0 @@
|
|||||||
class_name PlayerState extends Object
|
|
||||||
@export_category("PlayerState")
|
|
||||||
|
|
||||||
# -- Player's metadata
|
|
||||||
var name: String
|
|
||||||
var id: int
|
|
||||||
|
|
||||||
# -- Player's in-game data
|
|
||||||
var health: int
|
|
||||||
var current_weapon_slot: int
|
|
||||||
|
|
||||||
func init(id: int, name: String):
|
|
||||||
id = id
|
|
||||||
name = name
|
|
@ -35,21 +35,6 @@ offset_right = 224.0
|
|||||||
offset_bottom = 220.0
|
offset_bottom = 220.0
|
||||||
text = "Join"
|
text = "Join"
|
||||||
|
|
||||||
[node name="TextEdit" type="TextEdit" parent="."]
|
|
||||||
layout_mode = 0
|
|
||||||
offset_left = 238.0
|
|
||||||
offset_top = 151.0
|
|
||||||
offset_right = 497.0
|
|
||||||
offset_bottom = 220.0
|
|
||||||
text = "192.168.0.28"
|
|
||||||
|
|
||||||
[node name="Maps" type="ItemList" parent="."]
|
|
||||||
layout_mode = 0
|
|
||||||
offset_left = 995.0
|
|
||||||
offset_top = 111.0
|
|
||||||
offset_right = 1595.0
|
|
||||||
offset_bottom = 624.0
|
|
||||||
|
|
||||||
[connection signal="player_connected" from="." to="." method="_on_player_connected"]
|
[connection signal="player_connected" from="." to="." method="_on_player_connected"]
|
||||||
[connection signal="player_disconnected" from="." to="." method="_on_player_disconnected"]
|
[connection signal="player_disconnected" from="." to="." method="_on_player_disconnected"]
|
||||||
[connection signal="server_disconnected" from="." to="." method="_on_server_disconnected"]
|
[connection signal="server_disconnected" from="." to="." method="_on_server_disconnected"]
|
||||||
|
@ -11,14 +11,11 @@ height = 1.8
|
|||||||
|
|
||||||
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_csl3n"]
|
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_csl3n"]
|
||||||
properties/0/path = NodePath(".:position")
|
properties/0/path = NodePath(".:position")
|
||||||
properties/0/spawn = false
|
properties/0/spawn = true
|
||||||
properties/0/replication_mode = 1
|
properties/0/replication_mode = 1
|
||||||
properties/1/path = NodePath("CharacterBody3D:position")
|
properties/1/path = NodePath("CharacterBody3D:position")
|
||||||
properties/1/spawn = true
|
properties/1/spawn = true
|
||||||
properties/1/replication_mode = 1
|
properties/1/replication_mode = 1
|
||||||
properties/2/path = NodePath("CharacterBody3D:rotation")
|
|
||||||
properties/2/spawn = true
|
|
||||||
properties/2/replication_mode = 1
|
|
||||||
|
|
||||||
[node name="Character" type="Node3D"]
|
[node name="Character" type="Node3D"]
|
||||||
|
|
||||||
@ -34,12 +31,11 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.71312, 0)
|
|||||||
radius = 0.001
|
radius = 0.001
|
||||||
|
|
||||||
[node name="ViewModelCamera" parent="CharacterBody3D/UpperTorso" instance=ExtResource("4_al83x")]
|
[node name="ViewModelCamera" parent="CharacterBody3D/UpperTorso" instance=ExtResource("4_al83x")]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00122696, 0.093623, -0.213943)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00122696, 0.093623, -0.463804)
|
||||||
script = ExtResource("4_uwcjh")
|
script = ExtResource("4_uwcjh")
|
||||||
|
|
||||||
[node name="Pistol" parent="CharacterBody3D/UpperTorso/ViewModelCamera" instance=ExtResource("5_6k7rq")]
|
[node name="Pistol" parent="CharacterBody3D/UpperTorso/ViewModelCamera" instance=ExtResource("5_6k7rq")]
|
||||||
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -0.0287516, -0.136104, -0.276055)
|
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -0.0287516, -0.136104, -0.276055)
|
||||||
visible = false
|
|
||||||
script = null
|
script = null
|
||||||
|
|
||||||
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[gd_scene load_steps=2 format=3 uid="uid://bo8jemggniu3c"]
|
[gd_scene load_steps=2 format=3 uid="uid://bo8jemggniu3c"]
|
||||||
|
|
||||||
[ext_resource type="PackedScene" uid="uid://c1v6kb00y77ij" path="res://scenes/maps/maps/el_test.tscn" id="1_25xw6"]
|
[ext_resource type="PackedScene" uid="uid://c1v6kb00y77ij" path="res://scenes/maps/el_test.tscn" id="1_25xw6"]
|
||||||
|
|
||||||
[node name="ChooseTeam" type="Node3D"]
|
[node name="ChooseTeam" type="Node3D"]
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user