Garry's Mod

Garry's Mod

401 个评价
Genkidama (Spirit Bomb) VR nonVR DBZ
7
3
3
5
4
2
3
2
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 武器
插件标签: 快乐, 角色扮演
文件大小
发表于
更新日期
34.223 MB
2023 年 4 月 1 日 下午 6:36
2024 年 3 月 26 日 下午 5:41
36 项改动说明 ( 查看 )

订阅以下载
Genkidama (Spirit Bomb) VR nonVR DBZ

描述
About
This addon adds the ability for VR AND non-VR users to charge a genkidama above their head, to then obliterate whatever the genkidama is thrown at. Other players can give you energy to charge the genkidama even more! If you want to use this addon in VR you will need the VRMod addon.
This addon is intended for the TTT and sandbox gamemodes. If you want to play TTT in VR, I recommend also installing the TTT VR addon.
The "Genkidama" can be purchased as a detective in TTT!





Usage non-VR
  1. Switch to the "Genkidama" weapon.
  2. Then press and HOLD right click to charge the attack,
  3. The genkidama should now appear and grow larger, until the player has given all their energy to charge the attack. (Other players can lend energy too.)
  4. The attack can be thrown at any point with a left click.
  5. The attack is launched in the direction you are currently looking.
  6. The trajectory can be changed mid-flight, by holding left-click and then looking in the direction the attack should fly towards.
  7. After the genkidama has detonated, there is a short cooldown timer, until the next attack can be created. (Can be changed with a ConVar)

