exploder chunks disapearing and broken windows

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
M&M
General
Posts: 1427
Joined: Sun Sep 14, 2003 1:03 am
Location: egypt
Contact:

exploder chunks disapearing and broken windows

Post by M&M »

well,i have 2 questions,
1st:i want 2 make a broken window,not one that i have 2 break,so i made a brush and but a broken window texture on it.when testing i can fire rounds thru it (sub machine guns, machine gunssnipers,guns) but firing a bazooka makes it blow up in my face,also when throwing a grenade it bounces back at me.i tried making the brush non-solid but everytime i check the checkbox rean it and hit ok,when i return it disappears!!!??so am i doing it wrong and how should it be done

2nd:i managed 2 make an exploding wall with exploder_chunks flying off,but the problem is they dont fly 2 far and they disappear.what i want 2 do is have parts of the wall roll away from the wall after destruction,but what happens is that the chunk hits the ground and sinks thru it(disappears).i know its affected by gravity but sinking into ground isnt one of the effects of gravity as i remember :?
tnx in advance
Image
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

1 - Make it a func_window and set the health to an insanely high number.
2 - The exploder system spawns exploder_chunks as pure eye candy. They are not solid and disappears. If you want the thing you describe you will have to script the exploder_chunks movements manually. Or you can place explodersmashed brushes after the explosion ( but they just pop into existence ).
Admin .MAP Forums
Image
Head above heels.
M&M
General
Posts: 1427
Joined: Sun Sep 14, 2003 1:03 am
Location: egypt
Contact:

Post by M&M »

2nd::well,if i make it explodersmashed and link it 2 script origins the same way i do with an exploderchunk ,wouldnt it move and give the effect i want?ill give it a try
Image
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

No, explodersmashed will only spawn at the place you put them... no hurling of brushes. If you want exactly what you describe: you will have to script it all manually.
Admin .MAP Forums
Image
Head above heels.
M&M
General
Posts: 1427
Joined: Sun Sep 14, 2003 1:03 am
Location: egypt
Contact:

Post by M&M »

well,u c im a noob at scripting :) ,so i must find a way by mapping it.what i meant in the last post is that i make it an explodersmashed,this will make it spawn in the place i put them(near the destroyed object).after it spawns (near the destroyed object)cant i move it by placing script origins and targeting them like any other moving object?
Image
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

Well I guess you can, but if you are a scripting noob It will be very hard...

I suggest using a standard exploder and direct the exploderchunk towards the explodersmashed: so that the exploderchunk lands where the explodersmashed spawns. And hide any details in a big exploderfire.
Admin .MAP Forums
Image
Head above heels.
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

moveto

Post by tltrude »

This might work.

rolling_rock:

$rock time 4
$rock moveto $rockroll_origin // A script _origin
$rock rotateY 360
$rock waitmove
$rock rotateY 0

end
Tom Trude,

Image
M&M
General
Posts: 1427
Joined: Sun Sep 14, 2003 1:03 am
Location: egypt
Contact:

Post by M&M »

Bjarne BZR wrote:I suggest using a standard exploder and direct the exploderchunk towards the explodersmashed: so that the exploderchunk lands where the explodersmashed spawns. And hide any details in a big exploderfire.
that wont give the effect of blocks of stone rolling away from the explosion
i guess id have 2 script it like u said.

tltrude,how do i make this rock move after the explosion ,u gave me the motion of a rolling rock but that script will make it move without the explosion

another question,cant i scale down a certain effects?i tried some effects on the exploded wall and they look like i blew berlins wall with a nuke,but its actually a vry small brush(88x248x8) ,and i blew it with a sniper!!!
Image
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

triggering

Post by tltrude »

There are several ways to trigger the thread. One is to put this in the properties of the trigger.

Key: setthread
Value: rolling_rock

That will run the thread when the trigger fires. You can also set off the exploder with a line in the rolling_rock thread, like this.

-----------------------------------------------------
level waittill prespawn

$rock hide // hide the script_object

end

rolling_rock:

exec global/exploder.scr::explode 1 // sets off the #set 1 exploder
$rock show // show the script_object
$rock time 2
$rock moveto $rockroll_origin // A script _origin
$rock rotateY 360
$rock waitmove
$rock rotateY 0

end
-----------------------------------------------------

But, you'll have to rename the trigger and take out the set number--so the exploder doesn't get set off twice.

You can scale all entities up or down in the entity window (key N).
Tom Trude,

Image
Post Reply