Baezon
3481032ae5
add num_firepoints_burst_shots flag
2021-07-08 17:08:56 -04: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
Asteroth
589071ac46
Merge pull request #3183 from Baezon/ai-multilock
...
Add AI support for multilock
2021-06-23 02:15:07 -04:00
Asteroth
814d44c986
Add weapon optimum range for AI fighters ( #3457 )
...
* add weapon optimum range
* review tweaks
2021-06-20 20:52:02 -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
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
a1635cdd76
Merge pull request #3301 from Baezon/beam-substitution
...
Implement substitution for beams
2021-06-07 11:59:34 -04:00
Goober5000
9c0575f173
Merge pull request #3060 from EatThePath/range-aware-secondary-selection
...
Range aware secondary selection
2021-06-05 19:23:12 -04:00
Goober5000
64f5ad925b
Merge pull request #3466 from Baezon/weapon-no-collide
...
Add "no collide" for weapons
2021-06-05 19:22:52 -04:00
Goober5000
3c553665aa
remove the 'main' argument from obj_snd_assign
2021-06-05 17:40:58 -04:00
MageKing17
f252473b84
Remove superfluous warning about missing "child" flag.
...
If a weapon has "inherit parent target" but not "child", a Warning will be generated. However, there is no dependency between the two flags; the weapon will function as the modder presumably expects. The Warning even seems to indicate this, by saying "No changes in behavior will occur" (as opposed to other similar warnings, which generally indicate that a flag will be ignored). Since the situation being warned about does not actually cause any issues, the Warning is entirely superfluous. As such, I've removed it outright.
2021-06-05 13:05:40 -07:00
Asteroth
9d5eeb6e08
Merge pull request #3461 from Baezon/random-homing-target-acquisition
...
Add random homing target acquisition
2021-06-03 20:10:21 -04:00
Asteroth
8ac4c54d43
actually limit based on player like the comment says ( #3460 )
2021-06-01 22:23:14 -04:00
Baezon
59d30157d8
add no collide for weapons
2021-05-31 22:50:00 -04:00
Baezon
e053d06a5f
add random homing target acquisition
2021-05-30 22:24:24 -04: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
Baezon
6cf5553147
review tweaks
2021-05-30 16:55:50 -04:00
Asteroth
80f4f1abde
add weapon ambient sound ( #3452 )
2021-05-30 16:02:24 -04:00
Asteroth
d49e24fa0c
Add healing weapons ( #2873 )
...
* basic proof of concept: healing weapons
* implement healing weapons
* remove unused parameter
* travis
* more travis
* endless travis
* earlier multi client return
* update find_submodel_instance_world_point
* review tweaks
2021-05-25 23:03:20 -04:00
Asteroth
a5a2f9e3df
add extra check for nullptr ( #3433 )
2021-05-18 01:11:59 -04:00
Asteroth
309bfd7825
better beam index warning ( #3376 )
2021-05-10 18:17:15 -04:00
JohnAFernandez and Asteroth
47f6d2b368
Add guardrails to object cleanup during object creation ( #3371 )
...
* Prevent Crashes from Weapons being deleted during the collision process
This puts in some safety checks to keep FSO from crashing while doing collision detection when close to the object limit.
* Remove Problematic Assertions and INT3's
Keeps FSO from crashing when low on Object slots from failed weapon and beam creations.
* Simplify Code with a good suggestion
Co-authored-by: Asteroth <[email protected] >
Co-authored-by: Asteroth <[email protected] >
2021-05-05 00:52:11 -04:00
Joshua Glatt
144d484c85
Replace rand() calls with a Random class ( #3332 )
2021-05-04 18:26:06 -07:00
Tyler Blount
417739665c
Strip hashes from explicitly defined ship and weapon display names
2021-04-17 17:07:41 -06:00
JohnAFernandez
89d2d6ed46
Fix missile indicators not going away
...
Add the should be dead flag, in order to properly make the missiles go away, and not just detonate.
2021-03-23 20:31:04 -04:00
JohnAFernandez
19a289539a
More Whitepsace and Dealing with Crazy old CI
2021-03-23 20:31:04 -04:00
JohnAFernandez
42c19cdfee
Fix Missile Syncing Between Server and Client
2021-03-23 20:31:04 -04:00
Asteroth
b7a9f545fd
Merge pull request #3304 from BMagnu/weapon_penetrate_flag
...
Add pierce ship weapon flag
2021-03-21 15:12:45 -04:00
Baezon
3810b039f5
Merge remote-tracking branch 'upstream/master' into exponential-fog
2021-03-20 10:39:41 -04:00
Birk Magnussen
4f4690a482
Fix Names and spawn on destruct
2021-03-20 03:52:54 +09:00
Birk Magnussen
011f7e4d6c
Change flag to Table entry
2021-03-19 18:30:39 +09:00
Birk Magnussen
2a73fb340f
Add pierce ship weapon flag
2021-03-17 17:39:04 +09:00
Baezon
29b03cd49f
implement beam substitution
2021-03-15 23:16:05 -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
f5e32fa1a2
Merge remote-tracking branch 'upstream/master' into exponential-fog
2021-03-15 02:27:22 -04:00
Asteroth
4b64c43ef8
Merge pull request #3274 from Baezon/shooter-damaging-weapons
...
Add shooter damaging weapons
2021-03-13 15:03:52 -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
Baezon
3c53b74e5e
switch to exponential nebula fog
2021-03-04 23:02:24 -05:00
Baezon
0fcfe68164
add self-damaging weapons
2021-03-03 11:08:04 -05:00
Asteroth
897492e228
Merge pull request #3257 from BMagnu/beam_reset_offset
...
Add flag for beams to track uoffset individually
2021-03-02 03:08:02 -05:00
Birk Magnussen
bbc0f08541
Fix Warpout being affected as well. Fix Messages. Fix Init
2021-03-01 13:36:05 +09:00
Birk Magnussen
335f2476f9
Added flag to select the warp effect type of lssm's
2021-03-01 00:06:15 +09:00
Birk Magnussen
b4791b3b10
Add flag for beams to track uoffset individually
2021-02-28 14:40:25 +09: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
e3acb2c56b
ai fighter support
2021-02-25 23:45:42 -05:00