This is a somewhat hacky fix (gives human players ConstructorDroid and computer players ConstructionDroid). The template system has too many eldritch horrors that to fix it properly requires rewriting the entire template code (did you know it loads human player templates from player 5? And so if player 5 is an AI player, it uses a ridiculously complicated workaround?)
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7447 4a71c877-e1ca-e34f-864e-861f7616d084
Fixes ticket:479 (again) and also ticket:494 (which is basically a duplicate of ticket:479)
NOTE: need a Expand_Limbo mission savegame to more fully test this. See notes in structure.c
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7442 4a71c877-e1ca-e34f-864e-861f7616d084
I'm leaving the loadsave.c change in there since it's pretty innocuous - it lets you save games with Num-Enter as well as Return - should make it easier on international keyboards.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7410 4a71c877-e1ca-e34f-864e-861f7616d084
The radar can expand its size during certain missions, also we only assert if this happens in a skirmish/MP game, since we currently do not allow levels to change in those modes.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7402 4a71c877-e1ca-e34f-864e-861f7616d084
Change the default player number to 4, since the default map is a four player
map. The player number/tech level is only for the current game, not saved in
the config file.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7401 4a71c877-e1ca-e34f-864e-861f7616d084
---
gates removed
little balance changes
Mysteryem's factory textures,
Black Project's camo textures (changed) and new truck sounds removed.
Plus many other changes. See enclosed doc file for more information.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7379 4a71c877-e1ca-e34f-864e-861f7616d084
* Don't set Game's `hosts` value to a list of ''exactly'' 3
- Instead use empty strings for non-existing hostnames below 3 (when encoding only)
- This allows for a bit more extensibility in the future.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7365 4a71c877-e1ca-e34f-864e-861f7616d084
* Add a new field: secondaryHosts, an array of two fallback hosts
- Canibalize the entire "misc" field and part of the "extra" field for this
- When connecting, first try the primary "host" field, then fall back to the hosts in secondaryHosts (in order)
* Add a new field: gameId, used on the lobby server to link multiple lobby connections to a single game entry
- First (attempt to) connect to the lobby with all available address families (currently IPv4 and IPv6)
- Then ask for a gameId from the lobby server using the first established lobby connection
- Set the gameId field in the GAMESTRUCT to the one retrieved
- Transmit the GAMESTRUCT using a "addg" command to the lobby over each lobby connection
- The lobby then compares all incoming ID numbers with ID numbers already present
- If there's a match it will use the GAMESTRUCT already present and only add a new hostname to the list
This is the last change, part of, and closes#452
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7364 4a71c877-e1ca-e34f-864e-861f7616d084
* Heavy VTOL bombs made lighter, light VTOL bombs made heavier.
* VTOL bomb accuracy upgrades changed to damage upgrades.
* Angel Missile stronger, Archangel Missile weaker, both fewer prereqs.
* Damage upgrades now also upgrade splash and burn damage.
* Needle Gun slightly stronger. Still not actually better than HPV.
* Rails now penetrating weapons. In practice, this shouldn't make much difference.
* Factory, Cyborg factory, and VTOL factory upgrades combined; now only 4 upgrades instead of 6-9 each.
* Repair facility upgrades condensed, now only 3 upgrades instead of 6.
* Artillery weapons do less damage to tanks, but more to walls.
* MG damage back down to original levels. The extra APDSB MG Bullets in the early game does plenty to compensate.
* VTOL HP actually makes sense now.
* Cannon HP increased a bit more.
* Stormy nerfed.
* All AA weapons have full fire-on-move.
For exact numbers, refer to http://guide.wz2100.net/new/ or wait for the detailed changelog after all rebalancing is done.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7353 4a71c877-e1ca-e34f-864e-861f7616d084