7604 Commits
Author SHA1 Message Date
HazapuzaandAsdow 2e55533f04 Add tons more LOBOT weapon graphics
Added unique LOBOT graphics for the vast majority of 1.13's firearms.

Also edited and re-rendered some of the existing LOBOT weapon graphics, in order to fix missing pixels (mainly thin barrels disappearing on some animation frames), and made wooden parts somewhat lighter for slightly better shading.
2024-11-07 20:42:57 +02:00
KittyandGitHub eb7d7d4231 Merge pull request #97 from kitty624/dev-gamedir
New item PPE Bag
2024-11-07 08:14:14 +01:00
kitty624 8e9cabe749 BigItem sti for PPE Bag
- missed in previous commit
2024-11-07 07:58:55 +01:00
kitty624 c1bc6de3d0 New Item PPE Bag
- empty PPE Bag will transform into full PPE Bag when Surgical Mask and Gloves get attached
- full PPE Bag will have both disease protection qualities (face and hand)
- instead of two inventory slots (mask and glove) it takes only one while providing same level of protection
- replaced mask and gloves in Fox's Starting Gear with PPE Bag
- added PPE Bag to (one) Starting Gear of Stella and Hurl
- added PPE Bag to dealer inventory of Rebel-Quartermaster, Pharmacy Cambria and Tina
- empty PPE Bag available at BR (can be filled/transformed with surgical mask and gloves also available at BR)
2024-11-07 07:28:07 +01:00
kitty624 39b688530b Comments on Merges.xml 2024-11-07 04:39:26 +01:00
Hazapuza 68807e41fe Update Filters.xml
Removed unnecessary item ID exclusions from several filters.
2024-11-01 18:28:19 +02:00
Hazapuza 564fe9fdba Thicken the barrel on the P-08's graphics 2024-10-26 12:54:06 +03:00
Hazapuza 0396cdaf90 Changed the OA-93 and CMMG 7.3 into one-handed weapons
While AR-15 pistols such as these two are usually somewhat awkward to shoot with one hand only, it's still perfectly possible to do so.
2024-10-23 18:54:47 +03:00
Hazapuza b81618a43b Add tons more LOBOT weapon graphics
Added unique LOBOT graphics for the vast majority of 1.13's firearms.

