Alliedassault           
FAQ Calendar
Go Back   Alliedassault > FPS Gaming General Discussion > MoH Maps, Mods & Skins
Reload this Page Making Exploding Trees in AA
MoH Maps, Mods & Skins Discuss custom maps, skins and mods here.

Reply
 
Thread Tools Display Modes
Making Exploding Trees in AA
Old
  (#1)
General Cobra is Offline
Corporal
 
General Cobra's Avatar
 
Posts: 777
Join Date: Dec 2003
Location: staring at a laptop
   
Default Making Exploding Trees in AA - 02-03-2004, 09:48 PM

Quote:
Originally Posted by Gonzo
use a pm next time
LOL I decided to write this since Im taking the time to explain it I might as
well tell everyone else.
I dunno about random artillery fire and im assuming this is for aa because if its for sh there is already a way of doin that.
Well not that i have ever tried this before but u could try this and see if it
works because it worked for me and it looks pretty good.

For this youll have to make your own trees because you cant make tree models scripted objects. Ask you mapper to make his own trees using brushes, nodraw textures and masked textures of foliage. Tell him to take his time and make a nice looking tree for the map. {not like my stupid trees) After that has been done do this.

Plop down 2 tress. (we'll get to why 2 tress in a minute)
Highlight it. Rightclick make it a script> obj

Then with one of the trees highlighted hit N.

In the entity window make it:

key: #set
value: 1 (use whatever number suits your map because i don't know what number sets u may have used)

key: targetname
value: exploder

Then make a brush in the overhead view and make it say a 8 or 12 sided brush. texture it with a bark texture that matches the tree bark. (You are making the

stump thats left over) Rightclick the stump when highlighted and make it a

script> obj

Fit the stump right inside the tree where the stump would be.
select the stump, hit N and in the entity window make it:

key: #set
value: 1

key: targetname
value: explodersmashed

Now make a brush that is tall and thin and just comes out side of the trees neck all the way up. Right click it and make it trigger> multiple.

With the trigger brush selected hit N and make it:

key: #set
value: 1

key: targetname
value: explodertrigger

key: health
value: 50 (note: this is how much damage it can take just apply the value you want before the tree is destroyed)

Now in that entity box with the trigger mulitple make sure the box that says damage is checked.

Now rightclick on the map and put a fx> explosion> bombwall in the map right in the trunk of the tree. With it selected hit N and give it:

key: #set
value: 1

key: targetname
value: exploderfire

key: scale
value: .5

Now that thats done go take a piss and come back.

K. Now take the second tree like i talked about earlier

Take each peice of the tree and do this.

Right click on the map and make script> origins all around the tree about 2 or 3 blocks away from the center of the tree for every peice you want to go flying off when its hit.

Now take each peice (chunk of projectile) one by one and do this.

With it highlighted make it scrpt> obj. Then hit when highlighted and:

key: #set
value: 1

key: targetname
value: exploderchunk

Now the next part is very important so dont screwit up

Select the chunk u just made by holding down shift and select one of the script origins with it. While both selected hit ctrl + k Notice it links them both.

Its important that you dont by accident select anything else while doing that or it wont work and also the chunk needs to be selected first then the script origin. The script origin doesnt need any special keys values associated with it.

Now do this for each one of the chunks coming off the tree. (and if you clone it to try and cut short cuts im gonna slap you) mad:

[img]http://www.imageshack.us/files/tree_cobra3.jpg[/img]


You'll have to do this for every tree you make just change the #set number for each one. And dont clone!!!!!
Now add this line to your script

exec global/exploder.scr (after the word main

Dont make fun of my stupid trees either they took 1 min to make.
When its all done you should have this...

[img]http://www.imageshack.us/files/tree_cobra1.jpg[/img]

[img]http://www.imageshack.us/files/tree_cobra2.jpg[/img]

If you have any questions pm me.
Join me next time when I show u how to make pigs fly in aa.

JK quickshot:


  
Reply With Quote
Old
  (#2)
Pvt.Pinhead is Offline
Senior Member
 
Posts: 608
Join Date: Nov 2003
Location: Texas, USA
   
Default 02-04-2004, 07:44 PM

I wanna know how to make pigs fly!!!!!
  
Reply With Quote
Old
  (#3)
RandyShughart is Offline
Senior Member
 
Posts: 100
Join Date: Jan 2004
Location: Bunker Hill, IL
  Send a message via AIM to RandyShughart Send a message via MSN to RandyShughart  
Default 02-04-2004, 08:59 PM

actually Cobra, i was talking about SH, i just couldnt find anything anywhere on how to do it, but thanks a lot for writing that. it helped a lot.
  
Reply With Quote
Old
  (#4)
General Cobra is Offline
Corporal
 
General Cobra's Avatar
 
Posts: 777
Join Date: Dec 2003
Location: staring at a laptop
   
Default 02-04-2004, 09:27 PM

Quote:
Originally Posted by RandyShughart
actually Cobra, i was talking about SH, i just couldnt find anything anywhere on how to do it, but thanks a lot for writing that. it helped a lot.
Well if thats the case LOL (waste of time) Then check the addon> fx. its right there. If you need help just have the mapper contact me.


  
Reply With Quote
Old
  (#5)
HeadUp is Offline
Senior Member
 
Posts: 3,839
Join Date: Jun 2002
Location: UNIVERSITY OF PITTSBURGH
  Send a message via AIM to HeadUp Send a message via MSN to HeadUp Send a message via Yahoo to HeadUp  
Default 02-04-2004, 10:45 PM

ahhh man

you should save the post and upload it as a tutorial or something
wink:

if i was a mapper, that would be a huge help im sure
  
Reply With Quote
Old
  (#6)
General Cobra is Offline
Corporal
 
General Cobra's Avatar
 
Posts: 777
Join Date: Dec 2003
Location: staring at a laptop
   
Default 02-05-2004, 02:18 PM

Quote:
Originally Posted by DJHeadUp
ahhh man

you should save the post and upload it as a tutorial or something
wink:

if i was a mapper, that would be a huge help im sure
Ill prob copy it to the map tut here i made after i finish the next segment.


  
Reply With Quote
Old
  (#7)
WidowMaker555 is Offline
Senior Member
 
Posts: 1,968
Join Date: Oct 2003
Location: Warner Robins, Georgia
   
Default 02-05-2004, 02:46 PM

Cobra could u make me a mod of those trees falling when you shot them?
  
Reply With Quote
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



Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBulletin Skin developed by: vBStyles.com
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.