Re: [hlcoders] Weapon script overrides

2010-11-27 Thread Saul Rennison
I'm afraid that DEFINE_AUTO_ARRAY_KEYFIELD is broken. That's why you can't
set the spotlight texture in the Hammer entity properties dialog, a proper
fix would be to change:

#define DEFINE_AUTO_ARRAY_KEYFIELD(name,fieldtype,mapname) _FIELD(name,
fieldtype, SIZE_OF_ARRAY(((classNameTypedef *)0)-name), FTYPEDESC_SAVE,
mapname, 0 )

to

#define DEFINE_AUTO_ARRAY_KEYFIELD(name,fieldtype,mapname) _FIELD(name,
fieldtype, SIZE_OF_ARRAY(((classNameTypedef *)0)-name), FTYPEDESC_KEY |
FTYPEDESC_SAVE, mapname, 0 )

Note how the second has the FTYPEDESC_KEY flag set (which should be set for
all KEYFIELD data descs). This automatically does the networked var value
setting instead of manually in ::KeyValue

Thanks,
 - Saul.


On 26 November 2010 22:58, Nova Silisko novasili...@gmail.com wrote:

 Also, in env_projectedtexture.cpp there is:

 DEFINE_AUTO_ARRAY_KEYFIELD( m_SpotlightTextureName, FIELD_CHARACTER,
 texturename ),

 Does this mean it doesn't need a Keyvalues() function or is it something
 else?
 ___
 To unsubscribe, edit your list preferences, or view the list archives,
 please visit:
 http://list.valvesoftware.com/mailman/listinfo/hlcoders


___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



[hlcoders] AppID 217?

2010-11-27 Thread Andy Nemer
Hello all,

One of our users is having a bit of a problem launching our mod. This is the
error he's getting:

MountFilesystem( 217 ) failed:

SteamMountFilesystem(4532,217,0x53afd28=,0x53afc18) failed with error 116:

Cache needs repair


Now I've seen this error before and we've gone through every step
conceivable (short of uninstalling/reinstalling Steam) to try and resolve
it.

The part that bothers me is the AppID in the error message (217). That ID
isn't listed anywhere on the VDC, so I'm not sure to what it's referring.
I'm hoping one of you might have the answer.

Since this may be of use, here's what we have in the FileSystem section of
our gameinfo.txt file:

FileSystem

{

SteamAppId 218

ToolsAppId 211

AdditionalContentId 320


 SearchPaths

{

Game |gameinfo_path|.

Game |all_source_engine_paths|hl2mp

Game |all_source_engine_paths|hl2

}

}


and in steam.inf:

appid=218



Any information would be greatly appreciated!


Best regards,

Andy

-- 
Andy Nemer
Overwatch Mod

an...@overwatchmod.com
http://www.overwatchmod.com/
___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



Re: [hlcoders] AppID 217?

2010-11-27 Thread Didrole
[217] Multiplayer OB Binaries

2010/11/27 Andy Nemer an...@overwatchmod.com

 Hello all,

 One of our users is having a bit of a problem launching our mod. This is
 the
 error he's getting:

 MountFilesystem( 217 ) failed:

 SteamMountFilesystem(4532,217,0x53afd28=,0x53afc18) failed with error 116:

 Cache needs repair


 Now I've seen this error before and we've gone through every step
 conceivable (short of uninstalling/reinstalling Steam) to try and resolve
 it.

 The part that bothers me is the AppID in the error message (217). That ID
 isn't listed anywhere on the VDC, so I'm not sure to what it's referring.
 I'm hoping one of you might have the answer.

 Since this may be of use, here's what we have in the FileSystem section of
 our gameinfo.txt file:

 FileSystem

 {

 SteamAppId 218

 ToolsAppId 211

 AdditionalContentId 320


  SearchPaths

 {

 Game |gameinfo_path|.

 Game |all_source_engine_paths|hl2mp

 Game |all_source_engine_paths|hl2

 }

 }


 and in steam.inf:

 appid=218



 Any information would be greatly appreciated!


 Best regards,

 Andy

 --
 Andy Nemer
 Overwatch Mod

 an...@overwatchmod.com
 http://www.overwatchmod.com/
 ___
 To unsubscribe, edit your list preferences, or view the list archives,
 please visit:
 http://list.valvesoftware.com/mailman/listinfo/hlcoders


___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



Re: [hlcoders] AppID 217?

2010-11-27 Thread Andy Nemer
I see. Not sure where you found that, but thanks!


Andy


On 27 November 2010 17:38, Didrole didr...@gmail.com wrote:

 [217] Multiplayer OB Binaries

 2010/11/27 Andy Nemer an...@overwatchmod.com

  Hello all,
 
  One of our users is having a bit of a problem launching our mod. This is
  the
  error he's getting:
 
  MountFilesystem( 217 ) failed:
 
  SteamMountFilesystem(4532,217,0x53afd28=,0x53afc18) failed with error
 116:
 
  Cache needs repair
 
 
  Now I've seen this error before and we've gone through every step
  conceivable (short of uninstalling/reinstalling Steam) to try and resolve
  it.
 
  The part that bothers me is the AppID in the error message (217). That ID
  isn't listed anywhere on the VDC, so I'm not sure to what it's referring.
  I'm hoping one of you might have the answer.
 
  Since this may be of use, here's what we have in the FileSystem section
 of
  our gameinfo.txt file:
 
  FileSystem
 
  {
 
  SteamAppId 218
 
  ToolsAppId 211
 
  AdditionalContentId 320
 
 
   SearchPaths
 
  {
 
  Game |gameinfo_path|.
 
  Game |all_source_engine_paths|hl2mp
 
  Game |all_source_engine_paths|hl2
 
  }
 
  }
 
 
  and in steam.inf:
 
  appid=218
 
 
 
  Any information would be greatly appreciated!
 
 
  Best regards,
 
  Andy
 
  --
  Andy Nemer
  Overwatch Mod
 
  an...@overwatchmod.com
  http://www.overwatchmod.com/
  ___
  To unsubscribe, edit your list preferences, or view the list archives,
  please visit:
  http://list.valvesoftware.com/mailman/listinfo/hlcoders
 
 
 ___
 To unsubscribe, edit your list preferences, or view the list archives,
 please visit:
 http://list.valvesoftware.com/mailman/listinfo/hlcoders




-- 
Andy Nemer
Overwatch Mod

an...@overwatchmod.com
http://www.overwatchmod.com/
___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



Re: [hlcoders] AppID 217?

2010-11-27 Thread Matt Hoffman
http://developer.valvesoftware.com/wiki/SteamAppId

On Sat, Nov 27, 2010 at 3:20 PM, Andy Nemer an...@overwatchmod.com wrote:

 I see. Not sure where you found that, but thanks!


 Andy


 On 27 November 2010 17:38, Didrole didr...@gmail.com wrote:

  [217] Multiplayer OB Binaries
 
  2010/11/27 Andy Nemer an...@overwatchmod.com
 
   Hello all,
  
   One of our users is having a bit of a problem launching our mod. This
 is
   the
   error he's getting:
  
   MountFilesystem( 217 ) failed:
  
   SteamMountFilesystem(4532,217,0x53afd28=,0x53afc18) failed with error
  116:
  
   Cache needs repair
  
  
   Now I've seen this error before and we've gone through every step
   conceivable (short of uninstalling/reinstalling Steam) to try and
 resolve
   it.
  
   The part that bothers me is the AppID in the error message (217). That
 ID
   isn't listed anywhere on the VDC, so I'm not sure to what it's
 referring.
   I'm hoping one of you might have the answer.
  
   Since this may be of use, here's what we have in the FileSystem section
  of
   our gameinfo.txt file:
  
   FileSystem
  
   {
  
   SteamAppId 218
  
   ToolsAppId 211
  
   AdditionalContentId 320
  
  
SearchPaths
  
   {
  
   Game |gameinfo_path|.
  
   Game |all_source_engine_paths|hl2mp
  
   Game |all_source_engine_paths|hl2
  
   }
  
   }
  
  
   and in steam.inf:
  
   appid=218
  
  
  
   Any information would be greatly appreciated!
  
  
   Best regards,
  
   Andy
  
   --
   Andy Nemer
   Overwatch Mod
  
   an...@overwatchmod.com
   http://www.overwatchmod.com/
   ___
   To unsubscribe, edit your list preferences, or view the list archives,
   please visit:
   http://list.valvesoftware.com/mailman/listinfo/hlcoders
  
  
  ___
  To unsubscribe, edit your list preferences, or view the list archives,
  please visit:
  http://list.valvesoftware.com/mailman/listinfo/hlcoders
 
 


 --
 Andy Nemer
 Overwatch Mod

 an...@overwatchmod.com
 http://www.overwatchmod.com/
 ___
 To unsubscribe, edit your list preferences, or view the list archives,
 please visit:
 http://list.valvesoftware.com/mailman/listinfo/hlcoders


___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



Re: [hlcoders] Weapon script overrides

2010-11-27 Thread Nova Silisko
All that's really worrying me right now is the fact that it seems to be
impossible to get the string itself to actually network to the client..

Here's the latest code by the way:

(I updated DEFINE_AUTO_ARRAY_KEYFIELD like you suggested, by the way)

http://pastebin.com/uYxviT6W
http://pastebin.com/TUcupE1T

I'm frankly about ready to give up on thisI'd like to at least get a
rough build going, even if it's sloppy and inefficient, just a bare minimum
of allowing me to even START the project would be lovely.
___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



Re: [hlcoders] AppID 217?

2010-11-27 Thread Andy Nemer
It's not in that list, that's the first place I looked. Either that or I'm
completely blind.


Andy


On 27 November 2010 18:25, Matt Hoffman lord.matt.hoff...@gmail.com wrote:

 http://developer.valvesoftware.com/wiki/SteamAppId

 On Sat, Nov 27, 2010 at 3:20 PM, Andy Nemer an...@overwatchmod.com
 wrote:

  I see. Not sure where you found that, but thanks!
 
 
  Andy
 
 
  On 27 November 2010 17:38, Didrole didr...@gmail.com wrote:
 
   [217] Multiplayer OB Binaries
  
   2010/11/27 Andy Nemer an...@overwatchmod.com
  
Hello all,
   
One of our users is having a bit of a problem launching our mod. This
  is
the
error he's getting:
   
MountFilesystem( 217 ) failed:
   
SteamMountFilesystem(4532,217,0x53afd28=,0x53afc18) failed with error
   116:
   
Cache needs repair
   
   
Now I've seen this error before and we've gone through every step
conceivable (short of uninstalling/reinstalling Steam) to try and
  resolve
it.
   
The part that bothers me is the AppID in the error message (217).
 That
  ID
isn't listed anywhere on the VDC, so I'm not sure to what it's
  referring.
I'm hoping one of you might have the answer.
   
Since this may be of use, here's what we have in the FileSystem
 section
   of
our gameinfo.txt file:
   
FileSystem
   
{
   
SteamAppId 218
   
ToolsAppId 211
   
AdditionalContentId 320
   
   
 SearchPaths
   
{
   
Game |gameinfo_path|.
   
Game |all_source_engine_paths|hl2mp
   
Game |all_source_engine_paths|hl2
   
}
   
}
   
   
and in steam.inf:
   
appid=218
   
   
   
Any information would be greatly appreciated!
   
   
Best regards,
   
Andy
   
--
Andy Nemer
Overwatch Mod
   
an...@overwatchmod.com
http://www.overwatchmod.com/
___
To unsubscribe, edit your list preferences, or view the list
 archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders
   
   
   ___
   To unsubscribe, edit your list preferences, or view the list archives,
   please visit:
   http://list.valvesoftware.com/mailman/listinfo/hlcoders
  
  
 
 
  --
  Andy Nemer
  Overwatch Mod
 
  an...@overwatchmod.com
  http://www.overwatchmod.com/
  ___
  To unsubscribe, edit your list preferences, or view the list archives,
  please visit:
  http://list.valvesoftware.com/mailman/listinfo/hlcoders
 
 
 ___
 To unsubscribe, edit your list preferences, or view the list archives,
 please visit:
 http://list.valvesoftware.com/mailman/listinfo/hlcoders




