[ H3LP ] Explode entity ?
Hey AlliedModders, currently I am developing a simple spawn model effect. Crazy? about what you are talkig (what the hell are this) ? Well, when a player spawn, a egg model is added into the player origin. I want explode this egg, but the egg model dont have a explode animation, then I used the following code to do that, but dont work well. Any idea?
Code:
|
Re: [ H3LP ] Explode entity ?
Quote:
Code:
--> Code:
|
Re: [ H3LP ] Explode entity ?
Ok. i will test.
|
Re: [ H3LP ] Explode entity ?
The egg doesn't need to have an exploding animation, there is an effect in the engine called gore/shouldgib which makes any model explode to pieces...
Search around about shoulgib/gore, i remember i did it in the past, i created an entity which when destroyed was exploding to pieces and it worked well, but i cannot find the code anymore.. Also, the pieces will not be flesh/bones etc it will actually be parts from the entity's model |
Re: [ H3LP ] Explode entity ?
Ham_GibMonster exists but I don't think it will work with info_target let alone CS.
|
Re: [ H3LP ] Explode entity ?
Hmm, nice! Thats is exactly what I need. I will search, thanks again Depresie!
@Shattered, ok.. I will test it. |
Re: [ H3LP ] Explode entity ?
How about TE_EXPLOSION (C4 explosion) ?
|
Re: [ H3LP ] Explode entity ?
With MSG_BROADCAST? I think dont is this that I need.. O.o but I will test it anyway.
|
Re: [ H3LP ] Explode entity ?
From my box plugin, this is what you are looking for...
PHP Code:
|
Re: [ H3LP ] Explode entity ?
Ok! I will do some tests, thanks for the example.
|
| All times are GMT -4. The time now is 17:51. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.