item 664, the G36C, has two default attachments defined in items.xml (1746, Folding Stock and 1322, in-build 2x Scope)
It missed 1322 in attachments.xml and when using the Folding Stock (fold/unfold) it resulted in an error for not finding 1322 attached after the transformation
Added entry for 1322 (in-build 2x Scope) on 664 (G36C) in attachments.xml to fix that
It is revealed, MOLLE things in 1.13 are configured in XMLs using both NAS and OAS (old attachment system) methods even if NAS is enabled in New Game Options. Given this, logic of SetAttachmentSlotsFlag() cannot be splitted onto NAS and OAS parts, and both Attachment[] and AttachmentPoints must be checked disregarding the NAS option.
AIMNAS with its ~50K elements in Attachment[] suffered of performance drop when MOLLE stuff is in the visible inventory. To resolve it the following is done:
* Introduce gMAXATTACHMENTS_READ with actual number of elements in Attachment[]; according refactoring.
* Introduce gMAXLAUNCHABLES_READ with actual number of elements in Launchable[]; according refactoring.
* Introduce std::multimap AttachmentBackmap for quick access to attachments using itemId as a key.
* Sort Attachment[] by attachmentIndex right after loading from XML. According order in XML is not needed anymore.
* Introduce FindAttachmentRange() for quick access to attachments using attachmentId as a key (binary search in Attachment[]).
In a few words, GetHelpTextForItemInLaptop(), ValidAttachment(), SetAttachmentSlotsFlag() were heavily optimized.
GetToHitBonus() expects BOOLEAN for fProneStance argument, with no comparison to ANIM_PRONE, the ubEndHeight ends up adding bipod bonuses to *all* stances
fixed checks for major and minor traits determining available IMP backgrounds
edited disability trait case HEAT INTOLERANT
added case DEAF at disability traits
adjustments to ExtraItems
- currently only works on ground-level
- adjusted readme to inform that it doesn't work at underground levels
- replaced the former example file that happened to be underground with one at groundlevel
- currently only works on ground-level
- adjusted readme to inform that it doesn't work at underground levels
- replaced the former example file that happened to be underground with one at groundlevel
Extra Items by difficulty
- sector specific xml that allow to add extra items
- based on difficulty level
- as I understand, it's realtime
- an old forgotten feature, now revived
- added a few examples, nothing realy fancy, just to show the idea
- when novice the stuff is slightly usefull, when insane it's bonkers
- the readme informs about details
- sector specific xml that allow to add extra items
- based on difficulty level
- as I understand, it's realtime
- an old forgotten feature, now revived
- added a few examples, nothing realy fancy, just to show the idea
- when novice the stuff is slightly usefull, when insane it's bonkers
- the readme informs about details
Update XML.h
- added path to sub-directory for Extra Items
- to avoid cluttering up the parent directory when using this feature
- it allows to place extra items in sector via xml and based on difficulty level
- the new directory "ExtraItems" will contain more details on how-to-use
- added path to sub-directory for Extra Items
- to avoid cluttering up the parent directory when using this feature
- it allows to place extra items in sector via xml and based on difficulty level
- the new directory "ExtraItems" will contain more details on how-to-use
Update Items.xml
added usAdministrationModifier-tag to items.xml
it already exists in code and feature description at forum indicates that it just was forgotten to be added
used the tag for item 1021 "Laptop", just as picture in feature description shows
- added <usAdministrationModifier>-tag to items.xml
- it already exists in code and feature description at forum indicates that it just was forgotten to be added
- used the tag for item Laptop, just as picture in feature description shows
updated mercprofiles25.xml
- edited to match recent changes to merc traits in mercprofiles.xml
to ensure UB-1.13 and ja2-1.13 mercprofiles are in sync
- fix to manuel in mercprofiles.xml (ja2-1.13)
I had previously neglected to delete athletics after he gained covert ops, did that now
- edited to match recent changes to merc traits in mercprofiles.xml
- to ensure UB-1.13 and ja2-1.13 mercprofiles are in sync
- fix to manuel in mercprofiles.xml (ja2-1.13)
I previously neglected to delete athletics after he gained covert ops, did that now
updates to documentation
- deleted Starter documentaion.md no need for .md-file, there are several links to it in other docs here
- deleted folder about additional UB campaigns, the svn-link inside wasn't working anymore
- updated links in other files
- added some comments in other files
- added link to discord
- updated link for download latest 1.13 and deleted outdated or unofficial ones (i.e. maeyeanie)