Commit Graph

930 Commits (a7292473b6fed5220d3d244bafa3e13d7eb359ba)

Author SHA1 Message Date
Thomas Barlow 2e7466cbe8 Fix 8c-wheel (ticket: 1935) and rebalance 2c-Startup using the files from 2c-Startup2
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11146 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-11 21:17:35 +02:00
Cyp d7db005f71 Merge remote branch 'origin/master' into newnet
Conflicts:
	.gitignore
	configure.ac
	data/base/images/intfac.img
	data/base/images/intfac5.png
	lib/netplay/makefile.win32
	lib/netplay/netlog.c
	lib/netplay/netplay.c
	lib/netplay/netplay.h
	lib/netplay/netplay.vcproj
	macosx/Warzone.xcodeproj/project.pbxproj
	macosx/configs/Warzone-All.xcconfig
	po/POTFILES.in
	src/hci.c
	src/intfac.h
	src/keybind.c
	src/multibot.c
	src/multiint.c
	src/multijoin.c
	src/multiplay.c
	src/multistruct.c
	src/multisync.c
	src/scriptai.c
2010-06-15 08:35:52 +02:00
René Jürgens 5ce7fee1f1 remove the lancer rof upgrades to keep the old balance.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10954 4a71c877-e1ca-e34f-864e-861f7616d084
2010-06-10 10:53:52 +02:00
Christian Ohm 12e6a584dd Add track3.ogg to Makefile.am.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10907 4a71c877-e1ca-e34f-864e-861f7616d084
2010-06-03 22:41:44 +02:00
Christian Ohm 5ada079ab0 Add the Playstation music track.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10902 4a71c877-e1ca-e34f-864e-861f7616d084
2010-06-03 22:41:44 +02:00
René Jürgens d8786c3a9f - Less hit Points for Artillery (coz Artillery hit bug is removed) they are all on 25-35% now.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10878 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-28 09:57:39 +02:00
Per Inge Mathisen 9a27ca9d26 Remove floating point move precision, second pass two. We store higher precision bits in a bit bucket
for use the few selected places where they matter to get finer incremental movement. They start at
zero and are synchronized over the network, but are not reset when droids jump about for various reasons.
See ticket:1651 for more discussion. Patch reviewed by Zarel and Cyp.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10873 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-26 10:44:54 +02:00
René Jürgens 701a432ef5 balance changes
main things:
more range for twin assault cannon.
less mg damage against all buildings.
a slower tank and cyborg production at start.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10862 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-22 18:57:27 +02:00
Per Inge Mathisen 3490654502 semperfi: Merge much of the differences between the tech branches back together to make them easier
manage dynamically and also create more of them in the future.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10860 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-21 12:18:43 +02:00
Per Inge Mathisen 4f5775a15f semperfi: Add AA to research list. Really necessary now!
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10859 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-21 12:18:43 +02:00
Per Inge Mathisen 579fd2970d Merge in some changes from semperfi into standard AI: New debug functions. More fallbacks if forward defenses fail.
Remove non-working anti-dupe-sensor hack. Remove hack that prevents AI from defending properly against humans only.
Add more sanity checking.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10856 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-21 12:18:40 +02:00
Per Inge Mathisen e3ec5983c6 semperfi: Add fallback for cases when we don't have tech for some VTOL types. Stop rallying
ground defenders to protect against VTOL attacks - they just get fried by firebombs. Start
protecting properly against human attacks (no reason to treat humans special).


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10844 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-18 10:53:07 +02:00
Per Inge Mathisen f2bdbdb407 semperfi: Utilize CALL_VTOL_RETARGET to make VTOLs more effective.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10842 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-18 10:53:06 +02:00
Per Inge Mathisen 6c633359f1 semperfi: When the enemy has no AA (that we can see), build the cheapest VTOL bodies available.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10840 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-18 10:53:06 +02:00
Per Inge Mathisen 55e2bce2d1 semperfi: Construct VTOL droid templates dynamically based on available components
instead of using prefabricated VTOL templates. This is more flexible.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10839 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-17 19:13:20 +02:00
René Jürgens 9b172cf0ef a trunk .wrf update
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10833 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-16 23:15:53 +02:00
René Jürgens acc70cb9cc laser sat graphic fix
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10799 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-15 22:46:28 +02:00
Guangcong Luo 752751d4dc Fix intermittent crash when launching a skirmish game.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10797 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-13 08:03:46 +02:00
Guangcong Luo 227d2c2de4 New cursors by Zerovirus and Zarel - attack-move cursor idea from Olrox.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10796 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-13 08:03:46 +02:00
René Jürgens 55e32c9402 git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10763 4a71c877-e1ca-e34f-864e-861f7616d084 2010-05-03 08:50:18 +02:00
Per Inge Mathisen b54fd792ab semperfi: Fix bug that made us never build incendry, and less often upgrade.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10761 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-03 08:50:18 +02:00
Guangcong Luo 1a45555ebc Make sure LasSat doesn't get identified as a fortress.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10745 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-30 12:33:20 +02:00
Guangcong Luo a51f97c63e Improved AI slider.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10727 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-28 07:52:17 +02:00
Guangcong Luo 4282d92b3c Add "SCOUT" and "DISEMBARK" cursors.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10726 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-28 07:52:17 +02:00
Per Inge Mathisen 02ae467dc2 semperfi: Put a power generator into the must-build list before expanding the base, to avoid starvation problems.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10722 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-26 11:31:28 +02:00
Per Inge Mathisen b357462efc New improved scav script that operates scavengers individually. Helps when they are station in multiple scav bases.
This fixes the scavenger problems reported in http://forums.wz2100.net/viewtopic.php?f=30&t=5100


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10716 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-25 21:24:58 +02:00
Buginator 8ad47a08e6 Set some missing svn properties for the sequenceaudio/cam*/*.txa & /*.txt files.
2.3: r10707

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10708 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-25 12:04:34 +02:00
Per Inge Mathisen b1547abfa1 semperfi: Avoid starvation problem that occurs if AI builds too many power generators at once,
finishing none of them before running out of power. Now prioritizes aiding power generator
construction or upgrade before building new ones. Thanks to Safety0ff for reporting this issue.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10691 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-24 19:29:19 +02:00
Per Inge Mathisen afc69769b0 Make a .wz archive for semperfi. Patch by Safety0ff, closes ticket:1789
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10680 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-23 13:10:01 +02:00
Safety0ff fade198386 Fix previous commit (r10662) which went wrong.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10663 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-21 09:32:39 +02:00
Safety0ff 059aab5641 Forward-port r10519 to fix dydo-ai in trunk.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10662 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-21 09:32:39 +02:00
Per Inge Mathisen 2160934b3f semperfi: Only print group info for selected droids when running as selected player and in an autogame
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10661 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-21 09:32:39 +02:00
Christian Ohm 8c4b40c46e Make subtitles translateable, part II.
Enclose all subtitles in _() for gettext. Refs #1728.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10657 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-21 09:32:37 +02:00
Per Inge Mathisen 9902fb2a17 semperfi: In VTOL branch, we now race for PLASMITE BOMBERS. There is nowhere to hide and nowhere to run!
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10648 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-20 10:57:33 +02:00
Per Inge Mathisen 0cb3fe603a Add AI template for plasmite bomber
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10646 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-20 10:57:32 +02:00
Christian Ohm fa9451b25a Check for (un)zip in configure.ac.
Fixes #1434.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10585 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-15 21:38:52 +02:00
Guangcong Luo 9c25d61426 remove DyDo-AI stats folder
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10546 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:42 +02:00
Guangcong Luo 4e9769f6ba Fix the DyDo-AI makefiles
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10544 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:42 +02:00
Guangcong Luo fcce862952 Fix botched merge. (Dropped some trailing linebreaks)
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10540 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:42 +02:00
Guangcong Luo 43b6c72448 Forgot this file from previous commit.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10536 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:33 +02:00
Guangcong Luo 22b5f5826e Rebalance:
- Remove Cobra prereq from Inferno
- Increase Plasma Cannon range to 10 and damage to 500
- Plasma Cannon and Archie can no longer fire while moving
- Increase HPV weight
- Decrease Assault Cannon/Twin Assault Cannon weight
- Increase Lancer/TK damage by 10
- Increase Bombard damage by 10
- Heavy Laser damage and reload time increased (overall slight buff)
- Heavy Cannon and Medium Cannon range increased 0.5
- Cyborgs sped up a bit

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10535 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:33 +02:00
René Jürgens 988cb3a022 git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10509 4a71c877-e1ca-e34f-864e-861f7616d084 2010-04-12 11:59:32 +02:00
René Jürgens 197bb8c23a template and icon update
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10503 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:31 +02:00
René Jürgens 4d4f4f2b86 vtol pad balance fix
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10471 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:30 +02:00
Per Inge Mathisen f1fb92971d Set svn:eol-style and fix missing names on old-1.10-balance mod. Closes ticket:1727
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10469 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:30 +02:00
Per Inge Mathisen 0a51b59324 Fix spelling mistake in Mantis name. Closes ticket:1721 by Kreuvf
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10468 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:30 +02:00
Per Inge Mathisen 338bc9e322 Move all hard-coded colours (except map preview ones) into the palette file. Pass a PIELIGHT to widgSetColour() instead of RGB.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10466 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:30 +02:00
Per Inge Mathisen 806268790f Move default form colours into external palette file.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10457 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:29 +02:00
René Jürgens f1e1417353 git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10454 4a71c877-e1ca-e34f-864e-861f7616d084 2010-04-12 11:59:29 +02:00
René Jürgens c71a6dea0a git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10440 4a71c877-e1ca-e34f-864e-861f7616d084 2010-04-12 11:59:28 +02:00
Per Inge Mathisen 3c629ff5a9 Put the gate names back in names.txt to unbreak trunk from r10424
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10434 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:28 +02:00
Per Inge Mathisen 9267292cea Make HPV cannon no longer penetrating.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10430 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:28 +02:00
Guangcong Luo 1f7507ca04 Update `templates.txt` in accordance to r10418/r10419. Also merge in changes in `templates.txt`/`names.txt` from DyDo-AI.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10424 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:28 +02:00
René Jürgens d0b5f6b689 scavenger icon fix
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10415 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-29 09:05:13 +02:00
Per Inge Mathisen f88bf76000 Add gates to the game. Model by Mysteryem. May have to be re-balanced a bit. Feedback welcome. See ticket:1179 for more info.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10407 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-23 12:26:17 +01:00
Dydo f898bb0af7 from branch 2.3beta11a
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10406 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-23 12:26:17 +01:00
Dydo d6b5e40fb5 not required
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10404 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-23 12:26:17 +01:00
Dydo 35962365a0 not required
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10403 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-23 12:26:16 +01:00
Dydo 0007d8a57f DyDo-AI 2.0.8 first trunk version
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10402 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-23 12:26:16 +01:00
Dydo cc11235e91 not required
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10401 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-23 12:26:15 +01:00
Dydo 6814a075cc removing files which are not trunk compatible
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10400 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-23 12:26:13 +01:00
i-nod b818436ee1 Re-exported radardetector model to PIE3 format. Most notable change is that turret is no longer visible through sensor basement edges.
Credit goes to elio for 'lossless' source :)

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10396 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-21 19:47:13 +01:00
dak180 2b84b0317c Squash pngs flat.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10383 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-21 09:30:54 +01:00
i-nod 579afa20bc Semi-transparent production points. Closes #1700.
Updated graphics utilizes 8-bit alpha channel, please don't crush it accidentally.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10382 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-21 09:30:51 +01:00
René Jürgens 7d3780f99b Adding new Button Textures
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10360 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-20 12:49:47 +01:00
René Jürgens 968b77770e adding laser sat and incendiary mortar.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10357 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-20 12:49:47 +01:00
René Jürgens c01e01aeb5 adding ground shield and plasma artillery.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10353 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-20 12:49:47 +01:00
Cyp 8573291c68 Merge remote branch 'origin/master' into newnet
Conflicts:
	lib/netplay/Makefile.am
	lib/netplay/netplay.c
	macosx/Warzone.xcodeproj/project.pbxproj
	macosx/configs/Warzone-All.xcconfig
	src/multistat.h
	src/multisync.c
2010-03-17 14:26:32 +01:00
René Jürgens 975352a705 Important Missile balance fix
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10333 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-17 10:49:44 +01:00
Per Inge Mathisen 72123da59d Port grabTrucksAndBuild() function over from semperfi and use this to implement usage of pickDroidStructLocation in default AI.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10327 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-16 21:55:04 +01:00
Per Inge Mathisen 60ecdc82c0 semperfi: Utilize new script function pickDroidStructLocation(). Fix grab trucks ranges in many cases.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10326 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-16 21:55:04 +01:00
René Jürgens 886dd10983 pie file fixes and other updates
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10324 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-16 21:55:04 +01:00
Per Inge Mathisen 4e41e8fe58 Add new AI script function that gives position to build a structure while checking that
a given droid can build it. This is used to fix ticket:1626 where a power generator
could not be built because the build position function used gave inaccessible coordinates.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10322 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-16 21:55:04 +01:00
i-nod bc80e9b20f Revert trunk .pies back to PIE2 format.
This will allow PieSlicer to open them again without manual preparations and free PIE3 format for floating point extension.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10296 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-16 15:47:55 +01:00
Per Inge Mathisen a3afb0da51 Port over some changes from semperfi to trunk AI: Fix bug in build on nearest oil derrick code that meant that we skipped some oil
fields. Fix cases where other events would snatch trucks helping to build something to build something else. Remove unused code to 
minimize difference to semperfi script. Always try to upgrade power gen after building it.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10292 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-16 15:47:53 +01:00
Cyp a0bcd2a865 Merge remote branch 'origin/master' into newnet
Conflicts:
	src/keybind.c
2010-03-14 18:46:40 +01:00
i-nod 0b8fe4f36f Remove unused duplicates for projectile .pies. Game engine uses same files from the 'effects' folder.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10272 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-14 18:38:25 +01:00
i-nod 53d7ad84c4 Remove vidmemc.wrf which is unused and incorrect with current terrain engine. Dataset CAM_1KEVLAR (unused by itself) was the only place where it was mentioned. Any might-be custom campaigns should switch to CAM_1.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10269 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-14 18:38:24 +01:00
Cyp 239e4e450d newnet: Display icon on desynch or on waiting for players.
Saves having to look at console output to check that the game is in synch.
2010-03-14 13:27:05 +01:00
Per Inge Mathisen 936b5dc0a4 semperfi: Add more debug logging. Info added to console when unit selected. Add more techs to non-air tech tree.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10226 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-11 17:29:17 +01:00
Guangcong Luo 04e7e0452f Fix Tank Killer angle bug in campaign (previous fix only fixed skirmish).
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10213 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-10 08:23:53 +01:00
i-nod dda0f9f77b Enable or disable fog in TCMask shader depending on in-game state. Part of #851. Reviewed by Per.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10210 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-10 08:23:46 +01:00
i-nod 4ad78bf9b2 TCMask feature: shaders infrastructure and TCMask shader, FF fallback is supported for TCMask. Part of #851.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10179 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-07 08:34:17 +01:00
i-nod 87f8777a63 TCMask support infrastructure: mask loading and colour retrieval routines. Part of #851.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10178 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-07 08:34:17 +01:00
René Jürgens 5485af3b5c texture-wrf update for trunk
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10151 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-05 08:55:42 +01:00
René Jürgens 77bc330ebd NTW:
foundations and scavenger humans are back.
new scavenger research building + a new power module.
little ai changes
cyborg mechanic and engineer fixed

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10144 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-05 08:55:42 +01:00
Per Inge Mathisen 6e16f84a1b Fix droid frustration so that droids do not start the game frustrated. Make sure that scavs
never fire at features, since their own bases are built out of features instead of buildings
they own. Also improve scav script a bit to ensure they do not run out of things to do.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10084 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-04 19:07:38 +01:00
René Jürgens 5f6fc04c84 Online - Template Fix #2
sry... but thats realy the right one now. :/

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10037 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-04 19:07:35 +01:00
René Jürgens d5ff075122 Online - Template Fix
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10029 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-04 19:07:35 +01:00
i-nod 991b158f65 Use less complex zip calls or mingw32-make will fail.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10016 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-27 22:51:27 +01:00
Guangcong Luo 582962732d Rebalance 0.7.0 - The cannon overhaul.
Cannons and rails have their original 1.10 HP levels restored.

- Heavy Cannon was moved later-game
- Assault Cannon, Twin Assault Cannon, and Hyper Velocity Cannon were moved earlier-game (and rebalanced accordingly)
- Assault Cannon, Twin Assault Cannon, were made lighter
- Hyper Velocity Cannon can now hit air units, penetrate units, and is lighter, but reloads more slowly and has less HP. It no longer replaces Medium Cannon
- Plasma Cannon has been made into a cannon (prereqs: HPV + Inferno + DSLDA3), and has been rebalanced accordingly.
- Hyper Velocity Cannon can now hit air.
- Cannons, rails, mortars, and howitzers have their splash damage increased.
- Ripples and Archies have been nerfed.
- Lancer has had its damage slightly nerfed. A full lancer rebalance is planned for later.
- Analogous changes have been done to the corresponding cyborgs and VTOL weapons, as well.

("Rebalanced accordingly" means that the component price, research price, and damage have been adjusted to fit the new techlevel.)

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9945 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-21 18:50:16 +01:00
Buginator b056e7184c DyDo 2.0.5 debut, NSIS, Makefile.am and Makefile.win32 fixes for the mod.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9926 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-21 06:50:54 +01:00
René Jürgens 98717c39e8 - Put Mines back and them + Scavenger Structures in Research.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9911 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-20 22:50:22 +01:00
René Jürgens 595d94c4d9 - NTW Mod: none Versions Number anymore
- Less hit Points for Artillery (coz Artillery hit bug is removed) they are all on 25-35% now
- Mines & 3 Scavenger Bodys removed (others rebalanced)
- Color issue fixed
- Grim's Texture Mod removed

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9864 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-19 14:51:03 +01:00
Per Inge Mathisen a960ffb42f semperfi: When AI has enough initial factories, send off initial trucks on a truck rush in an
attempt to achieve total map control. First the closest unprotected oil resource to the enemy
is defended, then hardpoints are built around his base. This behaviour is currently experimental
and quite high risk, but works fine on some maps. Also fix bug that made AI not always pick quite 
closest the oil resource.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9837 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-17 00:50:13 +01:00
Per Inge Mathisen e943eb0ff7 semperfi: Be a bit more proactive about poaching oil resources.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9834 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-16 22:50:16 +01:00
Per Inge Mathisen 823cf96eeb semperfi AI: Rewrite base expansion code - teach AI to spend like a drunken sailor when it
has too much power on its hands. Fix some bugs. Guide it to research mg tower and the first
power upgrade.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9807 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-15 20:51:06 +01:00
Per Inge Mathisen 7b7aca3ce0 Remove 5878 duplicate points in PIE files. See ticket:1582 Reviewed by Safety0ff.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9792 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-13 23:05:00 +01:00
Per Inge Mathisen 303a4d20ba Fix texture file references in base wz wall PIEs.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9791 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-13 23:05:00 +01:00
René Jürgens ee1aad0d42 NTW Mod Version 1.8.9
- Fix Templates Bug
- Fix Scourge and Arch Angel Balance
- Fix Command Center Limit
- Fix Illogical Tech Levels

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9772 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-11 20:14:34 +01:00
i-nod d457d866ba - Aivolution has been removed from the MinGW build system and NSIS project
- NSIS: Aivolution and Original remnants should be removed from target system before installing new files
- NSIS: Force admin-privileges in UAC (they are required anyway), this will allow correct SM shortcuts removal possible on Vista/7


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9764 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-11 20:14:34 +01:00
Per Inge Mathisen c4fddbc513 A new in-progress rewrite of large parts of the current AI. Kept in a mod while it is being
worked on, to avoid breaking other people's testing and skirmish saves unnecessarily.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9763 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-11 20:14:33 +01:00
Per Inge Mathisen 896c74aeba Remove aivolution also from trunk
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9753 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:19 +01:00
Per Inge Mathisen f903f89c1e Reenable cyborg mechanic, thermite and grenadier.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9751 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:19 +01:00
Per Inge Mathisen 01dc5e937f Add a few more baba templates for extra baba squish fun.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9739 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:17 +01:00
i-nod cec20aae6a - NSIS changes from 2.3 (#1111).
- Additional fixes to [9642]: remove old-1.10-balance.wz instead of origianl.wz.
- MinGW build system updates.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9727 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:16 +01:00
Per Inge Mathisen 1f6df2a565 Skirmish AI improvements: Reduce interval to check if trucks can help build
something. Check if we need to build more trucks once we have built one,
instead of immediately going for military units then changing our mind.
Upgrade new research labs immediately after producing them.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9718 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:15 +01:00
Per Inge Mathisen 35bfe4b72c Make sure AI does not build VTOL factory before it is available.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9714 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:14 +01:00
Buginator 6d8d6dcb24 frontport r9538 & r9551
"2.3: Rename "original.wz" to "old-1.10-balance.wz" - I had an agreement with Delphinio that the mod could be named anything but "original", which was vague and confusing to new users."

&

"Rename directory of "original" mod to "old-1.10-balance".

Fixes autotools build."


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9712 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:14 +01:00
Guangcong Luo f7d7f880bd Remove limiting of oil derricks. Power production is limited by generators, anyway, so this is mainly to help people who don't like seeing blinking blue dots everywhere on the map.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9697 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:11 +01:00
Per Inge Mathisen 0e0d5f25fe Fix missing cyborg transport in skirmish due to recent template changes. Closes ticket:1548
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9672 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:28:09 +01:00
Thomas Barlow aa2e8fd0f5 Fix some AI unit templates which had multiple turrets, but shouldn't have.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9604 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:59 +01:00
Per Inge Mathisen bc633df81a Make human players have super cyborgs and cyborg engineers again.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9553 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:54 +01:00
Per Inge Mathisen 21d38e3685 Fix typo in AI script
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9535 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:51 +01:00
Per Inge Mathisen f4aba9fb28 Workaround for bug that makes the AI stop researching.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9533 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:51 +01:00
Per Inge Mathisen eb5f9d4395 Deactivate reached oil resource script when human player is playing. Bug reported by cyp_.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9532 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:51 +01:00
Per Inge Mathisen 42a023a592 On advice from Zarel, make AI build scorption body hover trucks instead of cobra.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9515 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:49 +01:00
Christian Ohm 0cd52a643b Mark a research string as no-c-format for translations.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9507 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:47 +01:00
Per Inge Mathisen 1aae810a22 Make AI build cobra hover trucks when it is able to, instead of the ordinary starting trucks. This
allows the AI to access areas of certain maps that are blocked by water. On these maps, this makes
a great deal of difference. This breaks skirmish saves, so do not backport.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9499 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:46 +01:00
Per Inge Mathisen daceec3fd9 New script function bool getPlayerStartPosition(index, ref x, ref y) that finds the start position of any player.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9464 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:41 +01:00
Christian Ohm d7d4c258c4 Actually include challenges in base.wz.
Fixes #1470.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9452 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:39 +01:00
Thomas Barlow 5ad6596be9 Fix some polygon issues in the factory models.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9403 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:33 +01:00
Guangcong Luo b6f03407dd Add new file data/mp/stats/messages/resmessages12.rmsg - additional research descriptions.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9397 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:27 +01:00
Guangcong Luo 258d65c169 Fix some unnecessarily specific numbers in weapon accuracy and pricing: 99% -> 100%, 999 -> 1000.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9395 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:27 +01:00
Guangcong Luo 4df6b05f40 Research messages more specific: "Machinegun damage +25%" instead of "Upgrades machinegun damage". Also add description for radar detector, and fix prerequisites for Flamer Autoloader Mk2.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9392 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:27 +01:00
Per Inge Mathisen a46a6eb68b Throttle AI construction of VTOL factories based on amount of power. Add thermite bombers to VTOL fleet.
Reorder VTOL target priorities to go after construction first. Restrict help build event to avoid trucks
wandering across the entire map to help build something that is finished a long time ago when they arrive there.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9390 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:27 +01:00
Per Inge Mathisen ce8491b4ad Rewrite buildDerrick AI skirmish event. Instead of looking for the next closest oil resource
to our base, be more opportunistic and look for the closest oil resource to each droid, and
only send one droid toward each oil resource. Also speed up full base starts by launching this
event immediately upon start (but after build start base event).


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9389 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:26 +01:00
Per Inge Mathisen 7ca0bc7547 If AI loses a race for an oil resource, it will now instead build a cheap defense building there as revenge.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9388 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:26 +01:00
Per Inge Mathisen ddcb9a9986 Remove some dead AI code from scripts.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9367 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:25 +01:00
Guangcong Luo 81e5af8e34 Rebalance 0.7.0.
Flashlight: range 6-12 -> 12-12
Pulse Laser: range 8-16 -> 14-14, damage 170 -> 165
Heavy Laser: range 5-7.5 -> 16-16, damage 350 -> 240
Pulse laser tower: price 175 -> 200
Pulse laser hardpoint: price 250 -> 275
Heavy laser emplacement: price 225 -> 450

Scourge: range 5-16 -> 5-14, accuracy 70%-80% -> 50%-80%
Seraph: range 5-14 -> 7-15
Lancer: price 125 -> 150, accuracy 50%-60% -> 30%-60%, remove MRL prereq
Lancer hardpoint: price 150 -> 175
Tank killer: accuracy 50%-60% -> 30%-60%
MRL: damage 30 -> 34
MRP: accuracy 45%-45% -> 40%-45%, range 5-8 -> 4-8

Note to self: Fix the tank killer angle bug already.

Mortar/pepperpot: Splash radius 0.5 -> 1.0
Bombard/incendiary mortar: Splash radius 0.75 -> 1.25, (incen) burn radius 0.5 -> 1.25

Howitzer/hellstorm: Splash radius 1.0 -> 1.25
Ground shaker/incendiary howie: Splash radius 1.0 -> 1.5, (incen) burn radius 1.0 -> 1.5

All-rounder modifiers:
Cyborg 60% -> 65%, Wheels 120% -> 125%, HT 110% -> 115%, Tracks 100% -> 105%, Hover 100% -> 120%

Artillery modifiers:
Tracks 50% -> 40%, HT 70% -> 65%, Hover 100% -> 120%

Whirlwind site obsoletes Cyclone site
Cyclone site obsoletes Hurricane site
Whirlwind hardpoint obsoletes Cyclone hardpoint
Gauss hardpoint obsoletes Rail hardpoint
Gauss emplacement obsoletes Rail emplacement

Fixes bug #663 - Tank Killer doesn't fire.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9338 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:21 +01:00
Per Inge Mathisen 7f63c39b06 This patch significantly cleans up the template loading code. It does not fix any known bugs. I did this
in an attempt to fix the copycat truck bug, but it has so far managed to escape me. Closes ticket:1417


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9319 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:19 +01:00
Per Inge Mathisen 423ac3df4f Use chained events instead of relying on a 40 second repeat trigger for research. This
makes the AI much faster at researching, as it eliminates long delays. Also clean up
the base expansion code and make it stop trying to expand when out of power.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9243 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:07 +01:00
Guangcong Luo 541d555e25 Rename Dragon from "Super Heavy Body" to "Multi Turret Body".
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9195 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:00 +01:00
Per Inge Mathisen 640f94ace4 Nudge scav script a bit to make it not crash the script interpreter.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9171 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:37 +01:00
Per Inge Mathisen 7125b11198 Make scavengers work in skirmish again. And they are now meaner than ever.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9170 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:37 +01:00
Per Inge Mathisen c0411ed819 Remove unused wrf files
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9168 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:36 +01:00
Per Inge Mathisen 4eaa4f9afa Fix erroneously commented out line
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9166 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:36 +01:00
Per Inge Mathisen 40652f7257 Fix references to new AI scripts. Remove references to old "campaign" style resource definitions and scripts.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9165 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:36 +01:00
Per Inge Mathisen b8d42bd9fe Change AI script loading. Now AI scripts are kept in ai.slo and ai.vlo, instead of in 8 almost identical files.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9162 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:36 +01:00
Guangcong Luo 187986f92e Fix bug #967 - templates.txt templates (namely, Truck and AI templates) were 1 power point cheaper, and had 1 less HP, than templates created in the Design screen.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9160 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:35 +01:00
Per Inge Mathisen 027cb31486 Make AI use event chainloading for basic structures and new trucks. This means that instead of calling
common AI functions from several places, which can lead to the CPU spending much time doing AI stuff
that frame, or setting the object to idle and wait for a repeat event to pick it up, which can lead to
long delays, it queues up another event for the next AI frame to continue processing.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9133 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:32 +01:00
Per Inge Mathisen baa0ac2188 Purely stylistic changes to make it easier to read this code for mistakes.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9131 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:32 +01:00
Per Inge Mathisen ada555a8d0 Add two new features to challenges, 1) to enable/disable changing your own position,
defaulting to not allowing user to change his or her position, and 2) to allow the
challenge to specify starting positions for each AI. Previously the user could freely
change starting position on all maps. Now this feature is only allowed on the "No Place 
To Hide" challenge. Also move the starting AIs for "Hide Behind Me" challenge to flank
the starting player.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9056 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:23 +01:00
dak180 72ccb7c384 PNG optimization, also known as 'Crush them all!'.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9038 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:21 +01:00
Guangcong Luo 192ade3cc0 Fix bug #1361 - tutorial can be unable to be finished if user clicks through design screen too quickly.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9033 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:10 +01:00
Guangcong Luo fc94a37432 Fix bug #1325 - confusing research icons for some missile upgrades.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8960 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:02 +01:00
Guangcong Luo 9b0381b14b Remove the two Warzone logo backdrops - they're really unprofessional and tacky, especially when there's already a Warzone logo at the top of the screen.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8933 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:03:57 +01:00
Guangcong Luo e22246cb30 A few balance changes:
- Update cyborg lasers to match changes to regular lasers
- Change cyborg transport research icon to cyborg transport
- Change Lancer's prereqs from HEAP Mini-Rockets to HE Mini-Rockets Mk3
- Allow only Dragon to have multi-turret; decrease its HP by 50

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8894 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:27:06 +01:00
Per Inge Mathisen 6986f8a054 Undelete droidBuiltAssign() that turned out to be quite essential. Make no
base builds much faster yet, by making droids cooperate on more buildings.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8813 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:26:54 +01:00
Per Inge Mathisen 209bf40833 Remove dead or non-working code from the default skirmish AI.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8812 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:26:53 +01:00