Forum posts

Posted 1 year ago2022-12-04 22:35:55 UTC
in Create server commands? Post #347153
I want to create a command that can be ran on the dedicated server to send a console message to all clients. I have the code I need to run to send the message, but know I need to figure out how to make a command that can be sent from the dedicated server. Does anybody know how to make a console command for the dedicated server?
Thank you! This seems to be exactly what I need.
Is there anyway to implement those into your own mod? I thought those only worked with certain mods.
Is it possible to send console messages "like when you use the echo command" to every player on a server? Is it also possible to make this command only available to HLDS? I do not want anything to appear in the console other than the message.
Is it possible to attach the "thirdperson" custom camera to move with a specific bone on the playermodel? The effect would be kind of like those "Full Body Firstperson" scripts for Garry's Mod.
Alright! I'll research it a bit. Thanks for your help!
It works (Thank you!), but I just realized none of the weapons you gather carry over to the next level. Is there any way to add that?
Posted 2 years ago2022-08-13 03:40:27 UTC
in How to get RGB value of top color? Post #346777
I haven't tried it yet, but I am getting back into coding my mod so I will try it right now. Thanks for the help!
I have the code open and ready, but I don't know what to add to it to allow level load triggers to work in multiplayer. Do you know how to write the code I need?
You know when you play singleplayer, and you see LOADING while it loads the next map? In multiplayer, it doesn't do that. Does anybody know how to fix this?
Posted 2 years ago2022-07-17 03:17:02 UTC
in How to get RGB value of top color? Post #346725
Do you know what I need to program to get the RGB of the top color?
Is there a variable that gives this value, or do I need to program something to get the RGB value from a palette number?
Posted 2 years ago2022-07-17 02:29:39 UTC
in Custom spawn weapons Post #346724
If you can't find it, just search for the CHalfLifeMultiplay::PlayerSpawn. It's near the bottom of the class.
Posted 2 years ago2022-07-17 02:23:37 UTC
in Custom spawn weapons Post #346723
Nevermind, I figured out how to customize the items that spawn with you in multiplayer. If anybody is wondering how to do it, just edit multiplay_gamerules.cpp and go to line 566. You will see all the items that are given to you when you spawn. Now you can edit them!
Posted 2 years ago2022-07-16 18:13:03 UTC
in Custom spawn weapons Post #346717
Does anybody know how to change the starter weapon from the default glock? I want the player to spawn in a multiplayer match just the HEV suit.
Posted 2 years ago2022-07-16 18:08:32 UTC
in How to get RGB value of top color? Post #346716
The in-game HUD, like the health and armor.
Posted 2 years ago2022-07-16 14:09:26 UTC
in How to get RGB value of top color? Post #346713
I am making a coop mod so I can play Half-Life in coop without the 4k models and improved engine of Sven Co-op. I want to set the UI color to the top color of the player, but I am not smart. I have no clue where to start, so any help would be appreciated.
Posted 2 years ago2022-07-16 13:59:13 UTC
in Transparent .tga files for Half-Life 1? Post #346712
paint.net can open tga files. :) I think GIMP can too. If you wanna use a another program for editing the files, use paint.net to open the tga, then copy it and paste it into your other program. When you have finished editing it, copy and paste it back into paint.net and save.
Thank you!
I am using Solokiller's HL Updated SDK, and I want to make a Co-op mod. How do I make it so players can't to kill each other?