Skip to content

Commit

Permalink
add LaS-themed weapons (#33)
Browse files Browse the repository at this point in the history
* add impulse and alteration effects based effects
  • Loading branch information
darshan3 authored and skaldarnar committed Aug 20, 2019
1 parent bc15172 commit b0eea86
Show file tree
Hide file tree
Showing 9 changed files with 176 additions and 1 deletion.
28 changes: 28 additions & 0 deletions assets/prefabs/weapons/clubProjectile.prefab
@@ -0,0 +1,28 @@
{
"parent": "CombatSystem:basicShoot",
"Hurting": {
"amount": 10,
"duration": 10000,
"hurtingType": "dot"
},
"BoxShape": {
"extents": [0.5, 0.5, 1]
},
"Mesh": {
"mesh": "CombatSystem:ballSpell",
"material": "CombatSystem:fireBall"
},
"Explode": {
"explosionPrefab": "core:dustEffect"
},
"Light": {},
"Trigger": {
"collisionGroup": "engine:all",
"detectGroups": [
"engine:world",
"engine:character",
"engine:default",
"engine:sensor"
]
}
}
16 changes: 16 additions & 0 deletions assets/prefabs/weapons/clubStaff.prefab
@@ -0,0 +1,16 @@
{
"parent": "CombatSystem:weapon",
"DisplayName": {
"name": "DoT Staff"
},
"Item": {
"icon": "LightAndShadowResources:clubStaff",
"usage": "IN_DIRECTION",
"cooldownTime": 1000
},
"LaunchEntity": {
"launchEntityPrefab": "LightAndShadowResources:clubProjectile",
"impulse": 200
},
"RenderItemIconMesh": {}
}
28 changes: 28 additions & 0 deletions assets/prefabs/weapons/diamondProjectile.prefab
@@ -0,0 +1,28 @@
{
"parent": "CombatSystem:basicShoot",
"Hurting": {
"amount": 10,
"duration": 10000,
"hurtingType": "stun"
},
"BoxShape": {
"extents": [0.5, 0.5, 1]
},
"Mesh": {
"mesh": "CombatSystem:ballSpell",
"material": "CombatSystem:fireBall"
},
"Explode": {
"explosionPrefab": "core:dustEffect"
},
"Light": {},
"Trigger": {
"collisionGroup": "engine:all",
"detectGroups": [
"engine:world",
"engine:character",
"engine:default",
"engine:sensor"
]
}
}
16 changes: 16 additions & 0 deletions assets/prefabs/weapons/diamondStaff.prefab
@@ -0,0 +1,16 @@
{
"parent": "CombatSystem:weapon",
"DisplayName": {
"name": "Stun Staff"
},
"Item": {
"icon": "LightAndShadowResources:diamondStaff",
"usage": "IN_DIRECTION",
"cooldownTime": 1000
},
"LaunchEntity": {
"launchEntityPrefab": "LightAndShadowResources:diamondProjectile",
"impulse": 200
},
"RenderItemIconMesh": {}
}
27 changes: 27 additions & 0 deletions assets/prefabs/weapons/heartProjectile.prefab
@@ -0,0 +1,27 @@
{
"parent": "CombatSystem:basicShoot",
"Hurting": {
"amount": 3,
"hurtingType": "attract"
},
"BoxShape": {
"extents": [0.5, 0.5, 1]
},
"Mesh": {
"mesh": "CombatSystem:ballSpell",
"material": "CombatSystem:fireBall"
},
"Explode": {
"explosionPrefab": "core:dustEffect"
},
"Light": {},
"Trigger": {
"collisionGroup": "engine:all",
"detectGroups": [
"engine:world",
"engine:character",
"engine:default",
"engine:sensor"
]
}
}
16 changes: 16 additions & 0 deletions assets/prefabs/weapons/heartStaff.prefab
@@ -0,0 +1,16 @@
{
"parent": "CombatSystem:weapon",
"DisplayName": {
"name": "Attractor Staff"
},
"Item": {
"icon": "LightAndShadowResources:heartStaff",
"usage": "IN_DIRECTION",
"cooldownTime": 1000
},
"LaunchEntity": {
"launchEntityPrefab": "LightAndShadowResources:heartProjectile",
"impulse": 200
},
"RenderItemIconMesh": {}
}
27 changes: 27 additions & 0 deletions assets/prefabs/weapons/spadeProjectile.prefab
@@ -0,0 +1,27 @@
{
"parent": "CombatSystem:basicShoot",
"Hurting": {
"amount": 3,
"hurtingType": "repulse"
},
"BoxShape": {
"extents": [0.5, 0.5, 1]
},
"Mesh": {
"mesh": "CombatSystem:ballSpell",
"material": "CombatSystem:fireBall"
},
"Explode": {
"explosionPrefab": "core:dustEffect"
},
"Light": {},
"Trigger": {
"collisionGroup": "engine:all",
"detectGroups": [
"engine:world",
"engine:character",
"engine:default",
"engine:sensor"
]
}
}
16 changes: 16 additions & 0 deletions assets/prefabs/weapons/spadeStaff.prefab
@@ -0,0 +1,16 @@
{
"parent": "CombatSystem:weapon",
"DisplayName": {
"name": "Repulsor Staff"
},
"Item": {
"icon": "LightAndShadowResources:spadeStaff",
"usage": "IN_DIRECTION",
"cooldownTime": 1000
},
"LaunchEntity": {
"launchEntityPrefab": "LightAndShadowResources:spadeProjectile",
"impulse": 200
},
"RenderItemIconMesh": {}
}
3 changes: 2 additions & 1 deletion module.txt
Expand Up @@ -5,7 +5,8 @@
"displayName" : "LightAndShadowResources",
"description" : "Art resources module for Light & Shadow, a.k.a. LASR!",
"dependencies" : [
{"id" : "Core", "minVersion" : "2.0.0"}
{"id" : "Core", "minVersion" : "2.0.0"},
{"id" : "CombatSystem", "minVersion" : "0.1.1"}
],
"isServerSideOnly" : false
}

0 comments on commit b0eea86

Please sign in to comment.