-- 
Andy Nemer
Overwatch Mod

an...@overwatchmod.com
http://www.overwatchmod.com/
___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



Re: [hlcoders] AppID 217?

2010-11-27 Thread Matt Hoffman
Sigh, that's what I get for not reading/looking myself. :(

On Sat, Nov 27, 2010 at 4:19 PM, Andy Nemer an...@overwatchmod.com wrote:

 It's not in that list, that's the first place I looked. Either that or I'm
 completely blind.


 Andy


 On 27 November 2010 18:25, Matt Hoffman lord.matt.hoff...@gmail.com
 wrote:

  http://developer.valvesoftware.com/wiki/SteamAppId
 
  On Sat, Nov 27, 2010 at 3:20 PM, Andy Nemer an...@overwatchmod.com
  wrote:
 
   I see. Not sure where you found that, but thanks!
  
  
   Andy
  
  
   On 27 November 2010 17:38, Didrole didr...@gmail.com wrote:
  
[217] Multiplayer OB Binaries
   
2010/11/27 Andy Nemer an...@overwatchmod.com
   
 Hello all,

 One of our users is having a bit of a problem launching our mod.
 This
   is
 the
 error he's getting:

 MountFilesystem( 217 ) failed:

 SteamMountFilesystem(4532,217,0x53afd28=,0x53afc18) failed with
 error
116:

 Cache needs repair


 Now I've seen this error before and we've gone through every step
 conceivable (short of uninstalling/reinstalling Steam) to try and
   resolve
 it.

 The part that bothers me is the AppID in the error message (217).
  That
   ID
 isn't listed anywhere on the VDC, so I'm not sure to what it's
   referring.
 I'm hoping one of you might have the answer.

 Since this may be of use, here's what we have in the FileSystem
  section
of
 our gameinfo.txt file:

 FileSystem

 {

 SteamAppId 218

 ToolsAppId 211

 AdditionalContentId 320


  SearchPaths

 {

 Game |gameinfo_path|.

 Game |all_source_engine_paths|hl2mp

 Game |all_source_engine_paths|hl2

 }

 }


 and in steam.inf:

 appid=218



 Any information would be greatly appreciated!


 Best regards,

 Andy

 --
 Andy Nemer
 Overwatch Mod

 an...@overwatchmod.com
 http://www.overwatchmod.com/
 ___
 To unsubscribe, edit your list preferences, or view the list
  archives,
 please visit:
 http://list.valvesoftware.com/mailman/listinfo/hlcoders


___
To unsubscribe, edit your list preferences, or view the list
 archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders
   
   
  
  
   --
   Andy Nemer
   Overwatch Mod
  
   an...@overwatchmod.com
   http://www.overwatchmod.com/
   ___
   To unsubscribe, edit your list preferences, or view the list archives,
   please visit:
   http://list.valvesoftware.com/mailman/listinfo/hlcoders
  
  
  ___
  To unsubscribe, edit your list preferences, or view the list archives,
  please visit:
  http://list.valvesoftware.com/mailman/listinfo/hlcoders
 
 


 --
 Andy Nemer
 Overwatch Mod

 an...@overwatchmod.com
 http://www.overwatchmod.com/
 ___
 To unsubscribe, edit your list preferences, or view the list archives,
 please visit:
 http://list.valvesoftware.com/mailman/listinfo/hlcoders


___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



Re: [hlcoders] Weapon script overrides

2010-11-27 Thread Nova Silisko
Yaay the custom build step managed to break itself.
___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



Re: [hlcoders] Weapon script overrides

2010-11-27 Thread Nova Silisko
As it turns out:

The Msg command not working was due to it being in the Spawn function.
In hud_weaponselection.cpp, the weapon name is pulled from the script, not
the actual GetPrintName() function.

Now I have a temporarily workable solution, just without viewmodels.
___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders