Author |
Message |
Sam4578
Joined: Thu May 27, 2010 10:25 am Posts: 18 Location: Longbeach (not California), Australia
|
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
|
Thu May 27, 2010 10:34 am |
|
|
none
Joined: Fri Dec 18, 2009 11:00 pm Posts: 167
|
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
|
Thu May 27, 2010 3:21 pm |
|
|
CCnewplayer
Joined: Wed Feb 24, 2010 11:00 pm Posts: 255 Location: Unknow
|
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.
|
Thu May 27, 2010 6:23 pm |
|
|
none
Joined: Fri Dec 18, 2009 11:00 pm Posts: 167
|
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=75Lua Scripting: viewforum.php?f=73
|
Thu May 27, 2010 6:34 pm |
|
|
Freeflow
Joined: Sun Oct 25, 2009 10:16 pm Posts: 110 Location: Western U.S.
|
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)
|
Fri May 28, 2010 12:44 am |
|
|
Sam4578
Joined: Thu May 27, 2010 10:25 am Posts: 18 Location: Longbeach (not California), Australia
|
Re: Bullet Round Help
Thanks Guys... *Reposting in Lua Section*
|
Fri May 28, 2010 7:45 am |
|
|
Joe
Joined: Tue Jul 21, 2009 4:36 am Posts: 347 Location: The place where asses go to be bad
|
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).
|
Fri May 28, 2010 11:19 pm |
|
|
CCnewplayer
Joined: Wed Feb 24, 2010 11:00 pm Posts: 255 Location: Unknow
|
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.
|
Sat May 29, 2010 12:26 am |
|
|
Joe
Joined: Tue Jul 21, 2009 4:36 am Posts: 347 Location: The place where asses go to be bad
|
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.
|
Sat May 29, 2010 1:09 am |
|
|
|