Merge branch 'master' of https://git.alanocull.com/triple-aaa-games/assets
This commit is contained in:
commit
ac0708b751
BIN
animations/infantry/Shelby/anims-shelby_infantry_001.blend
(Stored with Git LFS)
BIN
animations/infantry/Shelby/anims-shelby_infantry_001.blend
(Stored with Git LFS)
Binary file not shown.
BIN
animations/infantry/anims-alan.blend
(Stored with Git LFS)
BIN
animations/infantry/anims-alan.blend
(Stored with Git LFS)
Binary file not shown.
BIN
characters/infantry/EXPORT_MESHES.blend
(Stored with Git LFS)
Normal file
BIN
characters/infantry/EXPORT_MESHES.blend
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
characters/infantry/p10-rigging.blend
(Stored with Git LFS)
BIN
characters/infantry/p10-rigging.blend
(Stored with Git LFS)
Binary file not shown.
@ -223,3 +223,24 @@ drv_constraint_1D(ghl_constraint, 'slider1d_gun_handLIK', 0.06)
|
|||||||
### Set up smear effect drivers for axe
|
### Set up smear effect drivers for axe
|
||||||
#drv_blend_1D('Key', 'smear_down', 'slider1d_axe_smear', 0.03)
|
#drv_blend_1D('Key', 'smear_down', 'slider1d_axe_smear', 0.03)
|
||||||
#drv_blend_1D('Key', 'smear_up', 'slider1d_axe_smear', -0.03)
|
#drv_blend_1D('Key', 'smear_up', 'slider1d_axe_smear', -0.03)
|
||||||
|
|
||||||
|
|
||||||
|
# Enforce deformation bones for FBX export
|
||||||
|
def mfx(boneName: str): # Mark for export
|
||||||
|
rig.data.bones[boneName].use_deform = True
|
||||||
|
|
||||||
|
EXPORT_LIST = [
|
||||||
|
'DEF-spine.005', # Helmet
|
||||||
|
'camera_head',
|
||||||
|
'camera_base',
|
||||||
|
'grip_baton', # Baton
|
||||||
|
'jetpack_grip', # Jetpack
|
||||||
|
'grip_gun', # Gun
|
||||||
|
'gun_ammunition',
|
||||||
|
'gun_trigger',
|
||||||
|
'gun_muzzle',
|
||||||
|
]
|
||||||
|
|
||||||
|
if True:
|
||||||
|
for b in EXPORT_LIST:
|
||||||
|
mfx(b)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import bpy
|
import bpy
|
||||||
|
|
||||||
# Get export directory
|
# Get export directory
|
||||||
path: str = bpy.data.filepath
|
path: str = bpy.data.filepath.replace('\\Shelby', '').replace('\\Tommy', '')
|
||||||
pathPrefix = max(path.rfind('animations/'), path.rfind('animations\\'))
|
pathPrefix = max(path.rfind('animations/'), path.rfind('animations\\'))
|
||||||
pathStart = pathPrefix + len('animations/')
|
pathStart = pathPrefix + len('animations/')
|
||||||
pathEnd = max(path.rfind('/'), path.rfind('\\'))
|
pathEnd = max(path.rfind('/'), path.rfind('\\'))
|
||||||
|
BIN
props/Aerial Turret Drone/Drone.fbx
(Stored with Git LFS)
Normal file
BIN
props/Aerial Turret Drone/Drone.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user