Behemoths
Moderators: winston, another_commander
Behemoths
I was just wondering whether a builder could add their own behemoth into the mix, without too much confusion. I don't want to step on copy rights, or anything of that nature, but I would sure like to add a couple of carriers that would be seen as the behemoths they are, and put into the game as such. Is that possible, or am I just blowing smoke?
- Rorschachhamster
- ---- E L I T E ----
- Posts: 274
- Joined: Sun Aug 05, 2012 11:46 pm
- Contact:
Re: Behemoths
I'm not really familar with the Behemoth.OXP, but if you need scripts or something else from it, you could just write it into the description of your OXP that it is needed.
Re: Behemoths
I've already tried dropping subtle hints to that effect, but so far no takers have stepped forward. Everyone is too busy with their own projects.
- JazHaz
- ---- E L I T E ----
- Posts: 2991
- Joined: Tue Sep 22, 2009 11:07 am
- Location: Enfield, Middlesex
- Contact:
Re: Behemoths
I have a player-flyable behemoth, that Dizzy sorted out for me for an OXP project. I'll send it to you if you like.
JazHaz
Thanks to Gimi, I got an eBook in my inbox tonight (31st May 2014 - Release of Elite Reclamation)!Gimi wrote:Maybe you could start a Kickstarter Campaign to found your £4500 pledge.drew wrote:£4,500 though! <Faints>
Cheers,
Drew.
- submersible
- Commodore
- Posts: 264
- Joined: Thu Nov 10, 2011 7:49 am
Re: Behemoths
I've been working on a model which has no particular home. 'Colossus' looking for a use. This ship launches from either port or starboard belly-forward , and accepts docking from above. Currently only a model.mandoman wrote:I've already tried dropping subtle hints to that effect, but so far no takers have stepped forward. Everyone is too busy with their own projects.
Povray Planets - Planet textures for your galaxy
Re: Behemoths
Yeah, I would appreciate that. Sounds interesting.JazHaz wrote:I have a player-flyable behemoth, that Dizzy sorted out for me for an OXP project. I'll send it to you if you like.
Re: Behemoths
Wow...I love this game!submersible wrote:I've been working on a model which has no particular home. 'Colossus' looking for a use. This ship launches from either port or starboard belly-forward , and accepts docking from above. Currently only a model.mandoman wrote:I've already tried dropping subtle hints to that effect, but so far no takers have stepped forward. Everyone is too busy with their own projects.
- Diziet Sma
- ---- E L I T E ----
- Posts: 6312
- Joined: Mon Apr 06, 2009 12:20 pm
- Location: Aboard the Pitviper S.E. "Blackwidow"
Re: Behemoths
Be aware that I didn't sort out the shields.. some tweaking is still needed.mandoman wrote:Yeah, I would appreciate that. Sounds interesting.JazHaz wrote:I have a player-flyable behemoth, that Dizzy sorted out for me for an OXP project. I'll send it to you if you like.
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
Re: Behemoths
I asked Eric Walch about how to pull it off, and he said that just specifying in the ship roles that it is a behemoth will add it to the list. In other words, if it's role is a behemoth carrier home-for-others, what-have-you, the game will work it into the behemoth lineup for appearing in the game. That was almost too simple, so it was just right for me.
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Re: Behemoths
At the begin of the Behemoth script is a list of roles:
The whole purpose of that script is to avoid that the player will ever see two identical named Behemoths in the same system. When you create new types and give each a different role from above list, it will only enhance the variation. The behemoth.oxp will than do the addition as before.
And you could give your oxp a copy of the behemoth script with its own name. That copy then should check if the original Behemoth script is present. If yes, it deletes itself. If not, your script does the population.
This looks a bit complex, but ensures that your oxp would also work in the absence of the original oxp, without the risk of disturbing it when present. But first create ships themselves.
Code: Select all
this.behemoth = ["behemoth-ymir", "behemoth-argus", "behemoth-atlas", "behemoth-grid", "behemoth-surt", "behemoth-talos", "behemoth-tethys", "behemoth-bolverk", "behemoth-gog", "behemoth-magog", "behemoth-titan", "behemoth-loki", "behemoth-goliath", "behemoth-colossus", "behemoth-nimrod", "behemoth-geryon"];
And you could give your oxp a copy of the behemoth script with its own name. That copy then should check if the original Behemoth script is present. If yes, it deletes itself. If not, your script does the population.
This looks a bit complex, but ensures that your oxp would also work in the absence of the original oxp, without the risk of disturbing it when present. But first create ships themselves.
UPS-Courier & DeepSpacePirates & others at the box and some older versions
Re: Behemoths
Ooookay. I hope I understood you clearly. None of my carriers have the name "behemoth" at the head of the ship name, but in the roles I entered "behemoth-mt1012carrier". Then I took the original behemoth.js script, added the two I have up and running right now in the list, with the same name given in each my ship's roles, and then renamed the script "behemoth2.js". Now, I may have part, or all of that wrong. Does it look right to you? Should I NOT have changed the script name to "behemoth2.js"?
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Re: Behemoths
Not only the filename must be different but also the entry
And also give your behemoths unique roles and fill them in in the new script instead of the original roles. That will result in:
When the behemoth.oxp is not installed by the user, your oxp will work on its own and add the ships. And when the behemoth .oxp was installed alongside yours, your code deletes its own populating script-part and the original oxp will select ships from both oxps. That avoids increasing the added amount of ships to the universe if both oxps are installed.
name
. The content of name is used to identify other scripts. I would suggest to add the original script into your oxp and add the following linesCode: Select all
this.name = "behemoth-mandoman";
this.startup = function ()
{
if (worldScripts.behemoth)
{
delete this.shipExitedWitchspace;
for (var i = 0; i<this.behemoth.lenght; i++)
{
worldScripts.behemoth.behemoth.push(this.behemoth[i]);
worldScripts.behemoth.behemothList.push(this.behemoth[i]);
}
}
}
When the behemoth.oxp is not installed by the user, your oxp will work on its own and add the ships. And when the behemoth .oxp was installed alongside yours, your code deletes its own populating script-part and the original oxp will select ships from both oxps. That avoids increasing the added amount of ships to the universe if both oxps are installed.
UPS-Courier & DeepSpacePirates & others at the box and some older versions
Re: Behemoths
I'm following your logic, but where in the original script do I add what you have posted. Also, where you have
this.name = "behemoth-mandoman"; In the place of mandoman, am I to place the unique name/role of the ship I'm adding to the list? Also, this is completely seperate from the behemoth.js? I don't add my carriers to the behemoth.list?
Sorry, this is the kind of stuff that trips me up. Thanks for the help.
this.name = "behemoth-mandoman"; In the place of mandoman, am I to place the unique name/role of the ship I'm adding to the list? Also, this is completely seperate from the behemoth.js? I don't add my carriers to the behemoth.list?
Sorry, this is the kind of stuff that trips me up. Thanks for the help.
Re: Behemoths
I set it up the way I thought you meant, and am getting no error notices in Latest.log. In fact, Latest.log shows the MTFleetV1.2.oxp as present, and running. I guees I'll just have to keep my eyes open for the ships, now.
- Shipbuilder
- ---- E L I T E ----
- Posts: 877
- Joined: Thu May 10, 2012 9:41 pm
- Location: Derby
Re: Behemoths
Looks like the lure or the dark side was too much for you to resist Mandoman.
And it sounds like you are working on an interesting project.
And it sounds like you are working on an interesting project.
The GalTech Industries Corporation - Building ships to populate the galaxies.
Increase the variety of ships within your Ooniverse by downloading my OXPs
Flying the [wiki]Serpent_Class_Cruiser[/wiki] "Thargoid's Bane"
Increase the variety of ships within your Ooniverse by downloading my OXPs
Flying the [wiki]Serpent_Class_Cruiser[/wiki] "Thargoid's Bane"