Also edited and re-rendered some of the existing LOBOT weapon graphics, in order to fix missing pixels (mainly thin barrels disappearing on some animation frames), and made wooden parts somewhat lighter for slightly better shading.
2024-10-22 20:51:12 +03:00
AsdowandGitHub 8040c5d826 Use functions for logging load & save game times (#328)
Less copy and paste. Allows these very simple timings to be logged from elsewhere as well.
2024-10-04 17:29:47 +03:00
AsdowandGitHub 93e89798ec Merc can be assigned to patient in well-fed state (#327)
Previously merc had to be in overfed state for both food and water
2024-10-02 21:24:02 +03:00
AsdowandGitHub 49a119e6b9 Convert INVTYPE boolean fields to flagmask (#325)
Rearranged fields from largest to smallest to remove alignment padding
2024-08-22 08:48:29 +03:00
AsdowandGitHub ce02a488f0 Remove sleep() (#324)
Near instantaneous program exit when we let the CPU do its thing :)
2024-08-15 00:50:13 +03:00
AsdowandGitHub caa02cd6b7 Read new MercOpinions.xml format (#323)
Requires accompanying gameDir change.

MercOpinions.xml now only contains opinions that are not 0. A new tag with fields "id" and "modifier" are used instead of old ones that had 255 <Opinion%d> $value$ </Opinion%d> tags for all profiles.

Loading time of MercOpinions.xml went down from ~4.047 s to 0.011 s due to this change with default 1.13 VFS config.

A small cmd utility tool for converting existing MercOpinions.xml data into the new format is available at https://github.com/Asdow/JA2-ConvertXMLData/tree/master
2024-08-13 00:29:48 +03:00
AsdowandGitHub af15468bbe Replace MercOpinion.xml files with the new format (#95)
Instead of storing all opinions in unique <Opinion1>, <Opinion2>, ... <Opinion254> tags for all profiles, only opinions with a value other than 0 is now stored in <AnOpinion id = "1" modifier = "-10" /> tag

This change changed the loading time for merc opinions from 4.047 s to 0.011 s

A small cmd utility tool for converting existing MercOpinions.xml data into the new format is available at https://github.com/Asdow/JA2-ConvertXMLData/tree/master
2024-08-13 00:29:17 +03:00
AsdowandGitHub 3391c6d777 Ignore mercs away on minievents for food status updates (#322) 2024-08-11 13:30:49 +03:00
AsdowandGitHub 2307508a85 Use auto & to prevent an unnecessary copy (#321) 2024-08-10 21:56:35 +03:00
AsdowandGitHub a26845b608 Check that a dropped backpack belongs to a controllable merc (#320)
Fixes handle BP pickup behavior if a merc drops a backpack and then leaves the sector.
2024-08-10 20:14:15 +03:00
AsdowandGitHub 9063f87359 Added item graphics up to Barrett M82A2 for Vanilla config (#94)
Fixes CTD / Assertion error from missing graphics when playing the game with Vanilla config and seeing the M82A2 in BR shop or when encountering the item in strategic/tactical modes
2024-08-06 18:34:21 +03:00
AsdowandGitHub f7f214f347 Fix CTD (#304)
Fix illegal array access when creating an IMP and the help texts are referenced.
With the missing comma, the array length was 5 and it's supposed to be 6.
2024-05-25 20:59:00 +03:00
KittyandGitHub e8c27816b5 Merge pull request #92 from kitty624/gamedir-dev
Fix to C5.npc and CIV36.edt
2024-04-30 07:33:26 +02:00
kitty624 e762250ba6 Fix to CIV36.edt
The correspomding .npc-file for CIV35.edt and CIV36.edt  is Miners.npc
This .npc is looking for quote lines up to 14 in those .edt
CIV36.edt did only have up to line 9 which was resulting in an "AAAA" in dialogue box when lines 10-14 couldn't be found
In vanilla this "only up to 9" was working, but sometime inbetween the Quote system had a code-rework and the .edt probably wasn't adjusted at that time

Fix: added lines 10-14 to CIV36.edt
2024-04-30 07:28:10 +02:00
kitty624 0de48d3591 Fix to C5.npc
Record 03 in the .npc-file was pointing to non existing line 03 in corresponding .edt-file, resulting in an "AAAAA" in dialogue text when trying to call it

fixed record
2024-04-30 07:20:29 +02:00
KittyandGitHub 15b4fd8b46 Merge pull request #13 from zwwooooo/master
Chinese translation update(by Forum of Playbar)
2024-04-30 05:44:51 +02:00
zwwooooo a77f9d4b62 Chinese translation update(by Forum of Playbar) 2024-04-29 22:46:24 +08:00
KittyandGitHub 2dcff7a8cf UB added missing subdirectory for Extra Items (#91)
added rhe missing subdirectory for Extra Items and moved existing files into the new subdirectory
2024-04-15 18:48:02 +02:00
KittyandGitHub bc53a0865a Merge pull request #90 from kitty624/gamedir-dev
Accompanying to rework of  r9343
2024-04-15 07:18:54 +02:00
KittyandGitHub c32d09b88e Merge pull request #302 from kitty624/source-dev
Rework of r9343 - simplyfied some things and removed unnecessary parts
2024-04-15 07:18:14 +02:00
kitty624 d85dc98621 Update Items.xml
accompanying to rework of  r9343

- a tag introduced with r9343 never got actually implemented in gamedir

- added the tag, items with this tag will be exclusive to disease feature

- added a few other tags suitable for those items

- slightly adjusted their coolness
2024-04-15 06:01:29 +02:00
kitty624 3bab6ef3b7 Update XML_Items.cpp
reworking r9343

- some leftover cleanup and formating
2024-04-15 02:28:49 +02:00
kitty624 b13bcaac71 Update Items.cpp
reworking r9343

- the part about Food System is obsolete, already was happening in code prior to r9343

- the flags got removed and a boolean is used instead, allowing a simpler function for the remaining disease

- wether an item is considered exclusive to disease feature or not is decided by usage of tag in items.xml
2024-04-15 01:33:47 +02:00
kitty624 71667aba27 Update XML_Items.cpp
reworking r9343

- part about food system was obsolete, that was already a thing prior to r9343 (see IsItemLegal)

- disease changed because instead of flag now boolean is used
2024-04-15 01:26:50 +02:00
kitty624 e386a66f03 Update Item Types.h
reworking r9343

- no need for Foodsystem flag, restricting food items to food system was already part of the code prior to r9343 (in IsItemLegal by silversurfer)
- for disease system changed flag to boolean
2024-04-15 01:22:26 +02:00
kitty624 c03bd3ff3a Update ShopKeeper Interface.cpp
reworking r9343

- already decided in IsItemlegal
- if it ain't legal, it won't be shown in ShopKeeperInventory, no need to bother with it again
2024-04-15 01:17:18 +02:00
kitty624 6650f70c93 Update AimMembers.cpp
reworking r9343

- this resulted in player being forced to choose features to allways see all possible merc gear sets

- loosing whole gearsets to avoid a few items is too much

- in some item-mods that even could result in some mercs not having any

- therefore deleted
2024-04-15 01:08:41 +02:00
KittyandGitHub cdb267ea17 Merge pull request #300 from kitty624/source-dev
Fix Attachable Launchers Slot  Tooltips

fix:
launchables made valid by attached launchers are now again shown as tooltip and can be attached to slot with click

fixes issue #298
2024-04-10 09:26:50 +02:00
kitty624 72f01b5379 Fix Attachable Launchers Slot Tooltips
fix:
launchables made valid by attached launchers are now again  shown as tooltip and can be attached to slot with click

fixes

https://github.com/1dot13/source/issues/298
2024-04-10 09:22:01 +02:00
Marco Costaandmajcosta dee2415d4a simplify SOLDIERTYPE::GetDiseaseContactProtection( ) 2024-04-03 22:09:05 -03:00
Marco Costaandmajcosta 049ec47219 make OBJECTTYPE::Exists() const 2024-04-03 22:09:05 -03:00
Marco Costaandmajcosta d670383f3a add const accessor to Inventory 2024-04-03 22:09:05 -03:00
KittyandGitHub 4d07dd83ca Merge pull request #89 from kitty624/gamedir-dev
Update StructureConstruct.xml
2024-04-01 17:54:07 +02:00
kitty624 a4bd59ca64 Update StructureConstruct.xml
the tag fFortifyAdjacentAdjustment doesn't mesh well with how actual graphics for concertina look like and are sorted in .sti-file

that resulted in concertina being shown facing wrong direction when using fortification assignment and placing them next to each other

which was caused by that attempt to align to adjacent tile

setting the tag to 0 instead of 1 solved that issue
2024-04-01 17:50:41 +02:00
KittyandGitHub f4bd4c9a52 Merge pull request #88 from Hazapuza/1dot13-gamedir-dev
Several changes to backgrounds
2024-03-31 21:24:43 +02:00
Hazapuza 136dc768db Several changes to backgrounds
- Tentatively rebalanced background bonuses
- Tentatively reordered IMP backgrounds
- Changed most combination background names
2024-03-31 15:12:25 +03:00
KittyandGitHub 4a0372db8d Merge pull request #87 from kitty624/gamedir-dev
Update ItemFlag.xml
2024-03-30 05:40:29 +01:00
kitty624 7a2fb45f00 Update ItemFlag.xml
- added a missing name
2024-03-30 05:38:56 +01:00
KittyandGitHub d69fb403b9 Merge pull request #86 from kitty624/gamedir-dev
Updates to TableData/Lookup
2024-03-30 04:48:40 +01:00
kitty624 64f7de80ff Updates to TableData/Lookup
- updated AttachmentClass.xml, ItemClass.xml and ItemFlag.xml to match code
- removed wrong ItemFlag 8 (camera) from items 1724 and 1725 (Wooden Wall and Wooden Planks)
2024-03-30 04:34:35 +01:00
KittyandGitHub e6f510cd18 Merge pull request #85 from Hazapuza/1dot13-gamedir-dev
Fixed typos, reworded some parts of the new backgrounds
2024-03-20 21:43:55 +01:00
Hazapuza 8137421220 Small changes to Backgrounds setting descriptions 2024-03-20 22:34:51 +02:00