RideMeExtended
Allows players to ride on allies. A more extended and customizable version of the RideMe mod.
截圖 共 2 張
模組介紹 作者原文
RideMeExtended Mod for Risk of rain 2
- A mod that allows you to ride other members of your team.
- It is an extended version of the original mod which allows more customization for other mods implementation.
How it works
- Pressing interact will make the user mount.
- Pressing interact again while mounted will switch seat (if a mod implementad multiple seats. by default there's always one seat)
- Pressing Jump will make you unmount
- There is a config to ajust some parameters, such as jump height on unmount, disabling hurtboxes while mounted, etc.
Configs
There are a bunch of additional config you can adjust:
- Specify a blacklist of which character cant ride or not be rideable
- You can specify the default offset of seats
- You can disable the rider's hitboxes while riding
- You can enable riding enemies
- etc.
Example of implementation for other mods
- You can see an example of implementation here:
- Here's a few properties/functions in RideMeExtended that allows implementation of other mods
- The property RiderBodyBlacklist is a list where you can add the Body's name you dont want to be able to ride other characters
- The property RideableBodyBlacklist is a list where you can add the Body's name you dont want to be able to ride on.
- The event OnGlobalSeatChange allows you to listen for when a rider entered/switched/exited a seat.
- The function RegisterRideSeats allows you to specify custom seats for a Body's name. If not specified, one default seat is created.
- The RideSeat class that you instanciate for the RegisterRideSeats function have the following properties:
- the Property Name is optional, mainly used for conveniance of identification
- The property SeatTransform is the transform representing the seat, where the rider will be placed. This must be specified on instanciation.
- The property SeatOwner is the owner of the seat, representing the rideable. Does not need to be initialized.
- The property SeatUser is the current user of the seat, representing a rider. Does not need to be initialized.
- The function callback PositionOffsetGetter which allows you to specify a position offset from the SeatTransform. Optional.
- The property AlignToSeatRotation specifies if the rider will be forcefully aligned to the SeatTransform rotation.
- The function callback RotationOffsetGetter which allows you to specify a rotation offset from the SeatTransform. Optional. AlignToSeatRotation must be set to true to be used.
- Other functions are also available to other mods that allows controls on the interactions, such as forcefully ejecting a rider with RiderController.CallCmdExitSeat().
Some mods that have RideMeExtended implementation
-
feel free to ping/dm me with any questions / suggestion / complaints on the modding discord- @Mico27#0642
Changelog
1.2.0
- SOTS update.
1.1.0
- Void update.
1.0.2
- Added the possiblity to add to the rider and rideable blacklist through config.
- Added the option to mount enemies through config.
1.0.1
- Engie's turrets and squid turrets are now rideable.
1.0.0
- Initial release
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
前置依賴
下面這些內容需要先安裝,否則該模組不會生效:
bbepis-BepInExPackRiskofThunder-HookGenPatcher