Silent 1-shot 1-kill weapon[message #249746]
|
Wed, 21 April 2010 00:53
|
|
Tyco |
![](/images/ranks/staff_sergeant.png) |
Messages:188
Registered:September 2001 Location: Be'er Sheva, Israel |
|
|
I'm trying to create a weapon with a 1-shot 1-kill chance like the throw knife. I thought maybe it is enough to make the weapon very silent and catch the enemy unaware, but evidently its not enough.
So, how can I make a weapon that has a chance for a 1-shot 1-kill roll but does not have uber-high damage by default?
Report message to a moderator
|
Staff Sergeant
|
|
|
|
|
|
|
|
Re: Silent 1-shot 1-kill weapon[message #249779]
|
Wed, 21 April 2010 15:08 ![Go to previous message Go to previous message](/theme/Bear_Classic_Brown/images/up.png)
|
|
usrbid |
![](http://thepit.ja-galaxy-forum.com/images/forums/ranks/mod_bpop2.png) ![](/images/ranks/sergeant_major.png) |
Messages:1506
Registered:December 2008 |
|
|
Uh, sexy pic, me likes!! (some parts of the gun look a little blurry, you need to hand pixel it a little)
So you need a one shot kill gun, hmmm...
I made a Warhammer 40,000 gun for Kaerar a while ago, it was a needler of some sort, I simply used the dart ammo type for the gun. Since the gun was burst-able, it worked pretty well, enemies fall unconscious after 3-5 hits.
You could make a new ammo type in AmmoTypes.xml and use multiple bullets to knock the enemy out with one "shot", maybe something like this:
28
Toxic Dart
136
4
1
3
1
1
1
1
1
1
1
1
0
0
0
9
1
1
0
0
0
1
0
0
0
1
0
0
Then you need to make a new ammo string in AmmoStrings.xml, something like this:
Then you need to add a magzine with the same amount of crossbow bolts as the gun has in Magazines.xml, and of course you need your Items.xml and Weapons.xml entries.
[Updated on: Wed, 21 April 2010 15:10] by Moderator Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
Re: Silent 1-shot 1-kill weapon[message #249982]
|
Fri, 23 April 2010 10:45 ![Go to previous message Go to previous message](/theme/Bear_Classic_Brown/images/up.png)
|
|
Tyco |
![](/images/ranks/staff_sergeant.png) |
Messages:188
Registered:September 2001 Location: Be'er Sheva, Israel |
|
|
mglThe good news is that the only condition on the weapon itself is that it uses the ammo type "AMMO_KNIFE", not that it is a throwing knife or bloody throwing knife.
If you can manage to create a weapon with that type of ammo, it's eligible for an instant death attack (and mercs with the "throwing" trait will have a better chance to succeed).
Thanks mgl.
There's no "throw knife" value in the MyWeapons text, so I tried setting the weapon's ammo USE ATTACK TYPE as throw knife. Didn't work.
Since the only way is through code, where can I find some resources on reading JA2 Gold code and editing it? I'll have a look and see if I have time to learn how to do that.
[Updated on: Fri, 23 April 2010 10:48] by Moderator Report message to a moderator
|
Staff Sergeant
|
|
|
|
|
|
|
|
|
|
|
|
Re: Silent 1-shot 1-kill weapon[message #250163]
|
Sat, 24 April 2010 09:31 ![Go to previous message Go to previous message](/theme/Bear_Classic_Brown/images/up.png)
|
|
Tyco |
![](/images/ranks/staff_sergeant.png) |
Messages:188
Registered:September 2001 Location: Be'er Sheva, Israel |
|
|
Will Gates But none of this is helping with Tyco's quest for crossbow.
Just point me in the direction of a hex-editing tutorial or some such and I'll take it from there.
By the way, how did you make a flamethrower?
ADDENDUM
Whatever happend to all the modding resources from Lords-of-the-bytes? Are they stored somewhere?
[Updated on: Sun, 25 April 2010 18:27] by Moderator Report message to a moderator
|
Staff Sergeant
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|