Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extended player faces selection dialog #1309

Closed
DorpsGek opened this issue Oct 8, 2007 · 2 comments
Closed

extended player faces selection dialog #1309

DorpsGek opened this issue Oct 8, 2007 · 2 comments
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Oct 8, 2007

BigBB opened the ticket and wrote:

Since I begin to play TT I hate it to create a face. And in OTTD it's still the same procedure. So I decided to create a patch to change it.

Original:
- you have the two gender buttons
- and a random button for new faces
- nothing else

Only the european males have 80,621,568 different faces and during you press the "New Face" butten there are random afrikan faces between the european ones. So good luck to get "your" face.

With this patch:
- you have two gender buttons, too
- you have two ethnicity buttons
- a random button, but now you can define your ethnicity and don't have a random one
- 2 checkboxes to enable/disable glasses and for male moustache or for females earring
- and then 10 switching buttons to change all sorts of face-variables

So it's easy and fast to create your face. And as bonus you have:

- a save button
- a load button
- and the possibility to enter the face nummber direct

The face number will be saved in the openttd.cfg and has a value between 0 and 0xFFFFFFFF but not all values have a face. So it's advisable not to edit it if you don't know what you do (if you enter a invalid value it will be make valid).
With the face no. button can you see your current face no. and/or enter a new one without need to editing openttd.cfg.

If you don't like this patch? No problem. By default is the normal (old one) face selection window showing. Only if you press the expand or 'advanced' button you have the new possibilities.

The look is inspiratedional by a patch from jez and the suggestions in the thread.

Internally is the code completely dynamic. So if there comes some new (e.g.) chins you don't need to edit the code for the window.

After v1.5 skidd13 spend much time to find bugs and to make me many suggestions how the code looks much better (coding and documentation style). He help me a lot, thank you very much!

link for patch-file: http://www.tt-forums.net/viewtopic.php?f=33&t=34133
current version: 1.7.1

Have fun,
BigBB

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/1309
@DorpsGek
Copy link
Member Author

DorpsGek commented Oct 9, 2007

BigBB wrote:

Little update to reduce CPU load in some functions also removed some unneeded code.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/1309#comment2366

@DorpsGek
Copy link
Member Author

Rubidium closed the ticket.

Reason for closing: Implemented

In r11269.


This comment was imported from FlySpray: https://bugs.openttd.org/task/1309

@DorpsGek DorpsGek added component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay labels Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay
Projects
None yet
Development

No branches or pull requests

1 participant