Personalities.oxp

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

Moderators: winston, another_commander

User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Re: Personalities.oxp

Post by Commander McLane »

Actually it's a little more complicated than that, because the personalities can appear in multiple ways.

The relevant bit is in the file personalities.js, in lines 60-72:

Code: Select all

	this.personalitiesAppearance = Math.random();
	if(this.personalitiesAppearance < 0.25)
	{
		this.waitUntilSpawn = new Timer(this, this.spawnPersonality, ((Math.random() * 7) + 5));
	}
	else if(this.personalitiesAppearance < 0.4)
	{
		system.legacy_addShips("personalities", 1);
	}
	else if(this.personalitiesAppearance < 0.65)
	{
		system.legacy_addShipsWithinRadius("personalities", 1, "wpu", [0, 0, ((Math.random() * 0.6) + 0.2)], 20000);
	}
In order to turn the general probability down you have to lower all three values, the 0.25, the 0.4, and the 0.65. Using 0.15, 0.25, and 0.4 respectively will lower the overall probability from 65% to 40%, while at the same time roughly maintaining the ratio of the different addition methods. You're free to experiment with even lower values, of course.

All this is true in case you jump into a new system. Personalities may also be added when you launch from the main station. The relevant code is in lines 91-103, looks very similar to the bit shown above, and again contains different ways of adding a personality, with different probabilities. Again you have to lower all three values in order to lower the overall probability while more or less maintaining the ratio of the different ways.

In my local copy, which will eventually become version 1.0, I have lowered the total probability to only 17%, quite a way down from the original 65%.
User avatar
Gibbon
Competent
Competent
Posts: 37
Joined: Sun Dec 05, 2010 10:18 am
Location: Planet Primus
Contact:

Re: Personalities.oxp

Post by Gibbon »

I personally thing 65% is way to high as well. The idea surely is to bump into a personality occasionally, not see them all the time and a high percentage spawn would mean precisely that. I'd even suggest 10%, be a bit of an event then when you do see one, more a case of "Wasn't that so and so?", instead of "yeah, he's here every day around 2 in the afternoon".
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Re: Personalities.oxp

Post by Commander McLane »

I have found myself constantly tuning down the chance since I started working on this OXP. Currently, as I said, it's at 17%.

Note, however, that this is the probability of spawning a personality, not necessarily of actually meeting it. This will also depend on the player's choices and is therefore lower than the spawning probability. (For instance you could fly outside the corridor. Or, if the personality is spawned on launch, you could leave the system immediately afterwards.)
User avatar
OneoftheLost
Deadly
Deadly
Posts: 216
Joined: Sat Oct 24, 2009 2:30 pm

Re: Personalities.oxp

Post by OneoftheLost »

Any more feature-specific ideas for 1.0? I was always interested, but the high probability turned me off. (I had a bad experience with the Vampire and SuperCobra oxps.......) I might just wait for 1.0 Are you waiting for more personalities, or just hoping 1.75 adds some new stuff to tinker with?
Profile: Commander Kolt
Ship: Cobra III - Longinus V
Elite Rating:Poor
Location: G1
User avatar
drew
---- E L I T E ----
---- E L I T E ----
Posts: 2190
Joined: Fri May 19, 2006 9:29 am
Location: In front of a laptop writing a book.
Contact:

Re: Personalities.oxp

Post by drew »

Has this OXP reached v1.0 yet? Just curious as to whether I was in it yet... I think I submitted a personae over a year ago! :lol:

Cheers,

Drew.
Drew is an author of SF and Fantasy Novels
WebsiteFacebookTwitter
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Re: Personalities.oxp

Post by Commander McLane »

drew wrote:
Has this OXP reached v1.0 yet? Just curious as to whether I was in it yet... I think I submitted a personae over a year ago! :lol:
Not yet, but you're already in it (if—for the time being—only in my personal Ooniverse).
User avatar
drew
---- E L I T E ----
---- E L I T E ----
Posts: 2190
Joined: Fri May 19, 2006 9:29 am
Location: In front of a laptop writing a book.
Contact:

Re: Personalities.oxp

Post by drew »

So, can I download 'me' ?

Cheers,

Drew.
Drew is an author of SF and Fantasy Novels
WebsiteFacebookTwitter
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Re: Personalities.oxp

Post by Thargoid »

I'm sure there are laws against that - at least on less anarchic worlds ;)
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Re: Personalities.oxp

Post by Commander McLane »

drew wrote:
So, can I download 'me' ?
You got email. :wink:
User avatar
OneoftheLost
Deadly
Deadly
Posts: 216
Joined: Sat Oct 24, 2009 2:30 pm

Re: Personalities.oxp

Post by OneoftheLost »

Need any more personalities? I'm nothing special in-game, but variety is the spice of life and all that. :)
Profile: Commander Kolt
Ship: Cobra III - Longinus V
Elite Rating:Poor
Location: G1
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Re: Personalities.oxp

Post by Commander McLane »

OneoftheLost wrote:
Need any more personalities? I'm nothing special in-game, but variety is the spice of life and all that. :)
Exactly my opinion. :wink:

Please, just follow the instructions in the first post of this thread and PM me the result (if you want to send in a custom texture, tell me so and I'll PM you my email address).
User avatar
gogz69
Deadly
Deadly
Posts: 130
Joined: Fri Nov 07, 2008 7:35 pm
Location: Hunting around the red line stars. (G2)

Re: Personalities.oxp

Post by gogz69 »

Commander McLane wrote:

Please, just follow the instructions in the first post of this thread and PM me the result (if you want to send in a custom texture, tell me so and I'll PM you my email address).
Check your email. :wink:
User avatar
nijineko
---- E L I T E ----
---- E L I T E ----
Posts: 353
Joined: Wed Jul 04, 2007 3:37 pm
Location: two strange quarks short of a graviton....
Contact:

Re: Personalities.oxp

Post by nijineko »

did i ever send it over to you? i'm too lazy to recheck the whole thread. =P
arukibito ga michi wo erabu no ka, michi ga arukibito wo erabu no deshou ka?

Image
Play games. Win Amazon gift cards! Brag. Repeat.
Zireael
---- E L I T E ----
---- E L I T E ----
Posts: 1396
Joined: Tue Nov 09, 2010 1:44 pm

Re: Personalities.oxp

Post by Zireael »

Any chance of this excellent project being restarted?
User avatar
Wolfwood
---- E L I T E ----
---- E L I T E ----
Posts: 735
Joined: Wed Mar 29, 2006 9:53 am
Location: Finland
Contact:

Re: Personalities.oxp

Post by Wolfwood »

Oh, I had completely forgotten this one. I think I submitted myself a long time ago as well, but have no recollection of how I described myself... :?
Author of Tales from the Frontier - official Elite 4 anthology.
Author of Marcan Rayger adventures - unofficial fan-fic novellas set in the Frontier universe.
Post Reply