Love to see Fighters included

Discuss all things Battleships Forever that aren't Ships and Shipmaker - Missions, Development, etc.!

Moderators: th15, Moderators

Vrmithrax
Ensign
Ensign
Posts: 7
Joined: Thu Jan 17, 2008 12:40 am

Love to see Fighters included

Post by Vrmithrax »

So, I've been playing around lately and making very small ships. Basically just miniaturizing every part and piece and making little fighter ships with limited weapons, with the intent of creating little battle wings to fight bigger ships (yah, been bored lately). Think heavy fighters and/or bombers, with the Demeters filling the gap as the light fighter.

There are a few problems with this so far: The first is that you can't miniaturize any of the non-weapon components (such as thrusters, for example). I know that's been covered a few times in the suggestions here.

Also, once you miniaturize the components, as you zoom in and try to fine-tune the placement, the step size for moving is huge. I'm guessing it is locked on a specific pixel distance at a specific set zoom. Would love to see the nudge scale as you zoom in or out in the shipmaker...

My other problem is with the AI... I'd love to see a "Fighter" AI mode, where the unit will zip into range and then back out again to a set location. Basically assign it a position, and then when you click to attack a target, it would zoom in to your designated AI distance firing all the way, then zoom back to its original position and start the run all over again. Handy for if you have a friendly cruiser nearby, you can have the fighters zipping back towards it to get a little repair work done on the fly as it resumes the attack.

Anyhow, that's my idea... Not sure if it's been suggested before, you guys are WAY too prolific to be able to catch up with all the posts... heh
Sig? I don't need no stinking sig...
Comus
Commander
Commander
Posts: 147
Joined: Thu Dec 13, 2007 9:53 am

Post by Comus »

I can't help you with the design issues - the shipbuilder has always had issues, though it gets better and better with each iteration.

With the AI, though, try setting the AI to a negative range. The ship can't actually get to a negative range, so it comes in at full speed, zooms through the ship, then zooms away as it reverses direction. Ends up looking like it's making runs across the enemy.
Vrmithrax
Ensign
Ensign
Posts: 7
Joined: Thu Jan 17, 2008 12:40 am

Post by Vrmithrax »

Comus wrote: With the AI, though, try setting the AI to a negative range. The ship can't actually get to a negative range, so it comes in at full speed, zooms through the ship, then zooms away as it reverses direction. Ends up looking like it's making runs across the enemy.
Oooh, I'll have to try that one... Might be as close as I can get until something actually gets put in.

Thanks for the tip!
Sig? I don't need no stinking sig...
User avatar
Arcalane
Pseudofeline Overlord
Posts: 4034
Joined: Thu Sep 13, 2007 10:37 am
Location: UK

Post by Arcalane »

Comus wrote:I can't help you with the design issues - the shipbuilder has always had issues, though it gets better and better with each iteration.

With the AI, though, try setting the AI to a negative range. The ship can't actually get to a negative range, so it comes in at full speed, zooms through the ship, then zooms away as it reverses direction. Ends up looking like it's making runs across the enemy.
Another trick that was tried was to basically set the acceleration fairly low and the top speed fairly high. That way, with a short AI range, the fighter won't be able to slow down in order to "orbit" them.
  /l、
゙(゚、 。 7
 l、゙ ~ヽ
 じしf_, )ノ
AllStarZ
Captain
Captain
Posts: 292
Joined: Fri Dec 28, 2007 8:16 am

Post by AllStarZ »

I'd rather see some means of launching them from your ships.
Kaelis
Moderator
Posts: 1590
Joined: Fri Dec 14, 2007 4:46 am

Post by Kaelis »

Its painful for me to say this, but...

Didnt we already establish that BSF is 'feature complete' and theres no hope for anything new?

( :cry: )
Himura.Kenshin
Rear Admiral
Rear Admiral
Posts: 887
Joined: Fri Sep 28, 2007 11:35 pm
Location: Below My Postcount

Post by Himura.Kenshin »

I used the search button!

http://www.wyrdysm.com/phpBB2/viewtopic ... ht=fighter
http://www.wyrdysm.com/phpBB2/viewtopic ... ht=fighter
http://www.wyrdysm.com/phpBB2/viewtopic ... ht=fighter
http://www.wyrdysm.com/phpBB2/viewtopic ... ht=fighter
th15 wrote:It's more than just AI or gameplay. Fighters mess up a whole range of things. Collision detection doesn't work reliably, targeting algorithms are expensive to run, and so on.
th15 wrote:Scale is the root of the problem concerning fighters. To have fighters to scale with the ships, they'd be on the order of 1 or 2 pixels long. That's the only way that they'd be small enough not to get hit by random shots (but they probably will still get hit a fair bit, considering that a blaster shot is something like 12x40 pixels). The thing is, at that size, because of the way the collision engine works, shots could pass straight through the fighters and never register.

As for spawning ships from a module, the difficulty here is referring to the type of ship to create. It'd be simple enough for me to create a module that created any ship already included in the game itself, but I can't structure it such that it can create a custom ship. Sooooo the issue is rather moot since I'm pretty sure you don't want to be spawning Hestias.
Warcraft III (U.S. East) -~-~- [( Aequinox / DACI-Equinox / Equinox]4[Lyfe )]
XBox 360 LIVE (Mostly CoD:WaW) -~-~- [( EquinoxXenom )]

[quote="Wyrdysm Games"][i]Stop quoting the line above in your sigs![/i][/quote]
ChaosTheory
Vice Admiral
Vice Admiral
Posts: 1372
Joined: Tue Dec 11, 2007 1:31 pm
Location: Sunny California

