Hi, I change the whole code for weapons config. It's now based on the class called "EmptyWeaponConfig". This one have LoadXml member. Children use their parent LoadXml.
So, it's "easy" to write a new *WeaponConfig class. I also add an "weapon id" used to identidy weapons in data/game_mode/classic.xml. I just noticed something broken : air attack is available in closed maps :-( TODO : - Translate data/game_mode/classic.xml in english (should be easier now) - Add a WriteXml member for *WeaponConfig classes (should be easier now) : it will be the first point to add the possibility of produce new game mode XML files Um, interresting idea (i'm a genious :-D) : we should add the class argument (used to sort weapons in weapons_list) in Weapon class ;-) Can you do this Matthieu ? Bye, Haypo