Compare commits
3 Commits
10f7ee46ae
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 81bf2c532a | |||
| e921609c47 | |||
| 59e32bcbad |
16
.gitignore
vendored
Normal file
16
.gitignore
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
# Godot 4+ specific ignores
|
||||
.godot/
|
||||
|
||||
# Godot-specific ignores
|
||||
.import/
|
||||
export.cfg
|
||||
export_presets.cfg
|
||||
|
||||
# Imported translations (automatically generated from CSV files)
|
||||
*.translation
|
||||
|
||||
# Mono-specific ignores
|
||||
.mono/
|
||||
data_*/
|
||||
mono_crash.*.json
|
||||
@@ -1,5 +1,6 @@
|
||||
[entity_test]
|
||||
model="models/Chainsaw.glb"
|
||||
type="pickup"
|
||||
scale=Vector3(1.5, 1.5, 1.5)
|
||||
has_collision=true
|
||||
has_trimesh_col=false
|
||||
|
||||
|
||||
8
init.cfg
Normal file
8
init.cfg
Normal file
@@ -0,0 +1,8 @@
|
||||
[MAPS]
|
||||
maps= ["maps/test_map.pck"]
|
||||
|
||||
[WEAPONS]
|
||||
weapons= ["models/Weapons.pck"]
|
||||
|
||||
[PLAYER]
|
||||
starting_weapons=["REVOLVER", "UZI", "not_valid", "will not load twice", "REVOLVER"] ; Names taken from weapons.cfg Section
|
||||
Binary file not shown.
20
weapons.cfg
20
weapons.cfg
@@ -1,7 +1,7 @@
|
||||
[REVOLVER]
|
||||
;Model data
|
||||
HAND_POS=Vector3(0.4,-0.45,-1.0) ;Initial Position of the weapon
|
||||
HAND_ROT=Vector3(0,3.14159265359,0) ;Initial Rotation of the weapon in Radians
|
||||
HAND_ROT=Vector3(0,3.14,0) ;Initial Rotation of the weapon in Radians
|
||||
MODEL="models/Revolver.glb" ;Model file
|
||||
|
||||
;Weapon data
|
||||
@@ -12,13 +12,15 @@ RPM=120 ;Fire rate
|
||||
FIREMODE=0 ;is firemode automatic 0 = false, 1 = true
|
||||
HITSCAN=true ;Hit registry mode 1 = Hitscan, 0 = Projectile
|
||||
RAY_LEN=1000 ;Hitscan ray length
|
||||
RECOIL=0.15
|
||||
RECOIL_DURATION=0.15
|
||||
|
||||
;Animation data
|
||||
MOMENTUM=Vector2(0.3, -0.25)
|
||||
ANGULAR_MOMENTUM=Vector3(-60, 7, 10)
|
||||
RECOIL_COOLDOWN=0.35
|
||||
RELOAD_MOMENTUM=Vector3(-5, -9, 7)
|
||||
RELOAD_ANGULAR_MOMENTUM=Vector3(10.472, -13.9626, -17.4533)
|
||||
RELOAD_ANGULAR_MOMENTUM=Vector3(10.5, -14.0, -17.5)
|
||||
RELOAD_TIME=0.35
|
||||
DRAW_POS=Vector3(0,-0.5,-0.3)
|
||||
DRAW_ROT=Vector3(1.3, 0, 0)
|
||||
@@ -26,7 +28,7 @@ DRAW_ROT=Vector3(1.3, 0, 0)
|
||||
[UZI]
|
||||
;Model data
|
||||
HAND_POS=Vector3(0.4,-0.45,-1.0)
|
||||
HAND_ROT=Vector3(0,3.14159265359,0)
|
||||
HAND_ROT=Vector3(0,3.14,0)
|
||||
MODEL="models/Uzi.glb"
|
||||
|
||||
;Weapon data
|
||||
@@ -37,13 +39,15 @@ RPM=600
|
||||
FIREMODE=1
|
||||
HITSCAN=true
|
||||
RAY_LEN=1000
|
||||
RECOIL=0.2
|
||||
RECOIL_DURATION=0.15
|
||||
|
||||
;Animation data
|
||||
MOMENTUM=Vector2(0.05, -0.15)
|
||||
ANGULAR_MOMENTUM=Vector3(-4, 1, 2)
|
||||
ANGULAR_MOMENTUM=Vector3(-4, 1.5, 3)
|
||||
RECOIL_COOLDOWN=0.35
|
||||
RELOAD_MOMENTUM=Vector3(-7, -9, 7)
|
||||
RELOAD_ANGULAR_MOMENTUM=Vector3(10.472, -13.9626, -17.4533)
|
||||
RELOAD_ANGULAR_MOMENTUM=Vector3(12, -14.0, -17.5)
|
||||
RELOAD_TIME=0.35
|
||||
DRAW_POS=Vector3(0,-0.5,-0.3)
|
||||
DRAW_ROT=Vector3(1.3, 0, 0)
|
||||
@@ -51,7 +55,7 @@ DRAW_ROT=Vector3(1.3, 0, 0)
|
||||
[CHAINSAW]
|
||||
;Model data
|
||||
HAND_POS=Vector3(0.4,-0.45,-1)
|
||||
HAND_ROT=Vector3(-15,0.261799,3.14159265359)
|
||||
HAND_ROT=Vector3(-15,0.3,3.14)
|
||||
MODEL="models/Chainsaw.glb"
|
||||
|
||||
;Weapon data
|
||||
@@ -66,9 +70,9 @@ RAY_LEN=2
|
||||
;Animation data
|
||||
MOMENTUM=Vector2(0.05, -0.05)
|
||||
ANGULAR_MOMENTUM=Vector3(15, 1, 2)
|
||||
RECOIL_COOLDOWN=0.35
|
||||
RECOIL_COOLDOWN=0.65
|
||||
RELOAD_MOMENTUM=Vector3(-7, -9, 7)
|
||||
RELOAD_ANGULAR_MOMENTUM=Vector3(10.472, -13.9626, -17.4533)
|
||||
RELOAD_ANGULAR_MOMENTUM=Vector3(10.5, -14.0, -17.5)
|
||||
RELOAD_TIME=0.35
|
||||
DRAW_POS=Vector3(0,-0.5,-0.3)
|
||||
DRAW_ROT=Vector3(1.3, 0, 0)
|
||||
|
||||
Reference in New Issue
Block a user