Battle Brothers

Battle Brothers

View Stats:
Best practise for testing mods?
Hi folks,

What's the best way to test a mod that I'm working on? Let's say I create an event that's supposed to trigger under certain conditions and have certain outcomes. Is there a debug mode that will let me set up the conditions I want to test? Or console commands? Does the game generate error logs, and if so how would I retrieve them?

I'm very new to coding in general so apologies if this is a dumb question.
< >
Showing 1-3 of 3 comments
centurion-x Feb 11, 2021 @ 8:50am 
Originally posted by Tjohnfranklin:
Hi

И Вам не хворать 8)

Originally posted by Tjohnfranklin:
Does the game generate error logs, and if so how would I retrieve them?

Здесь | Here:
C:\ Users \ UserName \ Documents \ Battle Brothers \ log.html

Originally posted by Tjohnfranklin:
What's the best way to test a mod that I'm working on?

1) Потратить на тестирование изменений кода бесчисленное количество часов своей жизни. Spend many hours of your life on the testing of code's changes.

2) Использовать | Use => Debug Mode from Tweaks and Fixes[www.nexusmods.com] from Abel (Vilain Joueur) and JCSato.

Если выбираете вариант 2, то будьте готовы к | If select variant 2, then be prepared to:

<Doesn't work at all. Dropped mod into data folder, restart, press ctrl D. Nothing. None of the commands work. No other mods installed other than the required one.> (c) EdCastro
Last edited by centurion-x; Feb 11, 2021 @ 9:10am
JCSato Feb 11, 2021 @ 11:49am 
To be honest, I usually just comment out the event conditions and bump the score to like 5000 and let RNG have its way.

Separate to OP's question, re: Debug mod not working, bbros doesn't play nice with keyboard inputs and alt-tabbing, I've found. I always pull up the debug mode guide after I'm in game and I need to click into the game several times to give it proper focus.
Tjohnfranklin Feb 11, 2021 @ 12:39pm 
Yeah I've noticed the alt-tabbing weirdness when taking screenshots.
Okay, sounds like I need to write perfect code.
< >
Showing 1-3 of 3 comments
Per page: 1530 50