Page 1 of 1

Some questions about traits?

Posted: Thu Nov 22, 2018 12:18 pm
by jugasa
Hello, everybody. I am modding my database with mgarnett's editor and there are some traits I don't understand. Can anybody help me?

Where is camo trait? I can't find it at the list.
What does alpine trait means?
Does bonus trait means special equipment?
Why does an special equipment unit doesn't have marked with nopurchase trait?
What is the difference between fixt trait and rott trait?
Does it means that fixt trait has an initiative malus of -3 if attacking rott trait?
What does it mean lsup? Low supply?
Does add trait means that this unit have this trait? I think so.
Does remove trait means that this unit remove the trait from an enemy that is attacking it?

Thanks in advance.

Re: Some questions about traits?

Posted: Thu Nov 22, 2018 5:53 pm
by dalfrede
ThvN wrote: Mon Aug 04, 2014 12:25 am
Traits

beng: bride engineer, allows other units to use this unit as a bridge to cross rivers.

backfire: used to flip the unit icon when firing (for the portee guns, but dibs on using it for some switchable AA units like the SdKfz 7 models 8) ).

bonus: unit is an SE unit.

camo: unit can only be spotted when an enemy unit gets adjacent to it (like with a minefield).

captureflag: inverts predefined class ability to capture flags. Infantry/tank/recon/AT lose it, other classes gain it.

fortkiller: unit has +5 attack strength bonus when attacking structures.

glider: used for gliders.

green: always starts with zero exp, even if scenario settings tell otherwise (used for Soviet conscript).

kamikaze: unit dies after attack.

meng: unit ignores effects of entrenchment when attacking.

minefield: used for minefields, which have special rules (camo, no spotting, take 1 casualty each attack, always inflicts at least one casualty).

minekiller: normally minefields lose only a single strength point from attacks, but a unit with this trait will (AFAIK) inflict kills according to normal combat damage calculations.

minesweeper: unit can clear a minefield with a single attack.

missile: air unit does not refuel on friendly airfields.

nopurchase: is not listed in purchase menu.

noupgrade: cannot be upgraded.

noreplace: cannot be replaced.

nozoc: unit does not exert zone of control (used for minefields).

para: unit can be parachuted from air transports.

primary: used for switchable units to indicate the main unit that is used for purchasing, upgrading, deploying, etc.

radar: unit gives air units in spotting range a +1 initiative bonus.

reconmove: inverts predefined class ability to use recon type movement.


Traits which have no effect:

alpine: no effect, used for mountain units, is represented by different movement type.

close: no effect, used for infantry, is now a class bonus for all infantry units.

carpb: ‘carpet bombing’, no effect, used for level (strategic) bombers, possibly what became the ‘Strategic Bombing’ class bonus for level bombers to reduce prestige/turn flags neutral.

lsup: ‘lower (reduce) supply’ , no effect, used for level (strategic) bombers, is now a class bonus for level bombers.

fixedt: ‘fixed turret’, no effect, is a class bonus for AT units.

rott: ‘rotating turret’, no effect, is a class bonus for tanks.
jugasa wrote: Thu Nov 22, 2018 12:18 pm Does bonus trait means special equipment?
Why does an special equipment unit doesn't have marked with nopurchase trait?
Does add trait means that this unit have this trait? I think so.
Does remove trait means that this unit remove the trait from an enemy that is attacking it?
Bonus is for SE units, which can not be purchased.

Add Trait means add a trait the unit does not naturally have.
Adding meng trait to a flame tank allows the tank to ignore entrenchment.

Remove Trait removes an inherent from a unit.
Removing reconmove from a Recon unit allows one to have a useless unit.
Revisions to the game code have eliminated most if not all the places this was used.

Note: I did a search on lsup to find the ThvN post.

Re: Some questions about traits?

Posted: Thu Nov 22, 2018 9:40 pm
by jugasa
dalfrede wrote: Thu Nov 22, 2018 5:53 pm Note: I did a search on lsup to find the ThvN post.
Thank you for the answer and for your time.
I have read somewhere in this forum some information about that but I couldn't remember where.
There are some traits, like camo, that doesn't appear at mgarnett's equipment/fx/campaign editor: it's a beta version v0.8.5.
I have searched at pzdat files at data folder and the traits appear at equipment.pzdat but they didn't came with an explanation.
So, if you wanted to edit equipment.pzdat completely you must use notepad or another program.
Thanks again.

Re: Some questions about traits?

