Anonymous | Login | Signup for a new account | 2025-03-20 14:08 UTC | ![]() |
My View | View Issues | Change Log | Roadmap | Zandronum Issue Support Ranking | Rules | My Account |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0004463 | Zandronum | [All Projects] Bug | public | 2025-02-25 05:32 | 2025-03-02 02:57 | ||||||||
Reporter | LacedCase | ||||||||||||
Assigned To | |||||||||||||
Priority | low | Severity | minor | Reproducibility | always | ||||||||
Status | confirmed | Resolution | open | ||||||||||
Platform | Windows | OS | Windows 11 | OS Version | 24H2 | ||||||||
Product Version | 3.1 | ||||||||||||
Target Version | Fixed in Version | ||||||||||||
Summary | 0004463: Bots Added via ACS Don't Respect BOTINFO Color (Always Default Green) | ||||||||||||
Description | If you use the in-game console to "AddBot", the bot is spawned normally and is the correct color defined by BOTINFO. If you use ConsoleCommand("Addbot"); inside an ACS script, the bot will spawn but always as a default light-green color and not respect the BOTINFO>SKININFO color. I'm not sure if this is intentional or not, or if there is a flag/variable that is modifiable but I could not find any after pouring over the documentation for 3 days. This was happening to me in 3.1 and the latest 3.2 build. I have attempted to test the new AddBot(); ACS function introduced in 3.2 betas but I cannot get the ACS to compile correctly in Ultimate Doom Builder so I've given up trying to see what it does because whoever sees this ticket will probably be smarter than me and be able to test it. | ||||||||||||
Steps To Reproduce | This was happening to me in 3.1 and the latest 3.2 build. -Start a local (or server) deathmatch game -Make a map with a switch that runs a script that executes ConsoleCommand("Addbot"); and notice the green color of their skin -Immediately afterwards, use the AddBot console command and notice their BOTINFO>SKININFO color I attached a test wad that will help quickly diagnose. The left switch runs ConsoleCommand("Addbot") and the right switch would run AddBot(); but I had to comment it out because it wasn't compiling, but you'll probably be able to uncomment it and test it out. | ||||||||||||
Additional Information | I really only cared about this because of a mod I found that fills your empty server with a few bots if someone joins with no other humans playing. I would enjoy it better if the BOTINFO>SKININFO color was working so you didn't have a bunch of green bots running around making it feel cheesey. | ||||||||||||
Attached Files | ![]() ![]() ![]() | ||||||||||||
![]() |
|
LacedCase (reporter) 2025-02-25 05:38 edited on: 2025-02-25 05:44 |
I added two screenshots. The first one shows a bunch of green bots added via ACS. The second screenshots shows a bunch of normal bots added via console. Thank you :) |
DrinkyBird (developer) 2025-03-02 02:57 |
It is broken, but it works with the AddBot function. ConsoleCommand has this issue because it basically sets the 'color' userinfo CVar of the bot player that gets created, but there are some restrictions on setting CVars in a ConsoleCommand context, which are interfering here. Since the AddBot function doesn't run in a ConsoleCommand context the bot code can set this CVar successfully, so the solution is to use that. |
Only registered users can voice their support. Click here to register, or here to log in. | |
Supporters: | No one explicitly supports this issue yet. |
Opponents: | No one explicitly opposes this issue yet. |
![]() |
|||
Date Modified | Username | Field | Change |
2025-02-25 05:32 | LacedCase | New Issue | |
2025-02-25 05:32 | LacedCase | File Added: bot_test.zip | |
2025-02-25 05:38 | LacedCase | File Added: Screenshot 2025-02-25 003550.png | |
2025-02-25 05:38 | LacedCase | File Added: Screenshot 2025-02-25 003631.png | |
2025-02-25 05:38 | LacedCase | Note Added: 0024215 | |
2025-02-25 05:44 | LacedCase | Note Edited: 0024215 | View Revisions |
2025-02-25 05:44 | LacedCase | Note Added: 0024216 | |
2025-02-25 05:44 | LacedCase | Note Deleted: 0024216 | |
2025-02-27 20:49 | unknownna | Status | new => confirmed |
2025-03-02 02:57 | DrinkyBird | Note Added: 0024222 |
Copyright © 2000 - 2025 MantisBT Team |