Forum posts

Posted 1 month ago2024-10-02 01:09:24 UTC
in HL1 chase sequence help!!! Post #349200
Alright, what is your entity setup, then?
Posted 1 month ago2024-10-01 23:25:35 UTC
in HL1 chase sequence help!!! Post #349199
i cannot post the map as of now, as currently, it is nowhere even NEAR the mapping process. and yes, it is a func_train (as of now)
Posted 1 month ago2024-10-01 13:05:10 UTC
in How to avoid this error! Post #349198
Day of defeat from version 8308 and later have an error "Message name too long: ScoreInfoLong" which leads to unknown havoc, sometime it make clients crash and exit, it happen more often when using Strikebot or sturmbot make game unplayable.
Posted 1 month ago2024-09-30 21:53:05 UTC
in hello Post #349197
Hey there, why did you made this post?
Posted 1 month ago2024-09-30 20:33:50 UTC
in Half-Life: dx Post #349196
Sketch of a beta hornet gun.
beta hornetbeta hornet
Posted 1 month ago2024-09-30 18:28:26 UTC
in TFC flaginfo attribute Post #349195
As for flTime and others, that is the absolute time (in seconds) since the client started... something, I am not 100% sure if it's since joining the server or starting up the game altogether, but it's likely the latter.

And yes, gHUD is the HUD singleton. It represents the clientside as a whole, almost a bit of a god object I'm afraid..

Also, the HUD is redrawn every frame no matter what, it's an immediate-mode GUI as opposed to a retained one. So if you changed some colour variables, and they are being referenced in the HUD code, no worries, it'll auto-apply.
Admer456 Admer456If it ain't broken, don't fox it!
Yeah, HL already does this in plenty of places, e.g. to send damage information to clients. What you're describing is a Remote Procedure Call / RPC, and Half-Life implements it exactly via "user messages".

It's a manual, tedious process, but fairly simple to follow:
Serverside: declare a global message ID (inline int gmsgMyMessage) and register it, i.e. link it to a name: gmsgMyMessage = REGISTER_USER_MSG( "MyMessage", -1 ), the last number saying how many bytes are sent in this message, -1 if unknown
Clientside: declare a HUD function and glue it to said message name with some macros, like DECLARE_MESSAGE and HOOK_MESSAGE

Here's a guide for that.
Admer456 Admer456If it ain't broken, don't fox it!
Posted 1 month ago2024-09-30 16:40:31 UTC
in TFC flaginfo attribute Post #349192
I'm trying to figure out how to enable the flaginfo option to my TFC map, but I'm unsure how to address the 'Item 1 no. for flaginfo (display_item_status1)' attribute. Is there any documentation that guides you through what exactly can be inputted to enable flaginfo or maybe a guide to the full attribute options for info_tfdetect?

Thank you
First of all, I'm not a C++ programmer. Despite this, I have a lot of experience with C#, so after two days of working with the Half-Life SDK, I learned the main differences. However, for more experienced developers, some of the things I’ve done may seem odd or even wrong. I don’t mind if someone points them out. :3

What I want to achieve is to add the ability to change the HUD color by firing a map entity, because sometimes the player will be playing as different characters. After reading this amazing tutorial, I created a static class called HUDManager with static fields defining the RGB values, as well as a static method to change these values. I modified the UnpackRGB() method to use the values from this class, and so far, it has worked with the default values (though I haven’t yet tried to use this method at runtime).

After a few more hours spent reading the SDK code and tutorials, I created an entity class, linked it, and... suddenly realized that entities are defined and declared on the server side, while my HUDManager is on the client side. So now I need a way to call a client-side method from the server.

I found this tutorial on temporary entity messages, which seems like what I need (or at least something very similar). However, it doesn’t fully solve my problem - none of the constants defined in const.h (from hl_cdll) seem to help.

I also found a file called UserMessages.cpp in hldll, which seems to use the REG_USER_MSG method. This is a macro for g_engfuncs.pfnRegUserMsg, which I presume, based on the file name and the comment above enginefuncs_s, is an interface to an engine function of the same name. Since the engine’s code is not open-source, I can’t dig deeper to verify if this is the function I need. That’s why I’m asking for help.

Some possibly useful information: I’m using the Half-Life Unified SDK, and my mod is intended to be entirely single-player.

I feel like this might be a very basic question that's already been answered somewhere, or there may be a tutorial about it that I just haven't found yet. Forgive my dumb C# brain xd

