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

Enhance faction service so some factions can be excluded from gaining/losing points #1469

Open
Undercova opened this issue Dec 10, 2023 · 1 comment
Labels
[Factions] Content SDBs, tables and values IMPROVEMENT Enhancement of an existing feature

Comments

@Undercova
Copy link
Member

Problem:

The amount of factions that are listed in the official string files is currently limited.
To get more options about NPC vs NPC war we can currently add more factions that are not known to the system since they are not in the stf files.
When i add a new scenery where a new faction should fight another new/old faction i can easily add those to the faction sdb. they will fight fine vs. each other.
Problem pops up when you attack them and they spam your screen with messages of unknown faction strings.

Idea:

2 layers

  • a faction can be created as you want it to be. you can also set the enemies as you want
  • you get points or no points depending on a boolean setting in the faction database. no system message if FALSE

Solution:

Keep faction service as it is but exclude point granting/deduction if set in table.
Create a boolean column in the faction sdb where you can set if the faction will be displayed/counted when you kill a member of it

@Undercova Undercova added the IMPROVEMENT Enhancement of an existing feature label Dec 10, 2023
@Undercova
Copy link
Member Author

Undercova commented Dec 10, 2023

I have added a new colum called "SysMsg"

44e46fd

if TRUE = show and calculate like right now
if FALSE = ignore sending system message and the faction point calculation

@Undercova Undercova changed the title [Factions] Enhance faction service so some factions can be excluded from gaining/losing points Enhance faction service so some factions can be excluded from gaining/losing points Aug 17, 2024
@Undercova Undercova added the [Factions] Content SDBs, tables and values label Aug 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Factions] Content SDBs, tables and values IMPROVEMENT Enhancement of an existing feature
Projects
None yet
Development

No branches or pull requests

1 participant