Well Hi folks!
first:
what parameters should I pass to the cstrike.exe or hl.exe to load a certain mod at start up?
second:
if you are familiar with the "network message names" , what names should be used to successfully register and employ data printout to the console and the hud ?
I have noticed (to the opposite of what botman says in thehpb_botman readme.txt ) that only a few names work(i.e TextMsg) ....a little bit confused
> what parameters should I pass to the cstrike.exe or hl.exe to load a certain mod at start up?
-game
> if you are familiar with the "network message names" , what names should be used to successfully register and employ data printout to the console and the hud ?
> what parameters should I pass to the cstrike.exe or hl.exe to load a certain mod at start up?
-game
> if you are familiar with the "network message names" , what names should be used to successfully register and employ data printout to the console and the hud ?
see the ClientPrint function
Not sure what you meant with "game" but using the mods name as parameter doesn't seem to work!
second:
I already saw ClientPrint() and I know that it uses "TextMsg" to register it's message but what I meant is that botman said in the hpb_bot readme file that any name could be used , which apparently isn't the case , so How is that?
To select game add to the command line for example
-game cstrike (to start CS) as Whistler pointed.
For the other question. Differend mods sends diffrend network messages when something happens in to the game. You can get all the avalable messages for this MOD by using HPB debug function. After you find it you can track them to see when you will resive specific message and what to do with it. For example if the game sends the message that the game team menu is opened you can track it and call the bots to choose a team.
If You really want to intercept all possible messages HL sents, take the AMX or AMX X sources. They really good figured out the intercept of all meesages. Good work of OLO.
Actually I wasn't looking after intercepting ALL messages...
I just wanted to get a way to print out some data on the console......that's it
and it has been successfully resolved !