Oh, and if I’ve already posted this… I assume that after changing static variables of HUDManager at runtime (which I haven’t yet tested), I’ll need to manually redraw the HUD to apply the new colors. My second question is: how can I do this? I found the gHUD variable in cdll_int.h, which I assume is the main HUD variable on the client side? The CHud class (to which gHUD belongs) has a Redraw method with two arguments: flTime and intermission. What exactly does flTime refer to (specifically the m_flTime variable, which is assigned in the Redraw method)? The comment says it's "the current client time," but the current time in what context and in what format? m_flTime is used in so many places that I can’t quite grasp its meaning.
Posted 1 month ago2024-09-30 08:40:48 UTC
in hello Post #349189
hello
Posted 1 month ago2024-09-30 02:16:49 UTC
in HL1 chase sequence help!!! Post #349188
Can you post the map? And is it a func_train?
Posted 1 month ago2024-09-29 21:04:14 UTC
in HL1 chase sequence help!!! Post #349187
let me explain, im trying to make this sven-coop chase sequence where you get chased by a giant gman cube, but the problem is it cant just follow some path nodes or anything like that, because theres multiple ways you can go, so im gonna need help with it,
User posted image
this is the thing that chases you by the way.
Posted 1 month ago2024-09-29 17:13:08 UTC
in How to hide HL player models from mods? Post #349186
Ah Shit. I thinked is possible in some way
Posted 1 month ago2024-09-26 18:09:53 UTC
in Half-Life Featureful SDK Post #349185
New release https://github.com/FreeSlave/halflife-featureful/releases/tag/featureful-2024-09-26

A new concept called Visuals allows to change the render parameters of some effects without changing the code. Visuals can be edited in the templates/visuals.json file. For example, you can change the color of vortigaunt's beams or the sprite used by a bullsquid's spit projectile.

Currently the list of supported entities is incomplete but it will grow with each release.

Read the wiki article on visuals
Posted 1 month ago2024-09-26 08:45:24 UTC
in How to hide HL player models from mods? Post #349184
Opposing Force doesn't hide the HL1 playermodels, those are included in the playermodel dropdown in options.

Games like Ricochet and Counter Strike uses nomodels "1" in liblist.gam as DaSalba said, and players instead choose playermodels elsewhere.
You'll need to code some GUI for the players to choose your mod's playermodels when using this, though.
Posted 1 month ago2024-09-25 20:34:28 UTC
in How to hide HL player models from mods? Post #349183
Posted 1 month ago2024-09-25 18:29:13 UTC
in How to get J.A.C.K Hammer Linux working on Arch? Post #349182
I've got the program installed, but when ran it says that I don't have 'libaudio.so.2'.
So I tried installing libaudio via pacman, and it doesn't seem to exist.
Is there anything I can do to get the program working?
Posted 1 month ago2024-09-23 20:19:03 UTC
in Post your screenshots! WIP thread Post #349181
Amazing work, loving the hazy atmosphere!
Posted 1 month ago2024-09-23 15:11:21 UTC
in Post your screenshots! WIP thread Post #349180
Posted 1 month ago2024-09-22 20:16:44 UTC
in My Steam Client is no longer lauches Post #349179
I've had the same issue with Windows 7 recently. It worked for almost a year past the official EOL, but not since about a week ago. When I start Steam, it freezes, and my computer with it.

I'm guessing some recent update probably created for the first time an actual technical dependency on Windows 10 and it stopped working for good on older OS. Mine still works on Linux. If yours does too, then it's probably just the OS.
Posted 1 month ago2024-09-22 19:05:01 UTC
in My Steam Client is no longer lauches Post #349178
A few days ago I was blocked in the Steam community for 14 years, for a comment. Then with the support we all resolved, and I was unblocked, but then, after that I can no longer launch the Steam client. The computer does not display any message about the current state of the client, just the usual loading, and that's it - silence. Before all this, the client worked fine, even considering the fact that Windows 8.1 is no longer supported by Steam. If anyone knows what to do - please help
Combiner 1P Combiner 1PEvolve. Control. Combine.
This post was made on a thread that has been deleted.
This post was made on a thread that has been deleted.
Posted 2 months ago2024-09-21 08:57:05 UTC
in How to set up Spirit of Half Life? Post #349175
☝ Seconding the above. Freeslave had done a fantastic job indeed. 💯
Posted 2 months ago2024-09-21 08:26:34 UTC
in How to set up Spirit of Half Life? Post #349174
May I recommend to use featureful SDK instead. It uses plenty of the SOHL features but adds all Opposing Force stuff on top including new mapping possibilities to make our lives as mappers easier and it even brings new coded monsters to the table.

