give [item] help -1 reply

Please wait...

Ingolf_ont

GF makes me horny

50 XP

27th August 2002

0 Uploads

65 Posts

0 Threads

#1 15 years ago

hey guys, i was playing rtcw sp today, and i tried cheating for the first tiem in like a while. ive beatnen the game like 4 times. so.... now i was wondering, n the cmd list, you can use the spawn cheat (give [item]. the item being a weapon or w/e. now, cna u add a code line somewhere so that u can spawn a picture in the game, or a weapon that u made? like i have a picture of say a cat, and can i put /give cat?? just wondeirng, thanks guys




Hewster

WildWest Creator

50 XP

26th October 2002

0 Uploads

1,044 Posts

0 Threads

#2 15 years ago
Originally posted by Ingolf_ont now, can u add a code line somewhere so that u can spawn a picture in the game, or a weapon that u made? like i have a picture of say a cat, and can i put /give cat??

I presume you mean a model of a picture with a texture of a cat on it ?

Basically though... yes you could write such an action into a mod :)

Hewster




Ingolf_ont

GF makes me horny

50 XP

27th August 2002

0 Uploads

65 Posts

0 Threads

#3 15 years ago

ok, now does anybody have any idea about how i end up doing that???




Resolution 208

I'm too cool to Post

50 XP

26th November 2002

0 Uploads

13 Posts

0 Threads

#4 15 years ago

Download the RTCW source code.

Modify the source code to do what you want it to do.

Recompile.

Run.

I hope you have a BSc In Computer Science and understand the C/C++ programming language. I estimate it would take about a week to modify the code to do what you want; assuming you;re familliar with TRUE computer programming.

I will include the following:

void main(int argc, char *argv[]) { int iter=0; char buffer[1024]; FILE *handle;

for (iter=0; iter0) { handle = fopen(argv[1], "r") gets(buffer, handle, 1024); printf("%s - %.02d - %s\n", argv[1], iter, (char *)buffer); if feof(handle==NULL) { fclose(handle); exit(0); } } }

If you did not unserstand what I just wrote.. perhaps MODDING is not for you. - R208.