CopperCube Weapon Script v2
A downloadable asset pack
This version is similar to my previous version but with many changes.
Also this version allows you to upgrade your weapons..
You can change weapons -
*firerate
*reload time
*accurary
*magazin size
You can holster weapon-enable/disable (specific weapon or all of them)
This script is animation based..so if animation speed is faster then firerate will be faster..
it uses idle/reload/shoot/weapon switch animations.
Example ccb included plus image files with info how to use.
in example you see usage of shotgun/pistol and knife also ammo pickup and upgrade pickup.
Controls:
MouseLeft to shoot
MouseWheel to switch between weapons
R to reload.
---------------------------------------------------------------------------
You can use it as in example i use (coppercube) pistol_hand -
i set many weapons to one parent node.
[one parent node,multiple child_nodes]
Also you can set multiple hands that already has weapon on it.
[multiple parent_nodes, script expects childNode name:just use parent name here]
--------------------------------
GameGuru weapon models are not included (that is shown in main picture)
Coppercube pistol_hand and weapons are in example.
############################update2
Second download update2.zip
Includes modified scripts:
By using those scripts you can have animation for weapon lower and raise..
Also it has Holster weapon command plus disable/enable weapon commands.
Info file added with download.
ToDo: loadSpecsFromFile (instead of typeing it to a action its sometimes easier to write into a file)
Download
Click download now to get access to the following files:
Comments
Log in with itch.io to leave a comment.
Благодарю за файл. Всё работает замечательно. Удачи!
Nice, so where should I add the raise weapon animation
Inside action input as usual.
Hi sven, I realised that the switch animation was for the current or active weapon, can you fix it for the current weapon to unhide and the next weapon rather plays the raising weapon animation.
it is very current in modern games
Currently its for lowering weapon.. next weapon will be set visible after current is low..
With animation blending it looks like lowers current and then rises next weapon.
Its easy to add both animations -if i have more time i might consider adding it.
ok thanks
Project updated.