Skip to content

Commit

Permalink
Pistobanane
Browse files Browse the repository at this point in the history
  • Loading branch information
Benualdo committed Oct 19, 2024
1 parent f8ccb6a commit 576c2b8
Show file tree
Hide file tree
Showing 9 changed files with 237 additions and 2 deletions.
59 changes: 59 additions & 0 deletions data/Materials/Weapons/PistoBanana.mat
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<Root>
<Object class="MaterialResourceData">
<Property type="Uint32" name="m_uid" flags="" value="2836478617"/>
<Property type="Uint32" name="m_originalUID" flags="" value="0"/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="" value=""/>
<Property type="Object" name="m_materialModelType">
<Object class="MaterialModelType">
<Property type="String" name="m_name" flags="NotVisible" value=""/>
<Property type="Uint32" name="m_uid" flags="" value="2316904621"/>
<Property type="Uint32" name="m_originalUID" flags="" value="0"/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="" value=""/>
<Property type="String" name="m_shader" value="Default"/>
</Object>
</Property>
<Property type="ObjectPtr" name="m_data" flags="Flatten">
<Object class="DefaultMaterialData">
<Property type="Uint32" name="m_uid" flags="" value="3122206917"/>
<Property type="Uint32" name="m_originalUID" flags="" value="0"/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="" value=""/>
<Property type="EnumU8" name="m_surfaceType" value="Opaque"/>
<Property type="EnumU8" name="m_cullMode" value="Back"/>
<Property type="EnumU32" name="m_UVSource" value="UV0"/>
<Property type="Float2" name="m_tiling" flags="HasRange" x="1" y="1"/>
<Property type="Resource" name="m_albedoMap" flags="Resource">
<Object class="TextureResource">
<Property type="String" name="m_name" flags="NotVisible" value=""/>
<Property type="Uint32" name="m_uid" flags="" value="1755923094"/>
<Property type="Uint32" name="m_originalUID" flags="" value="0"/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="" value=""/>
<Property type="String" name="m_resourcePath" flags="NotVisible" value="data/Textures/Weapons/PISToBanana_Alb.tga"/>
</Object>
</Property>
<Property type="Float4" name="m_albedoColor" flags="Color" x="1" y="1" z="1" w="1"/>
<Property type="Resource" name="m_normalMap" flags="Resource">
<Object class="TextureResource">
<Property type="String" name="m_name" flags="NotVisible" value=""/>
<Property type="Uint32" name="m_uid" flags="" value="78390209"/>
<Property type="Uint32" name="m_originalUID" flags="" value="0"/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="" value=""/>
<Property type="String" name="m_resourcePath" flags="NotVisible" value=""/>
</Object>
</Property>
<Property type="Float" name="m_normalStrength" flags="HasRange" value="1"/>
<Property type="Resource" name="m_pbrMap" flags="Resource">
<Object class="TextureResource">
<Property type="String" name="m_name" flags="NotVisible" value=""/>
<Property type="Uint32" name="m_uid" flags="" value="2477962816"/>
<Property type="Uint32" name="m_originalUID" flags="" value="0"/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="" value=""/>
<Property type="String" name="m_resourcePath" flags="NotVisible" value="data/Textures/Weapons/PISToBanana_PBR.tga"/>
</Object>
</Property>
<Property type="Float" name="m_occlusion" flags="HasRange" value="1"/>
<Property type="Float" name="m_roughness" flags="HasRange" value="0.25"/>
<Property type="Float" name="m_metalness" flags="HasRange" value="0"/>
</Object>
</Property>
</Object>
</Root>
Binary file added data/Meshes/Weapons/PistOBanana.fbx
Binary file not shown.
136 changes: 136 additions & 0 deletions data/Prefabs/PistoBanana.prefab
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
<Root>
<Object class="PrefabScene">
<Property type="String" name="m_name" flags="NotVisible" value="PistoBanana"/>
<Property type="Uint32" name="m_uid" flags="" value="909589254"/>
<Property type="Uint32" name="m_originalUID" flags="" value="0"/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="" value=""/>
<Property type="ObjectPtr" name="m_root" flags="NotVisible">
<Object class="GameObject">
<Property type="String" name="m_name" value="Root"/>
<Property type="Uint32" name="m_uid" flags="" value="3481969641"/>
<Property type="Uint32" name="m_originalUID" flags="" value="0"/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="" value="Opened"/>
<Property type="EnumFlagsU32" name="m_flags" flags="Bitfield" value="Enabled"/>
<Property type="Float4" name="m_color" flags="Color" x="1" y="1" z="1" w="1"/>
<Property type="Float4x4" name="m_local" flags="Flatten" Ix="1" Iy="0" Iz="0" Iw="0" Jx="0" Jy="1" Jz="0" Jw="0" Kx="0" Ky="0" Kz="1" Kw="0" Tx="0" Ty="0" Tz="0" Tw="1"/>
<Property type="EnumFlagsU64" name="m_tags" flags="Bitfield" value=""/>
<Property type="ObjectPtrVector" name="m_components"/>
<Property type="ObjectPtrVector" name="m_children" flags="NotVisible">
<Object class="GameObject">
<Property type="String" name="m_name" value="PistoBanana"/>
<Property type="Uint32" name="m_uid" flags="" value="255508094"/>
<Property type="Uint32" name="m_originalUID" flags="" value="0"/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="" value=""/>
<Property type="EnumFlagsU32" name="m_flags" flags="Bitfield" value="Enabled"/>
<Property type="Float4" name="m_color" flags="Color" x="1" y="1" z="1" w="1"/>
<Property type="Float4x4" name="m_local" flags="Flatten" Ix="1" Iy="0" Iz="0" Iw="0" Jx="0" Jy="1" Jz="0" Jw="0" Kx="0" Ky="0" Kz="1" Kw="0" Tx="0" Ty="0" Tz="0" Tw="1"/>
<Property type="EnumFlagsU64" name="m_tags" flags="Bitfield" value=""/>
<Property type="ObjectPtrVector" name="m_components">
<Object class="PhysicsBodyComponent">
<Property type="String" name="m_name" flags="NotVisible" value="New PhysicsBodyComponent"/>
<Property type="Uint32" name="m_uid" flags="" value="1412421259"/>
<Property type="Uint32" name="m_originalUID" flags="" value="0"/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="" value=""/>
<Property type="EnumFlagsU32" name="m_flags" flags="Bitfield" value="Enabled"/>
<Property type="EnumU8" name="m_category" value="Default"/>
<Property type="Bool" name="m_useCollisionMask" flags="NotVisible" value="false"/>
<Property type="EnumFlagsU64" name="m_collisionMask" flags="" value=""/>
<Property type="ObjectPtr" name="m_bodyDesc" flags="Flatten">
<Object class="PhysicsBodyDesc">
<Property type="String" name="m_name" flags="NotVisible" value="PhysicsBodyDesc #109"/>
<Property type="Uint32" name="m_uid" flags="" value="3013833493"/>
<Property type="Uint32" name="m_originalUID" flags="" value="0"/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="" value=""/>
<Property type="Bool" name="m_trigger" value="false"/>
<Property type="Bool" name="m_softBody" value="false"/>
<Property type="EnumU16" name="m_layer" value="Moving"/>
<Property type="EnumU8" name="m_motion" value="Dynamic"/>
<Property type="EnumU8" name="m_motionQuality" value="Discrete"/>
<Property type="Bool" name="m_overrideMass" flags="NotVisible" value="false"/>
<Property type="Float" name="m_mass" flags="Optional" value="0"/>
<Property type="Float" name="m_friction" flags="HasRange" value="0.5"/>
<Property type="Float" name="m_restitution" flags="HasRange" value="0"/>
</Object>
</Property>
</Object>
<Object class="PhysicsShapeComponent">
<Property type="String" name="m_name" flags="NotVisible" value="New PhysicsShapeComponent"/>
<Property type="Uint32" name="m_uid" flags="" value="2016837011"/>
<Property type="Uint32" name="m_originalUID" flags="" value="0"/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="" value="Opened"/>
<Property type="EnumFlagsU32" name="m_flags" flags="Bitfield" value="Enabled"/>
<Property type="EnumU8" name="m_shapeType" value="Box"/>
<Property type="ObjectPtr" name="m_shapeDesc" flags="Flatten">
<Object class="BoxShapeDesc">
<Property type="String" name="m_name" flags="NotVisible" value="BoxShapeDesc #83"/>
<Property type="Uint32" name="m_uid" flags="" value="209070901"/>
<Property type="Uint32" name="m_originalUID" flags="" value="0"/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="" value=""/>
<Property type="Float3" name="m_rotation" flags="EulerAngle" x="0" y="0" z="0"/>
<Property type="Float3" name="m_offset" x="0.050000001" y="0.2" z="0"/>
<Property type="Float3" name="m_size" flags="HasRange" x="0.25" y="0.60000002" z="0.1"/>
</Object>
</Property>
</Object>
<Object class="WeaponBehaviour">
<Property type="String" name="m_name" flags="NotVisible" value="New WeaponBehaviour"/>
<Property type="Uint32" name="m_uid" flags="" value="831193518"/>
<Property type="Uint32" name="m_originalUID" flags="" value="0"/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="" value=""/>
<Property type="EnumFlagsU32" name="m_flags" flags="Bitfield" value="Enabled"/>
<Property type="Float" name="m_damage" flags="HasRange" value="10"/>
<Property type="Float" name="m_push" flags="HasRange" value="10"/>
</Object>
<Object class="AttachToNodeComponent">
<Property type="String" name="m_name" flags="NotVisible" value="New AttachToNodeComponent"/>
<Property type="Uint32" name="m_uid" flags="" value="4133633331"/>
<Property type="Uint32" name="m_originalUID" flags="" value="0"/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="" value="Opened"/>
<Property type="EnumFlagsU32" name="m_flags" flags="Bitfield" value="Enabled"/>
<Property type="Bool" name="m_useTarget" flags="NotVisible" value="false"/>
<Property type="ObjectHandle" name="m_target" flags="Optional" value="0"/>
<Property type="String" name="m_boneName" value="mixamorig:RightHand"/>
<Property type="Float4x4" name="m_transform" flags="Flatten" Ix="1" Iy="0" Iz="0" Iw="0" Jx="0" Jy="1" Jz="0" Jw="0" Kx="0" Ky="0" Kz="1" Kw="0" Tx="0.0099999998" Ty="0.1" Tz="0.050000001" Tw="1"/>
</Object>
<Object class="MeshComponent">
<Property type="String" name="m_name" flags="NotVisible" value="New MeshComponent"/>
<Property type="Uint32" name="m_uid" flags="" value="3786007645"/>
<Property type="Uint32" name="m_originalUID" flags="" value="0"/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="" value=""/>
<Property type="EnumFlagsU32" name="m_flags" flags="Bitfield" value="Enabled"/>
<Property type="Resource" name="m_meshResource" flags="Resource">
<Object class="MeshResource">
<Property type="String" name="m_name" flags="NotVisible" value="New MeshComponent"/>
<Property type="Uint32" name="m_uid" flags="" value="2353302001"/>
<Property type="Uint32" name="m_originalUID" flags="" value="0"/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="" value=""/>
<Property type="String" name="m_resourcePath" flags="NotVisible" value="data/Meshes/Weapons/PistOBanana.fbx"/>
</Object>
</Property>
<Property type="Object" name="m_meshMaterials" flags="Flatten">
<Object class="MaterialResourceList">
<Property type="String" name="m_name" flags="NotVisible" value="New MeshComponent"/>
<Property type="Uint32" name="m_uid" flags="" value="4146111186"/>
<Property type="Uint32" name="m_originalUID" flags="" value="0"/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="" value=""/>
<Property type="ResourceVector" name="m_resources" flags="Resource">
<Object class="MaterialResource">
<Property type="String" name="m_name" value="PistoBanangaMat"/>
<Property type="Uint32" name="m_uid" flags="" value="1871945173"/>
<Property type="Uint32" name="m_originalUID" flags="" value="0"/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="" value=""/>
<Property type="String" name="m_resourcePath" flags="NotVisible" value="data/Materials/Weapons/PistoBanana.mat"/>
</Object>
</Property>
</Object>
</Property>
<Property type="BitMask" name="m_batchMask" BitCount="1" Value="0x0000000000000001"/>
</Object>
</Property>
<Property type="ObjectPtrVector" name="m_children" flags="NotVisible"/>
</Object>
</Property>
</Object>
</Property>
</Object>
</Root>
24 changes: 23 additions & 1 deletion data/Scenes/Aiguelongue.scene
Original file line number Diff line number Diff line change
Expand Up @@ -1630,7 +1630,7 @@
<Property type="String" name="m_name" value="Cones"/>
<Property type="Uint32" name="m_uid" flags="" value="1793450953"/>
<Property type="Uint32" name="m_originalUID" flags="" value="0"/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="" value="Opened"/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="" value=""/>
<Property type="EnumFlagsU32" name="m_flags" flags="Bitfield" value="Enabled"/>
<Property type="Float4" name="m_color" flags="Color" x="1" y="1" z="1" w="1"/>
<Property type="Float4x4" name="m_local" flags="Flatten" Ix="1" Iy="0" Iz="0" Iw="0" Jx="0" Jy="1" Jz="0" Jw="0" Kx="0" Ky="0" Kz="1" Kw="0" Tx="0" Ty="0" Tz="0" Tw="1"/>
Expand Down Expand Up @@ -2615,6 +2615,28 @@
</Property>
<Property type="ObjectPtrVector" name="m_dynamicProperties"/>
</Object>
<Object class="PrefabGameObject">
<Property type="String" name="m_name" value="PistoBanana"/>
<Property type="Uint32" name="m_uid" flags="" value="0"/>
<Property type="Uint32" name="m_originalUID" flags="" value="0"/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="" value="Prefab"/>
<Property type="EnumFlagsU32" name="m_flags" flags="Bitfield" value="Enabled"/>
<Property type="Float4" name="m_color" flags="Color" x="1" y="1" z="1" w="1"/>
<Property type="Float4x4" name="m_local" flags="Flatten" Ix="1" Iy="0" Iz="0" Iw="0" Jx="0" Jy="1" Jz="0" Jw="0" Kx="0" Ky="0" Kz="1" Kw="0" Tx="-3.5" Ty="-6.5" Tz="1" Tw="1"/>
<Property type="EnumFlagsU64" name="m_tags" flags="Bitfield" value=""/>
<Property type="ObjectPtrVector" name="m_components"/>
<Property type="ObjectPtrVector" name="m_children" flags="NotVisible"/>
<Property type="Resource" name="m_prefabResource" flags="Resource">
<Object class="PrefabResource">
<Property type="String" name="m_name" flags="NotVisible" value=""/>
<Property type="Uint32" name="m_uid" flags="" value="0"/>
<Property type="Uint32" name="m_originalUID" flags="" value="0"/>
<Property type="EnumFlagsU32" name="m_objectFlags" flags="" value=""/>
<Property type="String" name="m_resourcePath" flags="NotVisible" value="data/Prefabs/PistoBanana.prefab"/>
</Object>
</Property>
<Property type="ObjectPtrVector" name="m_dynamicProperties"/>
</Object>
</Property>
</Object>
</Property>
Expand Down
Binary file added data/Textures/Weapons/PISToBanana_Alb.tga
Binary file not shown.
Loading

0 comments on commit 576c2b8

Please sign in to comment.