TKC-Community

Hacking and Art => Vietcong 1 & 2 => Demos => Topic started by: Oynky on September 10, 2005, 11:07:17 am

Title: Unlimeded ammo/ Light weapons (vc2 mpdemo)
Post by: Oynky on September 10, 2005, 11:07:17 am
Simple open weap.txt in ini folder when you have it extractid.

now choose your weapon, uhmm.. like the ak..

you will see this part
//-------------------------------------------------------------------------------------
// AK47
//-------------------------------------------------------------------------------------
`w_new          2 2030 2230
`w_animgroup      K
`w_slot       3
`w_stamina      180
`w_model       AK47
`w_ai_props       0 0 10
`w_use          1 0 0
`w_magazine       0 3 999 4.52
`w_mag_reload       0  1.93  0
`w_aimswing      1.7   1.1    1.3  1.61     0.93  1.97  6.11


now modify the big number to what ammo you want in an magazine.

//-------------------------------------------------------------------------------------
// AK47
//-------------------------------------------------------------------------------------
`w_new          2 2030 2230
`w_animgroup      K
`w_slot       3
`w_stamina      180
`w_model       AK47
`w_ai_props       0 0 10
`w_use          1 0 0
`w_magazine       0 3 999 4.52
`w_mag_reload       0  1.93  0
`w_aimswing      1.7   1.1    1.3  1.61     0.93  1.97  6.11



I may add this i mean, its at the same part.. you see

`w_stamina      180
new lets change that to 10... lol
now you can run longer with it like all the time.... hehehe
and normally you walk as FASTER X2 with your knife but i dont know shure... i do knw that you can run longer with the weapon for ever..

nevermind.. lol
just change it to uhm 80
Title: Unlimeded ammo/ Light weapons (vc2 mpdemo)
Post by: Jimmy on September 10, 2005, 11:17:24 am
Change stamina to -999 ;)
Title: Unlimeded ammo/ Light weapons (vc2 mpdemo)
Post by: Blizzard on September 10, 2005, 07:13:32 pm
Is it normal that i get a cbf about 200Mb higher than the original (just modified a txt...) after the repack? I tried some weap hacks and get kicked after a while  :?
Title: Unlimeded ammo/ Light weapons (vc2 mpdemo)
Post by: [TKC]thejoker on September 10, 2005, 07:20:51 pm
Quote from: Blizzard
Is it normal that i get a cbf about 200Mb higher than the original (just modified a txt...) after the repack? I tried some weap hacks and get kicked after a while  :?


That seems to be happening to everyone. It is very weird.
Title: Unlimeded ammo/ Light weapons (vc2 mpdemo)
Post by: Blizzard on September 10, 2005, 07:37:32 pm
Well if that's probably the reason for which i get kicked after 2 minutes, how could it work for anybody?
Title: Unlimeded ammo/ Light weapons (vc2 mpdemo)
Post by: Oynky on September 10, 2005, 08:03:04 pm
mines crashed aload... :( might be an modivied thing that i shoutent had to mod :P
Title: Unlimeded ammo/ Light weapons (vc2 mpdemo)
Post by: M. O. on September 10, 2005, 08:29:55 pm
Do you actually have to repack the cbf?
Title: Unlimeded ammo/ Light weapons (vc2 mpdemo)
Post by: Jimmy on September 11, 2005, 03:09:11 am
Quote from: Mullah Omar
Do you actually have to repack the cbf?



EDIT:

You have to repack, otherwise you will crash while joining a server
Title: Unlimeded ammo/ Light weapons (vc2 mpdemo)
Post by: Blizzard on September 11, 2005, 05:18:48 am
So what's wrong in what i do? I extract the cbf, modify the weap.txt (for example), repack back into cbf and play.
Title: Unlimeded ammo/ Light weapons (vc2 mpdemo)
Post by: LastResort on September 11, 2005, 07:18:11 am
Yeah but you have to change some of the .cbf names.

Change "vc2onlindemo.cbf" to "vc2onlindemo.real" and change "vc2onlindemo.cheat" to "vc2onlindemo.cbf".

That way your new cheat file will run in VC2...

At least i think thats right.. :wink:
Title: Unlimeded ammo/ Light weapons (vc2 mpdemo)
Post by: Jimmy on September 11, 2005, 03:32:43 pm
Quote from: LastResort
Yeah but you have to change some of the .cbf names.

Change "vc2onlindemo.cbf" to "vc2onlindemo.real" and change "vc2onlindemo.cheat" to "vc2onlindemo.cbf".

That way your new cheat file will run in VC2...

At least i think thats right.. :wink:


IF you have unpacked the data, en changed some data,
()IE INI/weap.txt)
make sure you repack it, and name it vc2onlindemo.cbf.
Just stick it in the vietcong2-online demo folder, and run the vietcong2.exe.

Make sure you keep a backup of your original vc2onlindemo.cbf,
might come in handy.
Title: Unlimeded ammo/ Light weapons (vc2 mpdemo)
Post by: Blizzard on September 11, 2005, 04:51:06 pm
Ok seems that there is another change to do for hack the RPG magazine, maybe i got kicked for that (I set the magazine to 999 but the max ammo were still set to 2).
Title: Unlimeded ammo/ Light weapons (vc2 mpdemo)
Post by: Crossmol on September 11, 2005, 07:01:25 pm
Can it be that it's counting upwards and downwards at the same time like the nades in vc1?
Title: Unlimeded ammo/ Light weapons (vc2 mpdemo)
Post by: Jimmy on September 11, 2005, 07:23:53 pm
Quote from: Blizzard
Ok seems that there is another change to do for hack the RPG magazine, maybe i got kicked for that (I set the magazine to 999 but the max ammo were still set to 2).



Change the following line at one of the weapons in the weap.txt.

`w_magazine       0 32 9999 3.90
Title: Unlimeded ammo/ Light weapons (vc2 mpdemo)
Post by: Blizzard on September 11, 2005, 07:35:06 pm
The Rpg ammo hack wont work in that way, u must change even the max ammo number ( `a_ammotype 31 2121 999 1 1)
Title: Unlimeded ammo/ Light weapons (vc2 mpdemo)
Post by: Oynky on September 11, 2005, 08:19:54 pm
Yeah had that.. but when i wanted to pick one up at DM i saw that it was at 999 but after an second it crashed// :?
Title: Unlimeded ammo/ Light weapons (vc2 mpdemo)
Post by: Jimmy on September 11, 2005, 08:26:30 pm
Quote from: Blizzard
The Rpg ammo hack wont work in that way, u must change even the max ammo number ( `a_ammotype 31 2121 999 1 1)


Oh sorry m8, didnt read the RPG part of your post  :oops:
Title: Unlimeded ammo/ Light weapons (vc2 mpdemo)
Post by: Blizzard on September 11, 2005, 08:30:02 pm
Anyway i can get the rpg (like all other weaps) inf ammo working but sometimes I still get kicked for cheating.
Title: Unlimeded ammo/ Light weapons (vc2 mpdemo)
Post by: [TKC]Snake on September 11, 2005, 08:41:01 pm
Were u been boy?
Title: Unlimeded ammo/ Light weapons (vc2 mpdemo)
Post by: Blizzard on September 12, 2005, 12:28:24 am
hanging around, not near the pc  8)
Title: Unlimeded ammo/ Light weapons (vc2 mpdemo)
Post by: [TKC]Snake on September 12, 2005, 12:44:31 am
Mkay :|
Title: Re: Unlimeded ammo/ Light weapons (vc2 mpdemo)
Post by: Fucked up on August 13, 2007, 03:49:06 pm
is w_repeat the setting for rounds-per-minute?

How can i make the weap.txt cheat undetectet??