Acid
4 posts • Page 1 of 1
Acid
if water had an option to be checked on and off to become acid and eat through objects unless imortal.
Then it could have a slider and you could change the intensity of it, basically saying how much it's gonna eat through before it dies, also have a +inf.
Then it could have a slider and you could change the intensity of it, basically saying how much it's gonna eat through before it dies, also have a +inf.
Thymer... Sorta :/
Like my avatar? Google it: gif it's pretty cool, just get the original sorce and put it for the URL of a pic like this:
http://www.imitationpickles.org/galcon/ ... /zarah.gif
neeed more help? Pm me :^)
My site/forum:
http://way2crazy.iforums.us/
^a ninja was here
Like my avatar? Google it: gif it's pretty cool, just get the original sorce and put it for the URL of a pic like this:
http://www.imitationpickles.org/galcon/ ... /zarah.gif
neeed more help? Pm me :^)
My site/forum:
http://way2crazy.iforums.us/
^a ninja was here
-
Way2crazy - Posts: 20
- Joined: Mon Sep 21, 2009 4:38 am
Re: Acid
lots of little balls with oncollide if scripts.
say the collideset of the block to be melted is very specific or something.
this is off the top of my head so no garentees it would work.
say the impacted collides with A and B (collideset 3) and just for arguement sake the acid balls are A, (1)
(e)=>{e.other.collideset == 3 ? {e.other.density = e.other.density / 4} : {}}
That would eventually mess up the density of the object till it disappeared, however i'd suggest it was mounted to the background or it'll float away lol
You could also code in an if statement to make it vanish before the object started glitching, and to make the colour burn. codes to do all of this can often be found in laser tanks, but they will usually use "e.geom" which needs changing to "e.other" for the code to work in oncollide.
say the collideset of the block to be melted is very specific or something.
this is off the top of my head so no garentees it would work.
say the impacted collides with A and B (collideset 3) and just for arguement sake the acid balls are A, (1)
(e)=>{e.other.collideset == 3 ? {e.other.density = e.other.density / 4} : {}}
That would eventually mess up the density of the object till it disappeared, however i'd suggest it was mounted to the background or it'll float away lol
You could also code in an if statement to make it vanish before the object started glitching, and to make the colour burn. codes to do all of this can often be found in laser tanks, but they will usually use "e.geom" which needs changing to "e.other" for the code to work in oncollide.
-
Torpedo - Posts: 120
- Joined: Mon Aug 31, 2009 8:51 pm
4 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 11 guests