Steve
|
e28bb6ff31
|
Don't leave a gap when there's no mission.
|
2016-08-10 13:04:22 +01:00 |
Steve
|
8c128d7f1d
|
Don't switch guns if the player doesn't have any.
|
2016-08-09 23:13:25 +01:00 |
Steve
|
6ff3fd47a4
|
Updated Team Player, and Bodyguard trophies.
|
2016-08-09 23:13:13 +01:00 |
Steve
|
db3dcf977b
|
Added EF_NO_PLAYER_TARGET.
|
2016-08-06 08:54:11 +01:00 |
Steve
|
7a19b60697
|
Restored errornous removal.
|
2016-08-02 08:14:59 +01:00 |
Steve
|
5a09e2a63e
|
Tidied headers.
|
2016-08-01 11:01:33 +01:00 |
Steve
|
8d8ad35e17
|
Don't constantly fire lasers or mags at a disabled craft.
|
2016-07-31 09:58:06 +01:00 |
Steve
|
6dbbb7f403
|
Remove owner when detaching rope.
|
2016-07-31 09:57:41 +01:00 |
Steve
|
2db99a7315
|
Override gun AI when capital ship is disabled.
|
2016-07-30 10:29:57 +01:00 |
Steve
|
e14cba3761
|
Challenge 10 fixes.
|
2016-07-29 09:56:27 +01:00 |
Steve
|
0cc1c65628
|
Mark mission as complete when failing an unwinnable one.
|
2016-07-29 09:17:29 +01:00 |
Steve
|
7799c60652
|
Allow suspicion level to drop if player is close to wing leader.
|
2016-07-28 14:57:23 +01:00 |
Steve
|
f0fd63214d
|
Suspicion reduction tweaks.
|
2016-07-28 14:57:06 +01:00 |
Steve
|
436a3959a6
|
Greated reduction in suspicion level.
|
2016-07-28 11:54:08 +01:00 |
Steve
|
a2665e527c
|
When appearing offscreen, spawn outside of max radar range.
|
2016-07-28 11:53:14 +01:00 |
Steve
|
dcf7277ee9
|
Only increment player death stat once.
|
2016-07-27 16:17:56 +01:00 |
Steve
|
c62810bf4b
|
Made ATAFs immortal by default.
|
2016-07-27 08:44:02 +01:00 |
Steve
|
a0c2b1e9f6
|
Auto select next available mission when clicking on a star system.
|
2016-07-24 08:24:04 +01:00 |
Steve
|
b6ec680127
|
Don't select star systems when scrolling (release and click button).
|
2016-07-23 15:53:31 +01:00 |
Steve
|
726a9f99db
|
Pacifist trophy should be awarded only if enemies were present.
|
2016-07-23 12:51:35 +01:00 |
Steve
|
7547e14c9f
|
Scale shield effect size, to better match ship (mostly for supply ships).
|
2016-07-22 11:07:35 +01:00 |
Steve
|
e15ebcba9b
|
Tell player to initially face mission target / enemies, so we're not always facing up the screen.
|
2016-07-20 07:13:40 +01:00 |
Steve
|
d54273821d
|
Start of i18n look up optimisations.
|
2016-07-19 09:26:19 +01:00 |
Steve
|
157f1bc28a
|
Show small bullet hit effects when a target is struck.
|
2016-07-19 08:16:11 +01:00 |
Steve
|
5c211a3017
|
Allow closing of mission detail screen by right clicking.
|
2016-07-19 08:15:18 +01:00 |
Steve
|
9daf523d73
|
Misc. tidy up.
|
2016-06-26 15:40:49 +01:00 |
Steve
|
8569151b16
|
Moved if statements to separate lines, to help with GCC 6 compiling.
|
2016-06-26 15:39:58 +01:00 |
Steve
|
9b15e83df6
|
Allow viewing of credits from title screen.
|
2016-06-07 09:34:22 +01:00 |
Steve
|
a500f137b6
|
Galactic map display updates.
|
2016-06-07 09:24:09 +01:00 |
Steve
|
142c02c1ed
|
Don't require optional missions to need the previous mission to be completed.
|
2016-06-07 08:31:02 +01:00 |
Steve
|
345a45f9c4
|
Show the most recent 9 missions at most (really only applies to Alba).
|
2016-06-07 08:30:33 +01:00 |
Steve
|
5fa9ea1922
|
Added new sound effects.
|
2016-06-07 08:29:52 +01:00 |
Steve
|
e5ece42bc3
|
Spelling and grammar updates.
|
2016-06-05 23:04:57 +01:00 |
Steve
|
0306e2bbea
|
Added new sound effects.
|
2016-06-05 11:22:19 +01:00 |
Steve
|
95e9d4d9a0
|
Allow item images to be random.
|
2016-06-05 08:35:59 +01:00 |
Steve
|
ccff127394
|
Allow optional missions to expire.
|
2016-06-03 14:10:22 +01:00 |
Steve
|
6af1df919d
|
Show OK / Cancel dialog for restarting and quitting missions.
|
2016-06-03 13:57:24 +01:00 |
Steve
|
6d64cefce8
|
Shorten enable timer for OK / Cancel dialog.
|
2016-06-03 13:57:07 +01:00 |
Steve
|
93e65d1431
|
Trophy updates.
|
2016-06-03 07:41:44 +01:00 |
Steve
|
d8e2bb4f29
|
Credits updates.
|
2016-06-02 12:43:03 +01:00 |
Steve
|
011851d906
|
Always sparkle trophies.
|
2016-06-02 12:34:35 +01:00 |
Steve
|
db2c945cd6
|
fleeWithinBattleArea bug fix.
|
2016-06-02 11:20:18 +01:00 |
Steve
|
0f26004523
|
Only read up to 1023 characters.
|
2016-06-02 09:50:54 +01:00 |
Steve
|
2791046eff
|
Surrender limit should only count surrenders.
|
2016-06-02 09:50:23 +01:00 |
Steve
|
013c992221
|
Default to 2x radar range.
|
2016-06-02 09:49:58 +01:00 |
Steve
|
9f239085dc
|
Only print message when mission is in progress (don't spam the console).
|
2016-06-02 09:49:49 +01:00 |
Steve
|
54920dc9b3
|
Flee immediately when surrendering.
|
2016-06-02 09:49:28 +01:00 |
Steve
|
713f30ed5e
|
Hide mouse pointer during credits.
|
2016-06-01 09:55:44 +01:00 |
Steve
|
4ef44ed636
|
Use campaignFinished variable in battle, to prevent script crashes.
|
2016-06-01 09:55:28 +01:00 |
Steve
|
0cd73db62e
|
Added Waypoint challenge type.
|
2016-06-01 09:32:10 +01:00 |
Steve
|
f88c8dd156
|
Put Torelli firestorm graphic in misc, to prevent it being added by AUTO.
|
2016-06-01 09:31:56 +01:00 |
Steve
|
1474ecf7ca
|
Control trophy alerts from the main loop.
|
2016-05-31 09:37:46 +01:00 |
Steve
|
2b7641b809
|
Shortern text width, so text doesn't overflow.
|
2016-05-31 09:16:42 +01:00 |
Steve
|
c8b6ddd978
|
Move components offscreen to begin with, so the engine effects don't jump.
|
2016-05-31 09:13:17 +01:00 |
Steve
|
5d5c19a62d
|
Allow campaign to be ended with script.
|
2016-05-31 09:12:14 +01:00 |
Steve
|
8533f7969f
|
"Reset" a fighter by simply spawning another in it's place.
|
2016-05-30 11:59:31 +01:00 |
Steve
|
3192e3153b
|
Must be using a Common Fighter to unlock the PACIFIST trophy.
|
2016-05-30 11:59:11 +01:00 |
Steve
|
35b36754e6
|
Added Torelli destruction.
|
2016-05-30 11:58:16 +01:00 |
Steve
|
a9fb850f05
|
Allow credits to be exited by pressing Escape.
|
2016-05-29 15:59:53 +01:00 |
Steve
|
2e7d0bb874
|
Ensure LOGIC_RATE is not an integer.
|
2016-05-29 15:59:26 +01:00 |
Steve
|
2fbe225570
|
Don't loop title screen music.
|
2016-05-29 11:48:11 +01:00 |
Steve
|
1f9c329ca3
|
Credits updates.
|
2016-05-29 11:47:50 +01:00 |
Steve
|
c85661dcd0
|
Increase length of text buffer.
|
2016-05-29 09:39:00 +01:00 |
Steve
|
9d5d90e62f
|
Start of credits.
|
2016-05-29 09:38:05 +01:00 |
Steve
|
cbfb83376e
|
Don't allow SURVIVOR trophy to be earned if the player isn't in a common fighter.
|
2016-05-29 09:37:27 +01:00 |
Steve
|
b723d42dd4
|
Allow script to immediately terminate mission.
|
2016-05-29 09:36:37 +01:00 |
Steve
|
6d8f9f575e
|
Allow some missions have to unlimited enemies (unwinnable epics).
|
2016-05-29 09:36:10 +01:00 |
Steve
|
1757df1340
|
Prevent ALL_OBJECTIVES_COMPLETE from firing more than once.
|
2016-05-28 11:40:56 +01:00 |
Steve
|
d3e7a370d2
|
Trophy debugging.
|
2016-05-26 18:18:08 +01:00 |
Steve
|
ba81b19c31
|
Don't save the game in the middle of the battle.
|
2016-05-26 18:17:57 +01:00 |
Steve
|
4cd0c36b73
|
Revenge trophy requires player to kill the enemy that killed them last.
|
2016-05-26 18:17:46 +01:00 |
Steve
|
4e36f0731f
|
Check surrender chance earlier in ai call.
|
2016-05-25 12:26:25 +01:00 |
Steve
|
197e630fee
|
Add Surrender challenge type.
|
2016-05-25 12:25:13 +01:00 |
Steve
|
997574dbf3
|
3 second leeway for killing a surrendering target.
|
2016-05-25 09:43:39 +01:00 |
Steve
|
b8a9608b10
|
When changing something's side, make it a mission target if no longer aligned with player.
|
2016-05-25 09:43:15 +01:00 |
Steve
|
b36b35834d
|
Move away from targets that you're not allowed to kill, but are still aggressive.
|
2016-05-25 08:20:53 +01:00 |
Steve
|
fcb4d815df
|
Misc. code clean up.
|
2016-05-25 07:57:13 +01:00 |
Steve
|
0088dfdee3
|
Added AIF_SURRENDERING, to better handle surrendering targets and prevent race conditions.
|
2016-05-25 07:56:48 +01:00 |
Steve
|
c9536ae938
|
Reset epic kill streak when switching fighters.
|
2016-05-24 16:49:14 +01:00 |
Steve
|
66263396d9
|
Added REVENGE trophy.
|
2016-05-24 16:16:34 +01:00 |
Steve
|
9ecdd106dc
|
Only award PANDORAN trophy at end of successful mission.
|
2016-05-24 11:46:20 +01:00 |
Steve
|
300d4ab867
|
Don't update surrender condition if killed by non-player side.
|
2016-05-24 09:11:07 +01:00 |
Steve
|
b2e22b31b9
|
Reassign linked list pointers after memset (title screen crash).
|
2016-05-24 09:10:36 +01:00 |
Steve
|
4092ae6a10
|
Increased surrender chance.
|
2016-05-24 09:09:58 +01:00 |
Steve
|
dee2d4eecb
|
Set current value = target value when auto completing conditions (hud is inconsistent).
|
2016-05-23 09:18:52 +01:00 |
Steve
|
108a41310c
|
Disable capital ship itself, when gun and engines are destroyed (not just components).
|
2016-05-23 09:18:10 +01:00 |
Steve
|
2a725471c7
|
If at edge of battle area when fleeing, turn around.
|
2016-05-22 16:50:11 +01:00 |
Steve
|
9af331c64f
|
Memset battle, to avoid stats being added up twice.
|
2016-05-22 14:18:41 +01:00 |
Steve
|
ef8d397e17
|
Added STAT_ENEMIES_SURRENDERED lookup.
|
2016-05-22 12:17:12 +01:00 |
Steve
|
e2744cd4d5
|
Script to call is "ENEMIES_SURRENDERED %d".
|
2016-05-22 12:17:01 +01:00 |
Steve
|
b4761e43a9
|
Don't check other functions if you've already found one to fire.
|
2016-05-22 12:09:02 +01:00 |
Steve
|
cda791cfe8
|
Manual mission complete bug fix.
|
2016-05-22 12:08:48 +01:00 |
Steve
|
41aff3ee3c
|
Added ability for enemy fighters to surrender, if AIF_SURRENDERS is set.
|
2016-05-22 12:08:19 +01:00 |
Steve
|
946afe4a02
|
Removed INTERVAL script checking - unused.
|
2016-05-20 10:54:09 +01:00 |
Steve
|
7e7b8c5454
|
Moved max suspicion reaction to scripts in missions.
|
2016-05-20 10:51:35 +01:00 |
Steve
|
fba7fc1f54
|
Misc. clean up.
|
2016-05-20 09:53:06 +01:00 |
Steve
|
6afbc40d6c
|
Allow hasSuspicionLevel to be specified in mission file.
|
2016-05-20 09:52:45 +01:00 |
Steve
|
e5092291d3
|
Don't check for team mates if the player is on the side of the Pandorans.
|
2016-05-20 09:52:23 +01:00 |
Steve
|
c090942f81
|
Implemented updateEntitySide().
|
2016-05-20 09:51:53 +01:00 |
Steve
|
c17f1af851
|
Added AIF_ZAK_SUSPICIOUS.
|
2016-05-20 09:51:34 +01:00 |
Steve
|
e45485cee8
|
Don't display messages if you're a Pandoran ship.
|
2016-05-19 16:52:47 +01:00 |
Steve
|
e972bc0224
|
Clip suspicion % to 0.
|
2016-05-19 16:52:13 +01:00 |
Steve
|
de2a29e4b6
|
Show suspicion % on HUD.
|
2016-05-19 10:54:25 +01:00 |
Steve
|
ebf95cb631
|
Only raise suspicion level if the battle is in progress.
|
2016-05-19 09:31:37 +01:00 |
Steve
|
5a250e73d2
|
Also run ALL_OBJECTIVES_COMPLETE in doObjectives().
|
2016-05-19 09:31:09 +01:00 |
Steve
|
5f6a4d1b16
|
Removed unneeded debugging.
|
2016-05-19 09:30:33 +01:00 |
Steve
|
e98b354ce2
|
Allow script to run also with MS_COMPLETE status, to allow for ALL_OBJECTIVES_COMPLETE to work properly.
|
2016-05-19 09:30:15 +01:00 |
Steve
|
6f0e8ee397
|
Minimum width for trophy alert.
|
2016-05-19 08:53:14 +01:00 |
Steve
|
e7cfa09f8a
|
Lower suspicion a little more quickly when bullets land.
|
2016-05-19 08:52:57 +01:00 |
Steve
|
c02c4686f3
|
Handle lowering suspicion level in main entity code.
|
2016-05-19 08:52:34 +01:00 |
Steve
|
ee16c25a9b
|
Fix for capital ship destruction triggers.
|
2016-05-19 08:52:11 +01:00 |
Steve
|
e0fb778c10
|
SIDE_REBEL -> SIDE_TZAC
|
2016-05-18 12:23:42 +01:00 |
Steve
|
2c64f5f8c0
|
Debugging.
|
2016-05-18 09:51:16 +01:00 |
Steve
|
0b72d5c859
|
Reduced max suspicion level.
|
2016-05-18 09:49:11 +01:00 |
Steve
|
5999bc12d6
|
Clip suspicion level to 0 on HUD.
|
2016-05-18 09:48:56 +01:00 |
Steve
|
0b1045cadc
|
Debugging.
|
2016-05-18 09:48:18 +01:00 |
Steve
|
01376bfbb5
|
Allow suspicion level to become negative.
|
2016-05-18 09:48:06 +01:00 |
Steve
|
8f438c4467
|
Deactivate jumpgate if Pandoran choose to attack the player.
|
2016-05-18 09:47:27 +01:00 |
Steve
|
b55574a9e6
|
Start of Frequent Flyer trophy.
|
2016-05-17 19:02:58 +01:00 |
Steve
|
8bbe9f69e2
|
Removed unused TT_PLAYER_ESCAPED.
|
2016-05-17 16:04:03 +01:00 |
Steve
|
dd407e2f1c
|
Don't allow an objective to be failed and completed at the same time.
|
2016-05-17 15:55:18 +01:00 |
Steve
|
3593832a76
|
Activate / deactivate nodes as well as jumpgate.
|
2016-05-17 13:49:33 +01:00 |
Steve
|
e7bfeef2cd
|
Suspicion tweaks.
|
2016-05-17 13:49:21 +01:00 |
Steve
|
3778b2e22e
|
Don't become suspicious if still in cool off period.
|
2016-05-17 13:47:36 +01:00 |
Steve
|
96f94dba14
|
Update the Player escape objective when using a jumpgate.
|
2016-05-17 13:47:04 +01:00 |
Steve
|
60d477b754
|
Don't become suspicious of the player immediately after combat ends.
|
2016-05-17 11:34:32 +01:00 |
Steve
|
d3091caed5
|
Don't circle your destination if you're near it.
|
2016-05-17 11:34:08 +01:00 |
Steve
|
6794a3c268
|
Entities with SIDE_NONE don't count as enemies.
|
2016-05-17 11:32:48 +01:00 |
Steve
|
75c9a25a96
|
Halved maximum suspicion level.
|
2016-05-17 11:32:13 +01:00 |
Steve
|
45e95451bd
|
Spawn Pandoran backup more quickly.
|
2016-05-17 11:31:59 +01:00 |
Steve
|
f8590ce106
|
React quickly to retreat call (might be wandering for several more seconds).
|
2016-05-17 11:31:42 +01:00 |
Steve
|
8e8e0394fd
|
Remove wander flag when retreating.
|
2016-05-17 11:17:54 +01:00 |
Steve
|
268a7165e7
|
Attempt to prevent the last speaker from becoming the chosen wingmate.
|
2016-05-16 17:04:49 +01:00 |
Steve
|
447fb22630
|
Suspicion rendering tweaks.
|
2016-05-16 17:04:32 +01:00 |
Steve
|
7471371b61
|
Raise suspicion levels if player fires guns or uses ECM when enemies are present.
|
2016-05-16 17:03:46 +01:00 |
Steve
|
2af1fa6476
|
Summon backup when player's cover is blown.
|
2016-05-16 17:03:02 +01:00 |
Steve
|
c61f47ec33
|
NULL scriptJSON when destroying script.
|
2016-05-16 17:02:26 +01:00 |
Steve
|
13253ee1e8
|
Suspicion related updates.
|
2016-05-16 11:40:39 +01:00 |
Steve
|
ceb7040ce8
|
Use MB_IMPORTANT.
|
2016-05-16 10:55:28 +01:00 |
Steve
|
059ba3c540
|
Measure Pandoran font properly.
|
2016-05-16 10:55:13 +01:00 |
Steve
|
ee4e88668e
|
Added suspicion level, for optional missions.
|
2016-05-16 10:54:46 +01:00 |
Steve
|
fa04c4bd1b
|
hasThreats counts for active and inactive enemy vessels.
|
2016-05-15 17:38:44 +01:00 |
Steve
|
af55539daa
|
Only speak if you're on the same side as the player..!
|
2016-05-15 17:28:31 +01:00 |
Steve
|
4aec10e614
|
Updated hasThreats logic.
|
2016-05-15 17:28:17 +01:00 |
Steve
|
89eb8d4a34
|
Allow script to change the side of an entity (for use during optional missions).
|
2016-05-15 14:02:35 +01:00 |
Steve
|
038a119965
|
Added isOptional and optional stats, to allow for optional mission tracking.
|
2016-05-15 13:53:19 +01:00 |
Steve
|
5722b19ec0
|
Optional Pandoran mission updates.
|
2016-05-15 11:59:37 +01:00 |
Steve
|
0116202471
|
Use type in Star System instead of isSol, to allow for special Pandoran missions.
|
2016-05-15 10:50:09 +01:00 |
Steve
|
7865a22072
|
Put Khosrau font into index 0, at 18 point size. Used exclusively for Pandoran missions.
|
2016-05-15 10:00:56 +01:00 |
Steve
|
b6513dc1f7
|
Added type to message box, to allow for Pandoran messages, using different font.
|
2016-05-15 10:00:06 +01:00 |