Cmds like map_restart are static and can only be added through engine itself.
But you can edit libcod and add your own cmds there by using Cmd_AddCommand
...
Type: Posts; User: voron00
Cmds like map_restart are static and can only be added through engine itself.
But you can edit libcod and add your own cmds there by using Cmd_AddCommand
...
Not like this, self [[level.spectator]](); is all you need to move player to spec.
moveplayer()
{
self [[level.spectator]]();
}
self [[level.spectator]]();
https://github.com/voron00/libcod/commit/06837e16e8cbf00f4f2aff2b596986159d835c75
Added this into libcod, just call setAnim on player corpse now.
BratokHR found an interesting way to change an animation of a player clone:
clone_addModel( origin, angles, indexModel )
{
level.g_cloneplayer endon( "disconnect" );
level.g_cloneplayer...
yeah its some sort of engine bug, the only solution i could find is to switch team for a player, then trigger starts to work fine again.
The 'sequence' param is what you're looking for.
...
There is simply no hitbox for those models. However, a splash damage will still work (grenades, projectiles).
If you mean setWaypoint() function for a HUD-element then the limit is 32: https://github.com/voron00/libcod/blob/master/declarations.hpp#L883
An .archived=true field makes HUD-element to be...
Check sv_master1...2..3..4..5 cvars. Make sure sv_master0 is set to cod2master.activision.com. Also don't use a modded binary with llibcod, libcod already has all necessary patches in it (va,...
If i remember correctly, some offsets for cod4 in libcod are incorrect, at least i had to correct playercommand offset the last time i tried it.
Why not use cod4x? I think it does have a mysql...
I didn't say it's better than OBS, just a easy way to quickly record something when needed.
Windows 10's Game DVR.
undefined is not a field object: (file 'scripts/main.gsc', line 2074)
if( GetSubStr(self.blocker.targetname, 0, 1) == "wc")
if (!isDefined(self.blocker.targetname))
return;
i tried to contact them a while ago on all emails i could find, nothing.
Also if you want server list you can just use master.cod2.ru as your hosts file:
1604
...
GetEntByNum() is one of those functions with a developer flag, they only work in a /# ... #/ comments like:
/#
entity = clientNumToEntity( int(result[0]));
if(result[1]=="OK"){
...
dosomething_result_async(result)
{
//level notify("stop_async");
entity = clientNumToEntity( int(result[0]));
if(result[1]=="OK"){
entity iprintln("OK");
}
else{
...
Your best option is to create a login system and store whatever data you want to associate with login in mysql/sqlite databases....
It's possible, however with a little trick that code allows to get player's cd-key and proably shouldn't be posted here.
Easier to just edit a hosts file instead. Nice find though, but since all servers and clients gonna need to either edit hosts or hack the binary, its hardly an ideal solution.
Renaming trick no longer works for me in 1903 version :rip:
Check your server.log if it actually has your messages, maybe g_logSync is off or you just pointed to a wrong log file.
You can run some events on a player with G_AddPredictableEvent like stance, shoot, melee etc. but for other than that you have to use clientcmd menu:...
No, every possible button events are already in libcod, and you can also hook F1 and F2 keys via playercommand. But there is some old menu trick, see...
Also as a workaround was to use CoD2MPWindowed https://github.com/Si13n7/CoD2MPWindowed, but this app no longer works on win10 1809.