Posted: Thu Nov 22, 2018 11:09 pm
by dalfrede
jugasa wrote: Thu Nov 22, 2018 9:40 pm So, if you wanted to edit equipment.pzdat completely you must use notepad or another program.
Use a spreadsheet, such as Excel or OpenOffice Calc.

Copy the equipment.pzdat file, rename the file equipment.pzdat.csv .
Open equipment.pzdat.csv with your spreadsheet.
Character set: Unicode , plain or UTF-16, not UTF-7 or UTF-8
Separator Options: Tab [only]
Save as equipment.pzdat.xls . This allows you to set up the viewing of the file the way you like.
Note: You can adjust column headings, ie Hard Attack to HA and such

To create game version from equipment.pzdat.xls
use the Save As -> text csv ; [Check] Filter settings
Use Unicode , not UTF-7 or UTF-8 ; LibreOffice shows as: Unicode (UTF-16)
Field Delimiter -> Tab; Text Delimiter -> null ; ie delete the " .
I tend to review the filter settings each time, as it doesn't always remember.

Example of original file and mine from a year ago:
equip.jpg
equip.jpg (225.77 KiB) Viewed 2137 times

Re: Some questions about traits?

Posted: Sat Nov 24, 2018 12:20 pm
by jugasa
dalfrede wrote: Thu Nov 22, 2018 11:09 pm
jugasa wrote: Thu Nov 22, 2018 9:40 pm So, if you wanted to edit equipment.pzdat completely you must use notepad or another program.
Use a spreadsheet, such as Excel or OpenOffice Calc.

Copy the equipment.pzdat file, rename the file equipment.pzdat.csv .
Open equipment.pzdat.csv with your spreadsheet.
Aaahhh! I thought that xxx.pzdat was the extension of the file. I supposed that I can't change pzdat extension to csv extension. It seems that I was mistaken. Thanks.

Re: Some questions about traits?

Posted: Tue Nov 27, 2018 8:22 pm
by jugasa
dalfrede wrote: Thu Nov 22, 2018 5:53 pm
ThvN wrote: Mon Aug 04, 2014 12:25 am
Traits

backfire: used to flip the unit icon when firing (for the portee guns, but dibs on using it for some switchable AA units like the SdKfz 7 models 8) ).
Hello, dalfrede. I have read all the traits but I have a doubt. Can you explain what backfire exactly does? Or is it only a gfx trait? Thanks in advance.

Re: Some questions about traits?

Posted: Tue Nov 27, 2018 8:29 pm
by jugasa
dalfrede wrote: Thu Nov 22, 2018 11:09 pm
jugasa wrote: Thu Nov 22, 2018 9:40 pm So, if you wanted to edit equipment.pzdat completely you must use notepad or another program.
Use a spreadsheet, such as Excel or OpenOffice Calc.

Copy the equipment.pzdat file, rename the file equipment.pzdat.csv .
Open equipment.pzdat.csv with your spreadsheet.
Hello, dalfrede. I have open equipment.pzeqp with Excel and I can save it like at the original format: don't need to change format to *.csv or *.xls.
Also, at mgarnett editor there is a txt file called TraitsList.txt where we can add the new traits to the list so they appeared now into the editor.
Thanks.

Re: Some questions about traits?

Posted: Tue Nov 27, 2018 11:04 pm
by dalfrede
jugasa wrote: Tue Nov 27, 2018 8:22 pm Hello, dalfrede. I have read all the traits but I have a doubt. Can you explain what backfire exactly does? Or is it only a gfx trait? Thanks in advance.
Wikipedia wrote: A portee is a truck that carries a gun on its bed, such that the gun is not fixed permanently to the vehicle, can be quickly unloaded and can be fired from the truck.

While the term portee can be used to denote any truck carrying a gun on its bed, it is most often used to describe equipment used by British/Commonwealth forces in the North African Campaign of World War II. Modern terms for such vehicle are technical and/or gun truck.
The_British_Army_in_North_Africa_1942.jpg
The_British_Army_in_North_Africa_1942.jpg (14.4 KiB) Viewed 1982 times
In PzC units face forward to fire, the portee fires facing backwards.
So the backfire trait is an animation to display this affect. So yes it is a graphics trait.

I save the equip file in .xls format for display reasons. if you notice in the image, you can see all the combat traits at once.
If I save it .xls format all column display settings are saved.
I use textEdit[Wordpad] for efx.pzdat and gamerules.pzdat, so adding .csv to the equipment.pzdat keeps the Mac OS happy.