Skip to content

Commit

Permalink
Add katana
Browse files Browse the repository at this point in the history
  • Loading branch information
Benualdo committed Oct 3, 2024
1 parent d89f018 commit 3460d67
Show file tree
Hide file tree
Showing 17 changed files with 301 additions and 23 deletions.
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,14 +166,15 @@ The external libraries are included with the sources for convenience.

## models

| Model | Author | URL
| ----------------------------------- | ------------------ | -------------------------------------------------------------
| 3D Foot Ball Free low-poly 3D | prabath-weerapana | https://www.cgtrader.com/free-3d-models/sports/game/3d-foot-ball
| Baseball Bat Free low-poly 3D model | sepandjahrominejad | https://www.cgtrader.com/free-3d-models/military/melee/baseball-bat-5c0d0b8c-0ff9-40f8-b49d-779978a2801b
| FootBall american Free 3D model | orsbone | https://www.cgtrader.com/free-3d-models/sports/equipment/football-91c641b9-d246-4d71-a31c-d687762dd94f
| Luigi | Anthony Yanez | https://www.turbosquid.com/3d-models/luigi-super-model-1308288
| Traffic Cone Free 3D model | hinndia | https://www.cgtrader.com/free-3d-models/exterior/street-exterior/traffic-cone-5849a434-2331-4a90-9b87-087ccc16cd0c
| Soccergoal | NorbertVarga | https://www.turbosquid.com/3d-models/soccergoal-3d-model-1840894
| Model | Author | URL
| -------------------- | ------------------ | -------------------------------------------------------------
| 3D Football | prabath-weerapana | https://www.cgtrader.com/free-3d-models/sports/game/3d-foot-ball
| Baseball Bat | sepandjahrominejad | https://www.cgtrader.com/free-3d-models/military/melee/baseball-bat-5c0d0b8c-0ff9-40f8-b49d-779978a2801b
| FootBall american | orsbone | https://www.cgtrader.com/free-3d-models/sports/equipment/football-91c641b9-d246-4d71-a31c-d687762dd94f
| Katana samurai sword | kizaru | https://www.cgtrader.com/free-3d-models/military/melee/katana-low-poly-59c307a4-5eaf-480d-b2a3-841d8d8c7240
| Luigi | Anthony Yanez | https://www.turbosquid.com/3d-models/luigi-super-model-1308288
| Traffic Cone | hinndia | https://www.cgtrader.com/free-3d-models/exterior/street-exterior/traffic-cone-5849a434-2331-4a90-9b87-087ccc16cd0c
| Soccergoal | NorbertVarga | https://www.turbosquid.com/3d-models/soccergoal-3d-model-1840894

## sound

Expand Down
59 changes: 59 additions & 0 deletions data/Materials/Weapons/Katana.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="858351633"/>
<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="2749363374"/>
<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="2246483699"/>
<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="1508667485"/>
<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/katana_albedo.png"/>
</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="837243500"/>
<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/katana_normal.png"/>
</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="2911618626"/>
<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/katana_pbr.png"/>
</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/katana.fbx
Binary file not shown.
131 changes: 131 additions & 0 deletions data/Prefabs/Katana.prefab
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
<Root>
<Object class="PrefabScene">
<Property type="String" name="m_name" flags="NotVisible" value="Katana"/>
<Property type="Uint32" name="m_uid" flags="" value="54226629"/>
<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="1317558726"/>
<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="ObjectPtrVector" name="m_components"/>
<Property type="ObjectPtrVector" name="m_children" flags="NotVisible">
<Object class="GameObject">
<Property type="String" name="m_name" value="Katana"/>
<Property type="Uint32" name="m_uid" flags="" value="3449017408"/>
<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="0.99999797" Iy="0" Iz="0" Iw="0" Jx="0" Jy="0.99999529" Jz="0" Jw="0" Kx="0" Ky="0" Kz="0.99999779" Kw="0" Tx="0" Ty="0" Tz="0" Tw="1"/>
<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="3010574837"/>
<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="ObjectPtr" name="m_bodyDesc" flags="Flatten">
<Object class="PhysicsBodyDesc">
<Property type="String" name="m_name" flags="NotVisible" value="PhysicsBodyDesc #92"/>
<Property type="Uint32" name="m_uid" flags="" value="880067656"/>
<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="Continuous"/>
<Property type="Bool" name="m_overrideMass" flags="NotVisible" value="true"/>
<Property type="Float" name="m_mass" flags="Optional" value="6.8722343"/>
<Property type="Float" name="m_friction" flags="HasRange" value="0.5"/>
<Property type="Float" name="m_restitution" flags="HasRange" value="0.1"/>
</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="3276975369"/>
<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="Cylinder"/>
<Property type="ObjectPtr" name="m_shapeDesc" flags="Flatten">
<Object class="CylinderShapeDesc">
<Property type="String" name="m_name" flags="NotVisible" value="CylinderShapeDesc #0"/>
<Property type="Uint32" name="m_uid" flags="" value="2839751589"/>
<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" y="0" z="0.38999999"/>
<Property type="Float" name="m_radius" flags="HasRange" value="0.050000001"/>
<Property type="Float" name="m_height" flags="HasRange" value="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="4042059852"/>
<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"/>
</Object>
<Object class="AttachToNodeComponent">
<Property type="String" name="m_name" flags="NotVisible" value="New AttachToNodeComponent"/>
<Property type="Uint32" name="m_uid" flags="" value="1872351875"/>
<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="-0.17364785" Iy="0.98480582" Iz="0" Iw="0" Jx="0.17100908" Jy="0.030153519" Jz="0.98480332" Jw="0" Kx="0.9698444" Ky="0.17100975" Kz="-0.17364761" Kw="0" Tx="-0.059999999" Ty="0.090000004" 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="2813456437"/>
<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_displayBones" value="false"/>
<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="3164333569"/>
<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/katana.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="542978335"/>
<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=""/>
<Property type="Uint32" name="m_uid" flags="" value="3747606727"/>
<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/Katana.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>
Loading

0 comments on commit 3460d67

Please sign in to comment.