Home » BIT COMPOSER GAMES » JA:BiA Modding » New Ammo Troubles
New Ammo Troubles[message #305448] Fri, 01 June 2012 03:43 Go to previous message
Kaos1973 is currently offline Kaos1973

 
Messages:41
Registered:March 2012
I have an issue at the mo with some new ammo types that i have introduced.

914 338 Lapua Magnum
915 5.56mm linked belt ammo
916 7.62x39mm wp linked belt ammo
917 7.62mm Nato linked belt ammo

the ammo works as an item and it can be found around the global world space, but I can't get the new weapons to use it. They default to the first new ammo type defined (914 338LM). I suspect this is something simple but it has had me stumped for a few days now. :confused:

Any suggestions?

see below:

// 338LM
Ammunition (914)
{
Price 313
BoxSize 4
Weight 75
Ammunition 338LM
ArmorFactor 0.4
Icon 0 280 400 56 40
Picture 1 3 5 1

Deliverable
}

// M98B
Weapon (78, Rifle)
{
Weight 6120
Price 7274
ResourceId 3125
ShotEffectId 3977
// logic:
Damage 125
BestRange 85.0
StanceFactor 0 1
StanceFactor 1 0.4
StanceFactor 2 0.05
StanceFactor 3 0.2
ClipSize 10
GunType SniperRifle
Ammunition 338LM
Quality 700
RPM 180
Icon 0 0 0 112 40
Picture 0 3 6 3
AnchorPoint 0.0 1.1 0.2
Deliverable
}

// 556LK
Ammunition (915)
{
Price 450
BoxSize 30
Weight 15
Ammunition 556LK
ArmorFactor 1
Icon 0 560 320 56 40
Picture 8 8 3 1

Deliverable
}

// M249 SPW
Weapon (17, Rifle)
{
Weight 7500
Price 4443
ResourceId 3128
ShotEffectId 3973
// logic:
Damage 56
BestRange 35.0
StanceFactor 0 0.5
StanceFactor 1 0.4
StanceFactor 2 0.3
StanceFactor 3 0.5
Burst 10
ClipSize 150
GunType MachineGun
Ammunition 556LK
Quality 1200
RPM 850
Icon 0 896 0 112 40
Picture 1 0 0 3
AnchorPoint 0.0 1.3 -1.3
Deliverable
}

// 762wpLK
Ammunition (916)
{
Price 417
BoxSize 20
Weight 26
Ammunition 762wpLK
ArmorFactor 0.9
Icon 0 672 320 56 40
Picture 8 9 4 1

Deliverable
}

// RPD Carbine
Weapon (83, Rifle)
{
Weight 7400
Price 6087
ResourceId 3128
ShotEffectId 340
// logic:
Damage 65
BestRange 33.0
StanceFactor 0 0.5
StanceFactor 1 0.35
StanceFactor 2 0.3
StanceFactor 3 0.5
Burst 7
ClipSize 100
GunType MachineGun
Ammunition 762wpLK
Quality 1800
RPM 700
Icon 0 442 880 112 40
Picture 8 0 9 3
AnchorPoint 0.0 1.3 -1.3
Deliverable
}

// 762nLK
Ammunition (917)
{
Price 750
BoxSize 20
Weight 34
Ammunition 762nLK
ArmorFactor 0.6
Icon 0 616 320 56 40
Picture 8 9 3 1

Deliverable
}

// M60E4
Weapon (84, Rifle)
{
Weight 8500
Price 5550
ResourceId 3128
ShotEffectId 538
// logic:
Damage 85
BestRange 37.0
StanceFactor 0 0.5
StanceFactor 1 0.3
StanceFactor 2 0.2
StanceFactor 3 0.3
Burst 5
ClipSize 50
GunType MachineGun
Ammunition 762nLK
Quality 1500
RPM 600
Icon 0 336 880 112 40
Picture 8 7 8 3
AnchorPoint 0.0 1.3 -1.3
Deliverable
}

[Updated on: Fri, 01 June 2012 03:47] by Moderator

Report message to a moderator

Corporal
 
Read Message
Read Message
Read Message
Previous Topic: Modding BiA
Next Topic: Blue Dawn Mod for JA BiA
Goto Forum:
  


Current Time: Thu Apr 18 05:17:01 GMT+3 2024

Total time taken to generate the page: 0.01006 seconds