Scripts / Dagored Shot_explosion script dont work

Author
Message
JC LEON
14
Years of Service
User Offline
Joined: 22nd Apr 2010
Location:
Posted: 2nd Apr 2016 22:36
Hi I cannot manage to use the shot_explosion script by Dagorde that can be downlaod for free from the store
here the code


I apply this code to a dynamc entity like a crate or a barrel but when I shot to them nothing happen and after the entity helth reach zero the entity dont exlplode, remain on the level but become crossable


where I wrong??
PC Specs:

Q9550@3,8GHZ - 8GB RAM - SVGA R9 280 3GB GDDR5 - HDD WD 1500TB
PM
HarryWever
3D Media Maker
14
Years of Service
User Offline
Joined: 14th Jan 2010
Location: below Sea level
Posted: 2nd Apr 2016 23:42 Edited at: 2nd Apr 2016 23:53
This script is used and made that it triggers a animation, like opening a door when reached zero or the exploding barrel that i have in the store that is animated. so by reaching health zero it trigger a animation.
The script i saw needs a change. the animation speed is very high.
it should be SetAnimationSpeed(e,1)
This is the link of the thread
https://forum.game-guru.com/thread/211526#msg2514185

Harry
Harry
When nothing goes right, go left
PM
HarryWever
3D Media Maker
14
Years of Service
User Offline
Joined: 14th Jan 2010
Location: below Sea level
Posted: 3rd Apr 2016 00:06
small video of what i mean in action.

The barrels are animated, so these are not the stock ones. the door is the stock gate door.




Hope this helps
Harry
Harry
When nothing goes right, go left
PM
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 3rd Apr 2016 00:48
you dont need a script to make things explode the GG way, just set them 'explodeable = yes' and shoot it.
as harry said, his script is just to play an animation when it dies.
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
JC LEON
14
Years of Service
User Offline
Joined: 22nd Apr 2010
Location:
Posted: 3rd Apr 2016 09:41
yes.. and it' s the animation i want to playwhen object "die" but I musuncerstood and I was thinking that i can use it with stock items and these play the animation automatically...
PC Specs:

Q9550@3,8GHZ - 8GB RAM - SVGA R9 280 3GB GDDR5 - HDD WD 1500TB
PM

Login to post a reply

Server time is: 2024-05-03 05:30:22
Your offset time is: 2024-05-03 05:30:22