Deploying multiple auto turrets? [Solved]
Moderator: Moderators
-
- Lieutenant Colonel
- Posts: 545
- Joined: Mon Jul 04, 2016 10:56 pm
- Location: My other account
- Contact:
Deploying multiple auto turrets? [Solved]
How do I allow units to deploy more than one autoturret without the previous one blowing up?
Last edited by SkinnyODST on Fri Oct 27, 2017 1:59 am, edited 1 time in total.
-
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: Deploying multiple auto turrets?
From ODF Parameters.txt:
Code: Select all
WeaponDispenser
HideOnFire
Ordnance
OrdnanceName
Velocity
ShotDelay
MaxPressedTime
MinStrength
MaxStrength
InitialSalvoDelay
InitialSalvoDelayProne
MaxItems <-- specifies the maximum number of dispensed items that can exist simultaneously per owner
FirePointExtraOffset
-
- Lieutenant Colonel
- Posts: 545
- Joined: Mon Jul 04, 2016 10:56 pm
- Location: My other account
- Contact:
Re: Deploying multiple auto turrets?
Ahh thanksMarth8880 wrote:From ODF Parameters.txt:Code: Select all
WeaponDispenser HideOnFire Ordnance OrdnanceName Velocity ShotDelay MaxPressedTime MinStrength MaxStrength InitialSalvoDelay InitialSalvoDelayProne MaxItems <-- specifies the maximum number of dispensed items that can exist simultaneously per owner FirePointExtraOffset
- EasyOvenOperator
- Private Recruit
- Posts: 23
- Joined: Thu Nov 16, 2017 12:03 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Deploying multiple auto turrets?
Marth8880 wrote:From ODF Parameters.txt:Code: Select all
WeaponDispenser HideOnFire Ordnance OrdnanceName Velocity ShotDelay MaxPressedTime MinStrength MaxStrength InitialSalvoDelay InitialSalvoDelayProne MaxItems <-- specifies the maximum number of dispensed items that can exist simultaneously per owner FirePointExtraOffset
which ofd is this in? i've gone through all the "weap_inf_autoturret_dispenser" and "com_weap_inf_autoturret_dispenser" odfs and changed the only one in the "imp" side file that had "MaxItems" but it didn't change anything ingame. is there another odf i'm over looking or do i need to put that code into one of the odfs? and if so, do i include "WeaponDispenser"?
i've been trying for 2 days to go to the site you linked to, but it keeps saying "unable to connect". it keeps "timing out".
-
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: Deploying multiple auto turrets?
The parameters I listed apply to weapon classes with the ClassLabel "dispenser".EasyOvenOperator wrote:which ofd is this in? i've gone through all the "weap_inf_autoturret_dispenser" and "com_weap_inf_autoturret_dispenser" odfs and changed the only one in the "imp" side file that had "MaxItems" but it didn't change anything ingame. is there another odf i'm over looking or do i need to put that code into one of the odfs? and if so, do i include "WeaponDispenser"?
Generally it's easiest to put the parameter in the weapon ODF that the unit class is calling for - so if it's calling for "cis_weap_inf_autoturret_dispenser" you'd put it in "cis_weap_inf_autoturret_dispenser".
With that said, it's technically not *required* that it's done in the child ODF (in this case, "cis_weap_inf_autoturret_dispenser"); if it has a parent ODF (such as "com_weap_inf_autoturret_dispenser") then you can put it in that ODF instead, but do note that all parameters in the child ODF will override those in the parent ODF - so if "cis_weap_inf_autoturret_dispenser" contained `MaxItems = 1` and "com_weap_inf_autoturret_dispenser" contained `MaxItems = 3`, `MaxItems = 1` would be used instead because it's overriding the parameters in its parent ODF. Does that make sense?
https://sites.google.com/site/swbf2modt ... parametersEasyOvenOperator wrote:i've been trying for 2 days to go to the site you linked to, but it keeps saying "unable to connect". it keeps "timing out".
- EasyOvenOperator
- Private Recruit
- Posts: 23
- Joined: Thu Nov 16, 2017 12:03 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Deploying multiple auto turrets? [Solved]
makes perfect sense. thank you very much.