Commit Graph

1083 Commits (1b39b6d441964f9ff30d469010b50ce7b61b7266)

Author SHA1 Message Date
Per Inge Mathisen 2f84b60214 Remove --self-test command line option, as it was not maintained properly over a very long time. 2012-01-21 17:02:08 +01:00
Per Inge Mathisen 511172c4ff Make semperfi-js a little bit less useless when in no base starts. 2012-01-21 15:20:23 +01:00
Per Inge Mathisen caff667d1c Nexus and Semperfi no longer (re)build structures it does not have
the techs to build in the first place. Happens since it "remembers"
starting structures removed due to base settings.
2012-01-21 13:28:56 +01:00
Per Inge Mathisen c0cb30b3ac Set tooltips for AIs. Clean out some unused code. 2012-01-21 12:28:14 +01:00
Per Inge Mathisen 1b337a7c6a qtscript: Add new event eventStructureReady() and function activateStructure()
for using the laser satellite building.
2012-01-19 22:43:05 +01:00
Per Inge Mathisen 599dddf05b Allow scripts to control whether new designs are allowed. Default off. 2012-01-18 22:25:34 +01:00
Per Inge Mathisen e49e549f75 qtscript: Add idle callback if vtol is done rearming. Add 'armed' property to vtol droids.
Fix 'health' property on droids. Fix docu bug.
2012-01-18 19:56:04 +01:00
Per Inge Mathisen 80951e250f Remove utterly useless "specialability.txt" 2012-01-15 18:18:42 +01:00
cybersphinx 4219e43bcc Remove some unused duplicate data files. 2012-01-15 00:31:23 +01:00
cybersphinx 779b4edcbd Move multiplayer files to data/mp. 2012-01-15 00:23:16 +01:00
Per Inge Mathisen c907d5ab1c Temporary hack to fix T2/T3 for now. Basically just ignoring attempts to research
things that do not exist (instead of having lots of unreachable techs that do
nothing, which was the previous state). Remove duplicate script code for setting
amount of starting power; as a side effect starting power may be less now for
T2/T3. Will fix that later when scripts know the T2/T3 state. Closes ticket:3044
2012-01-14 23:44:29 +01:00
Per Inge Mathisen e688e0aa81 Challenges: Can now override player names, and turn off players entirely. 2012-01-14 22:49:44 +01:00
Per Inge Mathisen 3ac7f72687 Make template design available from game start. Make defensive buildings
available without HQ. Increase sensor range of HQ. This closes ticket:3055
2012-01-14 22:29:42 +01:00
Per Inge Mathisen a5dffde59e qtscript: Added new event when owned objects are destroyed. Rules Script now
controls whether minimap is shown or not.
2012-01-14 19:39:54 +01:00
Per Inge Mathisen b897829756 Revert "Balance changes from Iluvalar" pending more discussion
and input from the player community.

This reverts commit e94ba3dbba.
2012-01-14 12:55:44 +01:00
Per Inge Mathisen 97d8d791a9 qtscript: Rename orderDroidStatsLoc() to orderDroidBuild(). The old version
will remain available for a while to give people time to convert.
2012-01-12 19:12:22 +01:00
vexed 96fdff1ca8 Upload forum member Jorzi new credit screen. 2012-01-11 22:38:34 -05:00
Per Inge Mathisen e94ba3dbba Balance changes from Iluvalar.
BODIES

Tiger (Body9REC)
price: 71$ => 91$
prod:420 => 534
armour 20.25=>17
HP:284=>204

Scorpion (Body8MBT)
price: 39$ => 44$
prod:250 => 281
armour 12=>11
HP:125=>103

Retribution (Body7ABT)
price: 100$ => 120$
prod:600 => 718
armour 23=>19
HP:200=>142

Panther (Body6SUPP)
price: 57$ => 64$
prod:300 => 337
armour 15.75=>14
HP:193=>165

Cobra (Body5REC)
price: 46$ => 51$
prod:250 => 276
armour 12.75=>12
HP:130=>119

Bug (Body4ABT)
price: 25$ => 26$
prod:100 => 103
armour 8=>7
HP:55=>55

Retaliation (Body3MBT)
price: 68$ => 70$
prod:400 => 411
armour 18.75=>18
HP:100=>96

Leopard (Body2SUP)
price: 41$ => 40$
prod:220 => 215
armour 10.5=>11
HP:107=>115

Viper (Body1REC)
price: 30$ => 30$
prod:150 => 150
armour 8.5=>8
HP:65=>68

Dragon (Body14SUP)
price: 182$ => 216$
prod:1000 => 1182
armour 30=>25
HP:350=>215

Wyvern (Body13SUP)
price: 156$ => 156$
prod:900 => 899
armour 28=>28
HP:350=>350

Mantis (Body12SUP)
price: 52$ => 67$
prod:350 => 445
armour 18=>15
HP:180=>125

Python (Body11ABT)
price: 60$ => 71$
prod:350 => 410
armour 17.25=>16
HP:200=>170

