Were you editing entities before? As in typing anything in the properties for a certain entity? If you type quotation marks in any field in the properties for an entity, it can break your map file due to how VMF files are written. To fix this, you would have to open the VMF in a text editor, like Notepad ++, and delete the certain quotation marks. There is a chance that this isn't your problem though. Maybe send us your VMF and see if we can open it or fix it?
I don't believe Valve ever coded bots to use different weapons other than the stock ones. So I dont think you can have a medic bot use a crossbow.2. Is there a way to spawn bots with specific weapons such as a crossbow?
entity
{
"id" "11681"
"classname" "logic_auto"
"spawnflags" "1"
connections
{
"OnMapSpawn" "Servercommand,Command,bot -team red -class Medic -name Medic,3,-1"
"OnMapSpawn" "Servercommand,Command,bot_command Medic "use tf_weapon_crossbow",3.1,-1"
"OnMapSpawn" "Servercommand,Command,bot_selectweaponslot 1 Medic,4,-1"
}
"origin" "-169 -231.618 78.0022"
editor
{
"color" "220 30 220"
"visgroupshown" "1"
"visgroupautoshown" "1"
"logicalpos" "[0 500]"
}
}
If you're doing a reflect map, replace the crossbow medic with a soldier.
I was hoping to make a map for reflecting everything a pyro can reflect....but unfortunately, I dont think spawning them with different weapons is possible. So this map will have to remain unfinished.