Commit Graph

240 Commits (7a672cab30275c0a62d8a68e9c4049ef4222337e)

Author SHA1 Message Date
Per Inge Mathisen adea03a17c semperfi: Make several global variables local. 2010-12-07 22:10:21 +01:00
Per Inge Mathisen e2d83d483d Fix AI script event not triggering on production done. Also fix lack of UI updates when AI produces something. Thanks to Cyp for infinite reviews. 2010-12-07 21:58:37 +01:00
Per Inge Mathisen 940efd25fe semperfi: Combine the template lists for the two tech trees, so that air AIs do not end up build crap ground units late game. 2010-12-05 16:34:31 +01:00
Per Inge Mathisen 6d12963fc5 semperfi: Make sure we build a factory first, even if we need power generators. Always help build the closest structure.
Grab trucks from wider distance to accomodate maps that place starting trucks far away from base.
2010-12-05 15:56:26 +01:00
Per Inge Mathisen f17981b6d6 semperfi: There is no point in rushing out to fortify an oil well that the enemy cannot (safely) get to. 2010-11-05 22:15:00 +01:00
Per Inge Mathisen d9be3f5bf4 semperfi: Do not send trucks to build at oil derricks where they will be shot to pieces en route. 2010-11-05 21:39:38 +01:00
Per Inge Mathisen bd82f2b8e2 Make danger map accessible to scripts. New functions: safeDest(plr, x, y) and threatAt(plr, x, y) for querying it. 2010-11-05 21:16:05 +01:00
René Jürgens 3aacc17431 fixing the sound problem with - old 1.10 balance
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11704 4a71c877-e1ca-e34f-864e-861f7616d084
2010-09-20 18:34:42 +02:00
Christian Ohm e1a812fd2e Check if zip understands --filesync, else use -u.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11554 4a71c877-e1ca-e34f-864e-861f7616d084
2010-08-30 14:31:04 +02:00
Christian Ohm 651970e1de Use filesync instead of update to create .wz files.
This will prevent warnings when the archives don't exist (for clean builds),
and remove files from the archives that have been removed from the repo (for
unclean builds).

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11552 4a71c877-e1ca-e34f-864e-861f7616d084
2010-08-28 20:30:48 +02:00
Christian Ohm 2dd806bb92 Remove NTW mod from Makefile.am.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11512 4a71c877-e1ca-e34f-864e-861f7616d084
2010-08-23 16:35:31 +02:00
René Jürgens f50b5ed945 - End the Support for Trunk Version.
- Dont forgett to Edit the Makefiles.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11509 4a71c877-e1ca-e34f-864e-861f7616d084
2010-08-23 16:35:29 +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
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 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
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
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 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
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
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
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
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
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
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
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