Vengeance (Body10MBT)
price: 130$ => 160$
prod:800 => 980
armour 27.25=>23
HP:300=>212

PROPULSIONS

Tracks (tracked01)
HP:300=>237

Hover (hover01)
HP:150=>93

Half-tracks (HalfTrack)
HP:200=>160

WEAPONS

Incendiary Mortar (Mortar-Incenediary)
price: 150$ => 314$
prod:750 => 1567
HP:5=>1
DMG 90=>48

Incendiary Howitzer (Howitzer-Incenediary)
price: 250$ => 522$
prod:1000 => 2085
HP:10=>3
DMG 200=>102

Bombard (Mortar2Mk1)
price: 200$ => 169$
prod:1000 => 843
HP:5=>43
DMG 120=>129

Inferno (Flame2)
price: 80$ => 140$
prod:400 => 698
HP:75=>25
DMG 40=>29

Plasmite Flamer (PlasmiteFlamer)
price: 80$ => 154$
prod:400 => 769
HP:75=>25
DMG 63=>40

VTOL Plasmite Bomb Bay (Bomb5-VTOL-Plasmite)
price: 225$ => 303$
prod:1000 => 1345
HP:600=>438
DMG 1000=>864

VTOL Thermite Bomb Bay (Bomb4-VTOL-HvyINC)
price: 225$ => 322$
prod:1000 => 1431
HP:360=>218
DMG 400=>336

VTOL Cluster Bomb Bay (Bomb1-VTOL-LtHE)
price: 150$ => 72$
prod:600 => 288
HP:420=>782
DMG 120=>169

Nexus Link Turret (SpyTurret01)
price: 400$ => 205$
prod:1600 => 820
HP:200=>561
DMG 2=>2

EMP Cannon (EMP-Cannon)
price: 200$ => 41$
prod:800 => 161
HP:500=>1906
DMG 70=>143

B-2) Emplacements for mortars

Incendiary Mortar Pit (Emplacement-MortarPit-Incenediary)
price: 135$ => 111$
prod:425 => 350
armour 10=>12
HP:300=>365

Incendiary Howitzer Emplacement (Emplacement-Howitzer-Incenediary)
price: 325$ => 254$
prod:550 => 429
armour 10=>14
HP:400=>512
2012-01-11 21:22:06 +01:00
vexed ac550acd58 Revert the new bsonlobby.
Closes #3040.

Revert "Remove bson from project files."

This reverts commit 5c24f7b716.

Conflicts:

	lib/netplay/netlobby.h
	lib/netplay/netplay.vcxproj.filters
	src/Warzone2100.vcxproj

Revert "Merge branch 'refs/heads/topic/QJson'"

This reverts commit 6dd85baedf, reversing
changes made to 7d349eb214.

Conflicts:

	Makefile.am
	lib/netplay/netlobby.cpp
	macosx/Warzone.xcodeproj/project.pbxproj
	src/Makefile.am
Revert "Fix various build issues for both 'qtgame' and the bson /new lobby stuff"

This reverts commit f76e960f7d.

Conflicts:

	lib/framework/framework.vcxproj
	lib/gamelib/gamelib.vcxproj
	lib/gamelib/gtime.cpp
	lib/netplay/netplay.vcxproj
	lib/netplay/netplay.vcxproj.filters
	src/Warzone2100.vcxproj
	win32/Warzone2100.sln

Revert "Fix SSL errors on the Macs."

This reverts commit 4c387a199b.

Revert "Merge branch 'bsonlobby' into master"

This reverts commit 793c30a862, reversing
changes made to 5fa33b7209.

Conflicts:

	data/makefile.win32
	lib/netplay/netlobby.cpp
	lib/netplay/netlobby.h
	lib/netplay/netplay.cpp
	lib/widget/label.cpp
	macosx/Warzone.xcodeproj/project.pbxproj
	po/POTFILES.in
	src/configuration.cpp
	src/frontend.h
	src/multiint.cpp
