TKC-Community

Hacking and Art => Vietcong 1 & 2 => Topic started by: Crossmol on May 19, 2006, 02:19:16 pm

Title: Bayonet question
Post by: Crossmol on May 19, 2006, 02:19:16 pm
I'm working to get a bayonet on every weapon. The knives, radiomap and Makarov are already working. I use the same method on the USM and I can stab the walls etc but not the players. Here's my code:
Code: [Select]
`w_bayonet 0.1 0.1 0.5 0.6
`w_b_new_bayonet
`w_b_repeat 8 0

`w_b_shot 0.0 25 0 0 0
`w_b_shot 0.6 23 0 0 0
`w_b_shot 0.6 24 25 0 0
`w_b_shot 0.6 24 25 0 0
 
`w_b_shot_snd 10241
`w_b_shot_snd_rev 0


Am I overlooking something?
Title: Bayonet question
Post by: ZOldDude on May 20, 2006, 03:35:13 am
Make a nade bayonett....now that would be cool!

Can you use non-weapon items?
Chair,table,tree,jeep?

PS: Frax just asked about CHICKEN,DUCK,BUTTERFLY,COW bayonetts.
Now THAT would be really funny!!

How about sounds when the guns fire that those close can hear? Chick-duck guns?

I like (as you know) to tease people in the game rather than kill them outright....like door knocking on a rock-tree next to them to make them search for me. The animal sounds would be a riot!
Title: Bayonet question
Post by: Crossmol on May 20, 2006, 05:09:32 am
Hm, I'll get back to you on this subject. Good ideas  :wink:
Title: Bayonet question
Post by: Crossmol on May 21, 2006, 12:00:01 am
Got these 100% working now:

- Knife bayonet
- Map bayonet
- Makarov bayonet
- Ammobag
- Medkit
- Grenade bayonet  :!:  (here you go Z  :wink: )

but back to topic, uh... any suggestions?
Title: Bayonet question
Post by: n00bly on May 21, 2006, 10:31:57 am
Ive also tried this with some error, some guns allow u to bayonet only one time, some will not kill (server based) try it on singleplayer to see if it kills if so its server based.
Title: Bayonet question
Post by: Crossmol on May 22, 2006, 03:52:38 am
Yeah, I was afraid of that. Well, I'll add them anyway and put a server up so I can use the bayonet on my M60  :wink:

ZoldDude wrote:
Quote
Can you use non-weapon items?


Well, I haved figured it out yet but there are some more items that we maybe can use (like money, flag etc)

Player killed by CrossmoL (money) would be cool  :lol:
Title: Bayonet question
Post by: Rav3n on July 03, 2006, 03:05:00 am
If you change the item to a weapon

example  `w_hud 0 = item `w_hud 1 = weapon

maybe it will work
Title: Bayonet question
Post by: Oynky on July 25, 2006, 11:32:32 pm
Haha i have found something evil.
Make the booby trap bayonet and kill ur own team.
I will see normal white kills, so no TK kicks.
This coud be very good when u wanna TK without getting noticed ;  )


-Edit-------
Whoeps, i prolly was on an non TK kick server when i ''tested'' it...
Nevermind guys.
Maybe if u make it shoot normal it wont kick, same as for claymore
Its still fun tho :P
U dont see the red tk line if u kill someone of ur own team with it.
But u do get kicked :P
Title: Re: Bayonet question
Post by: Oynky on August 17, 2006, 10:52:23 pm
I DID IT!
I MADE THE BAYONET SHOOT AUTOMATICLY AND THE SPREAD IS LIKE ALL AROUND ME.
LOL AT MY M16 ATM, SOON ALL MY WEAPONS.

(http://img258.imageshack.us/img258/3096/dell120060817194827xu5.png)

Shall i post it lol!
IT LAGS LIEK HELLOL
Title: Re: Bayonet question
Post by: Oynky on August 17, 2006, 11:05:26 pm
cross code:
Code: [Select]
`w_bayonet 0.1 0.1 0.5 0.6
`w_b_new_bayonet
`w_b_repeat 8 0

`w_b_shot 0.0 25 0 0 0
`w_b_shot 0.6 23 0 0 0
`w_b_shot 0.6 24 25 0 0
`w_b_shot 0.6 24 25 0 0
 
`w_b_shot_snd 10241
`w_b_shot_snd_rev 0


rubens code (possible by cross)

Code: [Select]
`w_b_new_bayonet 1 2751
`w_b_new 1 2751
`w_b_repeat? ? 50 0
Title: Re: Bayonet question
Post by: n00bly on August 19, 2006, 05:21:26 am
 Did it ages ago with the knife as shotgun its stupid if long distance sniping.
Title: Re: Bayonet question
Post by: [TKC] IC3M@N on September 08, 2006, 09:57:48 pm
For the bayo i found that work at all weapon only when the primary weapon can have by original the bayo, when not, than it dont work.
Title: Re: Bayonet question
Post by: [TKC]Russ on September 22, 2006, 04:08:47 am
the grenade bayonet is easy to do. if you want it zoldude find the topic "shooting items" that i started and look near the end  :icon_biggrin2
Title: Re: Bayonet question
Post by: [TKC]Russ on September 22, 2006, 07:02:44 am
oh yeah and crossmole. DEV IS GREAT!  :D