Transfusion dedicated server with bots

Want to spill some blood? Let others know and coordinate here.

Moderators: Slink, General Discussion Moderators

The Nameless Player
Axe Zombie
Posts: 34
Joined: Sun Oct 28, 2012 02:35 am

Transfusion dedicated server with bots

Postby The Nameless Player » Sun Oct 28, 2012 03:11 am

transfusion-dedicated.bat

Code: Select all

@echo off
:loop
start /wait transfusion.exe -dedicated 8
goto loop


autoexec.cfg

Code: Select all

set hostname  "BloodBath with bots"
set fraglimit "30"
set timelimit "15"
set saved1    "1"
set scratch1  "7"


maps.cfg

Code: Select all

samelevel   "90"
alias map2  "set saved1  5 ; changelevel b2a15"
alias map6  "set saved1  9 ; changelevel b2bodies"
alias map10 "set saved1 13 ; changelevel b2cabana"
alias map14 "set saved1 17 ; changelevel b2crypt"
alias map18 "set saved1 21 ; changelevel b2power"
alias map22 "set saved1 25 ; changelevel bb1"
alias map26 "set saved1 29 ; changelevel bb2"
alias map30 "set saved1 33 ; changelevel bb3"
alias map34 "set saved1 37 ; changelevel bb4"
alias map38 "set saved1 41 ; changelevel bb5"
alias map42 "set saved1 45 ; changelevel bb7"
alias map46 "set saved1 49 ; changelevel bb8"
alias map50 "set saved1 53 ; changelevel bodiesCTF"
alias map54 "set saved1 57 ; changelevel cabalarena"
alias map58 "set saved1 61 ; changelevel cpbb03"
alias map62 "set saved1 65 ; changelevel e1m7"
alias map66 "set saved1 69 ; changelevel e3m7"
alias map70 "set saved1 73 ; changelevel e4m8"
alias map74 "set saved1 77 ; changelevel fragenstein"
alias map78 "set saved1 81 ; changelevel fragm"
alias map82 "set saved1 85 ; changelevel highnoon"
alias map86 "set saved1 89 ; changelevel qe1m7"
alias map90 "set saved1  1 ; changelevel qmorbias"


The map rotation file is hideous because the cvar "saved1" does two different things at the same time. It stores the number of the most recently loaded map in the rotation, and unfortunately it also stores bot options. To avoid mangling the bot options between map changes, "saved1" is incremented by four.

The bot options in "saved1" can have four possible values:

No bots = 0
Save bots = 1
No bot chat = 2
Save bots + No bot chat = 3

The cvar "scratch1" is used to save bots between maps.

Bot names in Transfusion 1.05 Beta 2 are:

Barker = 1
Bloch = 2
Bradbury = 4
Campbell = 8
DeSade = 16
King = 32
Koontz = 64
Lee = 128
Lovecraft = 256
McCammon = 512
Poe = 1024
Saul = 2048
Stine = 4096
Stoker = 8192
Straub = 16384
Wells = 32768

Example "scratch1" value: Lovecraft + Poe + Stoker = 256 + 1024 + 8192 = 9472

Return to “Blood Bath”

Who is online

Users browsing this forum: No registered users and 3 guests