Data Realms Fan Forums http://45.55.195.193/ |
|
Bullet Round Help http://45.55.195.193/viewtopic.php?f=1&t=18841 |
Page 1 of 1 |
Author: | Sam4578 [ Thu May 27, 2010 10:34 am ] |
Post subject: | Bullet Round Help |
I know this may have already been posted (I've looked for a while) but I'd like to know if: 1. There is a way to make a round explode after a certain distance into a wall.(using lua or something) and 2.There is a way to make a round explode after coming into a certain range of a being. (once again using lua or something) Cheers, Sam |
Author: | none [ Thu May 27, 2010 3:21 pm ] |
Post subject: | Re: Bullet Round Help |
yes Uh, no. Say something that actually helps if you're going to post. Warned for one word unhelpful post. -Duh |
Author: | CCnewplayer [ Thu May 27, 2010 6:23 pm ] |
Post subject: | Re: Bullet Round Help |
1- you can use lua or make a AEmitter that gibs the sharpnels and the flames. 2- samething , but I do not know if you change his lifetime will make him gib. |
Author: | none [ Thu May 27, 2010 6:34 pm ] |
Post subject: | Re: Bullet Round Help |
Sorry, Yes is the answer to the questions you can use lua to do what you asked, that was your question. My question is did you just want to know if it could be done or how to do it as well? If so you can either post in the request section and someone may do it for you, or try yourself to code and if you get stuck there is a lua help section here. Request: viewforum.php?f=75 Lua Scripting: viewforum.php?f=73 |
Author: | Freeflow [ Fri May 28, 2010 12:44 am ] |
Post subject: | Re: Bullet Round Help |
On the contrary, a cheap loophole way of doing it is to set the sprite offset so the sprite is displaced to the left. When fired you will see the projectile explode "before" said target. (If set too far to the left may cause separated explosion and strange visual) |
Author: | Sam4578 [ Fri May 28, 2010 7:45 am ] |
Post subject: | Re: Bullet Round Help |
Thanks Guys... *Reposting in Lua Section* |
Author: | Joe [ Fri May 28, 2010 11:19 pm ] |
Post subject: | Re: Bullet Round Help |
if you want terrain penetration, use lua to indicate the altitude, then once the particle is below a neglegible altitude (or in terrain) start a timer. At the end of the desired time, set an explosive to gib at the particle's position (don't make the timer too long or the particle will settle). |
Author: | CCnewplayer [ Sat May 29, 2010 12:26 am ] |
Post subject: | Re: Bullet Round Help |
Joe wrote: set an explosive to gib at the particle's position. Why lua it's the answer to everything? Just make one AEmitter with some pixels and make it gibs. |
Author: | Joe [ Sat May 29, 2010 1:09 am ] |
Post subject: | Re: Bullet Round Help |
With just an emitter, you can't tell it to explode when it's inside the terrain, only when it hits it. |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |