Blowing up my v2
Moderator: Moderators
-
BirdsofaFeather
- Sergeant
- Posts: 72
- Joined: Sun Aug 24, 2003 3:49 am
Blowing up my v2
Alright here's the situation:
I have a v2 in my map that is an objective to blow up. I originally had a problem where the bounding box of the v2 was so large that it kept me a good distance from the rocket, keeping me from setting the bomb obviously. I tried to make the rocket nonsolid in it's settings, but it seemed that the exploder script would automatically make it solid again no matter what. At the suggestion of another person I used these entity settings in my rocket (along with the normal #set association):
$targetname: exploder
targetname: v2
then I changed this in my script:
waitthread global/exploder.scr::main
$v2 notsolid
I created a custom clip for my rocket that fit it the right way, and the rocket did go nonsolid. Unfortunatly, now the exploder script doesn't work for it, in that the rocket doesn't blow. Is there any way to make it so the rocket can interact with both the exploder script and my command to make it nonsolid? Or is there a way to simply remove the large bounding box that the rocket comes with and have it work with the exploder script also? Thanks in advance.
I have a v2 in my map that is an objective to blow up. I originally had a problem where the bounding box of the v2 was so large that it kept me a good distance from the rocket, keeping me from setting the bomb obviously. I tried to make the rocket nonsolid in it's settings, but it seemed that the exploder script would automatically make it solid again no matter what. At the suggestion of another person I used these entity settings in my rocket (along with the normal #set association):
$targetname: exploder
targetname: v2
then I changed this in my script:
waitthread global/exploder.scr::main
$v2 notsolid
I created a custom clip for my rocket that fit it the right way, and the rocket did go nonsolid. Unfortunatly, now the exploder script doesn't work for it, in that the rocket doesn't blow. Is there any way to make it so the rocket can interact with both the exploder script and my command to make it nonsolid? Or is there a way to simply remove the large bounding box that the rocket comes with and have it work with the exploder script also? Thanks in advance.
Look! Up in the sky! It's a Bird! It's a Plane! It's......oh wait it's a bird.
<Your MOHAA Mapping Friend in the Sky
>
<Your MOHAA Mapping Friend in the Sky
-
BirdsofaFeather
- Sergeant
- Posts: 72
- Joined: Sun Aug 24, 2003 3:49 am
and just in case someone says it: no I can't make the rocket smaller, I kept it the default size anyway. I should be able to walk right up to it and set a bomb, you can do that in the stock v2 map anyway.
Look! Up in the sky! It's a Bird! It's a Plane! It's......oh wait it's a bird.
<Your MOHAA Mapping Friend in the Sky
>
<Your MOHAA Mapping Friend in the Sky
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
-
BirdsofaFeather
- Sergeant
- Posts: 72
- Joined: Sun Aug 24, 2003 3:49 am
:O...After a quick look at the stock V2 map: there is no such scripting, they have just klicked the NOT_SOLID checkbox in the V2 models entity properties dialog box ( resulting in the key / value pair : spawnflags / 1 ).
but that's what I did, and it didn't work...at all. The exploder thread made it solid again. There must be some kind of work-around thread, but I don't have a clue where to start.
*edit* I just checked v2's script too, it doesn't look like they've done anything special there either, I'm stumped.
Look! Up in the sky! It's a Bird! It's a Plane! It's......oh wait it's a bird.
<Your MOHAA Mapping Friend in the Sky
>
<Your MOHAA Mapping Friend in the Sky
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
-
BirdsofaFeather
- Sergeant
- Posts: 72
- Joined: Sun Aug 24, 2003 3:49 am
yes, actually I did use an animate_equipment_v2. I hadn't even thought of using a script_model instead, will try though. Compiling nowThey do not use an animate_equipment_v2 ( as I suspect you do )... instead they use a script_object with the key / value pair : model / static/v2.tik ( and the not_solid ).
Look! Up in the sky! It's a Bird! It's a Plane! It's......oh wait it's a bird.
<Your MOHAA Mapping Friend in the Sky
>
<Your MOHAA Mapping Friend in the Sky
-
BirdsofaFeather
- Sergeant
- Posts: 72
- Joined: Sun Aug 24, 2003 3:49 am
yeah, it still didn't work, the large bounding box of the rocket model was still there even though it was now a script_object and had nonsolid checked. The exploder thread still made it solid again. Is there any way to assign two targetnames to an entity? That's the only way I can think of to do this. Could anyone else with a decompiled version of v2 take a look and see if they did anything special to make it work?
Look! Up in the sky! It's a Bird! It's a Plane! It's......oh wait it's a bird.
<Your MOHAA Mapping Friend in the Sky
>
<Your MOHAA Mapping Friend in the Sky
-
BirdsofaFeather
- Sergeant
- Posts: 72
- Joined: Sun Aug 24, 2003 3:49 am
WOOHOO, I figured it out.
I used a workaround. I just made a normal rocket model and didn't include it in the exploder set, made it nonsolid. then I added a continuously running loop to see if the bomb had went off, and when it did I did a $v2 hide command. Simple yet effective. Thanks for the help anyway.
I used a workaround. I just made a normal rocket model and didn't include it in the exploder set, made it nonsolid. then I added a continuously running loop to see if the bomb had went off, and when it did I did a $v2 hide command. Simple yet effective. Thanks for the help anyway.
Look! Up in the sky! It's a Bird! It's a Plane! It's......oh wait it's a bird.
<Your MOHAA Mapping Friend in the Sky
>
<Your MOHAA Mapping Friend in the Sky
- Axion
- Major General
- Posts: 683
- Joined: Mon Sep 29, 2003 5:14 am
- Location: Northern California
- Contact:
Yeah, but doesn't it look cheesy to just have the rocket disaapear into thin air?
"The work of a thousand years is nothing but rubble."
- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9

- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9

-
BirdsofaFeather
- Sergeant
- Posts: 72
- Joined: Sun Aug 24, 2003 3:49 am
eh, not as cheezy as having it not disappear at all after an explosion, and since I can't figure out any other way...it's good enough for me at that point.Yeah, but doesn't it look cheesy to just have the rocket disaapear into thin air?
Look! Up in the sky! It's a Bird! It's a Plane! It's......oh wait it's a bird.
<Your MOHAA Mapping Friend in the Sky
>
<Your MOHAA Mapping Friend in the Sky
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
- Axion
- Major General
- Posts: 683
- Joined: Mon Sep 29, 2003 5:14 am
- Location: Northern California
- Contact:
It's been so long since I've actually played a V2 match where the allies had successfully blown the rocket up that I'd forgotten what the mechanics of the explosion looked like.
Carry on.
Carry on.
"The work of a thousand years is nothing but rubble."
- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9

- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9

-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
