Code Monkey home page Code Monkey logo

Comments (23)

GaryTheNoTrashCougar avatar GaryTheNoTrashCougar commented on September 14, 2024 1

How about maxBotsPerTeamSDM & maxBotsPerTeamTDM variables, that way you could have both gamemodes running on a server without having to change settings?

from fun-bots.

Joe91 avatar Joe91 commented on September 14, 2024 1

I will close this for now and continue with improving on it from time to time. The team-limit vars are available now...

from fun-bots.

Joe91 avatar Joe91 commented on September 14, 2024

So you recorded paths for all Squad-DM-Maps?? WOW!
I can have a look at this. In the new UI there might be the spawn in any team already in.
I will have to add this as gamemode and find out what it takes to make this work. What happes right now, if you use your paths?

from fun-bots.

GaryTheNoTrashCougar avatar GaryTheNoTrashCougar commented on September 14, 2024

It just plays like TDM, I can only get bots to spawn in 2 of the squads though. With the UI I meant things like the scoreboard. Obviously the other two teams are empty & it only shows 4 players/bots on each team, even though you can have more. My thought was if it wasn't possible to make the bots spawn in the other teams, maybe it would be possible to basically convert SDM into TDM by changing the scoreboard etc. (https://github.com/EmulatorNexus/Venice-EBX/tree/f06c290fa43c80e07985eda65ba74c59f4c01aa0/UI/Flow/Screen/Scoreboards). As for how to make the bots spawn in all teams, you probably just need to add teams 3 & 4 as opposing teams in BotManager, as only teams 1 & 2 are referenced. Also add a spawn mode like 'balanced_teams' with team 3 & 4 included to BotSpawner.

from fun-bots.

Joe91 avatar Joe91 commented on September 14, 2024

Thanks for your reply. I will have a look at the gamemode and hope to support it by the weekend. I will let you know, so you can test it...

from fun-bots.

Joe91 avatar Joe91 commented on September 14, 2024

You can have a look at the "squad-dm" branch. First kind of working version I think...

from fun-bots.

Joe91 avatar Joe91 commented on September 14, 2024

by the way: @GaryTheNoTrashCougar Your paths are really great! Just tried them a little and merged them all into the database-file. Thank you very much for all your work!!
When all seems fine I will merge it back into the master-branch

from fun-bots.

GaryTheNoTrashCougar avatar GaryTheNoTrashCougar commented on September 14, 2024

No... thank you!! Your work is amazing. I'll take a look now.

from fun-bots.

Joe91 avatar Joe91 commented on September 14, 2024

Sadly there is this issue in VU:
VeniceUnleashed/VeniceUnleashed#578
So right now all the russian-squads have no squad assigned to them.

from fun-bots.

GaryTheNoTrashCougar avatar GaryTheNoTrashCougar commented on September 14, 2024

OK. Hopefully they will fix this. I've just had a quick play. I was in alpha squad, US side, seems non of the other squads fight each other, only fighting my squad but not attacking me either. Is this related to this issue?

from fun-bots.

Joe91 avatar Joe91 commented on September 14, 2024

Strage. They did when I tried it... I will check it again... Maybe I missed something.
What spawn-mode did you use? Have only tested with the balanced team yet...

from fun-bots.

GaryTheNoTrashCougar avatar GaryTheNoTrashCougar commented on September 14, 2024

Yes balanced teams

from fun-bots.

Joe91 avatar Joe91 commented on September 14, 2024

I will let you know, when I'm done with testing and found out why...
Oh, I think I found it. It might be a missing +1 to fix the indexing ^^

from fun-bots.

Joe91 avatar Joe91 commented on September 14, 2024

They just checkt bots from the same team most of the time. Now they should attack normal again. I will have a look at the spawnmodes more closely...
There are also some issues with the bots not attacking the player anymore after a while. I will have a look at this as well...

from fun-bots.

Joe91 avatar Joe91 commented on September 14, 2024

I think it now starts to get playable...
What do you think about the spawn-modes? Should we reduce the calulated amout per team by the half in Squad-Death-Match?

from fun-bots.

GaryTheNoTrashCougar avatar GaryTheNoTrashCougar commented on September 14, 2024

I would only play with 4 in each squad. With initNumberOfBots 8 they only spawned in first 2 squads but all when set to 4.

from fun-bots.

Joe91 avatar Joe91 commented on September 14, 2024

Hmm. I knw what you mean, but I have to think a little about how to implement this. Maybe I will add a separated value like "maxBotsPerTeam" that limits the amount per team in SDM...

from fun-bots.

GaryTheNoTrashCougar avatar GaryTheNoTrashCougar commented on September 14, 2024

Can you not just override config.initNumberOfBots if gametype is Squad DM?

from fun-bots.

Joe91 avatar Joe91 commented on September 14, 2024

Overwriting the config-values is no option (causes inconsistence between client and server), but I can ignore them or use some other values in this case.

from fun-bots.

Joe91 avatar Joe91 commented on September 14, 2024

Yeah, that would do it.
Have you tried the Gameplay again? Anything not working as wanted?

from fun-bots.

GaryTheNoTrashCougar avatar GaryTheNoTrashCougar commented on September 14, 2024

Works great, thank you. There are a few things unrelated to this if you are interested. I don't know if player spawns are in any way influenced by enemy bot positions, but quite often (mostly in TDM) player spawns are in paths of enemy bots. Would be cool if we could remove all refences to vanilla spawn entity data & create our own through the path editor so player spawns could avoid bot paths. The other thing was to do with bots shooting back when hit. Would be nice if there was a delay that is scaled by distance if that is possible. Sorry if I seem demanding, just some ideas I had.

from fun-bots.

Joe91 avatar Joe91 commented on September 14, 2024

Good Ideas! I will have a look at. Always happy on feedback how to improve the bots ;-)

from fun-bots.

Joe91 avatar Joe91 commented on September 14, 2024

I made a rework for the Squad-Bug. Now all teams have a vailid squad...

from fun-bots.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.