Goober5000
347c67b9c7
Merge pull request #3798 from TheForce172/feature/SubstituteShipLabel
...
Substitute Ship Label
2021-12-08 13:17:26 -05:00
Goober5000
869a5bf11c
Merge pull request #3704 from Baezon/asteroid-arbitrary-targets
...
Allow for arbitrary asteroid targets in missions
2021-12-08 13:15:52 -05:00
The Force
acc6fb4cfb
#3757 Substitute Ship Label In Closeup View
2021-11-25 17:06:50 +00:00
Asteroth
b0b40deae7
add a better random asteroid type picker and some fred/qtfred support
2021-11-24 23:01:16 -05:00
Asteroth
8f3b5dd2c0
address some review feedback
2021-11-24 02:42:30 -05:00
Goober5000
c8b773a6dd
polish sexp syntax checking
...
Some instances of the ship syntax checker will check other nodes in the sexp tree. In those cases, make sure to accommodate special-arg nodes.
This also merges syntax checking for goal/event names and docker/dockee points since they are highly similar.
Fixes #3758 .
2021-10-31 16:16:23 -04:00
Asteroth
f91a5bfd00
Add +arrival rvec for ship bays ( #3698 )
...
* add ship bay arrival rvec
* unused variables
* add profile flag
* add corresponding departure flag
* revert accidental changes
* fix fallout from visual studio's dumb 'rename' feature
* swap parsing of departure and arrival rvec
2021-10-15 16:48:56 -04:00
Joshua Glatt
16d75b981c
karajorma's SEXP containers, Part 2: Persistence ( #3462 )
2021-10-11 18:58:00 -07:00
Asteroth
d4c2bb3e22
allow for arbitrary asteroid targets
2021-10-08 00:29:22 -04:00
BMagnu
a6093dd8c4
Add ammoless secondaries ( #3589 )
...
* Add ammoless secondaries
* Macroify 'ammo>0 || no ammo' check
2021-10-02 04:40:03 +09:00
Goober5000
ebcd4135a7
additional fixes, including a bugfix for #3679
2021-10-01 11:46:48 -04:00
Goober5000
6575cf6887
add OnShipDeathStarted scripting hook
...
This occurs at the beginning of the ship death routine, similarly to OnDepartureStarted occurring at the beginning of the ship departure routine.
2021-09-30 22:42:15 -04:00
BMagnu
391de411ee
Vectorize IFF Defs for unlimited IFFs ( #3634 )
...
* make IFF limit a vector
* Also change QTFred
* Warnings
* remove decltypes, wrap arrays in unique_ptr
2021-09-30 14:17:28 +09:00
Goober5000
8cf8d451a8
allow ship creation to not be visible in the mission log
2021-09-12 16:29:17 -04:00
Goober5000
49bab8fe83
add hide-in-mission-log ship flag
...
This flag causes any events involving this ship to not show up in the mission log.
2021-09-11 23:43:30 -04:00
Goober5000
b96d9f6e62
address feedback
2021-09-04 15:46:03 -04:00
Goober5000
2fe789f87b
Merge pull request #3595 from Goober5000/ship_logging
...
improve logging of ship creation and cleanup
2021-08-11 16:17:09 -04:00
Goober5000
10b357172a
improve and expand logging
2021-08-11 02:50:07 -04:00
Goober5000
ee1b6263ba
fix icon on FS1 mission import
...
The SD Demon doesn't use the support ship icon anymore, and hasn't since FSPort switched from FS2-style icons to FS1-style icons.
2021-08-10 23:26:47 -04:00
Asteroth
1306a23fd4
Merge pull request #3568 from Baezon/fix-turret-flags-no-parse-object
...
Move some flag setting to subsys_set()
2021-07-28 03:15:58 -04:00
Goober5000
deefbf0860
allow custom briefing icons to always override standard icons
...
Adds the `$Custom briefing icons always override standard icons:` option to game_settings.tbl. Implements #3575 .
2021-07-27 14:16:58 -04:00
Baezon
d05b3fa637
handle beam free all in subsys_set
2021-07-25 11:15:01 -04:00
Baezon
65fa916cba
move some flag setting to subsys_set
2021-07-22 15:29:22 -04:00
Goober5000
15901e430f
fix briefing icons changing to ships unexpectedly
...
If the briefing icon doesn't actually show a ship, then don't use the ship icon override.
2021-07-20 23:21:11 -04:00
Goober5000
ff62ea010e
training messages have additional idiosyncrasies
2021-07-16 22:09:11 -04:00
Goober5000
a14a746a4f
don't pre-empt training messages before they finish playing
2021-07-16 20:56:33 -04:00
Goober5000
4f46fff48c
fix campaign loop in certain cases
...
If the loop mission and the next mission are the same, then don't show the campaign loop screen. This prevents the campaign from getting into a campaign loop state if it shouldn't, and also allows campaign loops to be conditionally accessible.
2021-07-11 00:49:09 -04:00
Asteroth
3a4e5d75a3
move the event flag reset to the top of the function to avoid restting anything we just applied ( #3551 )
2021-07-07 03:44:17 +00:00
PhantomHoover
84b25b52d7
Be smarter about when we try to run scripting hooks: don't even bother trying if no scripts are even registered to run on them. ( #3538 )
2021-07-02 22:50:53 -04:00
Joshua Glatt
552201884b
karajorma's SEXP containers, Part 1: Definition, parsing, and saving ( #3449 )
2021-05-31 09:15:48 -07:00
BMagnu
6c2ebab01c
Fix erroneous line break generation for non-ASCII string and high resolutions ( #3439 )
...
* Added a byte limit for line length in split function
* Fix call error
* Ádd missing limits import
* Change hardcoded values into defines
* Cleanup default argument
2021-05-24 17:38:58 -04:00
Asteroth
61faa3fa9a
improve numerical pecision ( #3440 )
2021-05-21 23:36:17 -04:00
Goober5000
3a888906c5
use the proper range check
...
The ship index was being checked against the weapon limit.
Fixes #3413 .
2021-05-05 21:34:42 -04:00
Joshua Glatt
144d484c85
Replace rand() calls with a Random class ( #3332 )
2021-05-04 18:26:06 -07:00
Goober5000
a3c5186635
add missing newlines in several mprintf statements ( #3409 )
...
Fixes #3407 , and I used a regex search to find what I hope are all other examples.
2021-05-02 23:53:40 -04:00
JohnAFernandez
328bebe83a
Fix event parsing by setting flags to zero before loading. ( #3363 )
2021-04-07 23:41:14 -04:00
Goober5000
396d2c55a9
make double-character consolidation reusable, and reuse it
...
This moves the ## to # escape sequence logic from `mission_process_alt_types` to its own function where it can be used elsewhere (such as for ship class and weapon class display names that need to do the same thing). Also, this introduces a !! escape sequence for exclamation points that is needed for exclamation points to be used in scripts, as @naomimyselfandi pointed out.
2021-04-02 00:16:19 -04:00
Baezon
538b2c6c95
handle lab and use empty string #3319
2021-03-24 13:25:16 -04:00
Baezon
803751959a
rename variable for no shadowing
2021-03-23 23:20:11 -04:00
Baezon
5181e71dab
Add explicit fog color
2021-03-23 22:57:54 -04:00
JohnAFernandez
184107283a
Properly Set net_signatures for wing ships
...
Previously wing ships were being given a net signature that was one too large.
2021-03-23 20:31:04 -04:00
Goober5000
d455e17e34
add mission flag for starting missions in chase view
...
Follow-up to #3305 . Some mods may want one or two missions to start in chase view without having every single mission default to chase view. So this adds a mission flag (with FRED and qtFRED support) that will enable this on a per-mission basis.
2021-03-20 00:21:27 -04:00
JohnAFernandez
420c7ec171
Play directive completion sounds for clients ( #2900 )
...
* Allow Text to show failure on Clients
Function was accidentally returning false before sending an update on failure.
* Play directive sounds for clients
This adds a short client version of the function that initiates the directive completion sound.
* forgot to remove a failed experiment
2021-03-19 05:39:05 -04:00
Goober5000
f025572110
rewrite stuffing of lists
...
Consolidate all the functions which parse lists of data. They're almost the same except for the data itself, so use templates.
As for the templated function which handles the list, boost the robustness by adding additional checking and error messages.
2021-03-10 18:50:12 -05:00
Goober5000
ed2cc47093
Merge pull request #3269 from Goober5000/annotation_fix
...
Various annotation fixes
2021-03-10 18:49:39 -05:00
Baezon
708de001f3
Merge remote-tracking branch 'upstream/master' into decouple-asteroids-species
2021-03-02 19:55:00 -05:00
Goober5000
14a8db0dda
check for all possible strings
2021-03-01 21:01:01 -05:00
Birk Magnussen
03eb74e616
Add scripting API for accessing registeres sso's
2021-03-01 00:32:42 +09:00
Baezon
a69046000e
cast to int
2021-02-23 00:12:29 -05:00
Baezon
622a28236e
decouple species from asteroids
2021-02-22 22:55:34 -05:00