r/lanparty • u/Optimal-Gur-3052 • 9d ago
Full offline Battlefield 3 with 64 bots
https://youtu.be/WDgCpFidsVo?si=NJXFZjLUOQYKggrpThere is still a lot of work ahead, but this is already more than zero.
•
u/Snowblind45 9d ago
if this isn't venice unleashed, then what is this? how dude?!
•
u/Optimal-Gur-3052 9d ago
My own development
•
u/Snowblind45 9d ago
oouuuf! How does one even approach this? I only know basic c++. I fant fathom
•
u/Optimal-Gur-3052 9d ago
Zero codind myself.
Only AI vibe.
I use a blaze emu, official dedicated server and dedicated engine develope in C+ for boys brain•
u/LucidFir 8d ago
Epic
•
u/Optimal-Gur-3052 8d ago
i try)
•
u/LucidFir 8d ago
Probably best to not even answer questions like "how did you do this" just make the cool thing, give the cool thing, let people use the cool thing.
•
u/Optimal-Gur-3052 8d ago
100% hard vibecoding only) im not engineer
•
u/Snowblind45 8d ago
how did you even know this is possible? like did the AI tell you you cna make bots if you download XYZ? which AI? im super curious.
•
•
u/Albert_O_Balsam 9d ago
Great stuff, I had thousands of hours on Xbox 360 but never played on PC, I bought it a few months ago and got frustrated trying to get it up and running with all that EA account bullshit, the game itself runs on my OS (Zorin) will this mod run on Linux too?
•
u/Optimal-Gur-3052 9d ago
about linux not a plan now, but maybe in future. My discord https://discord.gg/kpfggtWEj
•
•
•
u/Mexcol 8d ago
Man you deserve a beer! Keep it up
•
u/Optimal-Gur-3052 8d ago
There is a lot of work ahead, and I might encounter something I won't be able to solve.
•
•
u/SagnolThGangster 8d ago
Does this work on an official server and what about ranking?
•
u/Optimal-Gur-3052 8d ago
It only works on its own dedicated server. You can play solo, or have someone else connect via LAN or a program like Hamachi using the same client. The idea of enabling all unlocks right from the start
•
•
•
u/LucidFir 8d ago edited 8d ago
Placeholder: i recently linked someone a bunch of stuff. Idk what your plans are but there are ways to do machine learning from real players to create AI players.
...
I have no idea if this would be easy or hard, or even be useful, but I'm imagining the following:
Create a system to record replays as json files (or whatever, something lightweight, just a data log of the inputs that made stuff happen) so that every game can be replayed.
Then have that game data go to some kind of training set to train opponent AI, alpha go style, so that you can create LLM-AI opponents, and then just handicap them any amount and maybe have the same system create ELO for players.
The game looks epic. This comment is mostly about my own dreams for future opponent AI.
......
Gemini says
Replay Recording & Data Parsers * Project Slippi: High-level C++ engine hooks and parser ecosystem for saving real-time game states to compressed .slp files. * GitHub: project-slippi/project-slippi * Parser: project-slippi/slippi-js * Py-Slippi: Python library for extracting game inputs and metadata from local replay files into NumPy-ready training vectors. * GitHub: hohav/py-slippi Reinforcement Learning & Self-Play Training Frameworks * OpenAI Gymnasium: The standard API for exposing game environments (including replay playback engines) to AI agents. * GitHub: Farama-Foundation/Gymnasium * CleanRL: Concise, single-file implementations of algorithms like PPO (Proximal Policy Optimization) and Behavioral Cloning. * GitHub: vwxyzjn/cleanrl * Ray RLlib: High-performance library built specifically for distributed self-play training loops and league management (AlphaGo/AlphaStar style). * GitHub: ray-project/ray * DI-engine: Decision intelligence platform containing pre-built pipelines for imitation learning, self-play leagues, and multi-agent gaming AIs. * GitHub: opendilab/DI-engine Real-Time Elo & Skill Rating * OpenSkill.py: Fast Python implementation of Bayesian multi-player rating algorithms (Weng-Lin/TrueSkill alternative) for calculating Elo from match logs. * GitHub: vivekjoshy/openskill.py * OpenSkill.js: JavaScript equivalent for client-side or web dashboard Elo calculations. * GitHub: maartenberg/openskill.js End-to-End Reference Implementations * DI-star: DeepMind's AlphaStar architecture reconstructed as an open-source framework. * GitHub: opendilab/DI-star * Phillip: Open-source Melee bot built via imitation learning on Slippi replays. * GitHub: vladfi1/phillip .
•
•
u/Korici 4d ago
Why not use Venice Unleashed?
Yes, it requires a real copy of BF3, but otherwise their servers live outside of EA control & you can also add bots / run dedicated servers that are accessible through their server browser. ~ I am in fact planning a 40 person LAN event soon that will be using a BF3 Venice Unleashed LAN server
•
u/Miiirx 9d ago
Are you working on a offline local lan based BF3?
•
u/Optimal-Gur-3052 9d ago
Fully offline build (no steam and ea) with working dedicated server in LAN and bots.
•
•
u/Feisty-Buffalo2786 9d ago
I also have offline BF3 running at our LAN Party. But with just 10 players its really empty. Then I tried BF4. There is a experimental bot spawn command. But no NPC logic behind them aswell. Would be cool to fill old BF servers with bots.