Welcome Mat

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

User avatar
allikat
Deadly
Deadly
Posts: 191
Joined: Tue Jan 19, 2010 5:45 pm

Post by allikat »

There's no need for a pure ships OXP to have a configuration other than the shader settings.. or things like the missiles oxp, but others like missions and eye candy certainly should. And I'd like it to have a spot in the menus to make it even easier to get into, and thus cut processing even more :)
Commander Monty, a Python Class Cruiser driver :D
Iron assed bulk haulers for the win!

Of the two trumbles which escaped today from Lave station, only 473 have been located....
User avatar
Svengali
Commander
Commander
Posts: 2370
Joined: Sat Oct 20, 2007 2:52 pm

Post by Svengali »

allikat wrote:
There's no need for a pure ships OXP to have a configuration other than the shader settings.. or things like the missiles oxp, but others like missions and eye candy certainly should. And I'd like it to have a spot in the menus to make it even easier to get into, and thus cut processing even more :)
Absolutely right and I've said somewhere else that I would be happy if the engine or a third party tool would do the job. In the same moment OXPConfig is gone .-)
Anyway - some work is waiting...
User avatar
kalm-man
Harmless
Harmless
Posts: 1
Joined: Sat Feb 20, 2010 7:37 pm
Location: RO

Post by kalm-man »

Hello to all. Happy to found this game and forum. (first post but not the last)

Back to the Welcome Mat subject :) , Thargoid thanks for this awesome script.

From curiosity, "becuse I can" and found how, alredy modified it a little, added a line with:

Code: Select all

player.commsMessage("Head count: "+this.policeCount+" police, "+this.pirateCount+" pirates, "+this.thargoidCount+" thargs", 6);
So don't let you fool by his "No reports of major pirate activity." message, 17 police and 51 pirates is a "safe" feudal sistem :D
Dangerously Harmless Space Duck
User avatar
JazHaz
---- E L I T E ----
---- E L I T E ----
Posts: 2991
Joined: Tue Sep 22, 2009 11:07 am
Location: Enfield, Middlesex
Contact:

Post by JazHaz »

Welcome to the friendliest forum this side of Riedquat!™

Nice mod!!
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

There are several such mods that can be used to extend Welcome Mat. I coded it as deliberately vague with its information so it was hints rather than a system-census.

But nice to see people using it, and making it more speciifcally what they want for their ooniverse. Oh, and a 17:51 ratio shouldn't give a safe message, that sounds wrong.
User avatar
Critter
Poor
Poor
Posts: 7
Joined: Fri Dec 24, 2010 9:10 am
Location: Australia

Re: Welcome Mat

Post by Critter »

Hi guys, I seem to be having a slight counting problem with the Welcome Mat oxp... see pics below:

In short, most systems I enter have more planets than are reported by the welcome mat, and the number it reports sometimes changes each time I enter the system:

Image

Furthermore, upon returning to the same system, i got this:

Image


I'm running Deep Horizons Systems v2.0.1, and Welcome Mat v1.10.

Is there an easy fix for this? Is Welcome Mat designed to be compatible with any particular system oxps?

Note this is not a criticism of the oxp, I find it useful and friendly, if a little dyscalculic... I'm just wondering if I should be using certain oxps and not others with it.
html error 808 : * this link has been taken over by Trumbles *


It's hard to see the writing on the wall when your back's against it.
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Re: Welcome Mat

Post by Thargoid »

Umm, Welcome Mat doesn't report anything about number of planets and moons. It pre-dates a lot of the OXPs that change the system like that.

What WM does report are the specs of the system, specifically the tech level, government type and a (deliberately vague, as mentioned above) idea of the safety of the system.

The sensors have detected part of the message is from another OXP, not WM.
User avatar
Cmd. Cheyd
---- E L I T E ----
---- E L I T E ----
Posts: 934
Joined: Tue Dec 16, 2008 2:52 pm
Location: Deep Horizon Industries Manufacturing & Research Site somewhere in G8...

Re: Welcome Mat

Post by Cmd. Cheyd »

It is part of DH_Systems. The relevant code is:

Code: Select all

this.Num_Moons = Math.floor((this.seedRadius-(Math.floor(this.seedRadius/1000)*1000))/this.Moon_Limit);

Code: Select all

	var planetSeed = this.seedPopulation + this.seedTechLevel + system.pseudoRandom100;
	this.Num_Planets = Math.ceil((100-planetSeed)/this.Planet_Limit);

Code: Select all

      if (player.ship.equipmentStatus("EQ_ADVANCED_COMPASS") == "EQUIPMENT_OK") {
		player.commsMessage("Sensors have detected  " + (+this.Num_Planets + 1) + " planets and " + this.Num_Moons + " moons.", 6);
	}
The sensor message is reporting the exact number of each body that the script generates. Can you list the other OXP's you have installed? Maybe there is another adding bodies in addition to DH_Systems, and therefore the 'count' is off. And I can fix this in the new version of the script that is in-works.
User avatar
Critter
Poor
Poor
Posts: 7
Joined: Fri Dec 24, 2010 9:10 am
Location: Australia

Re: Welcome Mat

Post by Critter »

Thanks for the clarification Thargoid, sorry for the delayed reply guys.

Cheyd, I'm running a whole plethora of OXPs, but the possibly relevant ones would be:

Famous planets 2.5
DH Systems
Orbits 1.4.1 (likely culprit?)
html error 808 : * this link has been taken over by Trumbles *


It's hard to see the writing on the wall when your back's against it.
User avatar
Cmd. Cheyd
---- E L I T E ----
---- E L I T E ----
Posts: 934
Joined: Tue Dec 16, 2008 2:52 pm
Location: Deep Horizon Industries Manufacturing & Research Site somewhere in G8...

Re: Welcome Mat

Post by Cmd. Cheyd »

It could easily be Orbits, or System Redux / Demux if you are running those in addition to DH_Systems?
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Re: Welcome Mat

Post by DaddyHoggy »

Cmd. Cheyd wrote:
It could easily be Orbits, or System Redux / Demux if you are running those in addition to DH_Systems?
I keep seeing this and keep thinking I haven't written anything and then I recall you mean Deepspace Horizons! :lol: :oops:
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
Critter
Poor
Poor
Posts: 7
Joined: Fri Dec 24, 2010 9:10 am
Location: Australia

Re: Welcome Mat

Post by Critter »

I'll remove orbits and see what happens... the others I have but don't run.

Thanks for the tip
html error 808 : * this link has been taken over by Trumbles *


It's hard to see the writing on the wall when your back's against it.
Zireael
---- E L I T E ----
---- E L I T E ----
Posts: 1396
Joined: Tue Nov 09, 2010 1:44 pm

Re: Welcome Mat

Post by Zireael »

Welcome Mat 1.10 is reported as uncompatible with the latest nightly.
gizmo
Deadly
Deadly
Posts: 157
Joined: Mon Nov 22, 2010 2:40 pm
Location: aboard the "Kiss of Time"

Re: Welcome Mat

Post by gizmo »

Zireael wrote:
Welcome Mat 1.10 is reported as uncompatible with the latest nightly.
Many OXPs are reported as incompatible.
However, most of them work anyway if you either modify or remove the version check (in requires.plist).
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Re: Welcome Mat

Post by JensAyton »

Zireael wrote:
Welcome Mat 1.10 is reported as uncompatible with the latest nightly.
Yes…

Dear OXP makers: stop using max_version. This is not meant for you.
Post Reply