Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
Runekyndig

Registered:
Posts: 31
Reply with quote  #1 
I am trying to write a longer co-op adventure for two ships - let me just start by saying that is not trivial!

Any way, I find it strange that the skybox on each ship main screen is different. Any explanation to that? 
Mike Substelny

Avatar / Picture

Administrator
Registered:
Posts: 2,990
Reply with quote  #2 
Unless your script specifies the skybox the Artemis software will choose one at random.
__________________
"The Admiralty had demanded six ships; the economists offered four; and we finally compromised on eight."
- Winston Churchill
maetrics

Registered:
Posts: 2
Reply with quote  #3 
I would really like to learn how to make a co-op map.

A couple years ago, I designed a mission for a club I'm in, but we typically run 3-5 ships.

You can find it here https://github.com/maetrics/gomis-gauntlet/blob/master/ROADMAP


https://github.com/maetrics/gomis-gauntlet/blob/master/ROADMAP
ryleyra

Registered:
Posts: 3,214
Reply with quote  #4 
Scripting Mode is not really designed for co-op. The first thing you need to remember is that you can't issue more than one "create" command. All other players must be "added" to the game when the ship logs in. The biggest workaround that scripters have come up with for enabling multiplay (and jump drive for the first ship) is to not create ANY ships. You specify what ships are available, for the Mission Editor and your own information, and then disable the event so it never executes.

From there, you basically have to predefine the names of all ships that you expect to log in and program separate events for each. You can't control anything involving Engineering damage, docking, or client keys since they only apply to the first player ship. And if the players want to use their own ship names, you have to edit the script to use those names instead of the default.

Hopefully, Thom will be coming up with a solution for all those problems soon.
maetrics

Registered:
Posts: 2
Reply with quote  #5 
Thanks! I'll play with these ideas and see if I can extend my mission.
Voice

Registered:
Posts: 48
Reply with quote  #6 
Seems like the skybox choice, if random, should be made on the primary server, and communicated to the connected bridges and stations.

An ideal solution for missions & mods would be to have the server dish out a zip file or something that the connected systems could all receive and overlay when they connect to the game.
Something as simple as having the code look in a 'current mod', or 'mod name' folder for any file before looking in the stock install folder would do the job.
Fish Evans

Registered:
Posts: 383
Reply with quote  #7 
Its random untill a mission script sets a sepcific one.
<set_skybox_index index="10" /> 

valid are 0-29. although any ships that join after the event that sets the index will get a random one until such time as its set again.
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.