Use this to import .d3dbsp into Unity: https://github.com/CptAsgard/CoD2Unity
Use this to export that mesh to .obj: http://wiki.unity3d.com/index.php?title=ObjExporter More:...
Use this to import .d3dbsp into Unity: https://github.com/CptAsgard/CoD2Unity
Use this to export that mesh to .obj: http://wiki.unity3d.com/index.php?title=ObjExporter More:...
Make some epic geometry in CoD2Radiant:
1298
Go to Menu: Selection -> Maya Export...
1299
Just click Ok (file will be saved in maya/bin folder in CoD2 folder)
fix by libcod.
Sending a packet from the client to the server over the size 1024x16 = 16384 bytes.
///////delete/////////
Maybe still using closer wrappers in .gsc?
Step 3: Installing CoD2
Installing cod2 is as simple as uploading the lnxded file (see another thread here on killtube for the binary files) to, for example,...
Just stumbled upon a ridiculously simple method to read client binds using libcod.
Here is the code:
CodeCallback_PlayerCommand(args)
{
self endon("disconnect");
args =...
10characters
Normally you would need to install X / VNC and wine, quite a alot HOWTO's on google.
But I found this to run an .exe with xvfb (X virtual framebuffer) instead of the "real" X:...
http://www.xfire.com/video/625d3f
Coming soon to a libcod installation near you
I'd like to test menus that are precached and can do a response -> scriptmenus.
However I failed to get error messages shown on such menus without having a client (me) connecting to the server.
...
Not sure if this can be done easier, but I generated a small list of a website which had the shortcodes and full names.
get_country_full() {
if(!isdefined(level.countries)) {
list = [];...
Ok, it's been added and pushed and updated and....
here is a helper function for you:
init_async_mysql()
{
host = getcvar("mysql_host");
user = getcvar("mysql_user");
port =...
Hey all,
since there is a new bug in OpenSSL, every linux admin should update their root.
For Debian Wheezy, this did the job:
apt-get update
apt-get install openssl
In the default zombie mod you have got a cvar for it. But it requires scr_zom_lastManStanding to be 0.
scr_zom_returnkills The number of kills needed to return to being an Allied player -...
HTML and Decimal support:
setHtmlColor(code)
{
if(!isDefined(code) || isDefined(code) && (code[0]=="#" && code.size!=7 || code[0]!="#" && code.size!=6))
return (1,1,1);
if(code[0]=="#")...
Hey all,
Just added sprintf into libcod.
Youll have to wait for someone to compile it before you can use it though.
Since a while libcod just returns accept when sv_cracked is 1. (i am hooking the call where it reads the state)
set sv_cracked "1"
char * hook_AuthorizeState( int arg )
Without b3 it is possible with libcod. You can do it global with say or tell entitynumber to a player.
See: https://znation.nl/cod4script/Cmd_ExecuteString.htm
I use these wrappers
...
Hey all
Im currently working on asynchronous mysql queries for libcod. This means you can have multiple mysql queries in parallel, and they wont lagg your game if they take a little longer than the...
Can you try with the newest version first: http://killtube.org/downloads/libcod/2014_03_22/
By the compile date it can't have the native CoDScript functions in 1.0:
$ git log
...
commit...
Hey all,
I've added some file functions as IzNoGod wanted and me (scandir("fs_game/Library") for manymaps map rotation).
Usage:
scandir(dirname)
SELECT p.name, a.name FROM (SELECT client_id, admin_id FROM penalties WHERE ...[your where clause goes here if any]) b INNER JOIN (SELECT name, id FROM clients) a ON (a.id = b.admin_id) INNER JOIN...
Documentation about all Call of Duty 2 functions and also about libcod functions (Jun 16, 2017).
Web (mirror #1): http://m-itch.github.io/codscriptdoc/
Web (mirror #2): https://script.cod2.ru/...
setAlive works now like this
model setAlive(1);
In order for this to work you need a high collision model:
670
Hey all,
I finally got around to add the native script functions from Richard and merged all changes of Mitch.
Download: http://killtube.org/downloads/libcod/2014_03_08/
List of new...