Page 1 of 1
Character Portraits?
Posted: Sun May 11, 2008 3:00 pm
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?
Posted: Sun May 11, 2008 7:39 pm
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!
Posted: Mon May 12, 2008 12:26 pm
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.
Posted: Mon May 12, 2008 6:03 pm
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...
Posted: Mon May 12, 2008 8:27 pm
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'.
Posted: Tue May 13, 2008 12:58 am
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.
Posted: Tue May 13, 2008 6:21 am
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:
And relaunch Oolite with Shift pressed. Voila!
Posted: Tue May 13, 2008 2:32 pm
by LittleBear
Can you do that as a variable? As in:-
Code: Select all
display_name = mission_random_hits_mark_name;
Posted: Tue May 13, 2008 2:39 pm
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.
Posted: Tue May 13, 2008 3:35 pm
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.
Posted: Tue May 13, 2008 3:48 pm
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
Posted: Tue May 13, 2008 3:51 pm
by LittleBear
Cool. I'll add this in for V1.3!
Posted: Tue May 13, 2008 10:27 pm
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.
Posted: Tue May 13, 2008 10:39 pm
by Cmdr. Maegil
That sounds like a job for the Lord of the Shipyards!
...
Posted: Wed May 14, 2008 4:24 am
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.