mirror of
https://github.com/Dingo-Shenanigans/ReSkate.git
synced 2026-10-17 19:47:08 +02:00
Drone: other players' drones shown as a 3D model
A model is spawned at each other player's flying drone and moved every frame. It is the drone's own model (FPV Drone by PinaPipe, CC BY 4.0, credited on the DRONE page), built by ReSkate Studio into a pack that ReSkate.dll carries and unpacks into Mods/.reskate-builtin before the merge. Without the pack the game's traffic cone stands in. dronemodeltest spawns one in front of you.
This commit is contained in:
1 parent
26ec1da5eb
commit
0dcbcb3a89
18 files changed
+724
-20
No files matched your search
@@ -23,6 +23,7 @@
|
||||
#include "Extension/UI/NativeMenu/native_menu.h"
|
||||
#include "Extension/Multiplayer/Hud/native_party.h"
|
||||
#include "Extension/Multiplayer/Session/session.h"
|
||||
#include "Extension/Multiplayer/Remote/native_prop.h"
|
||||
#include "Extension/Boot/discord_presence.h"
|
||||
#include "Engine/Game/World/world_names.h"
|
||||
#include "Extension/Multiplayer/Hud/custom_nametags.h"
|
||||
@@ -1284,6 +1285,12 @@ void tick(std::uintptr_t client, std::uintptr_t update) {
|
||||
{
|
||||
DINGO_PROFILE_ZONE("tick/multiplayer");
|
||||
dingosdk::multiplayer::tick(r.base,client,multiplayer_ready,r.multiplayer_map,load_multiplayer_map);
|
||||
if (multiplayer_ready) {
|
||||
dingosdk::multiplayer::tick_prop_test(r.base, client);
|
||||
// Other players' drones as models in the world (DRONE page, LOBBY tab: show other players' drones).
|
||||
dingosdk::multiplayer::tick_drone_models(r.base, client,
|
||||
dingosdk::drone::knobs().value[dingosdk::drone::kShowBeacons].load(std::memory_order_relaxed) >= 0.5f);
|
||||
}
|
||||
if (auto notice = dingosdk::multiplayer::take_leave_notice(); !notice.empty())
|
||||
dingosdk::overlay::notify(dingosdk::overlay::NoticeLevel::warning, "Map not installed", std::move(notice));
|
||||
// Kicked, banned or otherwise put out by the host or server: said in the middle of
|
||||
|
||||
Reference in new issue
Block a user