29th November 2014, 07:44
I mostly use a cvar function to print my position and then i type 'condump log.txt' to dump my console log to a file.
27th September 2014, 18:32
This will crash the game in developer mode, so i would advise you to just properly initialize the array = [];
27th September 2014, 18:11
1.
Your array fields are structs, so you have to initialize it before you use it:
array = [];
array[array.size] = spawnStruct();
array[array.size - 1].key = value;
You can initialize an...
24th September 2014, 20:07
you could look in the extreme mod to see how they did their sniper zoom (by setting the client var cg_fov or something like that)
24th September 2014, 18:35
For your tracer effect: I had an issue with the fx playing on the impact if the angle between the fx and the surface was too high: this would cause the bullethole to become invisible, thus i had to...
23rd September 2014, 08:30
As there is no loop function running continuously, do not use an endon(). This will add to the max number of script variables allowed, and is completely unnecessary unless you have a loop function...
22nd September 2014, 20:53
Hey :)
I had some trouble while setting the alpha value of some huds by using the "fadeovertime()" function (sometimes when 2 funcs change the alpha value of a same hud, it kinda "flashes", or...
22nd September 2014, 16:03
I did my AC130 with 3 real weapons (modified rocket launcher, simply make them faster/ slower + no recoil etc) since u already use 3(?) custom weapon files for your killicon.
So you dont need to...
22nd September 2014, 09:48
init()
{
level.effects = [];
level.effects["large_bark"]=loadfx("fx/impacts/large_woodhit.efx");
level.effects["large_brick"]=loadfx("fx/impacts/large_brick.efx");
...
21st September 2014, 11:38
Camera controls:
Vertex mode (V key):
And more commands that you can see in in "Help" -> "Command list" (these are the commonly used ones)
17th September 2014, 08:53
Yea, it will be the time of the server. Since every player may life in a different timezone, you could add the time difference based on country (which can be obtained through the IP).
IzNoGod made...
17th September 2014, 06:28
You can use MySQL for this.
SELECT NOW()
http://dev.mysql.com/doc/refman/5.5/en/date-and-time-functions.html
16th September 2014, 23:15
That is not a valid materials file. You aren't saving your .GDT file in the right location. It has to go into [COD2 INSTALL]/source_data/[name_of_custom_file].gdt
Whenn you open Asset Manager,...
16th September 2014, 18:34
Maybe "white" instead of "black"? And then using the color attribute with low numbers like (0.3, 0.3, 0.3), which should turn it darkish (just guessing).
15th September 2014, 21:46
CoD2 uses two different kind of textures: iwi + material and @.tga files. Those @.tga files are leftovers from CoD1 can and should not be used as modding source. You should create a simple tga in...
15th September 2014, 12:50
Just 17 and such an end :(
Rest in Peace, STAUFFi! Tough times for the family ahead...
I've just google-translated it and fixed some errors:
15th September 2014, 12:04
I have some sad news. I just heard that Stauffi has died. RIP mate!
https://fbcdn-sphotos-b-a.akamaihd.net/hphotos-ak-xpf1/t31.0-8/10630564_701021749978674_4586270099861829470_o.jpg
I dont know...
13th September 2014, 13:18
No need to hack the client, the server is enough (aka libcod). :D
The player vote kick menu is sending ClientCommand's, which can be pre-processed and then ignored (so no vote will be called, just...
13th September 2014, 10:39
It is NOT possible without hacking the CoD2 exe to do this. The list is a FEEDER_LIST and interacts with cod2 uiscripts which cannot be modified only called via .menu.
However you can build your own...
11th September 2014, 14:13
Question from a PM
InjectDLL.exe works on Windows 8. (place it in the same directory as your cod2 install) + libcod.dll
The windows version of libcod has mysql support.
You can use xampp for...
10th September 2014, 14:47
http://www.patmansan.com/smf/
3rd September 2014, 19:04
- create a new custom weapon (or modify a standard one)
- in the weaponfile change the name of the hud indicator to your new material (guess its prefixed with 'hud_')
- precache the weapon in...
2nd September 2014, 17:12
I don't know, got another idea, which is working fine now :D
Modified your InjectDLL source, to keep it constantly watching the process list for CoD2 and then waiting till the server is closing....
2nd September 2014, 06:36
You can try it with libcod like explained here:
http://killtube.org/showthread.php?1940-Kicking-bots&p=9963&viewfull=1#post9963