Commit Graph

302 Commits (f6743c23d242c1e38e1bcb9e764baef2282fd23a)

Author SHA1 Message Date
Roman C e3130c9c96 Aivolution: fixed swapped actual parameters for the first and second parameter of a function.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4166 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-20 15:44:14 +00:00
Roman C d334213174 Aivolution:
wait some time before notifying allies of an idle state to prevent too rapid state changes

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4160 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-20 01:11:58 +00:00
Roman C cfea441525 Aivolution AI:
-AI became more talkative
-more phrases can be recognized and used as commands
-cleanups

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4158 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-19 21:02:03 +00:00
Roman C 53ccf20390 Fix Aivolution readmes.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4156 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-19 19:04:19 +00:00
Roman C 64f4a2d593 Aivolution AI:
-don't offer to attack enemies on startup, if AIV has no units
-use player names instead of player numbers in the chat

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4151 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-18 22:18:48 +00:00
Roman C 30f5916f83 Aivolution AI:
-fixed a bug, which made Aivolution send its units to the initiator of the "go <player>" request instead of the enemy it was supposed to attack.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4149 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-18 20:14:18 +00:00
Giel van Schijndel 59e2d655d7 Use the database (i.e. SQLite) stats implementations on single player
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4106 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-16 12:29:17 +00:00
Giel van Schijndel cac17150d3 * Convert the `propulsion.txt` and `bodypropulsionimd.txt` stats to the SQLite database
This addresses #2 ( http://trac.wz2100.net/ticket/2 )


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4052 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-14 22:11:00 +00:00
Dennis Schridde 0316bee001 Remove original backdrops (ugly) and wzlogo 3, 4 and rename the others to backdropX
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4046 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-14 19:31:42 +00:00
Dennis Schridde 3e9cb44a88 frend -> frontend (makes mods which add files to the WRF incompatible!)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4045 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-14 19:22:40 +00:00
Freddie Witherden 3bb71c1b3e Hopefully fix the size of the logo in frend.img.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4034 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-13 19:59:59 +00:00
Giel van Schijndel 1dac4a46a2 Split schema and data up into seperate SQL files
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4012 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-11 15:57:04 +00:00
Giel van Schijndel add956c36d Change all 'trailGfx' columns that where '0' to NULL instead
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4002 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-10 22:58:02 +00:00
Giel van Schijndel c620910020 Add some SQL VIEWs to extract data in a similar way as how it's stored in the CSV files
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3966 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-08 22:24:26 +00:00
Giel van Schijndel cb470b1697 * Convert the 'structureweapons.txt' stats to the SQLite database
This addresses #2 ( http://trac.wz2100.net/ticket/2 )


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3965 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-08 21:32:52 +00:00
Giel van Schijndel e4ac82a18a Update comment to mention which table.column is referred by an integer ID value in the structures table
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3964 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-08 21:10:17 +00:00
Giel van Schijndel e4af0a7735 * Convert the 'structures.txt' stats to the SQLite database
This addresses #2 ( http://trac.wz2100.net/ticket/2 )


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3963 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-08 21:08:49 +00:00
Giel van Schijndel 30f2e438c0 * Convert the 'sensor.txt' stats to the SQLite database
This addresses #2 ( http://trac.wz2100.net/ticket/2 )


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3962 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-08 20:54:47 +00:00
Giel van Schijndel e944a82dae * Convert the 'ecm.txt' stats to the SQLite database
This addresses #2 ( http://trac.wz2100.net/ticket/2 )


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3961 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-08 19:29:20 +00:00
Giel van Schijndel 4cfa907249 * Use NULL where appropriate
* Fix a typo in a column name


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3960 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-08 19:10:59 +00:00
Giel van Schijndel b221414e8e Convert the 'body.txt' stats to the SQLite database
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3959 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-08 18:40:07 +00:00
Giel van Schijndel f940f4624b * Convert the 'construction.txt' stats to the SQLite database
* Fix some comments


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3957 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-08 16:25:46 +00:00
Giel van Schijndel f55d9ac013 Convert the 'brain.txt' stats to the SQLite database
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3956 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-08 16:09:20 +00:00
Dennis Schridde a2548cf796 Create empty rules for player0.* to prevent circular dependencies
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3942 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-07 16:03:02 +00:00
Giel van Schijndel db4896b8cc Remove old database junk (from the original M$ Access DB)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3893 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-02 19:09:50 +00:00
Giel van Schijndel 799bc88f1c Dump all the weapon stats in an SQLite database
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3892 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-02 19:08:24 +00:00
Roman C 2465552376 Aivolution AI:
-made AIV research all tech necessary for the newly added heavy templates
-tweaked templates a bit

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3887 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-01 18:12:38 +00:00
Roman C bc9e5fa1de Stock AI:
Ported fix to bug #11122 from Branch to Trunk (player0.slo was already fixed in r3875).

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3886 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-01 18:11:04 +00:00
Dennis Schridde 377adc40d6 Another backdrop named "My Pet Turtle" by Cathuria from the "A paltry 30k polys" thread http://forums.wz2100.net/?topic=1361.0
License: CC BY-SA 3.0, as allways.
The border and logo look quite good ingame, so 07-bdrop.png should get that, too.
Also: Use a highres version of 07-bdrop.png, also by Cathuria
Also: Change COPYING.README style a bit


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3884 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-01 13:18:44 +00:00
Roman C 7daf3f093c Restore stock AI for player 0 which was overwritten by Aivolution in r3873.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3875 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-29 20:22:58 +00:00
Roman C 295d1e40e8 Fixed bug #11097 ("Ai opponents use the medium yellow body all the time").
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3873 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-29 20:18:13 +00:00
Roman C cc3c372bdf Aivolution:
revert changes done to player0.slo after 3841, since it reverted bug fix to bug #11085, which was applied in r3840.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3871 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-29 20:00:12 +00:00
Dennis Schridde f92b8fc5b4 PCRE is not supported by every grep as it seems, so expand \s to [[:space:]].
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3860 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-23 14:33:18 +00:00
Per Inge Mathisen bbae49f687 Fix two erronous png references in model files.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3857 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-22 23:11:21 +00:00
Per Inge Mathisen 548653d0d0 Add ECM range parameter. Clean up ECM code. Remove cyborg stealth hack from
trunk in anticipation of future ECM work.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3854 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-22 19:13:13 +00:00
Dennis Schridde 8485224b12 Move playerX.[vs]lo.in to player0.[vs]lo
This adds make warnings, which are hopefully always reacted upon as they are in my version of GNU make, so it does the correct thing and not try to replace player0.[vs]lo with itself or do other crap...
make: Circular player0.slo <- player0.slo dependency dropped.
make: Circular player0.vlo <- player0.vlo dependency dropped.
Also: Add clean target


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3851 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-20 18:46:23 +00:00
Dennis Schridde f37984a87c Fix a typo in regexp, which prevented "playerX.slo" from getting replaced properly.
Also add error checking, to see wether the template parameters were replaced properly.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3850 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-20 17:42:30 +00:00
Dennis Schridde bafb1ddd8f Port r3845: .vlo depends on .vlo.in
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3846 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-20 12:01:07 +00:00
Dennis Schridde bdc4c57fa7 Port r3843 from branches/2.1: Autogenerate playerX.slo files
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3844 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-20 11:54:29 +00:00
Roman C ffddb98f93 Restore stock AI, which Tortoise silently overwrote.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3841 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-19 19:37:45 +00:00
Roman C 2636ccbef2 Aivolution AI:
-files for all 8 AI players are now back into the repository.
-fixed bug #11085 (part 1/2)

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3840 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-19 19:34:50 +00:00
Roman C 741eb57d31 Weapon balance:
Fortresses:
-raised reload rate and firepower
-rocket fortress now has 4 projectiles

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3836 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-18 19:47:52 +00:00
Roman C cc6e90ce0d Weapon balance:
-light flamers are now allowed to shoot while moving

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3780 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-14 21:40:44 +00:00
Roman C 1030962761 Stock AI Update:
-fixed a bug which prevented AI from building more than 2 different cyborg types
-added more different templates (flamers, hpv etc)

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3779 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-14 21:39:27 +00:00
Roman C d7c09c4878 Prevent stock AI attack units from idling in the base, make it use them more aggressively.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3773 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-13 19:31:23 +00:00
Roman C 0aac170265 Removed some unused cyborg templates, this also fixed a bug which prevented skirmish AI from building cyborg flamer, heavy gunners and lancer cyborgs.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3772 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-13 19:29:37 +00:00
Roman C fd1bd9c1bc Balance changes:
Increased ridiculously low reload rate of some cyborg weapons while keeping damage/sec constant (mp only).

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3747 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-10 22:23:44 +00:00
Giel van Schijndel 491b968833 * Make cdAudio_PlayTrack work with an enum instead of "magic numbers"
* Use this enum's values throughout the src/* code
 * Replace scripting function playCDAudio(int) by playIngameCDAudio() which is equivalent to cdAudio_PlayTrack(playlist_ingame)


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3687 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-04 16:46:55 +00:00
Roman C 0759f806ae Balance tweaks:
-increased fire power of some cyborgs to match the fire power of the weapons used for units
-decreased reload time for cyborg flamers
-increased weapon range of HPV Cyborgs

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3556 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-26 18:06:15 +00:00
Roman C 2d6afffae9 Stock AI:
-added some mini-pod templates to the AI template mix

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3555 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-26 17:35:03 +00:00