Raised This Month: $51 Target: $400
 12% 

Teleport Smoke Grenade


Post New Thread Reply   
 
Thread Tools Display Modes
anssik
Senior Member
Join Date: May 2006
Location: Suomi Finland Perkele
Old 06-17-2009 , 08:04   Re: Teleport Smoke Grenade
Reply With Quote #31

Thanks VEN, this is really great. I made a buyable extra on my server.

I had the crashing error too. I'll try to look and remember how I fixed it. I think it got something to do with the smoke sprites being removed, and I currently use a different method to remove the original smoke (on emit_sound I set the grenade entity's origin to 9999.0 9999.0 9999.0 and set pev_flags to FL_KILLME)
__________________
anssik is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 06-22-2009 , 09:49   Re: Teleport Smoke Grenade
Reply With Quote #32

Pfann, Kill4Free:

Taking in account anssik's information it could be a problem with entity removal so try to replace the string in the .sma sourcecode file:

PHP Code:
engfunc(EngFunc_RemoveEntityent
with the below one:

PHP Code:
engfunc(EngFunc_SetOriginentFloat:{8191.08191.08191.0}) 
Recompile and reinstall the plugin.
VEN is offline
anssik
Senior Member
Join Date: May 2006
Location: Suomi Finland Perkele
Old 06-22-2009 , 16:23   Re: Teleport Smoke Grenade
Reply With Quote #33

I think you should do
PHP Code:
set_pev(entpev_flagsFL_KILLME
after setting the origin, so the entity will remove itself and not blow up and make smoke somewhere outside the map. Well I'm not that experienced don't know if that even happens but that's just how I did it and no crashes and ran it for over a week now.
__________________
anssik is offline
DarkAlucard87
Member
Join Date: Feb 2009
Old 06-23-2009 , 08:50   Re: Teleport Smoke Grenade
Reply With Quote #34

I also got the Problem with serveral Crashs through the PLugins (modified as ZP_Extra_Item)

I added the code as Ven said
Code:
engfunc(EngFunc_SetOrigin, ent, Float:{8191.0, 8191.0, 8191.0}) 
and it works nice now. Very THx ;)
DarkAlucard87 is offline
DarkAlucard87
Member
Join Date: Feb 2009
Old 06-24-2009 , 05:37   Re: Teleport Smoke Grenade
Reply With Quote #35

I just have one more question, i use the Grenade as Extra Item in Zombie Mod, i know this isnt the right Thread but in the original Thread noone answers.

And my question is, there is a bug witch overwrites the normal grenade with Teleport (only after some people have used it).

So is it possible to make it so that u get "normal" smoke back when round ends/get killed or infected?
DarkAlucard87 is offline
darkbad945
Senior Member
Join Date: May 2008
Old 12-20-2009 , 17:40   Re: Teleport Smoke Grenade
Reply With Quote #36

Can you make it for smoke granades?
darkbad945 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 12-20-2009 , 17:50   Re: Teleport Smoke Grenade
Reply With Quote #37

It's already for smoke grenade...
__________________
Arkshine is offline
darkbad945
Senior Member
Join Date: May 2008
Old 12-20-2009 , 20:43   Re: Teleport Smoke Grenade
Reply With Quote #38

Wops i ment flash lol. I need some sleep. So can anyone do it for flash?
darkbad945 is offline
darkbad945
Senior Member
Join Date: May 2008
Old 12-21-2009 , 02:53   Re: Teleport Smoke Grenade
Reply With Quote #39

So can someone make it for flash granades.
darkbad945 is offline
gunnersslash
Member
Join Date: Mar 2009
Old 01-21-2010 , 11:58   Re: Teleport Smoke Grenade
Reply With Quote #40

is there possible to make a cvar to choose the grenade to teleport just like namapl nades?? could be better cuz if someone is teleported.. instead of smoke.. people is blinded by a flash or wonded by a he xD

teleport_on <0/1> - Enable/Disable Napalm Nades
teleport_affect <1/2/3> - Which nades should be teleports (1-HEgrenade // 2-FBangs // 3-SGrenade)


and because everyone uses smoke as frostnade.. but no one uses flash could be a great idea... take a lok at napalm nades to help u

Last edited by gunnersslash; 01-21-2010 at 12:06.
gunnersslash is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode