Removing ammo pack refills and stamina

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
wishihadaname
Captain
Captain
Posts: 493
Joined: Fri Dec 28, 2007 2:10 pm
Projects :: The Corellian Resistance
Games I'm Playing :: Halo Reach and LOTRO
Location: Look to your left.... no, your other left....

Removing ammo pack refills and stamina

Post by wishihadaname »

I am attempting to make it so that officers buffs do not recover ammo from ammo packs, I added the
RefillFromItem = 0 line to the buffs weapon odf and to its ord file but it still refills from ammo packs. Any ideas?

My other issue is that I don't want the darktrooper to be able to sprint or roll. Darktroopers are supposed to be huge lumbering droids, having them roll away from a grenade really takes away from that image. I tried setting their stamina and stamina regen to be negative numbers but that didn't work, they can still perform one roll by going into stamina debt. Any ideas?
User avatar
Dakota
Field Commander
Field Commander
Posts: 991
Joined: Mon Dec 06, 2010 8:21 pm
Projects :: making random weapon assets
Games I'm Playing :: SWBF2 and more
xbox live or psn: PS3 beats xbox
Location: at a computer desk floating around in space

Re: Removing ammo pack refills and stamina

Post by Dakota »

hmm you could make it a walker like the driodeka is. then it would be lumbering to how ever u set it. it would have one pair of legs. and u could set it up easy. (at least it seems easy)
if you have more questions just ask and i will attempt to answer...
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Removing ammo pack refills and stamina

Post by DarthD.U.C.K. »

its impossible to prevent the bots from rolling away from a grenade, its hardcoded.

@dakota:it is impossible to make walkers units or units droidekas or units walkers.
User avatar
Dakota
Field Commander
Field Commander
Posts: 991
Joined: Mon Dec 06, 2010 8:21 pm
Projects :: making random weapon assets
Games I'm Playing :: SWBF2 and more
xbox live or psn: PS3 beats xbox
Location: at a computer desk floating around in space

Re: Removing ammo pack refills and stamina

Post by Dakota »

@dakota:it is impossible to make walkers units or units droidekas or units walkers.
aw i wanted to try it in my mods :( i guess it would just crash if i set up the odf as a walker then.
Bob
Brigadier General
Brigadier General
Posts: 633
Joined: Thu May 27, 2010 4:28 am
Location: at home

Re: Removing ammo pack refills and stamina

Post by Bob »

for the darktrooper try

Code: Select all

ControlSpeed            = "roll   0.0 0.0 0.0"
ControlSpeed            = "sprint 0.0 0.0 0.0"
Galaxy15
Private Recruit
Posts: 16
Joined: Tue Dec 28, 2010 7:34 am
Projects :: No Mod project currently.
Games I'm Playing :: SWBF2

Re: Removing ammo pack refills and stamina

Post by Galaxy15 »

That wouldnt stop them from rolling though. It would just stop the roll manouver from moving.
Bob
Brigadier General
Brigadier General
Posts: 633
Joined: Thu May 27, 2010 4:28 am
Location: at home

Re: Removing ammo pack refills and stamina

Post by Bob »

I tried it so many times and it worked everytime...
User avatar
wishihadaname
Captain
Captain
Posts: 493
Joined: Fri Dec 28, 2007 2:10 pm
Projects :: The Corellian Resistance
Games I'm Playing :: Halo Reach and LOTRO
Location: Look to your left.... no, your other left....

Re: Removing ammo pack refills and stamina

Post by wishihadaname »

Thanks, what about the ammo refill though? has anyone gotten that to work?
Post Reply