I need to be a modder pls

Status
Not open for further replies.

IMB-64

Member
Mar 5, 2025
8
0
260
Pronouns
I'm a "DreadGuy"
I want to showcase my mods and I promised I'd release my first mod this Saturday so pls let me be a modder
 
Well here's my mod pls I need to do this! I made a promise heres my mod:


-- name: Hide and Seek
-- incompatible: gamemode
-- description: A simple hide-and-seek gamemode for\nCo-op.\n\nThe game is split into two teams:\n\nHiders and Seekers. The goal is for all\n\Hiders to be converted into a Seeker within a certain timeframe.\n\nAll Seekers appear as a metal character.\n\nEnjoy! :D\n\nConcept by: Super Keeberghrh
-- pausable: false
local ROLE_HIDER = 0
local ROLE_SEEKER = 1
local STATE_WAITING = 0
local STATE_HIDING = 1
local STATE_SEEKING = 2
-- Sync Tables
gGlobalSyncTable.gameState = gGlobalSyncTable.gameState or STATE_WAITING
gGlobalSyncTable.hidingTime = gGlobalSyncTable.hidingTime or 60
gGlobalSyncTable.seekingTime = gGlobalSyncTable.seekingTime or 300
gGlobalSyncTable.displayTimer = gGlobalSyncTable.displayTimer or 0
gGlobalSyncTable.victoryText = gGlobalSyncTable.victoryText or ""
-- variables
local showMenu = false
local menuLevel = 0
local menuSelection = 1
local inputTimer = 0
local serverTimer = 0
local victoryDisplayTimer = 0
local cannonTimer = 0
local hostWelcomed = false
local lastGameState = STATE_WAITING
-- UI Animation
local frameCounter = 0
local menuAnimState = 0.0
---------------------------------------------------------
-- utilities, essentials blah blah blah
---------------------------------------------------------
local function is_host()
return network_is_server() or network_is_moderator()
end
local function count_hiders()
local count = 0
for i = 0, MAX_PLAYERS - 1 do
if gNetworkPlayers and gNetworkPlayers.connected and gPlayerSyncTable and gPlayerSyncTable.role == ROLE_HIDER then
count = count + 1
end
end
return count
end
local function format_time(seconds)
if not seconds or seconds < 0 then return "0:00" end
local mins = math.floor(seconds / 60)
local secs = seconds % 60
return string.format("%d:%02d", mins, secs)
end
local function get_clean_name(name)
if name == nil then return "Player" end
local s = tostring(name)
s = s:gsub("\\#[^\\]+\\", "")
s = s:gsub("\\#[^\\]+", "")
s = s:gsub("\\", "")
if s:gsub("%s+", "") == "" then return "Player" end
return s
end
local function render_shadow_text(text, x, y, scale, r, g, b, a)
if not text then return end
a = a or 255
djui_hud_set_color(0, 0, 0, a)
djui_hud_print_text(text, x + (1.5 * scale), y + (1.5 * scale), scale)
djui_hud_set_color(r, g, b, a)
djui_hud_print_text(text, x, y, scale)
end
local function render_colored_name(pIdx, x, y, scale, a)
if not gNetworkPlayers[pIdx] then return "Player" end
a = a or 255
local cleanName = get_clean_name(gNetworkPlayers[pIdx].name)

local r, g, b = 255, 255, 255
if network_get_player_text_color then
local cr, cg, cb = network_get_player_text_color(pIdx)
if type(cr) == "number" then r, g, b = cr, cg, cb end
end

djui_hud_set_color(0, 0, 0, a)
djui_hud_print_text(cleanName, x + (1.5 * scale), y + (1.5 * scale), scale)
djui_hud_set_color(r, g, b, a)
djui_hud_print_text(cleanName, x, y, scale)

return cleanName
end
local function get_local_idx_from_global(globalIdx)
for i = 0, MAX_PLAYERS - 1 do
if gNetworkPlayers and gNetworkPlayers.connected and gNetworkPlayers.globalIndex == globalIdx then
return i
end

cant show u the whole mod bcus it wont be processed but pls the mod is promising, trust!
 
I just want to share my mods to the public! Im not someone who uses someones mod and makes it their own! I'm not like that!
That's exactly what you're doing; that mod isn't yours, it's integrated into the game itself. If it were a reimagining like DX or Rebirth, it would be acceptable, but this isn't.
 
That's exactly what you're doing; that mod isn't yours, it's integrated into the game itself. If it were a reimagining like DX or Rebirth, it would be acceptable, but this isn't.
-_- look stop acussing me for no reason i made this mod if this isnt mine maybe should give you the lua file and "you" tell me if this is made by someone you jus joined a conversation and ur jus sayin it aint mine so WHO IS IT FOR THEN? look just leave me alone
 
I dont even get why your here, your banned in some servers I know because of this, and if you really have a hard time reading, this concept is made by Super Keeberghrh and a mod like this already exist, all you did was modify it
lets not continue this conversation any further and please read this because I know you didn't, unless you don't get it Qualifications for being a Modder
 
  • Like
Reactions: Tails Gamer
I dont even get why your here, your banned in some servers I know because of this, and if you really have a hard time reading, this concept is made by Super Keeberghrh and a mod like this already exist, all you did was modify it
lets not continue this conversation any further and please read this because I know you didn't, unless you don't get it Qualifications for being a Modder
Is it just me, or are the latest posts here from people using mods they didn't create and modifying/claiming them as their own?
 
I dont even get why your here, your banned in some servers I know because of this, and if you really have a hard time reading, this concept is made by Super Keeberghrh and a mod like this already exist, all you did was modify it
lets not continue this conversation any further and please read this because I know you didn't, unless you don't get it Qualifications for being a Modder
wait OHHHHHHHHHHHHH I REALIZED SMTHN IM SO SRY I DIDNT LOOK AT THE MOD OMG SO SRY THIS IS THE WRONG MOD OOP SO SRY FOR THE CONFUSION
this is Not yo

