Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

Character Portraits?

An area for discussing new ideas and additions to Oolite.

Moderators: winston, another_commander

Post Reply
User avatar
Amen Brick
Deadly
Deadly
Posts: 187
Joined: Sat May 10, 2008 5:22 pm
Location: Bolton!

Character Portraits?

Post by Amen Brick »

Inspired by the explorable station threads. Would it be possible to have static graphics of your pilot/mission givers/other people. Maybe flash up if they talk to you in space?
User avatar
Disembodied
Jedi Spam Assassin
Jedi Spam Assassin
Posts: 6884
Joined: Thu Jul 12, 2007 10:54 pm
Location: Carter's Snort

Post by Disembodied »

There was some (ultimately negative) discussion about providing portraits of characters in-game here -- and it would require an awful lot of artwork to avoid repeating the same images over and over again. A facility for a personal character portrait, maybe appearing on the F5 page, though, would be a nice way for people to personalise their game, though: you could make a small number of sample portraits but have the ability to upload an image of a standard size of your own if you wanted.

Mind you, this would probably require a bit of guddling around in the main program -- i.e. not be OXPable -- so I don't know if it would ever get a terribly high priority on the list!
User avatar
ramon
---- E L I T E ----
---- E L I T E ----
Posts: 346
Joined: Thu Jun 01, 2006 2:38 pm
Location: Tavistock
Contact:

Post by ramon »

you could upload your own photo/pic. Or us artist's out there could create say, 10 pairs of eyes, 10 noses etc etc with a few variations on uniforms.

Considering how quickly the uptake on the 'Your Ad here' oxp I think if we set some parameters we'd get plenty of variety over time.
User avatar
Selezen
---- E L I T E ----
---- E L I T E ----
Posts: 2527
Joined: Tue Mar 29, 2005 9:14 am
Location: Tionisla
Contact:

Post by Selezen »

I think the idea of having your own avatar is a good one, but there isn't really much point to it in a single player game. You know what you look like...
User avatar
pagroove
---- E L I T E ----
---- E L I T E ----
Posts: 3035
Joined: Wed Feb 21, 2007 11:52 pm
Location: On a famous planet

Post by pagroove »

Yes,

Nice idea. And I also want the option that you can name your ship. Then Captain Hesperus can name his python 'Dubious Profit'.
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
Image
https://bb.oolite.space/viewtopic.php?f=4&t=13709
User avatar
Cmdr. Maegil
Sword-toting nut-job
Sword-toting nut-job
Posts: 1294
Joined: Tue Feb 27, 2007 10:28 pm
Location: On the mend in Western Africa

Post by Cmdr. Maegil »

I don't care much about the pic, and to rename your ship, changing the ship data manually is easy enough... as long as you know this.
You know those who, having been mugged and stabbed, fired, dog run over, house burned down, wife eloped with best friend, daughters becoming prostitutes and their countries invaded - still say that "all is well"?
I'm obviously not one of them.
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6574
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

pagroove wrote:
And I also want the option that you can name your ship. Then Captain Hesperus can name his python 'Dubious Profit'.
This is already doable. Just add this to your python-player entry in shipdata.plist:

Code: Select all

display_name = "Dubious Profit";
And relaunch Oolite with Shift pressed. Voila!
User avatar
LittleBear
---- E L I T E ----
---- E L I T E ----
Posts: 2869
Joined: Tue Apr 04, 2006 7:02 pm
Location: On a survey mission for GalCop. Ship: Cobra Corvette: Hidden Dragon Rated: Deadly.

Post by LittleBear »

Can you do that as a variable? As in:-

Code: Select all

display_name = mission_random_hits_mark_name;
OXPS : The Assassins Guild, Asteroid Storm, The Bank of the Black Monks, Random Hits, The Galactic Almanac, Renegade Pirates can be downloaded from the Elite Wiki here.
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6574
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

LittleBear wrote:
Can you do that as a variable?
I don't think so. But you can always give it a try and see.

Edit: You want the victim's name appearing as the designation of the ship, if I have understood correctly. I think the best way is to assign a script to the ship whose display name you want changed and do something like this:

Code: Select all

this.shipSpawned = function()
{
    let aString = missionVariables.random_hits_mark_name;
    if (aString) this.ship.shipDisplayName = aString;
}
I'll see if I can get it to work and report back. But it should be doable.

Edit2: Yes it is doable. The above code works just fine.
Last edited by another_commander on Tue May 13, 2008 3:47 pm, edited 3 times in total.
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Post by Eric Walch »

LittleBear wrote:
Can you do that as a variable? As in:-

Code: Select all

display_name = mission_random_hits_mark_name;
Yes. Look in the ship Script of the buoyRepair. There I change the ship name by adding a random number, but you could also use an other string like a mission variable.
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6574
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

The code snippet I posted earlier has been updated, tested and found to work.

So now you have two examples to look at ;-)
User avatar
LittleBear
---- E L I T E ----
---- E L I T E ----
Posts: 2869
Joined: Tue Apr 04, 2006 7:02 pm
Location: On a survey mission for GalCop. Ship: Cobra Corvette: Hidden Dragon Rated: Deadly.

Post by LittleBear »

Cool. I'll add this in for V1.3!
OXPS : The Assassins Guild, Asteroid Storm, The Bank of the Black Monks, Random Hits, The Galactic Almanac, Renegade Pirates can be downloaded from the Elite Wiki here.
User avatar
pagroove
---- E L I T E ----
---- E L I T E ----
Posts: 3035
Joined: Wed Feb 21, 2007 11:52 pm
Location: On a famous planet

Post by pagroove »

Thnx guys. Didn't know that it was already possible by editing. I would however to have it built in when you buy a ship.
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
Image
https://bb.oolite.space/viewtopic.php?f=4&t=13709
User avatar
Cmdr. Maegil
Sword-toting nut-job
Sword-toting nut-job
Posts: 1294
Joined: Tue Feb 27, 2007 10:28 pm
Location: On the mend in Western Africa

Post by Cmdr. Maegil »

That sounds like a job for the Lord of the Shipyards!
You know those who, having been mugged and stabbed, fired, dog run over, house burned down, wife eloped with best friend, daughters becoming prostitutes and their countries invaded - still say that "all is well"?
I'm obviously not one of them.
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

...

Post by Lestradae »

I would however to have it built in when you buy a ship.
That sounds like a job for the Lord of the Shipyards!
If its doable and someone tells how to do it, it`s going to be in, sounds like a nice add-on. 8)
Post Reply