Commit Graph

218 Commits (b1f9e5f48b46f3575ce310c2468de841e2a45dde)

Author SHA1 Message Date
MysterD 622efdcbcd Remove flamethrower lol 2023-06-25 17:54:26 -07:00
MysterD aeb8817f0d Reduced Lua GC pressure by a lot, reuse cobjects/pointers 2023-06-24 23:43:03 -07:00
Sunk a2dc56e1ac
Add toggle to extended moveset using chat commands (#421)
* Allow extended moveset to be toggled from a chat command

I got permission to edit extended moveset. Eventually I'll try to see if I can improve upon this moveset.
2023-06-23 16:45:24 -07:00
MysterD 56ec000839 Arena - make flag holders have normal speed when spring launching 2023-06-23 15:58:54 -07:00
MysterD 3fa5823578 Properly determine the correct wall between multiple, turn off rounded corners in the air 2023-06-22 20:00:43 -07:00
MysterD 7dbe045957 Arena - allow air control when launching from spring 2023-06-22 11:21:33 -07:00
MysterD 274594cbaf Remove vestigial romhack camera code from mods 2023-06-22 02:16:26 -07:00
MysterD cc1ca691ad Fix false ledge grabs when fixCollisionBugs is on 2023-06-10 16:21:40 -07:00
MysterD d2644e6640 Update arena level lighting 2023-06-09 21:11:58 -07:00
MysterD b8d6e466e5 Make nametags mod default to show-health off 2023-06-07 23:58:24 -07:00
Cooliokid956 4f92242206
ladders have been improved [MIRROR] (#409)
aside from ladder teleportation finally being dealt with (and hopefully being gone for good),

There are two new options when dismounting ladders:
Rollout - Press A while holding the control stick left or right to rollout in that direction
Wall Kick - Simply press A to wall kick off the ladder
Freefall has been relocated to Z, and B doesn't do anything (yet..).
2023-06-07 23:54:09 -07:00
MysterD aa5540611f Arena balance tweaks 2023-06-07 23:50:53 -07:00
MysterD 17edd42b5d Arena - prevent self-bombing from stealing kills 2023-06-05 00:35:30 -07:00
MysterD 60db46a6fa Added spire level to arena 2023-06-04 20:32:35 -07:00
MysterD 2fa506d774 Prevent bouncing on springs when dead 2023-06-02 22:20:35 -07:00
MysterD 44df9f864c Arena - buffed hammer and fire flower 2023-06-02 21:59:07 -07:00
MysterD 84c978e141 Arena - slight hammer buff 2023-06-02 21:46:05 -07:00
MysterD 9a6c01c2d4 Arena - replace platforms with citadel 2023-06-02 17:58:17 -07:00
MysterD c58b1cf9eb Fixed up arena ladders - from Cooliokid956[4~ 2023-06-02 14:54:11 -07:00
MysterD da0dac728e Arena: ladder update and typo fix
the only behavior param now is ladder height
ladders' orientation (yaw) is now simply set by the object's yaw
when adding ladders in fast64, the cone empty is recommended
2023-06-01 13:00:42 -07:00
MysterD 0a1334c3a9 Slight tweak to arena's prevent water heal 2023-05-31 22:08:18 -07:00
MysterD 81b3d0ae15 Prevented water heal in Arena (thanks Coolio and wereyoshi) 2023-05-31 20:56:47 -07:00
MysterD 5de6d50c06 Added ladders to Arena (thanks Coolio) 2023-05-31 20:46:35 -07:00
MysterD 929b10995c Allow other mods to add levels to arena 2023-05-31 16:56:57 -07:00
MysterD e70ed3ed2b Added lightmaps to arena, slight balance tweaks 2023-05-31 00:34:38 -07:00
MysterD 4254538802 Fixed Sunny Beach's tree models (SM74) 2023-05-22 18:19:29 -07:00
Agent X d736f4896a
Small Nametags edit (#394)
Just made command description use a hex color.
2023-05-16 18:27:04 -04:00
Agent X 89fa4fbe5b
Nametags update (#385)
* Slight Nametags update

Made Nametags not render if behind camera

* Optimizations and commands rework

* Update nametags.lua
2023-05-10 15:42:43 -04:00
PeachyPeach b1662a3338
Hide and Seek `is_player_seeker` and `set_player_seeker` (#379)
* HnS globals

* no need for global index
2023-05-03 00:51:50 -07:00
PeachyPeach b88542f7d9
a few api functions for psc (#372) 2023-04-30 08:46:47 -04:00
MysterD ecfcc34f63 Removed color from Hide and Seek 2023-04-28 21:08:53 -07:00
Blockyyy 229664da6e
massive Hide and Seek overhaul (#364)
- Seekers only go faster in water
- No more Act Select
- Pause exits only allowed 30 seconds after entering a level
- Dying no longer makes you seeker unless next to a seeker
- Picks random seeker at the end of a round instead of last seeker
- staying too long in a cannon shoots you out
- can't trigger text or dialog
- Defaults to hit to tag instead of touch to tag
- no levels are banned
- Anti camp removed
- Much more optimized

- Probably other stuff i cannot remember
2023-04-28 21:01:55 -07:00
Agent X c042ffca02
Update Nametags with updated version (#368)
Ported interpolation
2023-04-29 01:54:33 +02:00
MysterD 093bddfedd More arena balance tweaks/bug fixes 2023-04-28 13:25:13 -07:00
MysterD 0412044456 Merge branch 'coop' of github.com:sm64ex-coop-dev/sm64ex-coop into coop 2023-04-24 16:45:59 -07:00
MysterD f2a8df7728 Made nametags mod interpolate names and health 2023-04-24 16:45:25 -07:00
DemnyxOnyxfur c2ee21c22b
Update personal-starcount-ex.lua (#358)
* Update personal-starcount-ex.lua

Adds an incompatible tag for gamemodes, as you aren't collecting any stars outside of the main game.
Also adds some HUD trickery via djui_hud_set_render_behind_hud to draw underneath screen transitions, and the vanilla pause screen.

* Update personal-starcount-ex.lua

* Update personal-starcount-ex.lua

* Update personal-starcount-ex.lua
2023-04-24 16:07:25 -07:00
MysterD a216b9c2d9 Added download estimate time to join panel 2023-04-24 15:07:12 -07:00
MysterD 5b07d3b78c Adjusted balance for Arena weapons 2023-04-22 01:53:27 -07:00
MysterD c2eac34c4c DJUI paginated element fixes 2023-04-18 12:12:31 -07:00
MysterD a07fbc7c5a Make bonking and ledge climbing 2x as fast in arena 2023-04-15 20:40:23 -07:00
MysterD 0d2d6eff04 Arena - make knockback animations twice as fast 2023-04-14 02:00:31 -07:00
MysterD f7ef932629 Prevent script error in extended-movset 2023-04-11 14:52:24 -07:00
PeachyPeach 318807d3c2
level_script_parse description (#340)
enhanced level_script_parse description
2023-04-10 12:25:26 +02:00
MysterD fce88728d2 Improve lag compensation 2023-04-03 13:55:03 -07:00
MysterD 37862cf6d5 Added lag compensation to Arena 2023-04-03 01:06:20 -07:00
Isaac0-dev 683839013b
fix lakitu cam duplication hopefully (#336) 2023-04-02 22:21:44 -07:00
Isaac0-dev ca23c4d5e7
clean up a bit after change server settings/mods while hosting (#334)
* clean up change server settings/mods while hosting

* update discord activity when rehosting

* optimised lakitucam mod
2023-03-30 10:56:46 -07:00
Isaac0-dev 79c4e6610b
New default mod: Visible Lakitu (#332)
* patch for beta 32

* bump version

* add Visible Lakitu to default mods
2023-03-29 21:21:48 -04:00
MysterD f2c9c6ca8a Fix spawned objects on soccer 2023-03-27 14:36:07 -07:00
Agent X 7e1dafaa73
Fix boxes (#324) 2023-03-24 18:59:46 -04:00
Prince Frizzy 179f8df434
Hopefully fix boat being incorrect in Star Road (#323) 2023-03-24 01:31:49 -04:00
Agent X 654d334ff7
Turn off rounded corners SM74 (#322) 2023-03-23 22:21:49 -04:00
Prince Frizzy a2d326000d
Fix empty .bhv in Star Road. (#290) 2023-02-22 00:32:19 -05:00
Prince Frizzy 716fc5faa8
Update Star Road. (#288) 2023-02-21 21:31:59 -05:00
Agent X e5cb5e5e15
Update built-in mods (#276)
* Update built-in mods

* Update nametags.lua
2023-02-20 21:44:24 -05:00
Blockyyy 76038a20e4
This adds gLevelValues.wingCapLookUpReq to lua. (#271)
* added gLevelValues.wingCapLookUpReq

* Added gLevelValues.wingCapLookUpReq

* Added gLevelValues.wingCapLookUpReq

* Added gLevelValues.wingCapLookUpReq

* Added gLevelValues.wingCapLookUpReq

* Changed the look up warp star req

Hidden Palace can only be accessed at 120 stars.
2023-02-18 16:04:22 -05:00
Skeltan e01f1ea04d
Added 130 Stars CG Music (#272) 2023-02-15 19:47:24 -05:00
PeachyPeach d5a19a4d90
added new mods to default; removed visibleToEnemies from lua (#245) 2022-12-17 19:32:55 +01:00
MysterD 962ed5ce23 Started on counter op gamemode 2022-11-11 19:09:40 -08:00
stvene3004 b2eb76ec32
Changes and extensions to Wario and Luigi's moveset (again) (#210)
* Changes and extensions to Wario and Luigi's moveset

* Indentations fix

* More indentation fixes and a slight bug fix

- More indentation fixes.
- Fixed Wario's downwarpin' when he finishes air-bashin'.
2022-10-30 17:26:24 -07:00
Isaac0-dev 89afa8181e
just a few more improvements (#207)
Add get_dialog_box_state
    Prevent some attacks from registering as pvp attacks.
    Clean up all cases of camera.lua
    Put gLastCollectedStarOrKey in a better spot.
    Clean up my moderator code a bit, changing gIsModerator to boolean.
    Brang back kicked, banned and full party messages.
    Fixed a warning on older compilers like raspberry pi's and use configAmountofPlayers instead of MAX_PLAYERS
    Fixed compiling with the flag DISCORD_SDK off.
    Added "Fixed Collisions" to the debug menu.
    Added HMC, CCM, RR, BITDW, PSS and TTC to the main menu options.
    Fix my own oversight; Prevent the port from being duplicated in the join menu. (temporary fix)
    Hopefully bring back the crash handler on windows by not checking for termination signals on windows
2022-10-18 15:34:46 -07:00
Agent X 8c23221187
Touch up (#205) 2022-10-01 01:51:00 -04:00
Mr.Needlemouse 292e70dfa1
Changed the placements of platforms in Star Road to make casual experience easier (#204) 2022-09-30 20:03:13 -07:00
Agent X 37aa44d2d0
Lower water level on Football/Shell Rush (#194)
On 0 star saves, the water is not lowered so the gameplay experience is impaired.
2022-09-18 19:00:39 -07:00
PeachyPeach 6449b7d578
Complete color palettes; gfx macros (#191) 2022-09-18 17:30:13 -07:00
Isaac0-dev c7bdeef8d5
multiple improvements (#176) 2022-09-12 20:00:51 -07:00
Emerald Lockdown 034a4364bf
Hns stuff (#155)
* Readded headstart and cleaned up code

* Added pu prevention, credit to sunk, and cleaned up some comments

* Cleaned up code and added fancy pause exit stuff

* Update network_utils.c

* Revert commit
2022-09-12 19:58:37 -07:00
MysterD bc8e9ff19b Revert "Character Movesets and Extended Moveset changes. (#156)"
This reverts commit ee74afc804.
2022-08-25 20:42:31 -07:00
MysterD 12c644da10 Merge branch 'coop' of github.com:sm64ex-coop-dev/sm64ex-coop into coop 2022-08-25 17:49:25 -07:00
TheGag96 adaf96ec59
Extended Moveset: Fix ground pound jump (#153)
Woops!
2022-08-25 17:26:37 -07:00
stvene3004 ee74afc804
Character Movesets and Extended Moveset changes. (#156)
* CHanges

* Changes and extensions t' Wario and Luigi's movesets (mostly Wario's)

- Wario's shoulder bash now hits more stuff.
- You can now control Wario's bash angle.
- Introducin' Wario's Piledriver. Press Z while holdin' an object in the air to use it.
- Wario's ground pound now has a squish effect when you land on the ground.
- Changed up some Wario voice clips.
- Luigi can now also scuttle when he's holdin' an object.

* Made the dive hop more visually accurate

* Changes and extensions t' Wario and Luigi's movesets (mostly Wario's)


- Wario's shoulder bash now hits more stuff.
- You can now control Wario's bash angle.
- Introducin' Wario's Piledriver. Press Z while holdin' an object in the air to use it.
- Wario's ground pound now has a squish effect when you land on the ground.
- Changed up some Wario voice clips.
- Luigi can now also scuttle when he's holdin' an object.
2022-08-25 17:24:15 -07:00
MysterD 747184d8b9 Added 'Platforms' level to Arena 2022-08-11 22:17:42 -07:00
Emerald Lockdown 2d2395ad34
Readded headstart and cleaned up code, cleaned up comments, pu prevention (ty sunk) (#140)
* Readded headstart and cleaned up code

* Added pu prevention, credit to sunk, and cleaned up some comments
2022-08-11 01:24:21 -07:00
Emerald Lockdown ac7b872304
Shell rush modifications (#150)
* Shell Rush Modifictations

* Oops
2022-08-11 01:20:09 -07:00
TheGag96 d87dd73db1
Fix issues Extended Moveset mod (+ extras) (#146)
* Allow Lua action hooks to specify custom functions for more behavior

...like gravity, and update all current mods to match.

Spin jump and wall slide from the Extended Moveset mod now have gravity
code basically matching the original mod.

Currently, any place you'd want to use one of these new action hooks
still requires an O(n) check through all action hook per call. This
should probably be changed.

* Fix some remaining issues with Extended Moveset Lua port

- Remove divergent spin jump code
- Remove divergent roll code
- Remap roll button to Y
- Reimplement dive slide to make dive hop work like the original
- Allow spin from double jump, backflip, side flip

* Fix more issues with Extended Moveset Lua port

- Reimplement all users of update_walking_speed to incorporate the Tight
  Controls edits and modified speed caps
- Fix instances of angle arithmetic to wrap properly across the mod

* Don't chop off group bits of custom action flags; assign missing groups in mods

This fixes the Extended Moveset's underwater actions. Chopping off those
bits was making the game consider the underwater actions to be a part of
the Stationary group, which caused `check_common_stationary_cancels`,
which upwarps Mario to the surface.

* Tweak roll sliding angle tendency

Rolling will now gradually (but fairly quckly) try to tend Mario's
facing angle down the slope.

This is cleaner than my old method that tries to flip Mario's angle
(wrongly) when he begins moving downward, having that logic coexist with
the logic for normal sliding actions that can also tend Mario to face
backward down the slope. Just looks ugly now by comparison.

* Disallow spin jump on slides in Extended Moveset port

This matches the original mod

* Extended Moveset: Crazy Box Bounce check

* Extended Moveset: Fix hugging the wall when spin jumping after wall kick

* Extended Moveset: Fix ledge drop snapping up to ground

Just reimplement `act_air_hit_wall` ourselves.

* Extended Moveset: Add Kaze's walking speed fix

* smlua_hooks.c: Restore option to use old API for hook_mario_action

The intent is to allow mods outside of this repo to continue working.

Co-authored-by: djoslin0 <djoslin0@users.noreply.github.com>
2022-08-07 15:25:00 -07:00
MysterD 5e5ef35118 Revert custom palette changes to built in mods 2022-08-07 15:13:51 -07:00
TheGag96 dc3ca7c76d
Arbitrary shirt, pants, glove colors + settings menu (#145)
* Support for more granular player colors

You can now configure RGB values for shirt, pants, gloves, and shoes.
Due to some limitations, configuring shoes does nothing at the moment.

* Remove paletteIndex and friends

Restructured and filled in some remaining code to account for that.

* Add Edit Palette panel to Player panel

* Change PlayerPalette contents to an enum-indexed array, remove shoes

This gets rid of all the hokey code doing switch cases on the
different parts.

* Fix goof with player model selection box

Should actually have affect now even if a custom palette is being used.

* Fix gap in player color display list commands

The extra space was leftover from when I was trying to get shoes
working. Forgot to clean it up.

* Standardize PlayerParts enum, including for lua constants autogen

* djui_panel_player.c: Properly hook sending palette changes on unpause

Editing the palette and then unpausing should send out the packet to
everyone with the new palette changes (and update the palette preset
selection box), but since we weren't hooking that situation before, it
would stay changed only for you. You would have had to press the Back
button for it to work right.

* Allow Lua mods to continue using `paletteIndex`, `overridePaletteIndex`

This lets mod code like this still work unchanged:

if s.team == 2 then
    np.overridePaletteIndex = 7
elseif s.team == 1 then
    np.overridePaletteIndex = 15
else
    np.overridePaletteIndex = np.paletteIndex
end

It's essentially faked, and would work strangely if the value of either
variable was inspected more closely directly. This should at least
handle the typical use case, though.

Every frame, `overridePaletteIndex` is checked to see if it was modified
from its previous value. If so, `overridePalette` is set to the preset
corresponding to the index. `paletteIndex` contains a special value that
when used to assign to `overridePaletteIndex`, it copies `palette` into
`overridePalette` to restore the real colors, which of course may not
follow the presets at all.

* characters.h: Pack `PlayerPalette` to eliminate size differences between computers

* mario_misc.c: Remove remaining "TODO GAG"
2022-08-07 15:13:19 -07:00
MysterD 68634493de Fix up camera overrides in sm74 2022-08-05 21:18:37 -07:00
MysterD 9871ab71d5 Fix camera overrides in Star Road - by Isaac 2022-08-05 21:17:13 -07:00
MysterD 50d2946bcc Added star road 2022-08-05 21:13:47 -07:00
MysterD 4794c2e130 added more info to uncompress error 2022-08-05 18:43:45 -07:00
MysterD c214acb33f Change fixCollisionBugs from server setting to mod setting 2022-06-25 01:26:53 -07:00
MysterD ae7c1427b9 Only use defined signals 2022-06-05 22:57:17 -07:00
MysterD ab0d46d61e Prevent hide-and-seek from warping to castle grounds 2022-05-29 15:34:41 -07:00
MysterD 867cc65605 Allow set_mario_colors on any layer, add recursive descent to geo parsing, fix color flashing in Arena 2022-05-28 01:26:40 -07:00
MysterD 445316cbdb Arena: made level stuff account for new level 2022-05-25 18:01:05 -07:00
MysterD 3052f9c78c Merge branch 'coop' of github.com:sm64ex-coop-dev/sm64ex-coop into coop 2022-05-25 17:49:42 -07:00
EmeraldLoc fcba78b69e
Modifed arena mod (#115)
* Modifed arena mod to make levels cycle and add a change level command
2022-05-25 17:48:20 -07:00
MysterD 0778226e60 Added level to arena 2022-05-25 17:46:54 -07:00
Amy54Desu a1c73d13ef
Fix Player Limit Settings and Hide Server Only Chat Commands (#114) 2022-05-21 23:07:29 -07:00
EmeraldLoc 3eed46a2a1
Hide and seek modifications (#101) 2022-05-21 21:17:00 -07:00
MysterD 7c67af5051 Add arena 2022-05-21 21:05:41 -07:00
EmeraldLoc 694f583a69
Fixed everything in dj's todolist for hns (#85)
* Fixed everything in dj's todolist for hns, and also made it more balanced
in other ways. List of changes roughly: made anticamp off by default, made
mario only have to touch another mario, and made vanish cap off always,
and made caps off for hiders
2022-05-09 23:11:12 -07:00
MysterD d55f8a39ef Possible fixes to shell race level desyncs, prevent first place from getting mushrooms 2022-05-09 08:28:30 -07:00
MysterD f2ca0e18fc Fix crash when toggling dynos packs 2022-04-23 02:22:12 -07:00
MysterD e16efd7dd6 Fix sm74 ee course 11 2022-04-22 19:27:19 -07:00
MysterD 28c3555ea8 Fix romhack cannon camera in sm74 2022-04-16 15:39:14 -07:00
MysterD fbce5f23c6 Added ability to set a level to skip credits, fixed SM74 bugs 2022-04-15 18:33:10 -07:00
MysterD d3a669c3b0 Added SM74 (created by Lugmillord) 2022-04-15 18:28:10 -07:00