Respawning brushes???

Have questions about CoD2 mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

Post Reply
User avatar
Marshall
CJ Spammer!
CJ Spammer!
Posts: 820
Joined: December 10th, 2005, 11:28 am
Location: UK

Respawning brushes???

Post by Marshall » May 31st, 2006, 6:42 pm

hi i made a glass map "Kd_Skycorpse" Download it here

But for version 2.0 , i want to make the glass respawn once destroyed (so i dont have to run it on s&d all the time for round restarts)...


is there any script that i can use to make the brushes re-appear after like 40 secs?


thanks

Marshall[/url]

User avatar
Marshall
CJ Spammer!
CJ Spammer!
Posts: 820
Joined: December 10th, 2005, 11:28 am
Location: UK

Post by Marshall » May 31st, 2006, 7:52 pm

so how would i do that?

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Post by Drofder2004 » June 2nd, 2006, 8:22 pm

Without scripting... no idea.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

Guest

Post by Guest » June 2nd, 2006, 8:24 pm

i dont mind scripting! :D

User avatar
Marshall
CJ Spammer!
CJ Spammer!
Posts: 820
Joined: December 10th, 2005, 11:28 am
Location: UK

Post by Marshall » June 2nd, 2006, 8:24 pm

thats was me

User avatar
|WW2Sniper|Simo Hayha
CJ Wannabe
CJ Wannabe
Posts: 25
Joined: May 30th, 2006, 5:26 pm
Location: Sweden

Post by |WW2Sniper|Simo Hayha » June 3rd, 2006, 12:16 am

Why doesn't the glass break by grenade?
Gap record whit Fps 250: 260
Gap record whit Fps 125: None

User avatar
Marshall
CJ Spammer!
CJ Spammer!
Posts: 820
Joined: December 10th, 2005, 11:28 am
Location: UK

Post by Marshall » June 3rd, 2006, 9:11 am

probably cuz the trigger is so thin, that the grenade doesnt have enough inner trigger space to trigger it 8)

bak to topic please :P :P :P :wink:

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Post by Drofder2004 » June 4th, 2006, 12:41 pm

Scripting it will be a huge pain in the rear end....

You would have to create lots of script-brushmodels and that may cause gamestate errors (and RSI injuries from typing)

How are you currently making the glass break?
(Explain in detail)
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

User avatar
Marshall
CJ Spammer!
CJ Spammer!
Posts: 820
Joined: December 10th, 2005, 11:28 am
Location: UK

Post by Marshall » June 5th, 2006, 9:51 pm

my method:-

1) create brush

2)convert to brushmodel

3) type values:-

Code: Select all

Key: script_exploder

Value: 200
4) create trigger over the brushmodel

5) texture it with trigger!

6) convert to trigger>damage

7) type in following values:-

Code: Select all

Key: script_exploder

Value: 200
8) Create after brush

9) convert the brush to brushmodel

10) type in following values:-

Code: Select all

Key: script_exploder

Value: 200

Code: Select all

Targetname:

Value: exploder

ok drofdey? :D


Marshall

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Post by Drofder2004 » June 5th, 2006, 10:45 pm

Ok, I have come up with an idea that may or may not work.
I will test it now and if I get it to work, I will post it.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests