New Help Desk

From Valve Developer Community
Jump to: navigation, search

Click Add topic to make a new post. Please sign your post with four tildes (~~~~).


Setting the game directory

I have a fully compiled and working copy of Source SDK Base 2013 running and i have been asking this question for ages but how do you change the game directory name from "hl2" to something else and get it to launch the game correctly?

Techgames101 (talk) 00:48, 8 August 2018 (UTC)

I've never done anything with 2013, so somebody else probably has a better solution. I just got it to work by doing this:
  • Change every instance of "hl2" in hl2's gameinfo.txt to "test".
  • Rename the hl2 folder from "hl2" to "test".
  • Add -game test in the launch parameters.
The only issue I noticed in the first map (d1_trainstation_01) was missing chapter titles. Pinsplash (talk) 01:09, 8 August 2018 (UTC)
Crossing out, because that was bad advice. Pinsplash (talk) 03:22, 8 August 2018 (UTC)
Please don't listen to this guy above, he is horridly incorrect.
Do not edit hl2's gameinfo, it will not help you. If you need to change your mod title/appid/etc to your own, check in your OWN gameinfo.txt.
Do not change every reference of hl2 in the gameinfo to test as you need to mount hl2 VPKs.
I'd recommend copying the mod_hl2 folder to test instead of replacing it, for easy access if you need reference to stuff you changed.
-game test is 50% correct. You need to either launch the base with -game "C:\PathToMyMod\test" OR you can symlink your game folder to the sourcemods folder in Steam
Re: chapter titles, you need to go into mymod/resource, and rename hl2_language.txt (where language can be any language) to mymod_language.txt (where mymod is the name of your mod) OR you can load hl2's language files manually in your mod source code, which may be cleaner (that's what I do.)
Getting real sick of your shitty, uninformed contributions, Pinsplash. - JoshuaAshton (talk) 03:04, 8 August 2018 (UTC)

audio input setting for mic

Valve games have seem to become a trend not to include separate input selections for audio playback (speakers) and audio recording (mic) devices. It has even been removed from the new friends list GUI and they've stopped putting such a selection for both in game options like for CSGO and many other newer Valve titles. Is there a command line to set the audio input (mic) and output (speakers) devices? If there is I have been unable to find it and would appreciate someone letting me know what it is.

Reason being: Not everyone uses the same device for both. For example I use an HDTV for my speakers through HDMI and an onboard sound device for my mic so not having a setting selection for both in-games options is a huge inconvenience that stops me from being able to use voice chat in a lot of games. I'm not the only one experiencing this difficulty.

What is the command line to force a game to use a specific device for audio input (mic), and audio output (speakers)? -Bort

Never heard of any Source game having options for which input and output to use. Kinda more of an OS-side thing, isn't it..? Pinsplash (talk) 00:54, 3 October 2018 (UTC)

Replacing the new glove/hand FBX model with a custom FBX model

I am currently trying to find documentation on how I can replace the VR slim glove model with a custom model but still use the skeleton behavior on it. When I import my model into Unity and attach the hand motions to it I get some undesirable scaling to the model and most of the time doesn't even resemble my mesh. I have weight painted my model the same and even used the same armature however I still have no success. If you could provide some instructions or a guide I think that could be very helpful.

Thank you in advance for any insight you could provide.

Regards,

3GNAB (talk) 19:49, 12 October 2018 (UTC) 3GNAB

No mdl files.

Hello everyone, I have recently gotten into mapping for garry's mod, but have quickly ran into a big obstacle. So here is my problem: When I want to add a prop to my map, I add an entity, which I double click with my selector. I got to prop_static, because that is where I need a prop from. I click on world model, and on the little window where you filter for the model you want, it says: No mdl. files. I haven't found a solution for this on the internet, so it is probably a small little mistake I have made. Anyways, I hope someone can help me with this. Thanks! Unsigned comment added by Void skillzworld (talkcontribs). Please use four tildes (~~~~) to sign your username.

Changing the players default health in source sdk 2013 Episodic

Ok if someone could kindly point me the right way to change players default health (i.e. 100 -> 50) That'd be appreciated -GildedKinesis (talk) 03:11, 19 December 2018 (UTC)

A Couple of Problems

These are questions that I've already asked on this discussion page, but I think this might possibly be a better place to post it. (If I should remove it from the other page, please let me know.)

I've followed this tutorial, as well as one other in regards to custom menu features, and I simply cannot get my mod to display the image I set as a background image instead of the default Episode 2 background map, nor can I get my chapter thumbnail to show over the default Episode 2 thumbnail. I initially managed to get the background image to work when I first started working on the mod, but then I mounted content for Lost Coast and the Episodes following the information provided here and I've had this issue ever since. Any clue why this is happening?

Another issue I'm having is trying to figure out why my game over messages aren't displaying properly, if at all, when I trigger them. In my test level, I'm fiddling around with triggering a "stuck" game over. I've put the env_message value as both "GAMEOVER_STUCK" and "HL2REP_GAMEOVER_STUCK", in every variant of case sensitive/all caps and with and without a # at the beginning. I've yet to get the desired message to display. In some cases, I get "#HL2_GameOver_Stuck" as the message, in others I get nothing at all. Is there some sort of file compiling I've failed to do?

The first image is the relevant text in my hl2rep_english.txt file, renamed from hl2_english.txt. The second is the relevant text in my titles.txt file.

Mod Titles Error 1.png
Mod Titles Error 2.png

I sincerely appreciate any and all help anyone may be able to offer. Arrowing (talk) 00:14, 20 December 2018 (UTC)

B.d (talk) 11:22, 25 December 2018 (UTC) Connection to a Server hosted in same client's network

Good morning. This probably is not the right place but i need a place where to start. I am talking of a Left 4 Dead 2 dedicated server. So Source Engine,and this is why I am here. Naturally I have already tried and asked many times before to try here. I hope to solve a problem that afflicts me from years. Playing at L4D2 I loved the idea to have a server. I have also written a partial tutorial. https://forums.alliedmods.net/showthread.php?p=2020516#post2020516

The problem is that having the server on the same network of the client(me) i cannot connect to it through the normal game's option. No problem to connect through command like "connect" but i do not want this. In that tutorial I have already deal with this issue but not found a definitive solution. The command mm_force_dedicated_server was a good option till it was working but without apparently modification it do not works anymore or it works random. I thinks that this happens when the server are updated and something are changed with no control from the user. What i have understood is that the server is not able to handle a request of connection from a client that the server would expect from a remote IP but it arrive from an IP that is the same of the server itself. Hope someone can guide me in the right way. Thanks anyway.

Integration of Steam Community Announcements through API

It appears this question was posed here: https://developer.valvesoftware.com/wiki/Steam_Web_API/Feedback#Community_Announcements
It does not appear that there was ever a response to this question/request.
Is there a method I am missing to utilize the API to make community announcements?
My end goal is to create a Discord Bot which accepts inputs (from discord) and immediately pushes that to our community page on Steam, shortening the amount of steps our community managers need to perform.

Semihazard (talk) 17:15, 20 January 2019 (UTC)

vpk.exe is bad

vpk.exe does not work, i tried to convert a file to a vpk file but it does not work, vpk.exe just closes after 10 minutes and it does nothing. is there a way to convert a file to a vpk file without vpk.exe or is there a way to fix vpk.exe?