View unanswered posts | View active topics It is currently Mon Jan 06, 2025 11:05 pm



Reply to topic  [ 9 posts ] 
 Bullet Round Help 
Author Message
User avatar

Joined: Thu May 27, 2010 10:25 am
Posts: 18
Location: Longbeach (not California), Australia
Reply with quote
Post 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
Profile

Joined: Fri Dec 18, 2009 11:00 pm
Posts: 167
Reply with quote
Post 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
Profile
User avatar

Joined: Wed Feb 24, 2010 11:00 pm
Posts: 255
Location: Unknow
Reply with quote
Post 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
Profile

Joined: Fri Dec 18, 2009 11:00 pm
Posts: 167
Reply with quote
Post 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


Thu May 27, 2010 6:34 pm
Profile

Joined: Sun Oct 25, 2009 10:16 pm
Posts: 110
Location: Western U.S.
Reply with quote
Post 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. :P (If set too far to the left may cause separated explosion and strange visual)


Fri May 28, 2010 12:44 am
Profile
User avatar

Joined: Thu May 27, 2010 10:25 am
Posts: 18
Location: Longbeach (not California), Australia
Reply with quote
Post Re: Bullet Round Help
Thanks Guys...
*Reposting in Lua Section*


Fri May 28, 2010 7:45 am
Profile
User avatar

Joined: Tue Jul 21, 2009 4:36 am
Posts: 347
Location: The place where asses go to be bad
Reply with quote
Post 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
Profile
User avatar

Joined: Wed Feb 24, 2010 11:00 pm
Posts: 255
Location: Unknow
Reply with quote
Post 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
Profile
User avatar

Joined: Tue Jul 21, 2009 4:36 am
Posts: 347
Location: The place where asses go to be bad
Reply with quote
Post 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
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 9 posts ] 

Who is online

Users browsing this forum: Google [Bot]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.079s | 14 Queries | GZIP : Off ]