https://github.com/FreeSlave/halflife-featureful/wiki
Posted 2 months ago2024-09-19 15:40:33 UTC
in How to hide HL player models from mods? Post #349173
Do somebody know how to Force the HL player model to not show in the multiplayer Settings in mods that come with their own models, like Ricochet, Wanted, Opposing Force?
Posted 2 months ago2024-09-17 06:21:08 UTC
in Well, it's probably my fault. Post #349172
You can likely use the "I need help with something not listed here" > "Contact Steam Support" link to appeal to the support team, but if you were banned from the actual Steam Community (not an individual group) for such a long period, I wouldn't hold your breath.
I wrote to Steam Support about this. I'm waiting for a response. I sent all the necessary data so i can confirm my ownership of the account.
Combiner 1P Combiner 1PEvolve. Control. Combine.
Posted 2 months ago2024-09-17 06:18:15 UTC
in Well, it's probably my fault. Post #349171
I guess consider what you commented and why and learn from that.
Yes. But the ban came to me completely spontaneously. I didn't have time to do anything, especialy. I haven't been active in steam in terms of games and comments for about 2 months. And therefore it can be assumed that the ban was false. And it unlikely that for a simple comment, i could be banned for 14 years.
Combiner 1P Combiner 1PEvolve. Control. Combine.
Posted 2 months ago2024-09-16 22:46:30 UTC
in How to set up Spirit of Half Life? Post #349170
Thank you, downloaded the correct version and it's now working.
jeffrey jeffreyWorld's Greatest Hero
Posted 2 months ago2024-09-16 16:51:56 UTC
in Half-Life DM x Counter Strike Post #349169
In one of the comments, they say they will make a more technical follow-up video. So, we might find out.

My guess is that it's maybe a particular combination of Half-Life SDK and reverse-engineered CS 1.6 code.

Edit:
Author says in one of the comments:
It is a hybrid server that runs both mods so both HL and CS clients can connect.
This is gonna be interesting.
Admer456 Admer456If it ain't broken, don't fox it!
Posted 2 months ago2024-09-16 15:14:19 UTC
in Half-Life DM x Counter Strike Post #349168
Source: https://www.youtube.com/watch?v=sGK2xrkyQXc&lc=Ugz3qi1OPHXOKYCwXRN4AaABAg

Hey look at that, how they can do it? Then how we can do it ???
Posted 2 months ago2024-09-16 11:43:16 UTC
in Well, it's probably my fault. Post #349167
https://help.steampowered.com/en/wizard/HelpWithCommunity

You can likely use the "I need help with something not listed here" > "Contact Steam Support" link to appeal to the support team, but if you were banned from the actual Steam Community (not an individual group) for such a long period, I wouldn't hold your breath.

I guess consider what you commented and why and learn from that.
monster_urby monster_urbyGoldsourcerer
Posted 2 months ago2024-09-16 08:59:36 UTC
in Well, it's probably my fault. Post #349166
I was blocked in the steam community for 14 years. I will be blocked on January 19, 2038.
I was blocked for a comment I wrote. For what is the question for the ages. So if anyone knows how to ask for steam support, please write the options in the comments. I won't wait until my 30th birthday.
Combiner 1P Combiner 1PEvolve. Control. Combine.
Posted 2 months ago2024-09-16 05:26:16 UTC
in Jack won't compile bsp Post #349165
Firstly, JACK doesn't do any compilation, it just calls the compile tools that do it.
Secondly, compile logs and their error messages are humanly readable. You do not need any special expertise to read them, let alone depend on strangers online to read it for you.

