View unanswered posts | View active topics It is currently Fri Jan 10, 2025 8:38 am



Reply to topic  [ 31 posts ]  Go to page 1, 2, 3  Next
 Charging weapons. 
Author Message
User avatar

Joined: Fri Dec 22, 2006 4:20 am
Posts: 4772
Location: Good news everyone!
Reply with quote
Post Charging weapons.
I've never made one, I've seen some, but now I want to know how to make one.
Like, you hold down the mouse button for 3 seconds and the charged bullet is 3 strong, if you spend 5 seconds, it is 5 seconds strong.


Sun Jul 05, 2009 12:41 am
Profile WWW
User avatar

Joined: Sat Feb 28, 2009 11:06 pm
Posts: 69
Reply with quote
Post Re: Charging weapons.
That looks like it would be a LUA based thing, I have no prior knowledge of LUA so I can't be mutch help


Sun Jul 05, 2009 1:07 am
Profile
User avatar

Joined: Fri Dec 22, 2006 4:20 am
Posts: 4772
Location: Good news everyone!
Reply with quote
Post Re: Charging weapons.
I've seen it done without lua.


Sun Jul 05, 2009 1:11 am
Profile WWW
User avatar

Joined: Wed Mar 25, 2009 9:49 pm
Posts: 96
Reply with quote
Post Re: Charging weapons.
Do you mean in the AAL mod? That wasn't really charging, just a bunch of blanks, and the last shot in the clip is a giant laser, or something.


Sun Jul 05, 2009 1:39 am
Profile
User avatar

Joined: Fri Dec 22, 2006 4:20 am
Posts: 4772
Location: Good news everyone!
Reply with quote
Post Re: Charging weapons.
No, not that.
I think I might need lua, possibly.


Sun Jul 05, 2009 1:47 am
Profile WWW
User avatar

Joined: Sat Feb 28, 2009 11:06 pm
Posts: 69
Reply with quote
Post Re: Charging weapons.
What was that about not needing LUA!! HUH *eh hem

anyway so Maybe you could get some of these ne--- I mean Smart people like numgun or someone to tell you how


Sun Jul 05, 2009 1:49 am
Profile
User avatar

Joined: Wed Jul 09, 2008 1:34 am
Posts: 218
Location: Monkey Island: It is teh fluffy here.
Reply with quote
Post Re: Charging weapons.
CrazyMLC wrote:
No, not that.
I think I might need lua, possibly.

Yeah, check out the gatling gun for the charging animation then I think you would separately code the bullet amount of bullets in lua.


Sun Jul 05, 2009 1:51 am
Profile WWW
User avatar

Joined: Fri Dec 22, 2006 4:20 am
Posts: 4772
Location: Good news everyone!
Reply with quote
Post Re: Charging weapons.
I said I saw it done without Lua. :P
Not that I did not need/want Lua.

So, yeah. Waiting for someone experience with Sparkly Magicks to post.

The Gatling gun does not charge, that is a fire delay, My bubble fan uses it.

Okay, I basically want it to be
You can hold down the mouse button for a maximum of 5 seconds.
when you release the mouse button, a single MOParticle is released of varying strength, depending on how long you held down the mouse button, using different sprites for each 5 levels of strength.


Last edited by CrazyMLC on Sun Jul 05, 2009 2:01 am, edited 2 times in total.



Sun Jul 05, 2009 1:52 am
Profile WWW
User avatar

Joined: Sat Feb 28, 2009 11:06 pm
Posts: 69
Reply with quote
Post Re: Charging weapons.
I need to learn LUA too it seems to be very helpful to peoples


Sun Jul 05, 2009 1:54 am
Profile
User avatar

Joined: Fri Dec 22, 2006 4:20 am
Posts: 4772
Location: Good news everyone!
Reply with quote
Post Re: Charging weapons.
Change it to Lua! Quick!
Before people kill you on technicality!


Sun Jul 05, 2009 1:55 am
Profile WWW
User avatar

Joined: Sat Feb 28, 2009 11:06 pm
Posts: 69
Reply with quote
Post Re: Charging weapons.
Sounds like LUA, but what if you could make a A-emitter shoot out that shot a particle out that shot an emitter out that shot a particle out and so on?


Sun Jul 05, 2009 1:56 am
Profile
User avatar

Joined: Fri Dec 22, 2006 4:20 am
Posts: 4772
Location: Good news everyone!
Reply with quote
Post Re: Charging weapons.
Sigh... Time for an ornery Grif to appear.

Anyhow, that wouldn't work for what I am planning.


Sun Jul 05, 2009 1:58 am
Profile WWW
User avatar

Joined: Sat Feb 28, 2009 11:06 pm
Posts: 69
Reply with quote
Post Re: Charging weapons.
Well, You gotta tell us what the hell you are going for before we can help yousa


Sun Jul 05, 2009 1:58 am
Profile
User avatar

Joined: Fri Dec 22, 2006 4:20 am
Posts: 4772
Location: Good news everyone!
Reply with quote
Post Re: Charging weapons.
CrazyMLC wrote:
Okay, I basically want it to be
You can hold down the mouse button for a maximum of 5 seconds.
when you release the mouse button, a single MOParticle is released of varying strength, depending on how long you held down the mouse button, using different sprites for each 5 levels of strength.


Sun Jul 05, 2009 1:59 am
Profile WWW
User avatar

Joined: Fri Oct 17, 2008 9:46 pm
Posts: 5212
Location: The Grills Locker.
Reply with quote
Post Re: Charging weapons.
I might be able to help with that. Just give me some time to prepare the Lua stuff and add the Sparkle Magic.


Sun Jul 05, 2009 2:36 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 31 posts ]  Go to page 1, 2, 3  Next

Who is online

Users browsing this forum: No registered users


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.072s | 16 Queries | GZIP : Off ]