Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: stavpoly4789 on June 13, 2005, 04:08:39 pm

Title: weird use of ballistic but...
Post by: stavpoly4789 on June 13, 2005, 04:08:39 pm
I'm using the ballistic flag for a fighter mounted beam weapon thingy (I'm still trying to think of a good name) to simulate a separate powercell that can run out but can also be recharged by a support ship. When I do that, I have infinite shots. the meter says 10 and stays at 10 after each shot.

If there is a better way to do this, can someone tell me?

I'm not sure, but it seems to me that this has probably something to do with it being a beam but it doesnt seem to me to be that complicated to fix in the code. So, If anyone ever gets the time, can you take a look?
Title: weird use of ballistic but...
Post by: Solatar on June 13, 2005, 05:50:12 pm
I'd suggest taking the "beam" flag off real quick, and seeing if it works (taking away ammo) as a non-beam. Sounds obvious...but it might be a problem with the weapon. Anywho, worth a look just to double check.
Title: weird use of ballistic but...
Post by: stavpoly4789 on June 13, 2005, 06:50:20 pm
taking "beam" off does make the ammo meter go down, so I guess it was the "beam". Unless the problem is fixed is there any other way to get this effect?
Title: weird use of ballistic but...
Post by: FireCrack on June 13, 2005, 07:56:17 pm
Realy fast projectile with long trail?
Title: weird use of ballistic but...
Post by: Bobboau on June 13, 2005, 08:14:50 pm
lame?
Title: weird use of ballistic but...
Post by: Dark RevenantX on June 13, 2005, 11:52:58 pm
Make the screen flash yellow over and over in a manner that will make epileptic people go mad until the beam should be finished firing.  You shouldn't have to worry about it after that.
Title: weird use of ballistic but...
Post by: stavpoly4789 on June 14, 2005, 11:48:17 am
Quote
Originally posted by Bobboau
lame?

me or firecrack?
Title: weird use of ballistic but...
Post by: Solatar on June 14, 2005, 12:13:54 pm
I think he meant the "projectile with long tail" was lame. :)
Title: weird use of ballistic but...
Post by: Trivial Psychic on June 14, 2005, 11:21:02 pm
You mean like a certain massive dumbfire secondary from FS1?
Title: weird use of ballistic but...
Post by: FireCrack on June 15, 2005, 06:37:48 pm
Got any better ideas?
Title: weird use of ballistic but...
Post by: stavpoly4789 on June 15, 2005, 09:47:40 pm
Also, I've noticed that any beam that a player controls can be fired continuously if the player holds down the fire button. The player holds down the button and one long continuous beam until the player lets go.