Now check your compile log, and compare the map name that the compile tools see with the map name in the console error message you posted earlier.
Posted 2 months ago2024-09-16 02:31:58 UTC
in Jack won't compile bsp Post #349164
Here is the compile logs too
compile logs
Posted 2 months ago2024-09-16 02:26:00 UTC
in Jack won't compile bsp Post #349163
The console shows the text "map change failed: 'haz_sector_offices' not found on server."
Posted 2 months ago2024-09-15 13:08:37 UTC
in Got a problem with my HL1 sound mod Post #349162
If you want a sound to loop you need to edit it to have either a cue/marker point at the start and end. You would need to look up how to do this in your chosen audio editing software: https://developer.valvesoftware.com/wiki/Looping_a_sound
monster_urby monster_urbyGoldsourcerer
Posted 2 months ago2024-09-15 12:53:21 UTC
in How to set up Spirit of Half Life? Post #349161
When you say 5.0, do you mean Spirinity 0.5.0? A mashed together version of Spirit of Half-Life with the Trinity renderer? I've never worked with Spirinity, but I believe it's the same principles as Spirit. Everything in the download should go in its own mod directory in your Half-Life directory.
User posted image
That's it. Restart steam and it should appear in your games list.
User posted image
NOTE: I've just done this setup myself and got the same errors as you when attempting to run any map out of the box. Then it crashes to desktop... That seems terribly stable.

I'm afraid I've reached the end of my ability to help here. I don't care for these kinds of engine mods or renderers and I'm not going to waste time learning their quirks and solutions.
monster_urby monster_urbyGoldsourcerer
Posted 2 months ago2024-09-14 20:35:22 UTC
in How to set up Spirit of Half Life? Post #349160
I downloaded 5.0... How should it have been installed?
jeffrey jeffreyWorld's Greatest Hero
Posted 2 months ago2024-09-14 20:28:20 UTC
in How to set up Spirit of Half Life? Post #349159
Hmmm. That sounds like an issue with the installation then, rather than your JACK setup. Spirit is either a bit or a lot of a mess depending on the version you're using...
monster_urby monster_urbyGoldsourcerer
Posted 2 months ago2024-09-14 17:39:22 UTC
in How to set up Spirit of Half Life? Post #349158
No, also the same loading error happens when I try to load any other spirit map.
jeffrey jeffreyWorld's Greatest Hero
Posted 2 months ago2024-09-14 17:36:51 UTC
in How to set up Spirit of Half Life? Post #349157
Are there any errors in the compile log?
monster_urby monster_urbyGoldsourcerer
Posted 2 months ago2024-09-14 15:53:12 UTC
in How to set up Spirit of Half Life? Post #349156
I can use jack with spirit thankfully, but when I compile and try to load the map it gives this error and crashes:
] map spirit_test
======Parsing file: C:/Program Files
(x86)\Steam\steamapps\common\Half-Life\jeffreyquest\sound\materials.txt
======
======Parsing file : C:/Program Files
(x86)\Steam\steamapps\common\Half-Life\valve\sound\materials.txt
======
couldn't exec maps/spirit_test_load.cfg
jeffrey jeffreyWorld's Greatest Hero
Posted 2 months ago2024-09-14 14:28:35 UTC
in How to set up Spirit of Half Life? Post #349155
When you say "set up" I assume you want to use Spirit as a base for your mod.

Spirit of Half-Life is a mod like any other. The directory should be placed in your steamapps/common/Half-Life directory. If you want to map for it, then point JACK/Hammer to the appropriate mod directory like so. (You will want to rename the directory to your mod's name though, save having to change all of this later.)
User posted image
When adding the game data files, rather than adding the halflife.fgd from the JACK directory, use the spirit.fgd in the spirit directory. (Ours is renamed thecore.fgd in this case because we've made code changes, the default is spirit.fgd)
User posted image
After that, assuming you've done the usual setup correctly, you should now be able to start mapping with spirit's entities.
monster_urby monster_urbyGoldsourcerer
Posted 2 months ago2024-09-14 13:22:24 UTC
in How to set up Spirit of Half Life? Post #349154
Can't find any info on how to fully, completely, set up Spirit.
jeffrey jeffreyWorld's Greatest Hero
Posted 2 months ago2024-09-14 12:47:17 UTC
in game_team_master "is broken"? Post #349153
game_team_master DOES filter spawn points, i just forgot to change the master of the red team spawnpoints lol
Posted 2 months ago2024-09-13 15:35:15 UTC
in game_team_master "is broken"? Post #349152
seems like game_team_master doesn't filter spawn points. interesting
Posted 2 months ago2024-09-13 06:32:42 UTC
in Got a problem with my HL1 sound mod Post #349151
Posted 2 months ago2024-09-13 05:10:54 UTC
in Got a problem with my HL1 sound mod Post #349150
Make sure your audio is also in "Unsigned 8-bit PCM". And the quality can be raised to a limit of 22050 hz.