Baezon
d2c24efeff
properly handle death due to negative hull repair rate
2021-06-18 16:50:55 -04:00
Goober5000
74233c029c
Merge pull request #3487 from Goober5000/move_engine_sound
...
center the persistent sound by default
2021-06-13 00:18:47 -04:00
Asteroth
1525b520d7
Merge pull request #3483 from Baezon/better-damage-type-handling
...
Improve damage type handling when dealing damage
2021-06-10 18:53:39 -04:00
Goober5000
1843f76d04
center the persistent sound by default
...
The assumed location of a ship's "EngineSnd" is at its rearmost extent, which is fine for ships with engines, but not suitable for stationary objects such as space stations and comm nodes. If the ship doesn't have an "engine" subsystem, place the persistent sound in the center.
2021-06-10 18:44:46 -04:00
Asteroth
e4661b00b1
Add Type 5 beams ( #2817 )
...
* wip
* basics are working
* turret case is handled
* better fighter beam handling
* missing commit?
* handle missile spawn
* clean up, commenting and ssb handling
* random in sphere and per burst rot counts for "share random" flag
* clean up, clarity and comments
* accidental whitespace changes
* bugfix
* NULL -> nullptr
* more efficiency/clarity
* review tweaks and bugfixes
2021-06-09 18:53:53 -04:00
Baezon
4457471ec5
Merge remote-tracking branch 'upstream/master' into better-damage-type-handling
2021-06-09 17:24:11 -04:00
Goober5000
128107ea43
Merge pull request #3476 from Goober5000/script_obj_sound
...
add scripting functions to control sounds assigned to objects
2021-06-09 16:00:53 -04:00
Baezon
37c5041c03
improve damage type handling when dealing damage
2021-06-09 03:30:52 -04:00
Goober5000
3c553665aa
remove the 'main' argument from obj_snd_assign
2021-06-05 17:40:58 -04:00
David Gibson
f677767846
added safety check assert as requested.
2021-05-30 19:32:23 -05:00
David Gibson
9b35a4e653
Nullpointer and variable name fixes for range aware selection, and moved default weapon max range into a define.
2021-05-30 19:32:23 -05:00
David Gibson
6c0bfd4df5
Tied range aware secondary selection to an aiprofiles flag
2021-05-30 18:58:46 -05:00
David Gibson
102bc28424
Added functionality to get_available_secondary_weapons to screen weapons by range. Controlling flag to be added.
2021-05-30 18:58:46 -05:00
Goober5000
a5f501b58a
Merge pull request #3350 from Baezon/fog-setup-fixes
...
Some fixes to nebula fog set up
2021-05-24 16:07:11 -04:00
BMagnu
87f449415f
Self-Shadow on 3D-Cockpits ( #3437 )
...
* Improve wookieejedi's cockpit shadows
* Rename stray bool
* Make shadow's eye pos explicit
* Tidy up stub declaration
* Add configurable shadows + requests by m!m
* make variable lowercase
2021-05-21 08:15:20 +00:00
Fabian Woltermann
3d6fe919da
Add a flag to the Lab's render settings to allow Reflect maps to be toggled on or off
2021-05-13 16:02:49 +02: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
Tyler Blount
417739665c
Strip hashes from explicitly defined ship and weapon display names
2021-04-17 17:07:41 -06:00
Baezon
6ec1f45997
neb fog set up fixes
2021-04-01 02:17:49 -04:00
Baezon
fffc0ebf8b
fix name of class #3344
2021-03-30 22:03:25 -04:00
Baezon
4d68bed436
fix huge targeting regression
2021-03-29 22:42:50 -04:00
Baezon
5e10fccdbf
Merge remote-tracking branch 'upstream/master' into turret-alt-math-fix
2021-03-27 21:12:30 -04:00
wookieejedi
792f74b33e
Add no impact debris flag for entire ship model
...
Previously `no impact debris` flag was only an option for use on subsystems. This PR adds that flag for the entire ship. It also turns off the impact spew of debris for all subsystems if enabled on the ship.
2021-03-23 23:04:08 -04:00
Baezon
3810b039f5
Merge remote-tracking branch 'upstream/master' into exponential-fog
2021-03-20 10:39:41 -04:00
Baezon
eb538ffba8
update turret_alt_math for moving subsystems
2021-03-19 02:13:20 -04:00
Goober5000
d716433848
Merge pull request #3300 from Baezon/fix-flak-substitute-assert
...
Fix assert with combining flak and non-flak using substitute
2021-03-17 00:34:14 -04:00
Asteroth
95235b353b
Merge pull request #2885 from Baezon/expose-huge-small-targeting
...
Expose ability to be targeted by 'huge' and 'small only' weapons
2021-03-15 22:32:22 -04:00
Baezon
ce1907c52a
flak should use normal mflash methods
2021-03-15 18:30:47 -04:00
Baezon
f5e32fa1a2
Merge remote-tracking branch 'upstream/master' into exponential-fog
2021-03-15 02:27:22 -04:00
Baezon
a3ce01f250
properly initialize a_decay_exponent
2021-03-13 20:33:54 -05:00
Baezon
222799b1a1
initialize trail alpha exponents for aburn trails
2021-03-12 16:03:50 -05: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
Baezon
6e54ed3dfc
more exponential fog
2021-03-08 00:09:42 -05:00
Goober5000
a12a33b189
Merge pull request #3277 from Goober5000/movable_turret_fov_fix
...
Turrets on movable submodels
2021-03-07 21:29:28 -05:00
JohnAFernandez
5da44a9d72
Merge pull request #3178 from Baezon/generic-debris-enhancement
...
Generic debris expansion and configuration
2021-03-07 00:19:25 -05:00
Baezon
3c53b74e5e
switch to exponential nebula fog
2021-03-04 23:02:24 -05:00
Birk Magnussen
6cdbb8159b
Change SEXP Syntax, and allow Wings
2021-03-03 06:00:47 +09:00
Goober5000
3b1aac26e8
remove most of turret_matrix stuff
2021-02-28 23:41:56 -05:00
Baezon
529ba78c04
review tweak
2021-02-27 13:48:26 -05:00
Baezon
772eaa634a
properly initialize texture stretch
2021-02-27 13:41:24 -05:00
JohnAFernandez
a22f44ce01
Merge pull request #3187 from Baezon/swarm-cleanup
...
Give swarm missile handling a well-deserved makeover
2021-02-27 00:01:58 -05:00
Baezon
789f78aefd
Merge remote-tracking branch 'upstream/master' into expose-huge-small-targeting
2021-02-25 23:36:59 -05:00
Baezon
ec323a3960
combine flags
2021-02-25 23:15:29 -05:00
Baezon
d463db3742
Merge remote-tracking branch 'upstream/master' into generic-debris-enhancement
2021-02-21 21:31:59 -05:00
asarium
8f88801646
Add dynamic action programming system
...
This system adds the code necessary for letting content creators specify
complex events by specifying a simple, program-like sequence of
operations that will be executed by the engine when a certain event is
triggered.
2021-02-21 21:29:02 +01:00
Baezon
70265c6f63
bugfix turret inaccuracy
2021-02-20 23:41:30 -05:00
Goober5000
3acd74e894
make the ship lookup case insensitive
...
Does what it says on the tin. Fixes #3221 .
2021-02-17 11:31:45 -05:00
JohnAFernandez
bd7450c4e6
Merge pull request #3198 from Baezon/landmark-logging
...
Add 'landmark' logging
2021-02-10 20:40:40 -05:00
wookieejedi
ede8c6a172
Merge pull request #3197 from wookieejedi/expose-countermeasure-firewait
...
Expose Additional Countermeasure Options to Modders
2021-02-06 00:08:36 -05:00