How create a research for accuracy ?
Posted: 23 Jan 2007, 02:58
If i want to add a research "accuracy for missiles". How can i do that ?
Strategy by Design
https://forums.wz2100.net/
Here's the explaination of the fields:Weapon Upgrade,Wpn-Missile-Accuracy01,MISSILE,0,10,10,0,0,0,0
Weapon Upgrade,Wpn-Missile-Accuracy02,MISSILE,0,20,20,0,0,0,0
So, the two lines from "functions.txt" modify Short Hit Accuracy and Long Hit Accuracy for missiles., , , , , , ,,
Then there's "researchfunctions.txt" file, it has following lines:Weapon Upgrade,Wpn-Missile-Accuracy03,MISSILE,0,30,30,0,0,0,0
It assigns functions to research topics.R-Wpn-Missile-Accuracy01,Wpn-Missile-Accuracy01,864
R-Wpn-Missile-Accuracy02,Wpn-Missile-Accuracy02,865
According to the source "Fire Pause" means "Time between each weapon fire".D.Durand wrote: Err... If i can abuse you... What is the "Fire Pause" (that's work with the ROF, but...).
Do you have access to the source? Most fields are documented there.D.Durand wrote: And can we have the explaination of the others fields of the file, and for the other files ?
will increase missile accuracy by 20 %.Weapon Upgrade,Wpn-Missile-Accuracy02,MISSILE,0,20,20,0,0,0,0
Troman wrote: Note that they don't increase accuracy by 10 or 20, they *set* accuracy to those values, so if you want to increase accuracy even further you have to add something like:Weapon Upgrade,Wpn-Missile-Accuracy03,MISSILE,0,30,30,0,0,0,0
Which of them is correct now?Troman wrote: PS: forgot to mention that those values in "functions.txt" are percentual increases of the original weapon values. Like for examplewill increase missile accuracy by 20 %.Weapon Upgrade,Wpn-Missile-Accuracy02,MISSILE,0,20,20,0,0,0,0
Mmh... I doubt that :Troman wrote: According to the source "Fire Pause" means "Time between each weapon fire".
I have not, but i can try to look at.Troman wrote: Do you have access to the source? Most fields are documented there.
PS: forgot to mention that those values in "functions.txt" are percentual increases of the original weapon values. Like for examplewill increase missile accuracy by 20 %.
DevUrandom wrote:Troman wrote: Note that they don't increase accuracy by 10 or 20, they *set* accuracy to those values, so if you want to increase accuracy even further you have to add something like:Weapon Upgrade,Wpn-Missile-Accuracy03,MISSILE,0,30,30,0,0,0,0Now it gets confusing: will increase missile accuracy by 20 %.Troman wrote: PS: forgot to mention that those values in "functions.txt" are percentual increases of the original weapon values. Like for examplewill increase missile accuracy by 20 %.Weapon Upgrade,Wpn-Missile-Accuracy02,MISSILE,0,20,20,0,0,0,0
Which of them is correct now?
Well everything is correct.D.Durand wrote: Mmh... I doubt that :
Weapon Upgrade,Wpn-Rocket-ROF01,ROCKET,20,0,0,0,0,0,0
Weapon Upgrade,Wpn-Rocket-ROF02,ROCKET,40,0,0,0,0,0,0
ROF02 can't have a bigger time between each weapon fire than ROF01. And all ROCKET weapons don't have the same base ROF.
Maybe a drecrease in % ?
I know it's not piece of cake, but considering the amount of txt files there are it would take quite a while to extract the meaning of all those fields. Although some day we should undoubtfully either convert those files to something more modder-friendly or document them.D.Durand wrote: I have not, but i can try to look at.
DevUrandoms and my one neitherD.Durand wrote: Difficult. English is not my natural language.
check this out:Troman wrote: Well everything is correct.
All upgrade values are set and thus increased by further upgrades. All in-game end parameter values are percentually improved which implies a decrease in case of 'Fire Pause'.
Was this less confusing?
I know it's not piece of cake, but considering the amount of txt files there are it would take quite a while to extract the meaning of all those fields. Although some day we should undoubtfully either convert those files to something more modder-friendly or document them.