Per Inge Mathisen
c57bd507ed
Add new unit test for model files, to check that they are in a valid PIE format. Remove unused and broken A* test.
2011-01-24 20:49:05 +01:00
Per Inge Mathisen
beeb1fb77e
New backdrop image by jorzi
2011-01-23 21:44:04 +01:00
Per Inge Mathisen
f30c15bf20
New script function BASEOBJ getDerrick(int) that returns indexed derrick objects. Can be iterated until it returns a NULLOBJECT.
...
Modify semperfi to use this function for attacks of opportunity against undefended oil derricks.
2011-01-22 14:01:30 +01:00
Per Inge Mathisen
ef75bac968
Mg damage to cyborgs up 10%, to tracks down 10%, and to bunkers down 5%. Cannon damage to buildings and hardpoints up 10% and to bunkers up 25%.
2011-01-20 19:36:09 +01:00
Per Inge Mathisen
45460926cf
semperfi: Make AI build ripple rockets and archangels, and stormbringer AA.
2011-01-18 22:43:52 +01:00
Per Inge Mathisen
905323688e
Retire the current AI top model template with heavy laser in favour of two new ones. First is armed with seraph missiles, the second with both seraph missiles and gauss cannon on a dragon body.
2011-01-17 23:33:49 +01:00
Per Inge Mathisen
a61884fa1b
There is no ECM in campaign. Add full text description of ECM tech.
2011-01-16 14:14:15 +01:00
Per Inge Mathisen
d4f5c492aa
Add data stats for the ECM jammer tower. Remove ECM from all other objects.
2011-01-15 20:54:03 +01:00
Per Inge Mathisen
28c594d611
Make Dydo AI work with new MAX_PLAYERS limit.
2011-01-15 13:35:28 +01:00
Cyp
8248789dfd
Minor changes due to review by Per.
...
And also readded some changes that got lost from nexus.slo somehow.
2011-01-13 15:58:47 +01:00
Cyp
5b9467d8d5
Add IMAGE_PLAYERN and IMAGE_TEAMN for N = 8..15.
2011-01-13 15:58:46 +01:00
Cyp
6f6ec2ea86
Add IMAGE_GN_N for N up to 15.
2011-01-13 15:58:46 +01:00
Cyp
a3e5ea7276
Reduce dependence on MAX_PLAYERS == 8.
2011-01-13 15:58:46 +01:00
Per Inge Mathisen
05a8e6ecd1
No longer read wrf files specified directly from map files. Instead, call them directly from the code.
...
This saves us a lot of duplicate data, and reduces the amount of weird things a map can do. Reviewed by Cyp.
2011-01-12 21:15:25 +01:00
Per Inge Mathisen
e021afe37a
Load scavenger script depending on scavenger button settings, not on wrf file settings.
2011-01-12 19:35:35 +01:00
Per Inge Mathisen
a7292473b6
Remove unused or duplicate data files.
2011-01-12 19:33:14 +01:00
Per Inge Mathisen
a37b819a8d
New difficulty icons by flail13
2011-01-10 21:29:53 +01:00
Per Inge Mathisen
0aa784b612
Forgot to commit the .ai file for Dydo.
2011-01-10 19:26:01 +01:00
Per Inge Mathisen
d6ee18c895
New script function getDifficulty(int) to find which difficulty level a given player has. Also added four new
...
constants to check against: EASY, MEDIUM, HARD and INSANE. Semperfi modified to be less nasty in easy and medium
difficulty levels.
2011-01-09 22:24:09 +01:00
Per Inge Mathisen
f263cf5103
Add GUI dialog for choosing which AI you want to play against. Move semperfi and dydo into main. Change difficulty
...
slider into four separate steps (Easy, Medium, Hard, Insane). Thanks to Cyp for review. For more info, see ticket:2435
2011-01-09 16:35:49 +01:00
Cyp
b143d53ae1
Fix newly built human-player droids being partially unassigned from commanders by AI scripts.
...
And make all factory attributes be written to the new droids.
2011-01-09 05:22:54 +01:00
Per Inge Mathisen
cfa47fbb70
Remove unused duplicates from campaign wz, and move three files only used in multiplayer to mp wz.
2011-01-08 17:05:11 +01:00
Per Inge Mathisen
7f5da6ad47
Use more of MAX_PLAYERS in the code rather than plain numbers. Define MAX_PLAYERS for scripts. From patch by Cyp.
2011-01-05 23:09:38 +01:00
Cyp
6f71d8925e
Add missing minum32.pie, to match the .wrf files.
...
(Deleted one too many, before.)
2011-01-04 23:09:12 +01:00
Cyp
61ed2a1505
Bump max structure limits, now that UI supports them.
2011-01-04 22:40:35 +01:00
Cyp
ee048302f8
Add more assembly point graphics.
2011-01-04 22:40:06 +01:00
Per Inge Mathisen
e29bb60fff
Fix misspelling of 'guard tower' in PIE file name to match similar rename in wzgm.
2011-01-01 13:08:43 +01:00
Per Inge Mathisen
724cd69882
Define the default fog colour in the palette file instead of hard-coded.
2010-12-31 23:42:21 +01:00
Per Inge Mathisen
3d7a7b397b
simplipie: Fix error when fixing face culling and tessellation at the same time.
2010-12-31 18:20:51 +01:00
Per Inge Mathisen
e5edaeabfd
Tessellate features, effects and other models.
2010-12-31 17:46:08 +01:00
Per Inge Mathisen
d73adb4a90
Tessellate components.
2010-12-31 17:36:14 +01:00
Per Inge Mathisen
961d38b6ab
Tessellate all structure models.
2010-12-31 17:20:29 +01:00
Per Inge Mathisen
aafe14fbc2
Add separate shader for models rendered for buttons to remove lighting effects from those.
...
Add support for per-pixel lighting. Patch reviewed by SafetyOff.
2010-12-28 23:35:57 +01:00
Per Inge Mathisen
f5ea79ed3c
Enable OpenGL lighting controlled through the vertex shader. Added two new script functions setSunPosition an setSunIntensity.
...
Added a new PIE file directive MATERIALS that sets material properties for a mesh level. Original patch reviewed by SafetyOff.
2010-12-26 22:12:53 +01:00
Cyp
ba1bd6b6d6
Revert removal of loading of psStats->incenTime, since it was actually used.
...
Was especially noticable in the case of plasmite bombs.
(Was part of 6bace8bdf5df6fb19df48bda4adce41704467aad.)
2010-12-12 17:33:40 +01:00
cybersphinx
dd4391990d
Get rid of a few unnecessary Makefile.ams.
2010-12-11 16:41:57 +01:00
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
buginator
ac6b928ad7
Fix map preview screen redrawing, broken in f2ae61805c
...
Add entries to palette.txt for the new colors used in map preview.
Draw location of oil features.
Changelog: Enhance map preview to show oil locations.
2010-12-06 21:14:06 -05:00
Per Inge Mathisen
3843c8c00c
Fix texture name references. Patch by Berg. Closes ticket:2385
2010-12-06 21:05:16 +01:00
Per Inge Mathisen
d2a1422477
Fix typo. Closes ticket:2388
2010-12-06 21:02:15 +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
4f85821bab
Cache texture coordinate calculation on game start instead of doing them each frame. Do defensive structure stretching in the vertex shader. See ticket:2310
2010-12-05 16:17:26 +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
7de25a9d5b
Lay the groundwork for a more modern component drawing system. Removes support for OpenGL 1.x. See ticket:2310
2010-12-04 15:57:26 +01:00
Per Inge Mathisen
f8a7cde68a
Add missing skirmish overrides for multiplayer with scavengers. I have no idea why there are skirmish wrf files in
...
the single player data files to begin with, nor why these do not contain scavengers. This fixes ticket:2369 reported
by hao that scavengers do not work in 3/5/6/7-player maps.
2010-12-04 15:28:55 +01:00
Per Inge Mathisen
6bace8bdf5
Remove unused variables for weapons.
2010-11-25 22:32:46 +01:00
Per Inge Mathisen
dc4c88e5ee
Fix hoverwreck with zero body points
2010-11-25 20:19:30 +01:00
Per Inge Mathisen
bc1fd6cbbc
Do not keep unused structure variables in memory, and document them as being unused in the data header.
2010-11-25 20:05:42 +01:00
Per Inge Mathisen
28c1b3ea8d
Run simplipie over all PIE models. This removes team colour info when tcmask is used in the model and the number of frames is 8. Also fixes some other issues found by simplipie.
2010-11-12 22:55:30 +01:00