bazooka tutorial? if there is such a thing


Quakah
04-26-2003, 06:49 AM
I was wondering if there was already a bazooka tutorial. I mean with this, if you shoot with a bazooka at a tank(not at a wall, at a model!) it explodes. I have no idea how to do this, if anyone can help me, plz :)

Ginger Lord
04-26-2003, 07:03 AM
func_breakable triggerable only by Bazooka/pschrek/piat

Targets score ent

Quakah
04-26-2003, 07:07 AM
i said a model, not a simple brush, you have your model: env_model: you shoot with your bazooka: weapon_bazooka. you get an explosion sprite: env_sprite or env_explosion, your model disapears and an other model comes in place. That is what I want but how do I get that to happen?

flox
04-26-2003, 07:11 AM
Waldo said he had loads of tutorial maps he should release. One of them probably has a blow upable tank :D

Ginger Lord
04-26-2003, 07:17 AM
Alright then...

Env_model with func_breakable inside it.

Triggered to blow with bazzoka. Targets a multimanager. Multimanager targets an env_explosion(s), env_sprites, particle_shooters and whatever you want to make it look pretty, i targets and env_render to make the model dissapear and another env_render to render a previosuly hidden model to appear. The hidden model = destroyed version of original.

That good enough?

xerent
04-26-2003, 08:48 AM
If Waldo has tutorials ready to post, that's great! If not, I suppose I'll have to write a few. ;)

04-26-2003, 08:54 AM
Just let your 2 env_models depend on 1 master. ie. 1 multisource entity.

If the name of the multisource is tankmaster, then for 1 env_model, fill in "tankmaster" while the other env_model, fill in "~tankmaster". Turning your multisource on/off would simply toggle the apprioate model accordingly.

Quakah
04-26-2003, 09:01 AM
Originally posted by Ginger Lord
Alright then...

Env_model with func_breakable inside it.

Triggered to blow with bazzoka. Targets a multimanager. Multimanager targets an env_explosion(s), env_sprites, particle_shooters and whatever you want to make it look pretty, i targets and env_render to make the model dissapear and another env_render to render a previosuly hidden model to appear. The hidden model = destroyed version of original.

That good enough?

yes, but i've never worked with env_render and if you want to explain that part i'd be verry gratefull to you

-iNw-Andy
04-26-2003, 11:04 AM
Or...if the tank or said model object is one of the objectives (i.e. the team needs to capture it in order to win)...you could use a dod_control_point and dod_point_relay. For example, if the Allies had to blow up a Jagdpanther, the "model when axis capture" for the control point would be set to the clean model, and the "model when allies capture" would be set to the destroyed model. Then, when your breakable is broken it can target the point_relay to force the control point to be captured by the allies.

04-26-2003, 08:55 PM
Heres a run down of env_render for ya buddy

an env_render can change the rendering options of a targeted entity. Basically you give the env_render all the render properties you want the targeted entity to gain when its triggerd.

ex: A tank model explodes.

you use a func_breakable to clip the tank model. this is the intact one, the destoyed one is currently hidden through "Render Mode: Texture" + "FX Ammount: 0". on the destroying of the func_breakable you trigger the multi_manager for the 2 env_renders nd other effects. one env render would target the intact tank model, it would have "Render Mode: Texture" + "FX Ammount: 0". the other would target the destoryed model it ould have the settings "Render Mode: Normal" + "FX Ammount: 0". Keep in mind this is the env_renders not the mdoels. env_render works by applying its own render status to the targeted object. play aorund with it in a test map its easy once you figure it out. more advice can be got at http://www.valve-erc.com

Quakah
04-27-2003, 12:23 AM
thank you, i did it with 4 env_renders but it works :D

04-27-2003, 12:30 AM
Originally posted by xerent
If Waldo has tutorials ready to post, that's great! If not, I suppose I'll have to write a few. ;)

Awesome!

Quakah
04-27-2003, 12:43 AM
here you can see my tutorial:
http://www.dayofdefeat.net/forums/showthread.php?s=&threadid=386

thank you angry beaver and ginger lord

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.