PDA

View Full Version : ReadToken error???


Euphoric Beaver
15th Nov 2001, 02:46 PM
//=============================================
// Fatgun Arena
// replaces all weapons and ammo with Fatgun and ammo
//=============================================

class FatgunArena extends Arena;

defaultproperties
{
WeaponName=fatgun
AmmoName=UT_BioGel
WeaponString="ciced.fatgun"
AmmoString="Class'Botpack.BioAmmo'
DefaultWeapon=Class'ciced.fatgun'
}

I popped that in the compiler and the lines in red said,
"Warning, ReadToken: Bad quoted string"

What does that mean? :hmm:

Kangus
15th Nov 2001, 02:49 PM
it means that you didn't close the quoptes on one of the lines.

AmmoString="Class'Botpack.BioAmmo'

should read

AmmoString="Botpack.BioAmmo"

Euphoric Beaver
15th Nov 2001, 03:14 PM
Yep, that did the trick.
Thanks. :D:tup: