Hello,
Yes one more tut because today i am motivaed enough
In this tutorial i explain how to setup the projectiles reactions when they touch an object like on this video at 1:00s :
http://youtube.com/watch?v=Inacc75oOWw
The rocket bounces over that bubble shield.
In this tutorial i'll give an example how to make a rocket bouce on a crate.
What we need:
entity 1.6UE
Plugins here:
http://www.trashalo.hostgratos.net/plugins/
1- Setting up the object material type
Choose an object in which you want the rocket to bounce, i'll take the crate_packing_giant (big green box)
Go to it's [hlmt]
Open meta editor
Go to the "Materials" reflexive
Now we are going to choose a wreid SID name that has nothing to do with materials so we have a unique material response and the rocket will only bounce for this object.
I'll set the Global Material SID to "rocket_trigger"
2- Adding the material respons to a projectile
Ok now do to [Proj]
Select smg projectile
Open Chunk cloner
Open material responses reflexive
Copy the chunk called "liqui_thin"
And Save
Clic "Copy to clipboard"
Close chunk cloner
Select rocket proj
Open chunk cloner
Clic on material responses reflexive
clic "Add to selected Reflex/Chunk"
clic "Add meta to map"
Open meta editor
Go to "Material Responses"
Select the second chunk
Change the "Surface"
To "rocket_trigger"
Default response to "Attach"
And Save
Now sign, test the map shoot a rocket on the bg green box, the rocket should bounce over the green box!
But if you shoot a wall it will explode because it's the default material response, "rocket_trigger" response is an exception we created.
That's all
-neodos
Setting up Object Materials & Projectiles Material Responses
- neodos
- Posts: 1493
- Joined: Sun Dec 09, 2007 8:58 pm
Setting up Object Materials & Projectiles Material Responses
Last edited by neodos on Sun Feb 17, 2008 7:01 am, edited 1 time in total.
- Grimdoomer
- Admin
- Posts: 1835
- Joined: Sun Dec 09, 2007 9:09 pm
Setting up Object Materials & Projectiles Material Responses
Dam neodos your on a roll today Keep up the good work!
Don't snort the magic, we need it for the network.
-
- Posts: 246
- Joined: Mon Dec 10, 2007 3:15 am
Setting up Object Materials & Projectiles Material Responses
How you figured this I do not now, but I love it anyways!
- bumlove
- Posts: 524
- Joined: Tue Dec 11, 2007 8:10 am
- Location: England I'm not British, I'm English
Setting up Object Materials & Projectiles Material Responses
Only a small finding to add to this, the initial friction below all this in the material responses is how fast it will bounce off, any number below 2 will bounce off slower than what it hit, 2 and it will bounce off at the same speed as what it hit and above 2 will bounce off faster, in real world maths this is usually 1, who knows why bungie choose 2
*edit just out of curiosity I tried initial friction of Zero and it doesn't bounce off*
*edit just out of curiosity I tried initial friction of Zero and it doesn't bounce off*