QuantiCode games

Zero Ballistics, Full Metal Soccer

Skip to content

XML Configuration files

Moderators: Michael, Bernhard, Christian

XML Configuration files

Postby FakeLoki on 17 Sep 2011, 08:16

Hey Guys,
My friends and I have been really enjoying your game but I've been trying to make some minor modifications to the .xml files in Zero Ballistics using Notepad++ and I've been having touble finding the variables I'm after.

So far all I've really done is change the bot names in config_server.xml...
Code: Select all
<section name="server.ai">
        <variable name="names" value="[Hitler;Stalin;Churchill;Roosevelt;Mussolini;Menzies;Tojo;Blackadder]" type="vector<string>" />

Bring down the upgrade costs in upgrade_system.xml for a faster game...
Code: Select all
<section name="upgrade.cost">
                <variable name="weapon1" value="7"  type="unsigned" />
                <variable name="weapon2" value="7" type="unsigned" />
                <variable name="weapon3" value="7" type="unsigned" />

And try to nerf some weapons like the armor_piercing_cannon in weapon_systems.xml...
Code: Select all
<variable name="recoil" value="0.05" type="float" />

It seems as though the number of upgrades you can get is limited or something, is this the case and is it changeable without altering the source?
Is the max players per server stored in an xml file somewhere that I can't find?
It seems like there's no documentation for altering the game beyond the in game menus so I though I'd post this here.
Posts: 1
Joined: 17 Sep 2011, 07:35
Location: Brisbane

Re: XML Configuration files

Postby Michael on 19 Sep 2011, 18:47

Hi FakeLoki,

great that you enjoy our game, we always love to hear that!

try to add the corresponding entries to all the config files affected (upgrades.xml and upgrade_system.xml), the upgrade effect should work, but GUI won't show more than 3 entries per category.
Code: Select all
<section name="upgrade.cost">
      <variable name="weapon3" value="7" type="unsigned" />
      <variable name="weapon4" value="7" type="unsigned" />
<section name="upgrade.desc">
      <variable name="weapon3" value="Highly increased damage." type="string" />
      <variable name="weapon4" value="Ultimately increased damage." type="string" />

@max players:
try editing the config_server.xml and restart the server afterwards:
Code: Select all
<section name="server.settings">
   <variable name="max_connections" value="10" type="unsigned" />

Posts: 204
Joined: 29 Mar 2008, 17:19

Re: XML Configuration files

Postby jasminsmith on 27 Jun 2018, 07:40

How to read and create simple XML configuration files for your application; Author: Hugh Hall; Updated: 6 Feb 2009; Section
7765X exam dumps
Posts: 4
Joined: 27 Jun 2018, 07:20
Location: new york

Re: XML Configuration files

Postby PauletteLewis on 21 Jul 2018, 12:22

I have tried executing the code what you have posted in this page and it got installed into my computer very easily and working smoothly. But, the problem is that it not getting installed in my office online assignment help companies blog server when I tried to install it by using third party software the system got crashed and all computers are stooped working.
Posts: 2
Joined: 16 Jun 2018, 14:21
Location: Denver USA

Re: XML Configuration files

Postby vovuk on 19 Oct 2018, 07:35

Wherever you live or travel around the world, you are very likely to www.mcdvoice.com run into one of the more than 40,000 restaurants located in 121 countries around the globe.
Posts: 2
Joined: 19 Oct 2018, 07:33
Location: United Kingdom

Return to Documentation

Who is online

Users browsing this forum: Google [Bot] and 2 guests