Raised This Month: $ Target: $400
 0% 

Destroying Doors


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
harbu
Senior Member
Join Date: Aug 2004
Location: Finland
Old 02-24-2005 , 05:58   Destroying Doors
Reply With Quote #1

Well when destroying a door in The Specialists mod with fakedamage() I used ""fakedamage(entid,"weapon_tsgun",1000.0, 0)"" for some odd reason it won't respawn again! I also tried to set the doors health with entity_set_float(entid,EV_FL_health,-9999.0) but that did not have any effect! So is there any way to destroy the doors with them respawning afterwards?
harbu is offline
Send a message via MSN to harbu
Sp4rt4n
Senior Member
Join Date: Dec 2004
Old 02-24-2005 , 12:45  
Reply With Quote #2

set it to whatever the wood is set to in front of the window near the bank, but with more damage (if you can figure that out)
Sp4rt4n is offline
Send a message via MSN to Sp4rt4n
harbu
Senior Member
Join Date: Aug 2004
Location: Finland
Old 02-24-2005 , 13:59  
Reply With Quote #3

Quote:
Originally Posted by Sp4rt4n
set it to whatever the wood is set to in front of the window near the bank, but with more damage (if you can figure that out)
I dont understand how that would help? Since the doors in the map already respawn normaly when destroyed and they are breakable already..
harbu is offline
Send a message via MSN to harbu
TooL
Senior Member
Join Date: May 2004
Location: NC
Old 02-24-2005 , 14:14  
Reply With Quote #4

You might want to take a look at the breakable doors plugin - that might lead you in the right direction.

http://forums.alliedmods.net/showthread.php?t=6597
__________________
TooL is offline
Send a message via ICQ to TooL Send a message via AIM to TooL Send a message via MSN to TooL Send a message via Yahoo to TooL
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 02-24-2005 , 15:03  
Reply With Quote #5

TooL, that plugin is for CS (possibly other mods) where doors can't break by default. It simply moves them to an out-of-place location. In The Specialists, doors can be broken, and they respawn.

As for you, harbu, I'm not sure why they aren't respawning. You could try setting a task and forcing it to spawn again:

Code:
dllfunc(DLLFunc_Spawn,entid);
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
harbu
Senior Member
Join Date: Aug 2004
Location: Finland
Old 02-24-2005 , 15:19  
Reply With Quote #6

Ahh thanks man!
harbu is offline
Send a message via MSN to harbu
TotalNoobScripter
Senior Member
Join Date: Aug 2004
Old 02-24-2005 , 16:49  
Reply With Quote #7

harbu, why would you need that function anyway?

If its in any relationship to SWAT, STOP STEALING MY IDEAS
TotalNoobScripter is offline
Send a message via AIM to TotalNoobScripter
harbu
Senior Member
Join Date: Aug 2004
Location: Finland
Old 02-25-2005 , 07:07  
Reply With Quote #8

Stealing your ideas ehh? No? Someone suggested on my forums I should make one of those door battering thingys but I decided I want it rahter to explode..
harbu is offline
Send a message via MSN to harbu
Geesu
Veteran Member
Join Date: Mar 2004
Location: Cincinnati, OH
Old 02-25-2005 , 08:52  
Reply With Quote #9

I was gonna say instead of removing/destroying the entity, just change it's origin, move it off the screen and then move it back
__________________
Need war3ft help? DO NOT PM ME... Check the forums
Geesu is offline
Send a message via AIM to Geesu Send a message via MSN to Geesu
Freecode
Never Fall Asleep
Join Date: Jan 2004
Old 02-25-2005 , 12:48  
Reply With Quote #10

lol Geesu ur Hack master #1
Freecode 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 14:09.


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