March 28, 2024, 07:39:13

Author Topic: Fleets  (Read 10492 times)

Offline Mularac

  • Lieutenant
  • ***
  • Posts: 531
  • Karma: 11
    • View Profile
Fleets
« on: August 25, 2011, 06:44:58 »
Is there a way to know if a ship belongs to a certain fleet? The players fleet, for instance.

Offline The Old Dragon

  • Ensign
  • ***
  • Posts: 362
  • Karma: 6
    • View Profile
    • http://
Re: Fleets
« Reply #1 on: August 25, 2011, 23:43:37 »
Hi Mul,

Found the following in the Gospel according to St Nexus...

Quote
>   fleet (r) – if the ship belongs to a fleet, than it is the identifier of the fleet, otherwise 0 (on contrary to the station’s home fleet name, it is not a fleet, but I’m sure that everyone knows that already) launcher (r) – the ship that sent it out (it cannot be used by the transport!!!);

So in theory, something like...

Debug(E.ship, "belongs to ", E.ship:fleet, "fleet");

May supply the data that you want..?
Better to look the fool by asking, then prove them right with ignorance.

Offline Mularac

  • Lieutenant
  • ***
  • Posts: 531
  • Karma: 11
    • View Profile
Re: Fleets
« Reply #2 on: August 26, 2011, 01:15:16 »
huh... wonder how I missed that...
Though, I can't use the debug window, I'm working on the campaing environment. I'd test this further, though.

EDIT: Yeah, it works like a charm, thank you a LOT Old Dragon.
Example of usage: Lets say that the ship whose scene object is identified by the variable m.ship and that this ship belongs to the player's fleet, then this condition: m.ship:fleet = uPlayersFleet() will be true.
« Last Edit: August 26, 2011, 01:36:41 by Mularac »

Offline The_Small_Time_Modder

  • Petty Officer
  • **
  • Posts: 126
  • Karma: 0
  • Watch out batman! here comes CHUCK NORRIS!
    • View Profile
Re: Fleets
« Reply #3 on: September 25, 2011, 22:31:56 »
Im starting to get curious in this area of the game.

I have one mission of my own where i placed the players ships litterally in a shield-like formation. I have a battleship in the center of it, a support ship behind the battleship, a cruiser to the left and right of the support ship, and NDF corvettes, frigates and destroyers in a curved V shape around the battleship and support ship.

Heres a pictograph if you guys have no clue how it looks.

B = Battleship
S = Support
D = Destroyer
F = Frigates
Cr = Cruisers
C = Corvettes

-----------------------------------------
               C       C
        F                      F
                    S
        F                      F
   Cr                           Cr
        D          B         D
           C               C
              D         D
                    C
------------------------------------------

I have them all level, and the support ship has a fortress shield.
The fleet has about 4 fighter wings, 4 gunboat wings and 6 bomber wings if i recall correctly.

 Thoughts anyone?
Epic win = when bullets dodge YOU.

Nothing can contend with that. Unless if you can travel through time and space.

Offline Mularac

  • Lieutenant
  • ***
  • Posts: 531
  • Karma: 11
    • View Profile
Re: Fleets
« Reply #4 on: September 26, 2011, 00:03:53 »
I... don't understand, thoughts about what?

Offline The_Small_Time_Modder

  • Petty Officer
  • **
  • Posts: 126
  • Karma: 0
  • Watch out batman! here comes CHUCK NORRIS!
    • View Profile
Re: Fleets
« Reply #5 on: September 26, 2011, 00:23:42 »
the formation im mentioning about.....?   ???
Epic win = when bullets dodge YOU.

Nothing can contend with that. Unless if you can travel through time and space.

Offline Mularac

  • Lieutenant
  • ***
  • Posts: 531
  • Karma: 11
    • View Profile
Re: Fleets
« Reply #6 on: September 26, 2011, 00:25:08 »
what we think about the formation or how to make it?

Offline The_Small_Time_Modder

  • Petty Officer
  • **
  • Posts: 126
  • Karma: 0
  • Watch out batman! here comes CHUCK NORRIS!
    • View Profile
Re: Fleets
« Reply #7 on: September 26, 2011, 02:45:36 »
    I just want to know if you think the formation i unintentionally made (i made it by simply moving the ships around in the editor) is worthy of being an actual formation for somebody's mod, etc.   ;)

    Im thinking of testing the formation a bit further, but as far as i can tell, its EXCELLENT for firing massive volleys of missiles.  8)

   I can also tell its perfect for swamping single enemies with targets, the enemies guns will be too busy shooting at one target at a time to get the hell outta there!  :P

   And with that fortress shield of the support ship enveloping ALL of the ships, it would make a very tough fleet to beat!  8)


EDIT: I also realized that the large number of smaller vessels could even overwhelm fleets! they'd be so busy with the smaller vessels that they wont be able to handle the big boys (the battleship and cruisers) without either taking hull damage or getting obliterated! 8)
« Last Edit: September 26, 2011, 02:54:02 by The_Small_Time_Modder »
Epic win = when bullets dodge YOU.

Nothing can contend with that. Unless if you can travel through time and space.

Offline The Old Dragon

  • Ensign
  • ***
  • Posts: 362
  • Karma: 6
    • View Profile
    • http://
Re: Fleets
« Reply #8 on: September 26, 2011, 09:34:21 »
Well, the two main issues that I can see with it at the moment are...

1) Nexus has a capship limit of about 27/28 ships, as you've got 17 in the formation then there's not a lot of space left for opposing ships... and therefore not much gameplay.

2) Although you can create a formation like that, the 'technical' side to Nexus formations are a bit basic. What I mean by this is that unless you spend half an hour with paper and pencil and (manually )very carefully pick the ships in the correct order, then some of the them will appear in positions that you don't want them too.
Better to look the fool by asking, then prove them right with ignorance.

Offline The_Small_Time_Modder

  • Petty Officer
  • **
  • Posts: 126
  • Karma: 0
  • Watch out batman! here comes CHUCK NORRIS!
    • View Profile
Re: Fleets
« Reply #9 on: September 26, 2011, 21:33:56 »
Hmm, very good point dragon... Then again i could cut down on the size of the formation...

Get rid of the corvettes and frigates and it should get interesting...

i find the formations in Nexus to be a bit too simple for me. In fact, from what i have seen, all they do is form an X (from a front or back point of view), thats it, and that is a little boring to me... again this was just an idea.
Epic win = when bullets dodge YOU.

Nothing can contend with that. Unless if you can travel through time and space.