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

enemy density curve #1024

Open
Die4Ever opened this issue Oct 31, 2024 · 8 comments
Open

enemy density curve #1024

Die4Ever opened this issue Oct 31, 2024 · 8 comments
Labels
enhancement Enhance existing feature, or small new feature, the line can be blurry
Milestone

Comments

@Die4Ever
Copy link
Owner

some maps get disproportionately difficult at 1000% enemies, like liberty island and warehouse, but we would want to retain high enemy counts for maps like hongkong UC

warehouse is the difficult one since the number of enemies isn't that high, it's more an issue with their density

if you make a function to output the curve based on some parameters then it could be easily tested and tweaked in an automated test, like:

function float GetEnemiesCurve(int num_enemies, vector minpos, vectormaxpos)

you can make it log the arguments it receives and open the maps you want to test with and then put those values into the automated tests so you don't have to manually open the game and load maps

DXREnemies.uc does not yet have function RunTests() so it would need to be added

@Die4Ever Die4Ever added the enhancement Enhance existing feature, or small new feature, the line can be blurry label Oct 31, 2024
@Die4Ever Die4Ever added this to the v3.5 milestone Oct 31, 2024
@MQDuck
Copy link
Contributor

MQDuck commented Nov 5, 2024

Can you clarify what minpos and maxpos would be?

@Die4Ever
Copy link
Owner Author

Die4Ever commented Nov 5, 2024

Can you clarify what minpos and maxpos would be?

minpos = vect(smallestX, smallestY, smallestZ) out of all the enemies

basically just the extents, or the bounding box containing all enemies on the map

@MQDuck
Copy link
Contributor

MQDuck commented Nov 5, 2024

Do you mean the smallest X,Y,Z of any one enemy, or the smallest X of any enemy, the smallest Y of any enemy and the smallest Z of any enemy?

@Die4Ever
Copy link
Owner Author

Die4Ever commented Nov 5, 2024

Do you mean the smallest X,Y,Z of any one enemy, or the smallest X of any enemy, the smallest Y of any enemy and the smallest Z of any enemy?

I was going to answer this, but honestly whatever you can think of that works best, it was just an idea/suggestion/brainstorming

the actual goal here is to solve the issue

@MQDuck
Copy link
Contributor

MQDuck commented Nov 5, 2024

Are there any maps with hidden, far-off enemies that might throw this off?

@Die4Ever
Copy link
Owner Author

Die4Ever commented Nov 5, 2024

Are there any maps with hidden, far-off enemies that might throw this off?

yes lots of maps, you can use their in-world position or ignore the out of world/hidden guys

@MQDuck
Copy link
Contributor

MQDuck commented Nov 5, 2024

you can use their in-world position or ignore the out of world/hidden guys

How would you detect either? Or would it require more manual investigation?

@MQDuck
Copy link
Contributor

MQDuck commented Nov 12, 2024

The enemy density of Liberty Island is actually quite low compared to other maps. It needs to somehow be taken into account that there are spots where lots of enemies are perhaps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhance existing feature, or small new feature, the line can be blurry
Projects
None yet
Development

No branches or pull requests

2 participants