Post by ChaosTheory »

Fighter (and even simple squadron) AI is actually fairly simple. For my Algorithm testing, I used this system:

1) find MAXSPEED
2) find TARGX and TARGY
3) motion_add() a certain amount towards TARGX and TARGY
4) set SPEED to MAXSPEED

This causes the fighters to maintain a constant speed. Additionally, they will auto-track their target after a flyby and turn like a real fighter would to go around again. After flying over the target, the fighter will continue a short distance and slowing accelerate into a turn in the most efficient direction until another pass can be made. When a squadron of ships does this coming straiht at the target, they will break off of their "formation" into a cool Blue Angels-style go around. It's hard to explain fully, but it looks extremely cool for multiple fighters with low overhead.

Also, if you wnat the fighters to stay wingtip-to-wingtip, add this code after line 3:

1) find nearest neightbor X and Y
2) motion_add() away from NNX and NNY a smaller amount, 20-30% of step 3 before

In the problem of scale, aren't Demeters already massive on the battleship scale? Like the length of a yacht? Can't you just add a simple fighter sprite about the same radius?
[img]http://i307.photobucket.com/albums/nn298/ChaosTheory100/Feather_Signature_Ice3.png[/img]
antisocialmunky
Vice Admiral
Vice Admiral
Posts: 1032
Joined: Wed Jan 30, 2008 8:22 am

Post by antisocialmunky »

ChaosTheory wrote: 1) find nearest neightbor
Owww.
Don’t worry it has airbags.
ChaosTheory
Vice Admiral
Vice Admiral
Posts: 1372
Joined: Tue Dec 11, 2007 1:31 pm
Location: Sunny California

Post by ChaosTheory »

antisocialmunky wrote:
ChaosTheory wrote: 1) find nearest neightbor
Owww.
I hope you're not rying to crack a joke, because I don't get it.

I never said this was a major part of the code . . . just something to add. I suspect it wouldn't really be an improvement anyway. The rest of the code, however, is CPU-friendly.
[img]http://i307.photobucket.com/albums/nn298/ChaosTheory100/Feather_Signature_Ice3.png[/img]
Himura.Kenshin
Rear Admiral
Rear Admiral
Posts: 887
Joined: Fri Sep 28, 2007 11:35 pm
Location: Below My Postcount

Post by Himura.Kenshin »

ChaosTheory wrote:
antisocialmunky wrote:
ChaosTheory wrote: 1) find nearest neightbor
Owww.
I hope you're not rying to crack a joke, because I don't get it.

I never said this was a major part of the code . . . just something to add. I suspect it wouldn't really be an improvement anyway. The rest of the code, however, is CPU-friendly.
Warcraft III (U.S. East) -~-~- [( Aequinox / DACI-Equinox / Equinox]4[Lyfe )]
XBox 360 LIVE (Mostly CoD:WaW) -~-~- [( EquinoxXenom )]

[quote="Wyrdysm Games"][i]Stop quoting the line above in your sigs![/i][/quote]
User avatar
Normandy
Vice Admiral
Vice Admiral
Posts: 1214
Joined: Thu Sep 27, 2007 2:34 am

Post by Normandy »

Himura.Kenshin wrote:
ChaosTheory wrote:
antisocialmunky wrote: Owww.
I hope you're not rying to crack a joke, because I don't get it.

I never said this was a major part of the code . . . just something to add. I suspect it wouldn't really be an improvement anyway. The rest of the code, however, is CPU-friendly.
And so our heroes began once again in search of the legendary phpBBtec temples.

Wha?
[url=http://www.fallingsandgame.com/][img]http://www.gaussianstudios.co.cc/hosting/fsgbanneram3.png[/img][/url]

tl;dr-ers will be shot on sight.
[size=75][url=http://bsf.wikidot.com/]BSF Wiki[/url]
"I have measured your 'fun', and science has quantitatively rated it a three." ~Lord Tim (Data Realms Fan Forums)[/size]
ChaosTheory
Vice Admiral
Vice Admiral
Posts: 1372
Joined: Tue Dec 11, 2007 1:31 pm
Location: Sunny California

Post by ChaosTheory »

Normandy wrote:
Himura.Kenshin wrote:
ChaosTheory wrote: I hope you're not rying to crack a joke, because I don't get it.

I never said this was a major part of the code . . . just something to add. I suspect it wouldn't really be an improvement anyway. The rest of the code, however, is CPU-friendly.
And so our heroes began once again in search of the legendary phpBBtec temples.

Wha?
Quick! Over there! A small ruin that may lead us to the tower of Babel!
[img]http://i307.photobucket.com/albums/nn298/ChaosTheory100/Feather_Signature_Ice3.png[/img]
Spoot Knight
Rear Admiral
Rear Admiral
Posts: 839
Joined: Sun Jan 27, 2008 2:59 pm
Location: In the Vega star system, monitoring UCM defense movement.
Contact:

Post by Spoot Knight »

I don't see how Demeters should even be considered fighters since they're kind of...you know...attack drones...
Lizzie
Admiral
Admiral
Posts: 1685
Joined: Wed Nov 07, 2007 2:03 pm
Contact:

Post by Lizzie »

Spoot Knight wrote:I don't see how Demeters should even be considered fighters since they're kind of...you know...attack drones...
All things considering. If I was the Admiral of a fleet with access to attack drones. I'd replace my fighters with em and start training the pilots to do more things on ships.
Image
Post Reply