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

Remove vehicle name changes on ownership - Just append owner string to vehicle display #32241

Merged
merged 3 commits into from Jul 9, 2019

Conversation

ghost
Copy link

@ghost ghost commented Jul 7, 2019

Summary

SUMMARY: Bugfixes "Remove vehicle name changes on ownership"

Purpose of change

Fixes #32211
Vehicles changing names when they changed owners was not really workable, causing bugs in older saves which didnt have the new base_name I added for vehicles.
A much better solution is just to display the name in red when its now owned by you, or green when its owned by you or not owned by anyone.

Describe the solution

as above

Describe alternatives you've considered

N/A

Additional context

N/A

@Night-Pryanik
Copy link
Contributor

Some screenshots?

@ghost
Copy link
Author

ghost commented Jul 7, 2019

Some screenshots?

A random bicycle I found :
image

A bus belonging to the free merchants :

image

@Night-Pryanik
Copy link
Contributor

Well, honestly it isn't obvious why in some cases the name is in green, and in others it is red.

@ghost
Copy link
Author

ghost commented Jul 7, 2019

Well, honestly it isn't obvious why in some cases the name is in green, and in others it is red.

It isnt super-obvious no, but other things in the game come with experience, i.e - why is the component in the recipe brown? and so on.

And it is less annoying and finicky to mess with than the vehicle keep changing its name when it changes owners.

Plus - when you interact with a stolen vehicle you get popup warnings " are you sure you want to interact with this vehicle? - it does not belong to you" , so that would be an indicator too.

@KorGgenT KorGgenT added NPC / Factions NPCs, AI, Speech, Factions, Ownership Vehicles Vehicles, parts, mechanics & interactions labels Jul 8, 2019
@esotericist
Copy link
Contributor

Color-only based information here is not a complete solution, and I would argue it is a significant regression.
One, color-blind individuals may have trouble distinguishing between the colors selected. Yes, we have that problem elsewhere, but there's been increasing attempts to try to make the information available somehow symbolically when possible, usually through one of the various "detailed info" UIs. For vehicles, that's the screen in your screenshots.
Two, as previously noted by night-pryanik, it isn't really obvious what each color means, and while there's plenty of things in the game that aren't clear on casual examination, that doesn't mean we should add more ambiguous information.
Three, we should really know who owns it, not just "me" or "not me".

I would instead advocate figuring out how to append the current owner in the display of the name, without changing the actual name of the vehicle.

@TechyBen
Copy link
Contributor

TechyBen commented Jul 8, 2019

Is there another way then to tag the item? It's tagged for colour... so just need some GUI code that writes the tag descriptions instead of changing a colour? I mean, we have "most damaged part" that references that part... why not "vehicle owned by:" that references faction?

(Yes, I just said "just" when referencing programming. Sorry :P )

@ghost
Copy link
Author

ghost commented Jul 8, 2019

Color-only based information here is not a complete solution, and I would argue it is a significant regression.
One, color-blind individuals may have trouble distinguishing between the colors selected. Yes, we have that problem elsewhere, but there's been increasing attempts to try to make the information available somehow symbolically when possible, usually through one of the various "detailed info" UIs. For vehicles, that's the screen in your screenshots.
Two, as previously noted by night-pryanik, it isn't really obvious what each color means, and while there's plenty of things in the game that aren't clear on casual examination, that doesn't mean we should add more ambiguous information.
Three, we should really know who owns it, not just "me" or "not me".

I would instead advocate figuring out how to append the current owner in the display of the name, without changing the actual name of the vehicle.

Yep, ok I was avoiding the bigger task as is usual for me, I can just fit a new info readout into the UI that shows the current owner, sure I can squeeze it in somewhere.
Owner : Free Merchants
or
Owner : You
or
Owner : nobody

@ghost
Copy link
Author

ghost commented Jul 8, 2019

OK so ive kept the color-coding, but also appended the owner name to the vehicle name, for displaying in the UI only.
THe name itself isnt being modified, which makes it a lot cleaner.

@ghost ghost changed the title Remove vehicle name changes on ownership - use color instead Remove vehicle name changes on ownership - Just append owner string Jul 8, 2019
@ghost ghost changed the title Remove vehicle name changes on ownership - Just append owner string Remove vehicle name changes on ownership - Just append owner string to vehicle display Jul 8, 2019
@kevingranade kevingranade merged commit 7c3a82f into CleverRaven:master Jul 9, 2019
@ghost ghost deleted the name_fix branch September 11, 2019 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NPC / Factions NPCs, AI, Speech, Factions, Ownership Vehicles Vehicles, parts, mechanics & interactions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Folding and unfolding a vehicle causes duplication of faction ownership indication
5 participants