2012-01-08 23:10:26 +01:00
Per Inge Mathisen a695355881 Remove tabs and fix missing braces in research message data. 2012-01-07 19:33:06 +01:00
Per Inge Mathisen 545eb5c272 Convert research message data to ini file format. 2012-01-07 19:14:34 +01:00
Cyp 555cb0dfa7 Fix CAM3C script from failing at start.
No idea why it used to work.
2012-01-07 18:41:54 +01:00
Per Inge Mathisen 82f4369bef Clean up message loading a bit. Remove unused research messages for skirmish.
Fix some return false instead of NULL.
2012-01-07 12:33:31 +01:00
Per Inge Mathisen ce950ddff3 semperfi js: Attack random enemy, for more fun. 2012-01-03 18:31:30 +01:00
Per Inge Mathisen b4b870cd09 Remove unused techs from multiplayer to reduce clutter. 2012-01-03 17:47:13 +01:00
Per Inge Mathisen e7bcabc655 semperfi js/qtscript: Check templates against factory body size limit.
Handle multiweapon droids properly, and build them. Fix attack code.
Demolish unused research labs when done. Prioritize rocket techs.
2012-01-02 21:52:48 +01:00
Per Inge Mathisen 5a1411dd87 semperfi js: Now builds attack droids, and sends them to attack occasionally.
Workaround bug where you cannot research stuff in the first few game ticks.
2012-01-02 00:13:25 +01:00
Per Inge Mathisen dee0307296 Add the new Semperfi javascript AI as a separate AI choice 2012-01-02 00:13:25 +01:00
Per Inge Mathisen 0770df9855 semperi js: Now builds cyborgs and VTOLs, and sort of defends itself. 2012-01-01 15:09:34 +01:00
Per Inge Mathisen f35de0d513 qtscript: Generalize attacked event to cover droids as well. Fire off droid built
event also if droids are built through cheating. Make trigger function names consistent.
2011-12-30 20:48:40 +01:00
Per Inge Mathisen 2d304e1985 qtscript: New trigger 'eventStructureBuilt' 2011-12-30 20:35:10 +01:00
Per Inge Mathisen efc9481beb qtscript: buildDroid() can now take preference lists of components, not just
individual component strings. You can use this to easily build the best
possible droid, without manually checking component availability.
2011-12-30 20:01:45 +01:00
Per Inge Mathisen 5dca124ba0 qtscript: You can now pass a list of techs to pursueResearch. It will pick the
first one not already researched to pursue.
2011-12-29 19:50:06 +01:00
Cyp 11cd71892d Replace cross-shaped projectiles with flat projectiles that rotate to face the camera.
Number of triangles reduced by 75%.

Also, laser beams are no longer opaque.
2011-12-29 17:19:28 +01:00
Per Inge Mathisen ceaedde9ad qtscript: No longer exposing the template system to the AI. Each droid
is composed from its components each time instead. Some cleanup of design
function declarations.
2011-12-29 17:13:04 +01:00
Cyp c93bfb237d Make MG-type projectiles more consistent.
MG projectiles had a degenerate cross section (four of the triangles were degenerate).

MG: larger, and no longer degenerate.
Twin MG: like a pair of MG projectiles.
HMG: like a single old Twin MG/old Twin AG projectile.
AG: same as HMG.
Twin AG: like the old Twin MG/old Twin AG.

Some arbitrary offsets removed, projectile start now centred at (0, 0, 0).

Fixes ticket:354.
2011-12-28 14:57:09 +01:00
Per Inge Mathisen 2a7ec11483 Do random research in semperfi js, add framework for template design 2011-12-27 15:03:21 +01:00
Per Inge Mathisen a4e616151f Fix more bugs in research qtscript code. Add support for random research topics in semperfi js. 2011-12-26 23:42:40 +01:00
Per Inge Mathisen 6045537360 semperfi.js: Now does basic research 2011-12-26 23:42:40 +01:00
cybersphinx 4f1b79d3d9 New icon for store/delete templates. 2011-12-19 00:52:12 +01:00
Per Inge Mathisen 3e1a7a9c11 Do not distribute unused SVG files for now. Closes ticket:2986 2011-12-18 14:43:41 +01:00
Per Inge Mathisen d19681daab Update research headers. Closes ticket:2952 2011-12-18 14:17:19 +01:00
Per Inge Mathisen a6fa286dcf Implement stored templates. Button graphics is a placeholder for now. Loosely based
on original patch by EvilGuru. Closes ticket:1946.
2011-12-18 12:20:48 +01:00
Per Inge Mathisen e7aa1a7e97 Moves implementation of base settings into rules.js script. Handling of 'some base' option
is not the same as current, but since few play with that anyway, we can take some time to
think about what to do about that. Network sync is handled with an ugly hack for now.
2011-12-17 14:29:19 +01:00
cybersphinx fec056d409 Change subtitle timing from frames to seconds.
Based on patches by Emdek and Beliar. Closes #748.
2011-12-11 20:13:01 +01:00
Per Inge Mathisen 034c1d7c4b Add beginnings of a port of semperfi to javascript 2011-12-06 20:51:38 +01:00
Per Inge Mathisen e15eaa349f Make sure Nexus and Semperfi land AIs research half-tracks early on.
Closes ticket:2953 reported by NoQ.
2011-12-02 16:20:03 +01:00
cybersphinx 1f194e78f3 Fix wall and vtol factory models. 2011-12-01 21:32:56 +01:00
Cyp aa8b290324 walls: Add ┴ and ┘ shaped walls.
You can now build walls shaped like
┌─┐ │
│ ├─┘
│ │
instead of
┼─┼ │
│ ┼─┼
│ │
like it used to be.

The blwallh_[tl].pie files will need cleaning up.
2011-12-01 16:35:30 +01:00
Cyp af8088f61f Add code for displaying VTOL factory modules on VTOL factories.
The new vtolfactory[12].pie files need updating, since they are currently just the regular factory modules.
2011-12-01 13:00:32 +01:00