Usage VR
The VRMod addon must be installed.
  1. Switch weapon to holstered, empty hands or to the "Genkidama" weapon.
  2. Hold your hands above you head (above the headset position) AND point your hands towards the sky.
  3. Then press and HOLD primary fire + reload. (On oculus controllers that's the left- and right-hand triggers)
  4. The genkidama should now appear and grow larger, until the player has given all their energy to charge the attack. (Other players can lend energy too.)
  5. The attack can be thrown at any point, by still holding both primary fire + reload and then doing a "throw gesture".
    The throw gesture is: Put your hands above your head and then quickly move them forwards and downwards, while both buttons are pressed.
  6. The attack is launched in the direction you are currently looking.
  7. The trajectory can be changed mid-flight, by holding primary fire and/or reload and by then pointing the controller in the direction, where the attack should fly towards.
  8. After the genkidama has detonated, there is a short cooldown timer, until the next attack can be created. (Can be changed with a ConVar)

Energy lending mechanic
Other players can contribute to your genkidama by lending their energy!
If one person gives you energy, the genkidama doubles in size, if another player gives you energy as well, it will triple in size and so on. The players that give you energy will also emit energy particles and have a glowing outline.
Give energy (non-VR)
In the sandbox gamemode, select the "Give Energy" weapon and hold right-click, while someone is charging an attack.
In the TTT gamemode, select holstered and hold right-click. If you are a fan of T-Posing, you can optionally use Neeve's TTT T-Pose addon to give energy while T-Posing.
Give energy (VR)
Just raise your hands towards the sky while having selected either empty hands, holstered or "Give Energy"!

Configuration
Sandbox mode: The settings can be changed in the options tab of the "q" menu.
If you are on a dedicated server or a different game mode, you can change the following ConVars (server side) directly:
  • genkidamaCooldown: Attack cooldown after an explosion in seconds. (Integer) Default: 5
  • genkidamaSpeed: Attack projectile movement speed. (Float) Default: 15
  • genkidamaSteeringSpeed: How fast the projectile can change its direction when it's controlled by a player. (Float) Default: 0.005
  • genkidamaPlayerEnergyCapacity: How much energy each player can give to an attack. (Integer) Default: 1000
  • genkidamaUserEnergyFraction: How much energy the user of the attack can give to an attack as a multiple of the genkidamaPlayerEnergyCapacity. (Float) Default: 1.0
  • genkidamaChargingSpeed: How much energy each player can give each iteration. (Integer) Default: 2
  • genkidamaExplosionDmgMult: Explosion damage multiplier. (Integer) Default: 25
  • genkidamaExplosionRangeMult: Explosion range multiplier. (Integer) Default: 50
  • genkidamaIdleShrinkTime: Time in seconds, after which the projectile starts to shrink if it is not held. (Integer) Default: 5
  • genkidamaDissolveProps: If the projectile is large enough, props dissolve on contact. (Bool) Default: 1
  • genkidamaDissolvePeople: Living things are dissolved. (Bool) Default: 1
  • genkidamaInstakillPlayers: Players are killed instantly. (Bool) Default: 0
  • genkidamaInstakillNPCs: NPCs are killed instantly. (Bool) Default: 0
  • genkidamaInstakillNextBots: NextBots are killed instantly. (Bool) Default: 0
  • genkidamaAllowEmptyHandsAsWeapon: Determines if empty hands or holsterd, can be used to create a genkidama. If false, genkidamas can only work with the dedicated genkidama weapon. (Bool) Default: 1
  • genkidamaColor: Sets the color of the attack. (String) Available: default, red, green, orange, purple, rose, white, yellow
  • genkidamaLightRadiusMult: Multiplies the radius of the emitted light. Reduce this value if there are performance issues. (Float) Default: 1.0
  • genkidamaLightRadiusLimitMult: The maximum brightness limit. At 1.0 the light won't increase beyond a 100% charge (at default energy capacity). At 2.0, 200%. Reduce this value if there are performance issues. (Float) Default: 1.0
  • genkidamaVRforceButtonsActive: The addon thinks that the left- and right-hand triggers are always pressed. (Bool) Default: 0
  • genkidamaVRdebugButtons: Shows which buttons are pressed, in the chat. (Bool) Default: 0
For example, if you want your genkidama to be 5 times larger, then the ConVar genkidamaPlayerEnergyCapacity should be increased from 1000 to 5000. If the charging time takes too long, you can set the genkidamaChargingSpeed from 2 to 10, to charge it 5 times faster.
If only the detective in TTT should be allowed to use the genkidama, set the ConVar genkidamaAllowEmptyHandsAsWeapon to 0.

Sound effect source
All sound effects are from:
https://soundsverse.com/dragon-ball-super
https://www.sounds-resource.com

Comment
This is my first addon and it was quite fun to make. If I have the time, I might do more dragon ball style attacks or expand some functionality! :D
205 条留言
Tiny Desk Engineer 10 月 24 日 下午 6:35 
I would assume it's easier in VR, but in non-VR controlling the trajectory of the spirit bomb is quite difficult. It would be nice if it could use the same control style used by the laser guide on the rocket launcher or the projectile could be aimed from the perspective of the projectile instead of the player aiming it.
Skibum 7 月 7 日 下午 2:24 
has to be one of my favorite mods o.a.t. :steamthumbsup:
Iseeeee 6 月 7 日 下午 3:22 
awesome mod! Could you do another of a Kamehameha and final flash and other power beams weapons?:steamhappy:
Ultra instinct Martin 6 月 3 日 下午 12:10 
Make kamehameha final flash big bang attack galick gun and hakai
LexonTheDragon 4 月 5 日 下午 10:27 
NXT12

MAKE THE KAMEHAMEHA WAVE AND MY LIFE IS YOURS
tylervalencia215 3 月 21 日 下午 3:26 
BOMBA CLAT
Dr_cocainium 3 月 15 日 下午 7:12 
NXT12

MAKE THE KAMEHAMEHA WAVE AND MY LIFE IS YOURS
Guy 3 月 10 日 下午 2:27 
Plz make kamehameha!!!
MR. PUZZLES 2 月 9 日 下午 12:04 
NXT12

MAKE THE KAMEHAMEHA WAVE AND MY LIFE IS YOURS
SPAM THIS COPYPASTA
ruined 1 月 17 日 上午 9:52 
PLEASE MORE COOL ENERGY ATTACKS MY FRIEND. . . YOU ARE A VISIONARY. . .