Commit Graph

77 Commits (80c250fd277fc0164b63169f081eb94792e343ea)

Author SHA1 Message Date
Roman C 0faf85229b Scripting Language:
-simple data types are lowercase on default
-casts using uppercase still allowed for compatibility with campaign scripts
-updated scripting manual accordingly

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1391 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-08 13:27:41 +00:00
Dennis Schridde 4261c7e0ae Move scriptlang.htm to where it can be found.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1370 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-05 17:36:59 +00:00
Giel van Schijndel fe90b5374a * apply patch found in bug #6953 by David Brettle
NOTE: this does not fix the issue of the close button not flashing, it does however make this script request it to be flashed (as in, one down, on to go).

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1342 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-02 23:27:57 +00:00
Giel van Schijndel 2465969014 * allow viewing in any browser directly from the svn-http url ( http://svn.gna.org/svn/warzone/trunk/data/multiplay/skirmish/scriptlang.htm )
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1340 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-02 21:49:03 +00:00
Roman C 8e0c0f397c Fixed naming inconsistency.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1322 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-01 18:51:48 +00:00
Roman C 3123e32370 Skirmish AI:
-AI chat messages are now visible to all allies, not only to the player messages are addressed to
-upon help request AI will notify if it doesn't have enough units to come to help instead of silently ignoring the request

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1319 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-01 16:25:59 +00:00
Roman C bfa9d23e01 Skirmish AI Update:
-a much faster unit production due to raised production effectiveness
-optimized construction of structure upgrades (smarter construction routines)
-AI trucks are capturing unoccupied oil resources more effectively
-slightly improved target selection when going to attack stuff
-rewrote routines responsible for helping allies that request help
-"I'm ok" command now works properly - notifies AI to stop helping you
-AI will now return to defend its own base when it is in trouble
-AI defends the base more effectively
-max number of droids allowed to build was raised
-won't stop building trucks when low on power anymore

FIXES:
-won't prefer humans when choosing who to attack anymore
-won't attack own buildings
-disabled cheat that was giving AI free units when starting with 'Advanced Base' option



git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1301 4a71c877-e1ca-e34f-864e-861f7616d084
2007-03-30 15:14:32 +00:00
Roman C 83b2fdb540 -Rewrote scripting language manual and updated function listing
-Converted manual from .rtf to .htm

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1298 4a71c877-e1ca-e34f-864e-861f7616d084
2007-03-29 16:24:17 +00:00
Giel van Schijndel 575e5a1ac7 * Fix bug #8758 (misspelling of "Thermal Amour") changed this to the correct US spelling ("Thermal Armor") for consistency's sake rather than the correct UK spelling ("Thermal Armour")
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1272 4a71c877-e1ca-e34f-864e-861f7616d084
2007-03-20 11:33:32 +00:00
Dennis Schridde ccbaba79ca Add --icondir and --applicationdir switches for finer control over installation.
Optimization needs to be taken care of. We currently overwrite whatever switch (-gX/-OX) is given to configure on the commandline.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1184 4a71c877-e1ca-e34f-864e-861f7616d084
2007-02-26 20:10:51 +00:00
Per Inge Mathisen 2a14556b60 Add skybox. Patch by Gerard Krol. The maximum allowed camera tilt towards
the sky has been increased to allow easier view of the new skyline.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1179 4a71c877-e1ca-e34f-864e-861f7616d084
2007-02-24 22:53:33 +00:00
Dennis Schridde 015f68d5c2 More case-fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1126 4a71c877-e1ca-e34f-864e-861f7616d084
2007-02-16 21:34:43 +00:00
Dennis Schridde d80e06e2cd Port of r1114 (buildsystem/installation improvements)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1115 4a71c877-e1ca-e34f-864e-861f7616d084
2007-02-15 15:36:25 +00:00
Dennis Schridde 7046437cf1 Fix building data/
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1099 4a71c877-e1ca-e34f-864e-861f7616d084
2007-02-13 22:01:05 +00:00
Dennis Schridde 977b2ee558 - Hack in PNG backdrop loader
- Add 2 new backdrops from Terminator (http://wz2100.net/forum/index.php?topic=109.0)
- Remove unused pal parameter from pie_PNGLoadMem()


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1075 4a71c877-e1ca-e34f-864e-861f7616d084
2007-02-07 15:27:17 +00:00
Dennis Schridde a67ea65895 Some more "invalid" filenames.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1073 4a71c877-e1ca-e34f-864e-861f7616d084
2007-02-07 14:29:44 +00:00
Dennis Schridde 2b16cbd06b Port of r1066
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1067 4a71c877-e1ca-e34f-864e-861f7616d084
2007-02-05 14:32:31 +00:00
Dennis Schridde 033b17664b Move wrf file, too.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1065 4a71c877-e1ca-e34f-864e-861f7616d084
2007-02-05 12:59:18 +00:00
Dennis Schridde 70475bbd2f Finalize move
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1064 4a71c877-e1ca-e34f-864e-861f7616d084
2007-02-05 12:48:47 +00:00
Dennis Schridde 2f03fe911a Prepare move/merge from mp-patches
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1063 4a71c877-e1ca-e34f-864e-861f7616d084
2007-02-05 12:44:51 +00:00
Dennis Schridde 53ee7bc2d5 Port r1038 from branches/2.0
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1039 4a71c877-e1ca-e34f-864e-861f7616d084
2007-01-26 16:27:46 +00:00
Dennis Schridde 952e060a60 Bring r1035 to trunk + reorder frontend images in .wrf
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1037 4a71c877-e1ca-e34f-864e-861f7616d084
2007-01-26 15:04:58 +00:00
Dennis Schridde 31f3b2c67a Fix data Makefile.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1026 4a71c877-e1ca-e34f-864e-861f7616d084
2007-01-21 19:15:09 +00:00
Dennis Schridde 2e967ee264 More merging and Makefile improvements:
- Remove (wrong) double definition of main
- Make enabling/disabling of DATA and INSTALLER easier in raw Makefiles
- Remove COMPRESS and COMPILER from raw Makefiles
- MAKENSIS is no longer mandatory for raw Makefiles


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@979 4a71c877-e1ca-e34f-864e-861f7616d084
2007-01-09 01:28:01 +00:00
Roman C 3336e8717a AI update:
-AI can now request help using chat messages when in trouble.
-AI can recognize other players (Humans or AIs) asking for help and react accordingly by sending units to help ally - indicate position on the map with a beacon (Alt+H) and send a chat message requesting help.

Example:
"Help"
Addresses all players sender communicates with.

Certain AIs can be addressed directly:
"Black, Red and SantaClaus help me!!!"

-"i'm fine" or similar forms understood by lexical parser will notify AIs to send its units back.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@967 4a71c877-e1ca-e34f-864e-861f7616d084
2007-01-07 20:11:50 +00:00
Dennis Schridde 33798e384a Multiplayer Command Turrets can now attack/mark air targets. This makes it sensible to attach AA weapons to commanders for defensive purposes.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@954 4a71c877-e1ca-e34f-864e-861f7616d084
2007-01-04 14:42:40 +00:00
Dennis Schridde c4be99146a Part I of Giel's NSIS patch
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@931 4a71c877-e1ca-e34f-864e-861f7616d084
2006-12-27 13:35:10 +00:00
Roman C 33887643eb Patch by karmazilla: fix to the Tutorial 'blue skybox' bug (bug #8087)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@923 4a71c877-e1ca-e34f-864e-861f7616d084
2006-12-25 14:34:03 +00:00
Dennis Schridde 52e8d3b435 Forward port some missed changes
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@920 4a71c877-e1ca-e34f-864e-861f7616d084
2006-12-25 01:43:01 +00:00
Roman C 2da67b99e1 Patch by Watermelon: Fixed campaign loading bug and connector coordinates for Mantis body
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@917 4a71c877-e1ca-e34f-864e-861f7616d084
2006-12-24 10:45:22 +00:00
Dennis Schridde e189e064c0 Forward port make install fix for Automake < 1.10
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@916 4a71c877-e1ca-e34f-864e-861f7616d084
2006-12-23 17:26:58 +00:00
Roman C 840312f8ea Patch by Watermelon with slight modifications:
-new ORDER_CIRCLE VTOL command - will defend a certain position flying over it and engaging enemies nearby
-adds additional armor types for all sides of a droid (rear, front, top, bottom, left, right) - additional armor definitions are in body.txt.
Droid damage is now also a function of the impact side.
-adds multi-turret support for VTOLs
-modifies connectors in bodies: first 5 connectors are for ground units, the rest is for VTOL.
-introduces some fixes

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@901 4a71c877-e1ca-e34f-864e-861f7616d084
2006-12-17 17:12:14 +00:00
Dennis Schridde 8c0393f7ca Some minor cleanups, removed unused/unneeded functions, stoped debug spamming
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@896 4a71c877-e1ca-e34f-864e-861f7616d084
2006-12-08 19:14:32 +00:00
Roman C bb9fbc9fb2 Patch by Watermelon:
-adds penetrate flag to weapons.txt (relevant for multiplayer)
-increases hit-box radius
-adds some fixes to the hit-system

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@868 4a71c877-e1ca-e34f-864e-861f7616d084
2006-11-26 16:30:34 +00:00
Roman C f3e0227b45 Patch by Watermelon:
-fixes disappearing oil derricks (bug #7740)
-allows structures to have multiple weapons (structureweapons.txt format changed)
-fixes muzzle flash for 2nd and 3rd weapon

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@857 4a71c877-e1ca-e34f-864e-861f7616d084
2006-11-25 17:38:27 +00:00
Roman C 9aebc7c2b5 Patch by Watermelon: Droid Multi-Turret Support
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@811 4a71c877-e1ca-e34f-864e-861f7616d084
2006-11-04 22:56:28 +00:00
Dennis Schridde c62d5d6ac2 Replace lots of \ with /
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@807 4a71c877-e1ca-e34f-864e-861f7616d084
2006-11-03 23:53:38 +00:00
Dennis Schridde b0eceecf36 Backport changes from branches/2.0. (AutoPackage 1.2 support)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@797 4a71c877-e1ca-e34f-864e-861f7616d084
2006-10-30 17:15:30 +00:00
Roman C e2de834b13 -1.10 AI doesn't build flamer bunkers in the base anymore
-It is now possible to win in a team in 'Locked Alliances' mode, also in this mode a player doesn't lose until all of his team members were defeated
-Game now shows a text message when player has won/lost the game (just a temporary solution to bug #7317)
-Added extra heap debug, should be there at least until we fix bug #6530, as PTRVALID() doesn't seem to detect corrupted DROID pointers on win
-Increased number of iterations A* is allowed to do per frame, which will hopefully speed up pathfinding
-Fixed multiplayer menu slider bug (bug #6529)
-Fixed players not forwarding enemy units visibility to their allies in 'TEAMPLAY' and 'Locked Alliances' modes
-Further scripting engine improvements

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@780 4a71c877-e1ca-e34f-864e-861f7616d084
2006-10-08 08:06:46 +00:00
Dennis Schridde 4ea12897a5 - Replaced all filenames (I could find) with their lowercase and platform independed notation. There might be some uppercase filenames left in the sourcecode.
- Because savegame filenames are converted to lowercase old savegames won't work anymore. You can simply fix that by renaming them to lowercase.
- All unix_path, unix_fopen and PHYSFSEXT_locateCorectCase functions and calls to them have been removed. (So you _will_ notice when a file is not found, at least on Unix systems.)


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@776 4a71c877-e1ca-e34f-864e-861f7616d084
2006-10-07 14:13:47 +00:00
Roman C 9aaae50baa Replaced 'Humans vs AIs' with 'Locked Teams' alliance mode.
Fixed difficulty slider applying settings to the wrong players.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@763 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-26 18:14:05 +00:00
Roman C 66252e097c Fixed 'Texture file not preloaded' bug
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@760 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-25 17:00:40 +00:00
Dennis Schridde 6fc01a0289 Don't enforce the GPL by breaking it. ("All rigths reserved" is part of the copyright notice and thus must stay.)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@746 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-22 11:10:20 +00:00
Roman C f84861b762 Updated frontend.wrf to make it load new texture page. Needed for the previous commit.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@745 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-21 22:56:06 +00:00
Roman C 741250cef3 -Added "Humans vs AIs" alliance mode: Humans and AIs make 2 teams, alliances cannot be created or broken
-Added now frontend texture to frend.img
-Disabled "Allied players send vision to each other automatically (only once)" for "Allow alliances" alliance mode, since (x allied y) is not a transitive relation in this mode

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@744 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-21 20:42:48 +00:00
Dennis Schridde 139f769d2d Fixed the video. Last commit was done with a texteditor. ;) This one is done with a hexeditor and carefully looking after the size of the changed string.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@728 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-18 22:56:37 +00:00
Dennis Schridde 44cc4058b4 Enforce GPL. (Was GPL before, according to the original readme.txt by Pumpkin. Just changed the apparently wrong statement inside the file.)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@727 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-18 21:32:49 +00:00
Roman C 33f42adf41 -fixed 'The Pit' map to make it act as an 8-player map in T1
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@713 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-16 14:40:38 +00:00
Dennis Schridde 1e476c2074 Possible fix for bug #5188 (Wrong tileset)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@689 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-07 17:13:50 +00:00
Roman C b3112a95a6 Fixed 1.10 AI bug in event "useLasSat" which caused an infinite loop when script was trying to use LasSat while it was still under construction (one of the bugs mentioned in bug #6760)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@653 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-27 14:58:26 +00:00