Here's the actual mod, I opened up the og hns mod to get the creator's name and forgot to close when applying for mod so sry bout that heres the actual mod:
- name: Hide And Seek Expanded
-- incompatible: gamemode
-- description: This is an expanded version of the original Hide and Seek mod made for the game! Made by IMB-64! OG Mod made my Super Keeberghrh! Also this mod is only compatible with v1.4 and above so if you have bad internet like me that u can only get 1.0.4 on itch.io, im sry u had to miss out on this mod.
local ROLE_HIDER = 0
local ROLE_SEEKER = 1
local STATE_WAITING = 0
local STATE_HIDING = 1
local STATE_SEEKING = 2
-- Sync Tables
gGlobalSyncTable.gameState = gGlobalSyncTable.gameState or STATE_WAITING
gGlobalSyncTable.hidingTime = gGlobalSyncTable.hidingTime or 60
gGlobalSyncTable.seekingTime = gGlobalSyncTable.seekingTime or 300
gGlobalSyncTable.displayTimer = gGlobalSyncTable.displayTimer or 0
gGlobalSyncTable.victoryText = gGlobalSyncTable.victoryText or ""
-- variables
local showMenu = false
local menuLevel = 0
local menuSelection = 1
local inputTimer = 0
local serverTimer = 0
local victoryDisplayTimer = 0
local cannonTimer = 0
local hostWelcomed = false
local lastGameState = STATE_WAITING -- this is for jingle bells
-- UI Animation
local frameCounter = 0
local menuAnimState = 0.0
---------------------------------------------------------
-- utilities, essentials blah blah blah
---------------------------------------------------------
local function is_host()
return network_is_server() or network_is_moderator()
end
local function count_hiders()
local count = 0
for i = 0, MAX_PLAYERS - 1 do
-- Ensure network player AND sync table exist
if gNetworkPlayers and gNetworkPlayers.connected and gPlayerSyncTable and gPlayerSyncTable.role == ROLE_HIDER then
count = count + 1
end
end
return count
end
local function format_time(seconds)
if not seconds or seconds < 0 then return "0:00" end
local mins = math.floor(seconds / 60)
local secs = seconds % 60
return string.format("%d:%02d", mins, secs)
end
local function get_clean_name(name)
if name == nil then return "Player" end
local s = tostring(name)
s = s:gsub("\\#[^\\]+\\", "")
s = s:gsub("\\#[^\\]+", "")
s = s:gsub("\\", "")
if s:gsub("%s+", "") == "" then return "Player" end
return s
end
local function render_shadow_text(text, x, y, scale, r, g, b, a)
if not text then return end
a = a or 255
djui_hud_set_color(0, 0, 0, a)
djui_hud_print_text(text, x + (1.5 * scale), y + (1.5 * scale), scale)
djui_hud_set_color(r, g, b, a)
djui_hud_print_text(text, x, y, scale)
end
local function render_colored_name(pIdx, x, y, scale, a)
if not gNetworkPlayers[pIdx] then return "Player" end
a = a or 255
local cleanName = get_clean_name(gNetworkPlayers[pIdx].name)

local r, g, b = 255, 255, 255
if network_get_player_text_color then
local cr, cg, cb = network_get_player_text_color(pIdx)
if type(cr) == "number" then r, g, b = cr, cg, cb end
end

djui_hud_set_color(0, 0, 0, a)
djui_hud_print_text(cleanName, x + (1.5 * scale), y + (1.5 * scale), scale)
djui_hud_set_color(r, g, b, a)
djui_hud_print_text(cleanName, x, y, scale)

return cleanName
end
---------------------------------------------------------
-- some stuff
---------------------------------------------------------
function update()
-- SAFETY CHECK: Ensure local player has loaded
if not gPlayerSyncTable[0] then return end
-- plays a jingle when times up
if lastGameState ~= STATE_WAITING and gGlobalSyncTable.gameState == STATE_WAITING and gGlobalSyncTable.victoryText ~= "" then
play_music(0, SEQUENCE_ARGS(4, SEQ_EVENT_CUTSCENE_COLLECT_STAR), 0)
end
lastGameState = gGlobalSyncTable.gameState
if not hostWelcomed then
if is_host() then
djui_chat_message_create("\\#00ffff\\Welcome to HNS Expanded! \\#ffffff\\I recommend you type \\#ffff00\\/help\\#ffffff\\ to see the commands in this mod!")

-- u thought i never knew?
gServerSettings.bubbleDeath = 0
gServerSettings.stayInLevelAfterStar = 2
end
hostWelcomed = true
end
-- gives host hider role after loading up the lobby
if gPlayerSyncTable[0].role == nil then
gPlayerSyncTable[0].role = ROLE_HIDER
end
for i = 0, MAX_PLAYERS - 1 do
if gNetworkPlayers and gNetworkPlayers.connected and gPlayerSyncTable then
local role = gPlayerSyncTable.role
if role == ROLE_SEEKER then
network_player_set_description(gNetworkPlayers, "Seeker", 255, 100, 100, 255)
elseif role == ROLE_HIDER then
network_player_set_description(gNetworkPlayers, "Hider", 100, 200, 255, 255)
end
end
end
if is_host() then
if gGlobalSyncTable.gameState ~= STATE_WAITING then
gServerSettings.bubbleDeath = 0
gServerSettings.stayInLevelAfterStar = 2

Don't double post! Use that edit button! Post automatically merged:

yea sry bout that honest mistake 😅😅
 
Last edited:
Status
Not open for further replies.

Users who are viewing this thread