Is it possible [ammo resupply]?

Suggestions from our community members for PR:BF2. Read the stickies before posting.
Post Reply
Farks
Posts: 2069
Joined: 2007-01-20 00:08

Is it possible [ammo resupply]?

Post by Farks »

Is it possible to set what kind of ammo certain ammo sources will give? In that case, objects like rally points could give bullets only (no grenades, explosives, etc). A fair way to get more ammo sources back.
Expendable Grunt
Posts: 4730
Joined: 2007-03-09 01:54

Post by Expendable Grunt »

Nop.
Image


Former [DM] captain.

The fact that people are poor or discriminated against doesn't necessarily endow them with any special qualities of justice, nobility, charity or compassion. - Saul Alinsky
zangoo
Posts: 978
Joined: 2007-09-01 03:42

Post by zangoo »

umm, there is diffrent types of ammo, like the apache wouldnt get missiles off a rally as far as i know. i will look into it i know there is something that is in controll of what type of ammo gets reload, how fast and how muhc it gets reloaded.
nedlands1
Posts: 1467
Joined: 2006-05-28 09:50

Post by nedlands1 »

I tried coding this but with no success. I could get it to give X amount of ammo type Y but not in conjunction with A amount of ammo type B.
Image
Alex6714
Posts: 3900
Joined: 2007-06-15 22:47

Post by Alex6714 »

Well tanks can now not re arm from crates but infantry can etc... How is the ammo divided?
"Today's forecast calls for 30mm HE rain with a slight chance of hellfires"


"oh, they're fire and forget all right...they're fired then they forget where the target is"
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Post by Rhino »

put it this way, if it was possible we would have done it a long time ago ;)
Image
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Post by Rhino »

Alex6714 wrote:Well tanks can now not re arm from crates but infantry can etc... How is the ammo divided?
there are preset groups in vBF2, like only jets can rearm at a air filed, and choppers can only rearm at heli pads etc and tanks etc cant rearm on them. we have just tweaked them as much as we can.
Image
gclark03
Posts: 1591
Joined: 2007-11-05 02:01

Post by gclark03 »

There's no way to say that, for example, the AT, AA, and Engineer kits can only resupply at Commander structures and crates?
Expendable Grunt
Posts: 4730
Joined: 2007-03-09 01:54

Post by Expendable Grunt »

[R-CON]nedlands1 wrote:I tried coding this but with no success. I could get it to give X amount of ammo type Y but not in conjunction with A amount of ammo type B.
You've intrigued me.

Does this mean you can give, for example, Rifleman Ammo a bag that resupplies a small amount of X, and a second bag with a small amount of Y, where X is <all rifles, or just certain types>, and y is <LAT rockets>?
Image


Former [DM] captain.

The fact that people are poor or discriminated against doesn't necessarily endow them with any special qualities of justice, nobility, charity or compassion. - Saul Alinsky
AnRK
Posts: 2136
Joined: 2007-03-27 14:17

Post by AnRK »

Yeah that sounds damn useful. At least we could keep AT missle separate from rifle rounds etc.
nedlands1
Posts: 1467
Joined: 2006-05-28 09:50

Post by nedlands1 »

Expendable Grunt wrote:You've intrigued me.

Does this mean you can give, for example, Rifleman Ammo a bag that resupplies a small amount of X, and a second bag with a small amount of Y, where X is <all rifles, or just certain types>, and y is <LAT rockets>?
I could. Another possibility would be to make it supply everything but several things (eg H-AT rockets) and of course vehicle ammo.

To expand on what Rhino said, "ObjectTemplate.workOnVehicles 0" in the right spot makes ammo supplies work on infantry only and "ObjectTemplate.workOnSoldiers 0" makes it only work on vehicles. You can also team lock ammo supplies too.
Image
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Post by Rhino »

[R-CON]nedlands1 wrote:To expand on what Rhino said, "ObjectTemplate.workOnVehicles 0" in the right spot makes ammo supplies work on infantry only and "ObjectTemplate.workOnSoldiers 0" makes it only work on vehicles. You can also team lock ammo supplies too.
you can do more than that..

ObjectTemplate.teamFromClosestCP 1 = only supplys team that has the CP closest to it.
ObjectTemplate.addVehicleType 2 = diffrent vehicle type, 2 I think is choppers, 3 is Jets, cant remember them all off the top of my head.
Image
Expendable Grunt
Posts: 4730
Joined: 2007-03-09 01:54

Post by Expendable Grunt »

[R-CON]nedlands1 wrote:I could. Another possibility would be to make it supply everything but several things (eg H-AT rockets) and of course vehicle ammo.

To expand on what Rhino said, "ObjectTemplate.workOnVehicles 0" in the right spot makes ammo supplies work on infantry only and "ObjectTemplate.workOnSoldiers 0" makes it only work on vehicles. You can also team lock ammo supplies too.
I love you. If you manage to make all the ammo sidelocked (representing not finding NATO rounds in a PLA ammo bag, etc) and specify what bag gives what ammo, we're in business.
Image


Former [DM] captain.

The fact that people are poor or discriminated against doesn't necessarily endow them with any special qualities of justice, nobility, charity or compassion. - Saul Alinsky
nedlands1
Posts: 1467
Joined: 2006-05-28 09:50

Post by nedlands1 »

Expendable Grunt wrote:I love you. If you manage to make all the ammo sidelocked (representing not finding NATO rounds in a PLA ammo bag, etc) and specify what bag gives what ammo, we're in business.
I imagine there will be problems "sidelocking" ammo, which I assume is done with "ObjectTemplate.team". If you pick up an enemy kit and try to resupply off an enemy's ammo bag I suspect it will fail. Also, ammo which both teams use (eg 7.62x51mm NATO which is used by both the MEC and USMC), won't be able to be gathered from enemy stores.
Image
Expendable Grunt
Posts: 4730
Joined: 2007-03-09 01:54

Post by Expendable Grunt »

[R-CON]nedlands1 wrote:I imagine there will be problems "sidelocking" ammo, which I assume is done with "ObjectTemplate.team". If you pick up an enemy kit and try to resupply off an enemy's ammo bag I suspect it will fail. Also, ammo which both teams use (eg 7.62x51mm NATO which is used by both the MEC and USMC), won't be able to be gathered from enemy stores.
If you set MEC bags to reload all MEC 7.62x51/54 weapons, and the M14, maybe?
Image


Former [DM] captain.

The fact that people are poor or discriminated against doesn't necessarily endow them with any special qualities of justice, nobility, charity or compassion. - Saul Alinsky
nedlands1
Posts: 1467
Joined: 2006-05-28 09:50

Post by nedlands1 »

Expendable Grunt wrote:If you set MEC bags to reload all MEC 7.62x51/54 weapons, and the M14, maybe?
The "sidelocking" option doesn't allow for that.
Image
Expendable Grunt
Posts: 4730
Joined: 2007-03-09 01:54

Post by Expendable Grunt »

[R-CON]nedlands1 wrote:The "sidelocking" option doesn't allow for that.
This would replace side locking, sorry. It would be psuedo-sidelocked -- only reloading similar rounds.
Image


Former [DM] captain.

The fact that people are poor or discriminated against doesn't necessarily endow them with any special qualities of justice, nobility, charity or compassion. - Saul Alinsky
Post Reply

Return to “PR:BF2 Suggestions”