April 27, 2024, 17:50:19

Author Topic: Warfare mod, building ships mid-combat  (Read 6661 times)

Offline Arparso

  • Administrator
  • Lieutenant
  • *****
  • Posts: 558
  • Karma: 14
  • I can see you...
    • View Profile
    • http://arparso.de/nexus
Warfare mod, building ships mid-combat
« on: August 07, 2009, 16:08:08 »
Uh, what a shiny name ;)

I was kind of bored and experimented with a way to "build" ships on-the-fly, mid-combat. It was amazingly simple to pull of using multiple-choice dialogs for the build menu and a countdown timer to simulate build times. The Warfare mod is basically the result of that, serving as a proof of concept for that gameplay style in Nexus. There's no AI for that, though. Maybe I'll add something later, depends on the level of difficulty of writing an AI building stuff.

The script may be useful for other people, so I'm uploading it here for public use. Enjoy ;)

Offline Hades

  • Recruit
  • *
  • Posts: 17
  • Karma: 0
    • View Profile
    • http://
(No subject)
« Reply #1 on: August 07, 2009, 21:58:49 »
OMG it's look awesome :o ! ('ve red the readme to understand what you did lol) Will try it now :)

After test : it's great, but if in the battle we select the ship often, it will be irritating, so maybe you can do a sort of "transmission probe" carried by the mother ship to launch or which work in the ship, for, when we click on it then the dialog appears.

PS: i cannot access to the keyswow forum again :/

Offline Arparso

  • Administrator
  • Lieutenant
  • *****
  • Posts: 558
  • Karma: 14
  • I can see you...
    • View Profile
    • http://arparso.de/nexus
(No subject)
« Reply #2 on: August 07, 2009, 23:45:01 »
Yeah, me neither. Keyswow seems to be down again :(

And yes, the build menu coming up every time you select that ship can be quite irritating. That's why I'd attach that script to a non-combat vessel or more suitably a space station. There's no use in making your most valuable battleship the mothership, since the damn build menu will be getting really annoying when trying to fight your foes. I even thought about using these modular space stations to get different build menus... like you get different build options, if you click the shipyard module or the sensor module. Theoreatically it would be even possible to simulate some kind of a research tree, so you'll need to research different technologies to unlock more powerful vessels.

However, this kind of stuff would greatly add to the complexity of the script and right now I just wanted to see, if it can be done at all, and not to produce a worthy Homeworld contestant. ;)

I'm pretty happy with this first version. Proves what one can do with less than 250 lines of code of Nexus scripting...

Offline AndrewN

  • Recruit
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
    • http://
(No subject)
« Reply #3 on: November 14, 2009, 22:15:14 »
I`ve registered here just to download mod, but when I tried it, I just HAD to say it absolutely epic.)

Offline Arparso

  • Administrator
  • Lieutenant
  • *****
  • Posts: 558
  • Karma: 14
  • I can see you...
    • View Profile
    • http://arparso.de/nexus
(No subject)
« Reply #4 on: November 15, 2009, 14:05:51 »
Thanks! I'm glad you like it ;)