mjn-mixael
8bc5723d43
create mod.tbl and built-in option to enable or disable discord presence
2022-10-26 14:13:53 -05:00
mjn-mixael
37022fa5c2
Setup discord presence to be able to be toggled
2022-10-26 14:12:58 -05:00
Goober5000
f07c4481ff
Merge pull request #4820 from Goober5000/lua_type_check_cleanup
...
clean up stack when checking type
2022-10-25 09:43:34 -04:00
Goober5000
e6b9ff7361
Merge pull request #4704 from Goober5000/texture_timestamp
...
upgrade texture animation code to use new timestamps
2022-10-24 23:49:42 -04:00
MjnMixael
b3c900803e
translate key tokens in tips ( #4808 )
2022-10-24 16:51:08 -04:00
Goober5000
fdbdcec2b1
clean up stack when checking type
...
The `ade_odata_is_userdata_type` function didn't clean up its stack properly, as it left type information there for error reporting. But there are other reasons to check userdata types besides error reporting, so this adds a flag to clean up in most situations.
Fix courtesy of @BMagnu.
2022-10-24 11:09:52 -04:00
MjnMixael
9d122616dd
Update credits ( #4799 )
...
* add self and naomi to SCP credits
* Add EatThePath, Kiloku, and Lafiel as well
2022-10-24 10:36:32 -04:00
EatThePath
f8e99e6012
Actually dynamically populate the empty debug filter files ( #4817 )
...
* Actually dynamically populate the default debug filters properly for empty files, rather than just enable everything.
* whitespace shuffle
2022-10-24 18:37:11 +09:00
BMagnu
2116d1fe66
Modular POF Features ( #4713 )
...
* Add turret copying
* Ad addturret parsing
* Fix gun_nr error
* Fix strncpy_s
* Fix strings better
* Cleanup submodel / turret copying
* Add 'Add Engine'
* Add Glowpoints, add Special Subsys
* Remember to keep the glowpoint texture
* Fix unused param
2022-10-24 18:35:51 +09:00
Goober5000
fde3589d1d
handle debris model instances correctly when shadows are enabled
...
Fixes #4813 .
2022-10-23 14:13:08 -04:00
BMagnu
2080824a20
Can has high rez plz k thx bye ( #4805 )
2022-10-22 18:47:58 +09:00
Goober5000
11b37bbeae
Merge pull request #4787 from Goober5000/createdebris
...
create debris using script functions
2022-10-21 23:24:47 -04:00
Goober5000
41074956a8
more fixes
2022-10-21 12:01:25 -04:00
MjnMixael
c63ce5de8c
Allow writing to player mission specific stats ( #4801 )
...
* Allow writing to player mission specific stats
* Documentation
* return false
2022-10-21 20:25:35 +09:00
MjnMixael
17e42e92cf
cockpitinactive gauges should render in chase view ( #4804 )
...
* cockpitinactive gauges should render in chase view
* Simplify
2022-10-21 20:25:24 +09:00
Goober5000
debedf26ef
partial fix
2022-10-20 23:32:30 -04:00
MjnMixael
90c4316a5e
Update scpui documentation ( #4802 )
...
* Update documentation
* Typo
2022-10-20 19:13:03 +09:00
Goober5000
9782f191b9
Merge pull request #4789 from Goober5000/timestamps_3
...
music and training message timestamp conversion
2022-10-19 20:02:47 -04:00
Goober5000
49fb2f07c0
refactor per feedback, tweak to fix circular #include, use accessor, reorder, fix namespaces, fix API documentation
2022-10-19 14:44:57 -04:00
Goober5000
f24277c39e
make clang happy
2022-10-19 14:22:10 -04:00
Goober5000
452c8370dc
model instances are not needed for debris in many cases
2022-10-19 14:22:10 -04:00
Goober5000
77179dc183
add mn.createDebris
...
This is a new Lua API function that allows creation of arbitrary debris pieces, whether chunks of a ship's hull or shards of shrapnel. All of the parameters are optional, and a wide variety of situations are possible ranging from vaporized bits to static chunks to chunks propelled by an explosion.
2022-10-19 14:22:10 -04:00
Goober5000
d37a446894
music and training message timestamp conversion
2022-10-19 14:11:23 -04:00
MjnMixael
7a5b840338
Allow setting an override wireframe color globally and add option to set target monitor style and wireframe color per gauge ( #4786 )
2022-10-19 21:51:35 +09:00
MjnMixael
50cd91bd86
Damage, swarm, corkscrew info virtvars ( #4798 )
...
* Add access to damage type, swarm, and corkscrew data
* Also return if the weapons have the appropriate flags
* Return nil for invalid handle and clarify documentation
2022-10-19 21:51:22 +09:00
MjnMixael
00c8b946a4
Modular species table ( #4775 )
...
* Add modular ability to add intel entries
* Allow for +nocreate in modular tables
* Allow intel.tbl as an alias of species.tbl
* Additional error checking and remove tests that are no longer required
* const
2022-10-19 21:51:15 +09:00
Asteroth
4c6f043274
Add a bunch of movement stats to ship class script api ( #4797 )
...
* add a bunch of script physics values
* fix
* small doc fix (its just called "damp" barely worth mentioning)
2022-10-18 20:54:30 -04:00
MjnMixael
307c770c58
Enable hud rearm timer in hud_gauges.tbl ( #4777 )
...
* Enable hud rearm timer in hud_gauges.tbl
* Comment
2022-10-18 22:21:51 +09:00
JohnAFernandez
bd0e6bb990
Add an update interval for client update packets ( #4796 )
2022-10-18 21:54:16 +09:00
MjnMixael
0a6729b03d
enable target info in hud_gauges.tbl ( #4778 )
...
* enable target info in hud_gauges.tbl
* Comment
2022-10-18 17:08:44 +09:00
Fabian Woltermann
9e56ba43a5
Merge pull request #4783 from MjnMixael/render_no_lighting
...
Allow option to choose to render with no lighting
2022-10-17 19:30:40 +02:00
Fabian Woltermann
a8328a8ee7
bumps the MAX_INSTANCE_DEPTH constant to 32.
...
This bump should be sufficient to cover complex animation states. This fixes #4794
2022-10-17 18:59:51 +02:00
mjn-mixael
32b059ae07
fix documentation
2022-10-17 08:09:26 -05:00
mjn-mixael
1af0a1082b
int to bool
2022-10-17 08:04:02 -05:00
Goober5000
f34294cf95
Merge pull request #4788 from Goober5000/force_arrival_for_reinforcements
...
fix makeShipArrive and makeWingArrive for reinforcements
2022-10-17 01:16:56 -04:00
wookieejedi
5d60e56614
Update $POF file Techroom: Usage ( #4785 )
...
* Update `$POF file Techroom:` Usage
Currently `$POF file Techroom:` is only used in the weapons loadout screen (despite having techroom in the name). This PR expands the use of the `$POF file Techroom:` to shiploadout select and the actual techroom.
If it is desired I can put it behind a game settings flag, but IMO it would make the most sense for modders to have this just work as the actual name implies.
* clean up code with feedback
* typo fix in comment
2022-10-15 21:12:19 -04:00
Goober5000
3d515ddfb7
upgrade texture animation code to use new timestamps
...
Timestamp changes for texture animation, both on ships and on the skybox.
2022-10-15 12:24:05 -04:00
MjnMixael
09a307b17d
Virtvar to access the energy a weapon consumes ( #4784 )
...
* Virtvar to access the energy a weapon consumes
* quick fix
2022-10-15 09:54:44 -04:00
Goober5000
848d133fe3
Merge pull request #4767 from Goober5000/enhanced_print
...
enhance ba.print and add ba.println
2022-10-14 21:40:11 -04:00
Goober5000
8f8a6ca527
warning tweak
2022-10-14 21:08:47 -04:00
Goober5000
a2af63726e
fix makeShipArrive and makeWingArrive for reinforcements
...
The script functions should make the ships/wings arrive even if they are reinforcement, so this PR fixes that. Also, this PR adds some additional verification of the `num_uses` of reinforcements, especially when the player calls for a wing that is already present but has more uses remaining.
2022-10-14 20:44:39 -04:00
JohnAFernandez
8ea13a2b49
Merge pull request #4773 from MjnMixael/fix_target_team_colors
...
apply team colors to all target view styles
2022-10-14 15:25:23 -04:00
Goober5000
b67ae48590
Merge pull request #4782 from Goober5000/submodel_indexer_fix
...
model.Submodels fix
2022-10-14 14:04:12 -04:00
MjnMixael
3dcfa99c4a
add warp flash to ingame options ( #4776 )
2022-10-14 10:04:59 -04:00
mjn-mixael
7a5a54d009
Allow option to choose to render with no lighting
2022-10-14 09:00:35 -05:00
Goober5000
da7228cedb
model.Submodels fix
...
Guard against the indexer being invalid, e.g. if the model isn't loaded yet.
2022-10-14 02:07:35 -04:00
Goober5000
aa7a57ef4e
Merge pull request #4781 from Goober5000/collision_fix
...
collision fix
2022-10-14 01:01:09 -04:00
Goober5000
c300278328
collision fix
...
Fix a typo in `collide_ship_ship`. Also tweak some lines for clarity.
2022-10-14 00:28:44 -04:00
MjnMixael
d323421817
Use a local int for model storage in renderTechModel ( #4779 )
...
* Use a local int for model storage here
* null -> nullptr
2022-10-13 17:06:03 +00:00
MjnMixael
7ab80a0162
Toggle cockpit ( #4772 )
...
* proof of concept
* Account for shadows
* Option to tie individual HUD gauges to the cockpit option
* Do this in a more user-friendly way
* Address feedback
2022-10-13 19:42:00 +09:00