OpenXcom Forum

Modding => OpenXcom Extended => Topic started by: Meridian on December 21, 2015, 10:34:26 am

Title: Old OXCE+ discussion thread
Post by: Meridian on December 21, 2015, 10:34:26 am
Hi all,


All basic info and download have been moved here: https://openxcom.org/forum/index.php/topic,5258.0.html


Changelog:
----------------


2019-08-15
 - Prevent overcrowding of crafts in starting base
 - Fixed CTD when going into MODS menu and not restarting the game
 - Fixed AI not using grenades in certain situations
 - "Save pre-primed grenades" user option now also applies to non-grenade items
2019-08-03
 - Fixed mod loading order / corrupted options.cfg
 - Spawn less aliens in base defense when UFO is damaged: https://openxcom.org/forum/index.php/topic,7150.0.html
 - Added new mana resource: https://openxcom.org/forum/index.php/topic,7241.0.html
 - Ability to destroy alien bases by research (once daily)
 - Ability to interrupt alien missions by research (once daily or after a mission): https://openxcom.org/forum/index.php/topic,7230.0.html
 - Refactor of vertical levels map generation and alternate terrain handling (by ohartenstein)
 - CTRL toggles No/Patrol button in ConfirmLanding UI
 - BREAKING CHANGE: negative sprite indices are now officially not supported... but you can now access sprites and sounds from other mods
 - Increased max number of avatars from 128 to 512
 - Some TechTreeViewer improvements
 - Revert "Bravery now can't decrease morale change below zero percent"
 - various bugfixes
2019-05-19
 - Deselect all hotkey in Psi/Martial Training GUIs
 - Remember mission target and craft/base even after the briefing
 - Added "Highlight new topics" user option
 - Bravery now can't decrease morale change below zero percent
 - Required base services in "We can now..." GUIs
 - Starting conditions: allowed/forbidden soldier types
 - Starting conditions: forbidden items and item categories
 - Starting conditions: forbidden vehicles support
 - Starting conditions: forbidden armors support
 - Starting conditions: forbidden craft support
 - BREAKING CHANGE: split Starting conditions (into Starting Conditions and Enviro Effects): https://openxcom.org/forum/index.php/topic,4444.msg113226.html#msg113226
 - Fixed dogfight for HKs with extremely short range
 - Manufacture dependency tree now shows also base facilities
 - Added optional research requirement for armor equip, see 'requires' armor attribute in NRR
 - New attribute for mind shield power, see 'mindPower' facility attribute in NRR
 - User option to remember disabled craft weapons after dogfight (+no rearm)
 - Draw dogfight icons also for craft equipment
 - Improved pedia articles for tractor beams
 - Extra NV button for Android
 - Removed the facility teleport cheat
 - Updated kill/sell button logic in alien containment
 - Added arc script: https://openxcom.org/forum/index.php/topic,7125.0.html
2019-04-22
 - Added ability to decide whether to kill or sell aliens in alien containment
 - Added option to prevent or allow loading an item to craft inventory: see 'ignoreInCraftEquip' attribute in nightly ruleset reference (NRR)
 - Training Finished popup now shows the base name too
 - Show cause of death (killer & weapon) on diary overview
 - Shift+click to swap loaded ammo
 - Shift+click for instant unload
 - Ctrl+Alt+j/k to stun/kill all aliens EXCEPT under the cursor
 - Sort soldiers by name instead of just by first letter
 - Skip zero-quantity craft/soldier types in Monthly Costs breakdown: see 'forceShowInMonthlyCosts' attribute in NRR
 - Added "extraRandomItems" attribute to alien deployment: https://openxcom.org/forum/index.php/topic,7055.msg111746.html#msg111746
 - Added "randomRace" attribute to alien deployment: https://openxcom.org/forum/index.php/topic,7065.msg111733.html#msg111733
 - Manufacture/Purchase links from "Cannot Reequip" GUI
 - Added mod option to build infiltration bases near countries: see 'buildInfiltrationBaseCloseToTheCountry' attribute in NRR
 - Added a chance for environmental conditions being applied or not (per battle): see 'globalChance' attribute in NRR
 - Global Production Overview (default hotkey 'P')
 - Added craft weapon ruleset option to hide stat info in Ufopedia: see 'hidePediaInfo' attribute in NRR
 - Added item ruleset option to hide damage info in Ufopedia: see 'hidePower' attribute in NRR
 - Add multi page support for Ufopaedia articles: see 'pages' attribute in NRR
 - Mission bounty item now supports item transformations
 - Allowed other attack types (e.g. snap or auto) for launcher weapons
 - TU recovery each turn is now additive (same as e.g. energy recovery), cannot go over maximum, encumberance/wound penalties are applied at the end
 - Added random manufacturing summary GUI
 - various bugfixes
2019-03-05
 - Added lazy loading as a GUI user option
 - Ability to specify minimum required OXCE version per mod: https://openxcom.org/forum/index.php/topic,6945.0.html
 - Added script support for stat bonuses, including:
  * Items: damageBonus, meleeBonus, accuracyMultiplier, meleeMultiplier, throwMultiplier, closeQuartersMultiplier
  * Armors: psiDefence, meleeDodge, recovery (time, energy, morale, health, stun)
 - Ctrl+Alt+New Project to sort the research list by cost
 - Ctrl+Alt+Inventory to delete soldiers' equipment layouts
 - Always deploy 2x2 xcom soldiers first, ignoring their position in the list
 - When transferring aliens, check store space too (not only alien containment)
 - Prison check on Purchase: https://openxcom.org/forum/index.php/topic,6917.msg110499.html#msg110499
 - Facilities that cannot be built in a base yet/anymore are shown at the bottom of the list
 - Panic/berserk sounds: https://openxcom.org/forum/index.php/topic,6921.0.html
 - Changed language loading to default to en-US when translations are missing.
   * Prioritize untranslated text over incorrect text. Modders, you can stop copy-pasting en-US to en-GB.
 - User option cleanup: https://openxcom.org/forum/index.php/topic,6880.0.html
 - Different alien inventory background for xcom soldiers: https://openxcom.org/forum/index.php/topic,5047.msg109930.html#msg109930
 - Highlight colors in Ufopedia: https://openxcom.org/forum/index.php/topic,6883.0.html
 - Option for AI to pick up weapons more actively: https://openxcom.org/forum/index.php/topic,6882.0.html
 - Changed slo-mo hotkey from F8 to Alt+F8
 - Added burning indicator to alien inventory view
 - Allow to recover spawned xcom units as civilians
 - Added randomized manufacturing: https://openxcom.org/forum/index.php/topic,6867.0.html
 - Added new script to change move sound: https://openxcom.org/forum/index.php/topic,6758.msg109325.html#msg109325
 - Ability to transform items during recovery: https://openxcom.org/forum/index.php/topic,6868.0.html
 - Self-destruct button in Dogfight: https://openxcom.org/forum/index.php/topic,5717.msg108512.html#msg108512
 - HKs don't attack craft returning from a mission anymore
 - Unhardcoded (underwater) breathing animation (per armor)
 - Added option to disable underwater sounds
 - Added option to disable ocean shading on the globe
 - Armor transformation support for aliens and civilians
 - Walls can now generate light too (not only floor and objects)
 - Engine: reduced idle CPU burn
 - Engine: added zip loader: https://openxcom.org/forum/index.php/topic,6922.0.html
 - various bugfixes
2018-12-22
 - Updated OXCE language files
 - Updated OXC language files
 - Ability to redefine main menu background image
 - Allowed running, kneeling and strafing for all units
 - Required item(s) per starting condition (by Finnik)
 - When gym is destroyed, people stop training
 - Fixed getOneFreeProtected being ignored when getOneFree was not defined
 - Reworked case-insensitive search (hopefully works better now)
 - Show armor movement type in Stats for Nerds
 - Added AI option for destroying XCom base facilities: https://openxcom.org/forum/index.php/topic,6663.0.html
 - Ability to replace damaged buildings with rubble: https://openxcom.org/forum/index.php/topic,6668.msg105753.html#msg105753
 - Ability to define how likely a facility is to be damaged by a missile: https://openxcom.org/forum/index.php/topic,6668.msg105690.html#msg105690
 - Fixed multiple simultaneous base defenses (in the same game tick)
 - Fixed directional lighting
 - Fixed TU recovery on multi-stage missions
 - Vanilla: Added "transferTime" property to ruleset soldiers
 - Vanilla: showing (approximate) craft range at take-off
 - Vanilla: added support for bigger globe markers
 - Vanilla: scrollable ufopedia categories
 - Engine: rendering speed optimisation
 - Engine: only 8bit images are supported (which was always the case, but now it is enforced!)
 - Engine: transparency on color index 0 is now enforced (for now there can be one more additional transparency index, but only until OXCE 5.3)
2018-10-14
 - Missions spawned by alien bases can now target different regions: https://openxcom.org/forum/index.php/topic,6557.msg104976.html#msg104976
 - Added mod switch for HK fast retarget: https://openxcom.org/forum/index.php/topic,5717.msg104986.html#msg104986
 - Added support for alien missile strikes (on Geoscape): https://openxcom.org/forum/index.php/topic,6557.msg104920.html#msg104920
 - Added support for Earth-based alien operations: https://openxcom.org/forum/index.php/topic,6557.msg104669.html#msg104669
 - Script support for post-mission soldier stat improvement: https://openxcom.org/forum/index.php/topic,6619.msg104686.html#msg104686
 - Protect Stats for Nerds "related items" that are not unlocked yet (ammo, built-in-items, ...)
 - Support for alien base upgrades (based on its age): https://openxcom.org/forum/index.php/topic,6430.msg104530.html#msg104530
 - More scaling options for very high resolutions: https://openxcom.org/forum/index.php/topic,6620.0.html
2018-10-03
 - Translation updates
 - Unhardcoded recovery dividers for special items
 - Sell/Sack GUI M-click logic update
 - In debug mode, show all units on the minimap too
 - Don't use piloted interceptors in New Battle mode
 - Added armor flag to prevent moving
 - Hide "Not awarded yet" button (in Commendations Pedia) when not needed
 - Added mod option to give full score also for researched artifacts/captives
 - Removed "coup de grace" user option
 - Increased the globe country label width by 50%
 - All soldier lists can now be reordered with the mouse wheel (by BTAxis)
 - -cont/-continue command line arg to load the last saved game at start
 - (Intentionally) Crash on missing research ruleset (instead of just logging and ignoring it)
 - Fixed bug that prevented 'sniper' AI from attacking
 - Fix crash on map light calculation
 - Reduced mod loading time and memory usage by lazy-loading extraSprites
 - Modifier for morale loss (by unit/soldier type) when a unit is killed
 - Ctrl + M-click = Mind probe (in debug mode)
 - Introduced Multi-Layered Paperdolls
 - Alternative (shorter) ruleset for defining single sprites

2018-09-xx
 - renamed OXCE+ to OXCE
 - merged OXCE 4.0

2018-08-23
 - Fixed a critical bug in no LOF indicator
 - Added "Show only not awarded yet" button to Commendations Ufopedia
2018-08-21
 - Interrupt alien missions also after successful landed UFO battle
 - Added spawning units from items (by ohartenstein): https://openxcom.org/forum/index.php/topic,6535.0.html
 - Stats for nerds -- ufos
 - Stats for nerds -- craft
 - Stats for nerds -- base facilities
2018-08-02
 - Added a ruleset option to replace fuel capacity with range calculations in craft pedia articles
 - Change: Transformations cannot fully heal wounded soldiers now
 - No LOF obstacle indicator (by volutar)

(continuation in the next post)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on December 21, 2015, 10:34:44 am
Changelog (continuation):
----------------
2018-07-29
 - Option to get a country back after they signed a pact with aliens: https://openxcom.org/forum/index.php/topic,5932.msg100448.html#msg100448
 - Added support for alien mission interruption: https://openxcom.org/forum/index.php/topic,6456.msg100411.html#msg100411
 - Fixed mission wave/objective mismatch: https://openxcom.org/forum/index.php/topic,5717.msg100406.html#msg100406
 - Added a 50-200% damage calculation type: https://openxcom.org/forum/index.php/topic,6455.msg100319.html#msg100319
 - Night vision can always be enabled
 - Grenade indicator in hand UI is now animated (same as in the Inventory)
 - Refactored hand UI drawing (now supports OXCE animation)
 - Fixed alien containment handling when limits are not enforced
 - Fixed crash when not all soldiers could be deployed and craft was lost
 - "New Battle" mode now has 2 ammo of each type instead of 1 by default
 - Fixed damage bonus from "strengthApplied" not showing in stats for nerds
2018-07-21
 - Changed hit! to HIT
 - Added option for one-handed-unloading of weapons (by karadoc)
 - Fix for transformations not working on psi-training soldiers
 - Removed 8km limit from aggressive attack (in dogfight)
 - Tiny ranks per soldier type
 - Changed craft transfer time default to 24 hours
2018-07-14
 - Fixed message priority (two-handed vs underwater weapons)
 - Fixed medikits training melee by default (trains nothing now)
 - Bughunt mode turned off by default (after 999 turns by default)
 - Added ability to spray multiple shots between multiple waypoints: https://openxcom.org/forum/index.php/topic,6423.0.html
 - Fixed two-handed accuracy penalty for special weapons using empty hands
 - Rank sprites are now moddable per soldier type
 - Soldier rank gets reduced to highest possible when undergoing a transformation
 - Soldier transformations without a producedSoldierType default to keeping the type the same
 - Fixed live soldier transformation projects with transfer time > 0
 - Custom weapon reload sounds
From vanilla:
 - Unhardcoded the logic determining whether an alien can be captured alive.
2018-07-05
 - Language updates OXCE+ (pl, ro, cs, ja, ru, hu)
 - Language updates OXC (pl, pt, it, lb, da, ja, ro)
 - Scroll ground inventory backwards (shift-click or right-click)
 - Extra nerdy pedia info (accuracy multiplier and power bonus); "extraNerdyPediaInfo: true" global variable
 - Motion scanner QoL (idea by redv); hold ALT after using motion tracker
 - Reintroduced vanilla tile damage calculation
 - Fixed some hunter-killer CTD corner cases
 - Added no experience indicator (Ctrl+E in battlescape)
 - Added shock (alert for negative HP regen) indicator
 - Keeping scroll position of tables when returning from other screens
   * ufopedia select, new research, new manufacture and craft equipment GUIs
 - Added default radar range (672 nm) for UFOs
 - Damage indicator in the Inventory (hold ALT and point at the item)
2018-06-19
 - Fixed AI units without special weapon melee attacks not hitting at the end of charges
 - Fixed TFTD cruise/cargo ship crash
 - Fix OXCE type mismatch (backwards compatibility for "skillApplied")
 - Added localization strings for true/false in Stats for Nerds
 - Added rank name strings by soldier type
 - Soldier transformations (by ohartenstein23): https://openxcom.org/forum/index.php/topic,6331.0.html
2018-05-19
 - Fixed stun min/max in scripts
 - Added items to TechTreeViewer
 - "landedMarker" for UFOs
 - Better usage of space on GUIs with soldier sorting
 - Unhardcoded short radar range threshold
 - Flag by number of kills: https://openxcom.org/forum/index.php/topic,5767.msg96571.html#msg96571
 - Multiple armor/item preview icons per soldier/vehicle: https://openxcom.org/forum/index.php/topic,5954.0.html
 - Added facilities to TechTreeViewer
 - Fixed loading craft from OG saves
 - Introduced unique Ufo ID and fixed saving and loading of HKs
2018-05-08
 - Ability to hide items in Purchase GUI (by jgatkinsn)
 - Don't consider global radars when drawing base radar circles
 - Ability to sort soldiers by listOrder of their soldier type
 - User option: Draw enemy radar circles
 - Moddable medikit GUI background (per item)
 - Fixed fuel limit for patroling craft
 - Don't load non-existing commendations
 - Commendations fixes from vanilla
 - Melee damage previews for special weapons
 - Allowed the player access to special weapons by configurable icon or empty hand: https://openxcom.org/forum/index.php/topic,6289.0.html
 - Ruleset option to have craft maps not be fully revealed at the start of battle
 - Official palettes and palette matching test case
2018-04-03
 - Palette change per starting condition
 - Add support for creating new palettes
 - Allow skipping unsuccessful addUFO mapScript commands
 - Fixed issue with 2-handed weapons causing CTD
 - Unhardcoded TFTD pedia article interfaces: https://openxcom.org/forum/index.php/topic,6166.0.html
 - Stats for Nerds for TFTD
 - Test for zero-cost movement on floor tiles in MCD files
2018-03-21
 - Configs to show full unit name in alien inventory: https://openxcom.org/forum/index.php/topic,6129.msg94191.html#msg94191
 - Ctrl+Shift+j/k to stun/kill only one alien (under the cursor)
 - Avatar offsets compatible with vanilla
 - Fixed 2x2 unit animation on slopes
 - Global Research Overview (by jgatkinsn): https://openxcom.org/forum/index.php/topic,6128.msg94105.html#msg94105
 - Fixed dogfight "last bullet" bug
2018-03-16
 - Fall-back for "Case-insensitive quick search for non-English (by tkzv)"
 - Fixed not changing damage text colors for ammo items and grenades in pedia
 - Stats for Nerds -- armors
2018-03-13
 - Allow armor ruleset to override a unit's stand, kneel, and float height
 - Alt+click in PaletteView to show big font preview
 - Colors for ammo power by damage type in item ufopedia articles
 - Stats for Nerds -- items (INFO button in Ufopedia)
2018-02-24
 - Added Japanese translation
 - Added Russian translation
 - All escorts now spawn at their escortee's current location
 - Base supply ships can now also be escorted by HKs: https://openxcom.org/forum/index.php/topic,5717.msg93006.html#msg93006
2018-02-23
 - Alien bases can now scan for xcom craft and generate hunt missions: https://openxcom.org/forum/index.php/topic,5717.msg92985.html#msg92985
 - Allowed alien bases to stop generating supply missions after reaching a limit
 - Allowed alien bases to spawn mission sites
 - Allowed alien missions to spawn multiple UFOs at once
 - Fixed move sound not updated when changing armor between mission stages
2018-02-20
 - Allow HKs to escort/protect other (normal) UFOs from the same mission: https://openxcom.org/forum/index.php/topic,5717.msg92871.html#msg92871
 - Added "startingDifficulty" global variable
 - Two new global variables for pilot/crew survival chances when shot down by a HK
 - Fighter craft that are near the HK's target will now join the fight: https://openxcom.org/forum/index.php/topic,5717.msg92769.html#msg92769
 - OXC: fixed melee on ramps
 - OXC: Temporarily reverted an earlier fix that broke HWPs climbing up a hill
2018-02-17
 - Two new flags to keep the craft after a failed mission
 - User option to allow escorting friendly craft: https://openxcom.org/forum/index.php/topic,5717.msg92692.html#msg92692
 - Save the crew when attacked by a hunter-killer and destroyed
 - Removed flag to prevent craft from detecting alien bases (can instead be done by sightRange: 0)
 - Fixed UFO and craft custom geoscape markers
2018-02-10
 - Ruleset definition for tiles used to place stores items during base defenses (by ohartenstein23)
 - Ruleset to prevent craft from detecting alien bases
 - Improved HK behavior consistency
 - Added evasive maneuvers support when fighting HKs
 - Allow disengage if craft is quicker than HK
 - Introducing kamikaze hunter-killers
 - In "slow mode" handle UFO hunting logic every game tick
 - Allow UFO to change speed when starting hunting: https://openxcom.org/forum/index.php/topic,5717.msg92446.html#msg92446
 - Fixed merge error (UFO shields not working)
 - Ruleset option on armor to not give wound recovery time after battle (e.g. HWP soldiers)
 - EXPERIMENTAL: UFOs can attack XCOM craft: https://openxcom.org/forum/index.php/topic,5717.msg92133.html#msg92133
 - Improved language loading for "masters with masters"
2018-01-31
 - Split OXCE+ and Android language files from vanilla
 - Added 31 most used languages into default distribution
 - Improved tile noLOS check: https://openxcom.org/forum/index.php/topic,5679.msg92053.html#msg92053
 - Improved/added noLOS cursor indicator caching
 - StartingConditions support for multi-stage missions: https://openxcom.org/forum/index.php/topic,4444.msg91852.html#msg91852
 - Basic support for limited-range weapons usage by AI (by ohartenstein23): https://openxcom.org/forum/index.php/topic,5980.0.html
 - (Temporary) fix for modded globe markers crashing
 - Fixed difficulty settings being ignored for armor
 - Building facilities on top of others (by ohartenstein23): https://openxcom.org/forum/index.php/topic,5960.0.html
 - Leaving other facilities behind when you remove one (by ohartenstein23)
2018-01-19
 - Unhardcoded ufopedia colors for Armor, Items and CraftWeapons (=those using PAL_BATTLEPEDIA)
 - Added chronoTrigger 3 (and unified live alien recovery)
 - Fixed a conflict between surrendering and chronoTrigger 2
 - User option to inform about UFO landing: https://openxcom.org/forum/index.php/topic,5904.0.html
 - Fixed newly arriving craft ammo being ignored when refuelling (by karadoc)
 - Added a cost indicator to the tech tree viewer (by karadoc)
 - Added item requirements text when placing base facilities (by karadoc)
 - Small fix for reservedSpace
2018-01-06
 - LOS accuracy penalty indicator (by ohartenstein23)
 - Fixed/Optimized "Case-insensitive quick search for non-English (by tkzv)"
 - Bounty research and bounty item for all mission types (UFO crash/landing and XCOM base defense were missing)
2018-01-02
 - Merged OXCE 3.10a
Changelog (OXCE+):
 - Added "recoverCorpse" flag to be able to recover live bodies, but not dead bodies (because vanilla "recover" flag cannot be used anymore since the merge)
 - Case-insensitive quick search for non-English (by tkzv)
 - Fix economy warning when player has too much money
Changelog (OXCE):
 - More item fuse configs
 - Added recovery of ammo from fixed weapons on armor of soldiers (not HWPs)
Changelog (vanilla):
 - added sorting of pedia categories by listOrder
 - fixed (hopefully!) arcing shots missing when they should hit... reverted OXCE+ fixes and using vanilla fix
 - amended reaction fire (allowed xcom soldiers to spin and shoot at aggressors)
 - changed corpse recovery (using corpse recover flag instead of recoveryPoints > 0)
 - changed corpse scoring (using corpse recoveryPoints instead of unit's value)
 - added escape mission functionality
 - landOnly flag on items
 - explosive ammo for shotguns... not fully merged in OXCE yet?
 - new shotgun experience nerf (all bullets beyond the first can give max 1 experience point in total); OXCE+ fixes were reverted
 - new "helicopter" drawing routine (22)
2017-10-10
 - Fixes to recently introduced sniper AI and LOS penalty
2017-09-30
 - Custom palettes can now be loaded from JASC palette files
 - Sniper AI (by ohartenstein23): https://openxcom.org/forum/index.php/topic,5679.0.html
2017-09-03
 - One more fix for custom psi (hit animation crash)
 - Improvements to facility moving cheat (by karadoc)
2017-09-02
 - Fix custom psi attacks not working (got broken in last version)
 - Tank turrets turn during reaction fire
 - Fixed Leeroy (now they really chaaaaarge!)
 - Ufopedia hotkey from "craft info" basescape GUI (opens craft article)
 - Showing current craft weapon (and slot type) in "craft weapons" GUI
2017-08-27
 - Units on fire can't use their camouflage
 - Fixed 3 chryssalids spawning from a single zombie (under very special circumstances)
 - EXPERIMENTAL: Civilians, react! https://openxcom.org/forum/index.php/topic,4595.msg85647.html#msg85647
 - Fixed battlescape tooltip color
 - Fixed "We can now buy" popup (was wrongly showing also items with costBuy=0)
 - Split engineer/scientist hiring cost and monthly cost
 - Split psi screening tech from psi training tech
 - Custom sound effects on detecting a new UFO: https://openxcom.org/forum/index.php/topic,5647.msg87230.html#msg87230
 - Added jukebox: https://openxcom.org/forum/index.php/topic,5673.0.html
 - Unhardcoded and separated some OXCE+ hotkeys
2017-08-22
 - Fixed mission start CTD: https://openxcom.org/forum/index.php/topic,5647.msg87061.html#msg87061
 - Merged OXCE 3.9c
   - Fix?: Inventory crash on 2-stage missions: https://openxcom.org/forum/index.php/topic,2915.msg87002.html#msg87002
   - Fix: Fire ammo not generating light immediately: https://openxcom.org/forum/index.php/topic,2915.msg85724.html#msg85724
   - Fix: Proxy kills not counted: https://openxcom.org/forum/index.php/topic,2915.msg85727.html#msg85727
   - Fix: Sectoid on stairs immune to psi: https://openxcom.org/forum/index.php/topic,2915.msg85902.html#msg85902
   - Fix: AI crash: https://openxcom.org/forum/index.php/topic,5617.0.html
2017-08-16
 - Cleanup: integrated OXCE+ missing translations into data files
 - Better tooltips for blue and purple indicators
 - Night vision colors 1 and 10 banned for TFTD
 - Fix night vision (vanilla compatibility)
 - Cleanup: unhardcoded OXCE+ color codes (TFTD support!)
 - Palette preview GUI: https://openxcom.org/forum/index.php/topic,5652.0.html
 - Cleanup: unique interface ruleset codes: https://openxcom.org/forum/index.php/topic,5647.msg86719.html#msg86719
 - Removed "Predict UFO trajectory" user option
 - Option to play briefing music longer: https://openxcom.org/forum/index.php/topic,5647.msg86647.html#msg86647
 - Ufopedia article type 3 (for HWPs) can have a background now: https://openxcom.org/forum/index.php/topic,5647.msg86641.html#msg86641
 - Custom sound effects for geoscape events: https://openxcom.org/forum/index.php/topic,5647.msg86603.html#msg86603
 - Facility moving feature hidden behind the most useless options ever: https://openxcom.org/forum/index.php/topic,5647.msg86643.html#msg86643
 - New craft status "pilot missing": https://openxcom.org/forum/index.php/topic,5541.msg86567.html#msg86567
 - Smarter algorithm to assign crew when starting new game: https://openxcom.org/forum/index.php/topic,5541.msg86510.html#msg86510
2017-08-08
 - Ability to reopen mission briefing during the mission (Ctrl+B)
 - StatStrings per soldier type: https://openxcom.org/forum/index.php/topic,5638.0.html
 - Added craft equipment loadout save/load GUI (accessible via quicksave/quickload hotkeys): https://openxcom.org/forum/index.php/topic,5637.0.html
 - More debug/testing options in geoscape (CTRL+1 to CTRL+6): https://openxcom.org/forum/index.php/topic,5636.0.html
 - RESEARCH RULESET:
   - Ability to block (or even revoke) research topics/paths: https://openxcom.org/forum/index.php/topic,5482.msg86298.html#msg86298
   - Support for "getOneFree" with dependencies: https://openxcom.org/forum/index.php/topic,4830.msg86238.html#msg86238
   - Flag to give GetOneFree topics in sequential order: https://openxcom.org/forum/index.php/topic,5624.0.html
 - Added "Training Finished" GUI: https://openxcom.org/forum/index.php/topic,5561.0.html
 - EXPERIMENTAL: Added isLeeroyJenkins flag for units and made the AI act on it (by Stoddard): https://openxcom.org/forum/index.php/topic,5628.0.html
 - Ability to give a bounty item after a successful mission: https://openxcom.org/forum/index.php/topic,5625.0.html
 - Damage preview cannot go into minus anymore (was caused by range-based damage reduction)
 - Armor flags that disable running/strafing/kneeling: https://openxcom.org/forum/index.php/topic,5623.0.html
 - Considering perf. bonus for end-of-month economy warning
 - Removed Ctrl+W hotkey (show number of wounded soldiers)
 - Support for primed and hidden items on the minimap: https://openxcom.org/forum/index.php/topic,5620.0.html
 - Redesigned the auto-assign pilots functionality: https://openxcom.org/forum/index.php/topic,5574.0.html
 - Inventory::arrangeGround now sorts items by 'list order' (by karadoc)
 - Fixed living space check for personnel production projects (by karadoc)
 - Psi training no longer reduces stats to match the cap (by karadoc)
 - Fixed 2 ammo display glitches
2017-07-13
 - New Android release
 - Merged OXCE 3.9a
2017-06-08
 - Always fit "Ufopedia" label within the window boundaries
 - Support for big neutral units on the minimap
 - Ctrl+Cancel button in UfoDetected UI now has a proper separate label
 - (nerf) TU and Energy cost for CQC
 - (buff) CQC now considers all surrounding units, not just one
 - Added info about armors you can wear on a mission
 - Changed TTV cheat code
 - Alien inventory works on own units again, with a correct paperdoll
 - Fix fitting items into inventory slots
2017-05-21
 - Reintroduced hidden manufacturing projects feature
 - Changed default night vision color to 8 (evening blue)
 - Automatic night vision user option
 - OXCE lighting by default turned off (vanilla compatibility)
 - Added flag offset per soldier type: https://openxcom.org/forum/index.php/topic,2915.msg83331.html#msg83331
2017-05-19
 - New "Martial training at any time" user option (split from similar psi option)
 - Ability to show distance to target in dogfight GUI in kilometers
 - Status field in Dogfight GUI resized to use all available space
 - Added "We can now build" GUI
 - Added "We can now rent" GUI
 - Fix HWP ammo recovery (when returned to base because of starting condition)
 - Improved TTV indicators
2017-05-15
 - New flag to refund all resources when a manufacturing project is cancelled
 - Next Turn GUI background color is now same as in Battlescape
 - Fix ground items not saved properly after panicking
 - Fix CQC crash
2017-05-10
 - Fixed CTD with armor-specific movement sound
 - Left and right side armor values can be different now: https://openxcom.org/forum/index.php/topic,5435.0.html
 - R-click in Transfers GUI now does the same as in Sell GUI
 - Reset Geoscape timer when stores are full due to Production
 - Craft landing can now be disabled (e.g. for interceptors with pilots only)
 - CQC extensions (by ohartenstein23)
2017-04-24
 - "Close Quarters Combat" (CQC) feature (by ohartenstein23): https://openxcom.org/forum/index.php/topic,5431.0.html
 - Displaying shotgun pellets also in ammo pedia articles
 - Indicator for items destroyed during research
 - Fixed heat vision (merge issue) -- didn't work at all since v3.5
 - Camo shouldn't affect formula for vision in smoke (I will add a better formula later)
 - Fixed infinite loop bug in research code (by karadoc)
2017-04-14
 - Android support!
 - Fixed next stage CTD
 - Fixed counting issue in Craft Equip
 - Fixed scrolling issue in Craft Equip

(continuation in the next post)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: niculinux on December 21, 2015, 11:14:34 am
-- replaced original post by niculinux with the continuation of the changelog, it didn't fit into previous 2 posts --

Changelog (continuation):
----------------
2017-03-12
 - Fixed merge error (AI CTD)
 - Items spawned by research now arrive via Transfers (= player is informed)
 - Enemies in exit zone (e.g. your craft) don't surrender anymore when you abort a mission
 - Added info about number of rounds to TFTD craft weapon pedia articles
 - TFTD support for tiny rank icons
2017-03-10
 - upgraded to OXCE 3.7a
2017-03-06
 - Clipless (but disposable) weapons are recovered the same way as weapons with clips
 - New research and New manufacture buttons now have the same hotkey as toggle quick search
 - Added "We can now purchase" GUI
 - Completed research can spawn an item (only direct research! indirect research gives nothing)
 - Fixed autosell feature (wasn't working properly)
 - Fixed a bunch of compiler warnings
 - Added (optional) knock-out indicator (purple box)
   * lights up if a unit's stun level goes above 75% (of current hp)
2017-03-01
 - Better info about remaining ammo/uses in Inventory and Hand UI
 - Direct link to craft screen from "Not enough pilots" popup
 - Unhardcoded all pilot-related constants
 - Fix for last region/country graph button not being displayed (if more than 16)
 - Right-click graphs button to toggle all buttons: https://openxcom.org/forum/index.php/topic,4990.msg73377.html#msg73377
 - Civilian deployment by type: https://openxcom.org/forum/index.php/topic,4830.msg79731.html#msg79731
 - Fixed CTD in advanced options, when text was too long (e.g. in German)
2017-02-25
 - Ability to define multiple hidden movement backgrounds: https://openxcom.org/forum/index.php/topic,4830.msg79722.html#msg79722
 - Fixed bug with displaced and exploding primed grenades
 - Ability to display mission info on Geoscape: https://openxcom.org/forum/index.php/topic,4830.msg79717.html#msg79717
 - Added sort by name button in Select Armor GUI
 - Ability to skip base defense missile fire
2017-02-22
 - Unified (and fixed) chart labeling algorithm
 - Refactored zooming of charts (using numpad + and - hotkeys)
 - Fixed merge issue in starting condition check (deployment in alien bases)
 - Unified Research/Manufacture/Ufopedia GUIs
   * [Show only new] button (bottom left corner), with * indicator
   * X to mark all displayed items as seen
   * right-click to toggle between new and seen status
   * hidden status not needed (removed)
 - Stuff you brought on a mission cannot give you points for alien artifacts anymore
 - Added ability to fix advanced user options by mod creators
 - AlienInventory GUI can only be opened on friends without inventory, hostiles and neutrals
2017-02-20
 - Support for tractor beams: https://openxcom.org/forum/index.php/topic,5266.0.html
 - Craft's disengage speed based on its acceleration, not pilot's bravery (still applies only to piloted craft!)
2017-02-17
 - Category filter in Buy/Sell/Transfer GUIs
 - New test screen (Ctrl+T)
2017-02-15
 - Added monthly rating-based performance bonus (= money)
 - Fixed bug with moving ground inventory back to base
 - Added randomDelay to mission script; final delay is a random number between "startDelay" (min) and "startDelay + randomDelay" (max)
 - Ability to unlock (=finish) a research topic after a successful mission: https://openxcom.org/forum/index.php/topic,5227.msg78149.html#msg78149
 - Fixed a problem with the storage check when transferring items (thx Karadoc)
2017-02-09
 - Removed random up/down rounding for stat-based bonuses
 - Added damage preview for psi weapons (in BA_USE mode)
 - Added chance-to-succeed preview for psi weapons (not considering target psi defence)
 - Added damage preview for guided missiles, e.g. blaster launcher
 - Fixed alien aggression (when using values between 3 and 9)
 - Reintroduced setting turretType by fixedWeapon, not only livingWeapon (merge error)
2017-02-05
 - Updated to OXCE 3.6b
 - Removed ability to demote soldiers
 - Option to despawn mission sites even if targeted by craft: https://openxcom.org/forum/index.php/topic,4830.msg78515.html#msg78515
2017-02-04
 - Updated to OXCE 3.6a
 - Fixed recovery of large unit corpses
2017-01-29
 - Updated to OXCE 3.6: https://openxcom.org/forum/index.php/topic,2915.msg78240.html#msg78240
 - Dynamic stat column in Craft Armor GUI: https://openxcom.org/forum/index.php/topic,4187.msg78224.html#msg78224
 - Improved transfers of items with negative size
 - Unified soldier manufacturing with civilian recovery
 - Recoverable civilians: https://openxcom.org/forum/index.php/topic,5185.msg78206.html#msg78206
2017-01-26
 - Number of fatal wounds is now available parameter for bonuses
 - Soldier rank is now available parameter for bonuses (power, accuracy, dodge, regen, etc.)
 - Different salary per rank: https://openxcom.org/forum/index.php/topic,4830.msg78194.html#msg78194
 - Unhardcoded rank system thresholds
 - Weighted list of defaultArmors for startingConditions: https://openxcom.org/forum/index.php/topic,4444.msg78193.html#msg78193
 - Support for multiple units per rank per race: https://openxcom.org/forum/index.php?topic=5225.msg78016#msg78016
 - More detailed info on Intercept GUI
  * instead of OUT show Out/Patrolling/Returning/Intercepting/En route
  * instead of 249 hours, show 10d/9h
 - Tech tree viewer shows recruited persons
2017-01-17
 - Fix for craft shield rendering
 - Alien Inventory improvements (more space for 2x2 units, no slot labels, civilian types)
 - Hide alien tech level in New Battle GUI if not needed
 - Fix murderer confusion (various bugs in diaries, commendations, morale recovery, etc.)
 - Fix for reservedSpace (mod size metadata): https://openxcom.org/forum/index.php/topic,2915.msg77485.html#msg77485
2017-01-06
 - 10 new damage/resistance types: https://openxcom.org/forum/index.php/topic,4830.msg77276.html#msg77276
 - facilities required for research added to tech tree viewer
 - fixed hit log bug (falsely showing reaction fire after melee attack)
 - info message now says which craft are allowed (for a given mission)
 - ability to override default action on facility R-click
 - various item sounds support random selection from a list
   (fireSound, hitSound, hitMissSound, meleeSound, meleeMissSound, psiSound, psiMissSound, meleeHitSound, explosionHitSound)
 - ESC cancels quick search (or quickly removes text in other TextEdit components): https://openxcom.org/forum/index.php/topic,4187.msg77145.html#msg77145
 - ESC to close alien inventory
 - M-click in alien inventory (on paperdoll/armor)
 - ability to enable/disable mind shield in base view (R-click)
2016-12-31
 - tech tree viewer spoiler protection (user option): https://openxcom.org/forum/index.php/topic,3626.msg76960.html#msg76960
 - paperdoll is clickable now (L/R/M-click and tooltip with optional armor weight)
 - more M-clicks (buy/sell/transfer GUIs)
 - manufacturing dependencies now opened via R-click (instead of M-click) on sell GUI
 - M-click in Select Armor popup window
 - fixed healing mind-controlled enemies (now possible)
 - alien inventory GUI: https://openxcom.org/forum/index.php/topic,4187.msg76841.html#msg76841
 - some fixes to ufo/craft shields: https://openxcom.org/forum/index.php/topic,5077.0.html
 - weapon damage info displayed only when pedia article is unlocked: https://openxcom.org/forum/index.php/topic,4187.msg76734.html#msg76734
2016-12-26
 - added UFO and craft shields and more (by ohartenstein23): https://openxcom.org/forum/index.php/topic,5077.0.html
 - basic damage info for projectile and melee weapons: https://openxcom.org/forum/index.php/topic,4187.msg76715.html#msg76715
 - ability to transfer stuff instead of having to sell it after mission: https://openxcom.org/forum/index.php/topic,4187.msg76674.html#msg76674
 - added support for extra globe labels: https://openxcom.org/forum/index.php/topic,4187.msg76666.html#msg76666
 - night vision color is now a user option
 - two-handed indicator in the inventory: https://openxcom.org/forum/index.php/topic,5153.msg76648.html#msg76648
 - removed showQuickSearch user option (only toggle is available now)
 - fixed score for enemy surrender after aborting a base defense: https://openxcom.org/forum/index.php/topic,4058.msg76376.html#msg76376
 - fixed CTD after aborting base defense/losing a base
2016-12-20
 - unhardcoded minimum accuracy to trigger reaction fire: https://openxcom.org/forum/index.php/topic,4830.msg76356.html#msg76356
 - added unit-on-fire indicator: https://openxcom.org/forum/index.php/topic,4187.msg76347.html#msg76347
 - hotkey to move all remaining ground inventory items from craft to base: https://openxcom.org/forum/index.php/topic,5120.msg76289.html#msg76289
 - manual soldier demote: https://openxcom.org/forum/index.php/topic,5059.msg76277.html#msg76277
2016-12-18
 - support for custom text placement in image+text pedia type: https://openxcom.org/forum/index.php/topic,4187.msg76221.html#msg76221
 - increased country labels from 100px to 120px, possible to use 2 lines too
 - moving sound override per armor: https://openxcom.org/forum/index.php/topic,4187.msg74184.html#msg74184
 - fix default number of avatars (8 for vanilla)
 - fix CTD with audio feedback on coup de grace
 - fix for auto-sell storage space calc: https://openxcom.org/forum/index.php/topic,4058.msg76019.html#msg76019
 - fix scrolling in manufacturing table
 - fix for not finding a correct pedia article by ID: https://openxcom.org/forum/index.php/topic,5047.msg76215.html#msg76215
 - fix 2x2 unit lighting
 - fix CTD at map resize
 - fix 2x2 dying unit CTD
 - fix 2x2 unit animation bug
2016-11-25
 + CTD fix (bad nodes in RMP)
 + CTD fix (mission sites, merge issue)
2016-11-17
 + Fix for shotguns firing backwards at 1-tile distances
 + Upgraded to OXCE 3.5 -- compatible with latest nightly
2016-11-06
 + OXCE 3.3 visible distance bug workaround
 + Dogfight improvements (by ohartenstein23), info: https://openxcom.org/forum/index.php/topic,5019.msg73600.html#msg73600
2016-11-05
 + Added animated inventory wound indicator, more info: https://openxcom.org/forum/index.php/topic,4424.msg73771.html#msg73771
 + Don't react with 0% accuracy or from out of range, more info: https://openxcom.org/forum/index.php/topic,4830.msg73772.html#msg73772
 + Different camouflage at dark and at day/light, more info: https://openxcom.org/forum/index.php/topic,4822.msg73774.html#msg73774
 + Small ufopedia CTD fix/workaround, info: https://openxcom.org/forum/index.php/topic,4058.msg73753.html#msg73753
2016-10-31
 + Items can now be limited to certain inventory slots only, more info: https://openxcom.org/forum/index.php/topic,5011.msg73480.html#msg73480
 + Fixed 2 major bugs in surrender mode
2016-10-27
 + Bug-hunt mode support, more info: https://openxcom.org/forum/index.php/topic,4997.msg73330.html#msg73330
 + More options for surrender mode, more info: https://openxcom.org/forum/index.php/topic,4997.msg73308.html#msg73308
 + Added minShade and maxShade to alien deployments, more info: https://openxcom.org/forum/index.php/topic,4830.msg73290.html#msg73290
 + Considering also medals awarded to dead soldiers
2016-10-25
 + Door visibility bugfix (by Yankes)
 + EXPERIMENTAL: surrender support, more info: https://openxcom.org/forum/index.php/topic,4997.msg73272.html#msg73272
 + Ability to disable irrelevant items in base defense (e.g. chips)
 + Inventory is now accessible from Soldiers UI via hotkey (no need for a craft in base)
2016-10-22
 + Added item flag, which says if the item can be equipped on craft or not (resp. used in base defense)
 + TechTreeViewer now shows also the number of required items for manufacturing topics
 + Small fix for stun/wound indicator
2016-10-06
 + Upgraded to OXCE 3.3
2016-09-30
 + More space (modOffset) for bigger mods (by Yankes)
 + Auto-sell in debriefing (by Stoddard)
 + Support for custom palettes (local) in Ufopedia
 + Fix for generating default armor out of nothing
2016-09-21
 + Fixed experience from medikits (merge issue)
 + Stun and wound indicators for corpses, more info: https://openxcom.org/forum/index.php/topic,4424.msg72219.html#msg72219
 + Fix for TechTreeViewer CTD
 + Configurable map background color (per starting condition)
 + EXPERIMENTAL: added support for custom (global) palettes, more info: https://openxcom.org/forum/index.php/topic,4935.msg72007.html#msg72007
 + Added option to transfer prisoners instead of just removing them (after the mission)
2016-09-15
 + Switch for endless or one-cycle infiltrations
 + Recovered items now shown in Debriefing also for base defense missions
 + Small fix for shotgun not giving any experience
 + Don't show previously unlocked (and seen!) manufacturing topics in the "We can now manufacture..." window
2016-09-09
  + TechTreeViewer can be opened by Q hotkey from geoscape directly
  + Show research progress in TechTreeViewer
  + Fix for end mission confirmation
  + Bow miss fix (by karadoc), with less side effects
  + Fix bug with TFTD doors (by Yankes)
  + More middle-clicks open Ufopaedia articles directly
    - facility info in Base view
    - craft weapon info in Craft > Craft Weapon GUI
    - item info in Craft > Equipment GUI
    - armor info in Craft > Armors GUI
    - craft info in Intercept window
    - ufo info in UFO Tracker (only if detected by Hyperwave decoder)
  + Ability to buy items with negative size
2016-09-03
  + Added option for local/global night vision
2016-09-02
 + Improve pilots' morale by +10
 + Added night vision (by Stoddard), more info: https://openxcom.org/forum/index.php/topic,4819.msg71243.html#msg71243
 + Fixed merge issue (inventory text border)
 + Revert "Bow miss fix" (because it was causing unwanted side effects), more info: https://openxcom.org/forum/index.php/topic,4058.msg71057.html#msg71057
 + Global equipment layouts fix (it can now be used during mission briefing too)
2016-08-26
  + Pilots can gain experience from dogfights
  + Showing number of shots for autoshot in Ufopedia
2016-08-25
  + Added support for environmental conditions, more info: https://openxcom.org/forum/index.php/topic,4830.msg70353.html#msg70353
  + Starting conditions by terrain, more info: https://openxcom.org/forum/index.php/topic,4830.msg70509.html#msg70509
  + Small LoF fix (by karadoc), more info here: https://openxcom.org/forum/index.php/topic,4706.msg70254.html#msg70254
  + Added missing includes
2016-08-21
  + Shift+click to sort descending (using sort comboboxes)
  + Added cockpit capacity to Craft Pedia articles
  + Cosmetic change in Manufacture Overview (added one pixel to allocated runts)
  + Added support for different prison types, more info: https://openxcom.org/forum/index.php/topic,4830.msg69933.html#msg69933
  + Added support for heat vision and psi vision, more info: https://openxcom.org/forum/index.php/topic,4830.msg69871.html#msg69871
  + Added option to auto-assign pilots
2016-08-17
  + Added new type of shotgun behavior (by ohartenstein23)
  + Added ability to select pilots from crew manually
2016-08-15
  + Added Craft Pilots GUI
  + Rebalanced pilot bonuses
  + Pilot approach/disengage speed bonus (based on bravery)
  + Pilot dodge bonus (based on reactions)
  + Pilot accuracy bonus (based on firing accuracy)
  + Ability to exclude a soldier type from piloting a craft
  + Craft can now require pilots
v2016-08-13
  + Added support for max number of facilities (of given type) per base, more info: https://openxcom.org/forum/index.php/topic,4830.msg69302.html#msg69302
  + Added support for sick bays, more info: https://openxcom.org/forum/index.php/topic,4830.msg69294.html#msg69294
  + Option to automatically remove wounded soldiers from training
  + Ability to exclude a soldier type from the promotion system, more info: https://openxcom.org/forum/index.php/topic,4830.msg69242.html#msg69242
  + Added support for randomized item lists in map block ruleset, more info: https://openxcom.org/forum/index.php/topic,4830.msg69240.html#msg69240
  + Fixed AI melee bug (by Yankes)
v2016-08-11
  + Allowed camouflage on all units (i.e. friendly and neutral too)
  + Fixed/support for turretType for builtInWeapons
  + Global equipment layouts, more info: https://openxcom.org/forum/index.php/topic,4747.msg69139.html#msg69139
v2016-08-08
  + Added active camouflage and anti-camouflage, more info: https://openxcom.org/forum/index.php/topic,4822.0.html
v2016-08-07
  + Added possibility to manufacture scientists, engineers and soldiers: https://openxcom.org/forum/index.php/topic,4187.msg68716.html#msg68716
  + Workaround for Commendations CTD (not a fix, just skipping part which would crash)
v2016-07-31
  + Added manufacture dependency viewer
  + Added Ctrl+A shortcut in geoscape debug mode to reset all soldiers' diaries
v2016-07-29
 + Fixed "not enough space in alien containment" message
 + Fixed endless loop when destroying base defense hangars (by SupSuper)
 + Option to show all or only awarded commendations in ufopedia (by default only awarded)
 + Added salaries and maintenance for "Items", more info here: https://openxcom.org/forum/index.php/topic,4774.0.html
v2016-07-20
  + Upgraded to OXCE 3.2
  + Added fix for missing bows under certain angles, more info here: https://openxcom.org/forum/index.php/topic,4726.msg66754.html#msg66754
  + Can't sell prisoners in the Debriefing/Loot/Sell window anymore... only later from the Prison
  + CTRL+cancel in "UFO Detected" window will put this UFO on ignore list (=will not be re-detected again)
  + CTRL+sort in "Equip Crew" and "Soldiers" windows will only show the stat in a dynamic column, without actually sorting the soldiers
  + Physical training stat caps and training speed now moddable, more info: https://openxcom.org/forum/index.php/topic,4581.msg67433.html#msg67433
  + Improved quick search in Inventory (by Stian), more info: https://openxcom.org/forum/index.php/topic,4520.msg67432.html#msg67432
v2016-07-16
  + Fixed CTD (reported in bugs thread, Cacodemon could not render)
  + Fixed issues with overkill
  + Fixed issue with building custom base
v2016-07-14
  + Fixed merge issue (various issues with the inventory UI)
  + Ufopedia.org about a medal can be also directly accessed from Debriefing (Medals UI and Lost In Service UI)
v2016-07-08
  + Upgraded to OXCE 3.1
v2016-07-06
  + Ufopedia.org about a medal in a soldier's diary can now be accessed directly (just click on a medal name)
  + Ufopedia.org about weapon in hand is now accessible via middle-click (not right-click)
  + Soldiers ignore enemies when running (i.e. they don't stop on mutual surprise), when walking this can also be activated by holding SHIFT
v2016-07-05
  + Upgraded to OXCE 3.0 ... added Soldier Diaries

(continuation in the next post)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Cristao on December 21, 2015, 11:30:07 am
-- replaced original post by Cristao with the continuation of the changelog, it didn't fit into previous 3 posts --

Changelog (continuation):
----------------
v2016-07-03
  + Added in-game TechTreeViewer
v2016-06-17
  + Nothing to see here, move along
v2016-06-15
  + Quick Search in Transfer UI
  + small fix in Inventory sorting/stacking
v2016-06-06
  + fixed quick search in Ufopedia
v2016-06-04
  + Added Quick Search, more info: https://openxcom.org/forum/index.php/topic,4520.msg65913.html#msg65913
  (added in research, manufacture, ufopedia, stores, buy, sell, equip craft and inventory)
  + Added more filtering in the New Research screen
v2016-05-31
  + More performance improvements for item stacker by Stian
  + fix for FOV calculation by Yankes & Stian
  + fix for doubled retaliation checks after dogfight by Yankes
v2016-05-28
  + Added more filtering in the New Manufacture screen, more info: https://openxcom.org/forum/index.php/topic,4520.msg65589.html#msg65589
  + Added user option for show gun melee on top (or on bottom)
v2016-05-20
  + Unhardcoded kneel bonus and one-handed penalty
  + SHIFT, ALT and CTRL cannot be used as user hotkeys anymore
  + Added separate sections for OXCE+ controls and advanced options
  + Added support for "allowedItemCategories" to starting conditions
v2016-05-18
  + Showing firing/throwing/melee/psi in inventory, more info here: https://openxcom.org/forum/index.php/topic,4520.msg65159.html#msg65159
  + Inventory tooltip now shows also item weight (optionally, showItemNameAndWeightInInventory: true)
  + Fixed CTD for UFOs without alien deployment
v2016-05-14
  + Added configurable difficulty-based retaliation delay
v2016-05-05
  + Fix tank ammo recovery when tank has 2 different weapons
  + Added ability to override craft inventory tile (e.g. craftInventoryTile: [7, 4, 1])
  + Faster ground inventory stacker by Stian
  + Unified armor sprite search in ufopedia and inventory
v2016-05-01
  + Un-prime explosives automatically before dropping them during inventory management
  + improved FOV calculation by Stian (please help with testing), more info here: https://openxcom.org/forum/index.php/topic,4568.0.html
  + reverted back fix "tank ammo" by Warboy (not necessary in our context)
v2016-04-28
  + Fix "can't engage airborne" bug by SupSuper
  + Fix "tank ammo" by Warboy
  + Added configurable hotkeys for Aim/Snap/Auto/Hit/Throw/etc., more info: https://openxcom.org/forum/index.php/topic,4520.msg63599.html#msg63599
  + Items with zero or less weight don't show weight in ufopedia
  + Right-click on item in hand (in battlescape) brings up related ufopedia entry
  + Middle-click on item in inventory (in inventory screen) brings up related ufopedia entry
v2016-04-24
  + Ability to change soldier's nationality/flag (by left/right click)
  + Soldiers are buried in their default armor (nicer looking memorial)
  + Added statistical bullet conservation (as user option)
  + You can go to final mission only with 100% fuel
  + Researching a prisoner does NOT create a corpse anymore
  + Hit log now considers stun damage too
  + Added SELL button to LOOT screen in debriefing
  + Added "Sell all" hotkey to Sell/Sack GUI (press X)
v2016-04-21
  + Added item weight to ufopedia
  + Moved ufopedia item descriptions higher if there is enough space
  + Added melee accuracy/TU cost in ufopedia
v2016-04-19
  + More attributes on item categories, more info here: https://openxcom.org/forum/index.php/topic,4523.msg62946.html#msg62946
  + Properly display name of completed research topic
v2016-04-12
  + Friendly reminder on the last day of the month (about low funds), more info here: https://openxcom.org/forum/index.php/topic,4466.msg62199.html#msg62199
  + Custom item categories, more info here: https://openxcom.org/forum/index.php/topic,4523.0.html
v2016-04-10
  + Recover (item) flag now works for corpses too
  + Moved bleeding indicator to the right side
  + Fix palette bugs (bug 1206, thanks SupSuper)
  + Fixed transfers of items with negative size (slaves can now be transferred)
  + Added chance to stop retaliation after aggressor UFO is destroyed (global parameter called "chanceToStopRetaliation", default 0, values can be between 0 and 100)
v2016-04-07
  + Improvements to hit log (shows also "no damage", "little damage" and "good damage"), still highly experimental
  + Bleeding indicator is now optional
v2016-04-05
  + Added (yet another) fatal wounds indicator (#3 I think)
  + User option to add lost vehicles (incl. dogs and parrots) to Memorial (by default turned off)
  + Added support for "allowedVehicles" starting condition
v2016-04-02
  + Added support for custom mission/monthly ratings, more info here: https://openxcom.org/forum/index.php/topic,4466.0.html
  + Items carried by HWPs are not lost anymore when mission ends
  + Fixed HWPs showing ranks
  + "visibilityAtDay" by default equals to "maxViewDistance" (instead of 20)
v2016-04-01
  + Added support for "Starting conditions", more info here: https://openxcom.org/forum/index.php/topic,4444.0.html
v2016-03-28
  + Added UFO Tracker (hotkey T), more info here: https://openxcom.org/forum/index.php/topic,4263.msg61169.html#msg61169
  + Fixed visual glitches in battlescape loading/saving screen (cherry-picked from SupSuper/master)
v2016-03-27
  + Added support for nationalities/flags
v2016-03-25
  + Added support for visibility during day (per armor type)
  + Some minor armor equip improvements
v2016-03-23
  + Added support for craft auto-patrol
v2016-03-17
  + Ability to define avatar position (per soldier type)
  + Ability to define armor for avatar in the ruleset
v2016-03-14
  + Changed unit facing indicator hotkey (ALT instead of SHIFT)
  + Added custom physical training factor (percentage between 0 and 100)
    - default 100 % (customTrainingFactor: 100)
v2016-03-09
  + Added fatal wounds infobox (shortcut is ctrl+w)
  + Manufacturing: displaying produced items after required items
  + Added support for field medic experience training (=experience training possible (by default no training) when healing fatal wounds of any unit)
  + Fixed primed grenade indicator (inventory ground)
v2016-02-28
  + Added hit/miss log (press Ctrl+H to show) -- only shows the last "action"
  + Added unit facing indicator (hold SHIFT to show)
v2016-02-26
  + Added supplies indicator for manufacturing
  + Added support for custom HWP/auxiliary preview icons
  + Temporarily disabled LOOT window for base defense (will implement later)
v2016-02-21
  + Added new damage range type (0-200% with 2 dice); RandomType: 6
  + Un-hardcoded "too much smoke" threshold (for tile fire extinguisher support)
  + Fixed CTD when seeing more than 10 units
  + Fixed CTD in Grand Total
v2016-02-13
  + Moved tiny ranks before the name
v2016-02-07
  + Added "Grand Total" to Stores UI, more info here: https://openxcom.org/forum/index.php/topic,3898.msg58997.html#msg58997
  + Added sorting to Stores UI (by all columns, asc/desc)
  + Bugfix: properly destroy fixed items when changing armor
  + Remove medikits from the inventory if consumable and empty
v2016-02-02
  + Added support for custom armor preview icons, more info here: https://openxcom.org/forum/index.php/topic,4208.msg58705.html#msg58705
  + Fixed compilation issues under Linux
v2016-02-01
  + Added support for avatar display in battlescape UI
v2016-01-31
  + Added third sub-page to debriefing screen (recovered items)
  + Fixed items on the ground (inventory screen) are not displayed anymore
v2016-01-30
  + Two-handed indicator is now red or green depending on blocksBothHands flag
  + Added support for fire extinguishers
v2016-01-28
  + Added support for day/night indicator
  + Small fix for 2 handed weapons check during reaction fire and berserking (now applies only to units under direct player's control, i.e. also to mind-controlled aliens, but not to mind-controlled xcom soldiers)
v2016-01-24
  + True two handed weapon flag is also checked during reaction fire, but not during berserking
  + Added support for refuel notifications
v2016-01-23
  + Added confirmation at mission end, more info here: https://openxcom.org/forum/index.php/topic,4114.msg58153.html#msg58153
  + Fixed CTD when manufacturing a craft also produces an item
v2016-01-22
  + Experimental support for default inventory slot (for fixed items only)
  + Experimental support for moving base facilities
  + Added support for refundValue for base facilities
v2016-01-20
  + Right-click on "Select Next Unit" button selects the previous unit
  + Added hotkey to de-equip all items from a craft at once (same as clear inventory, usually "X")
  + Added support for true two-handed weapons, more info here: https://openxcom.org/forum/index.php/topic,2915.msg58013.html#msg58013
  + Improved short range weapons filtering (i.e. fixed Fusion Torch)
  + Resized buttons on Craft Equipment UI
  + Added support for consumable medikits, more info here: https://openxcom.org/forum/index.php/topic,4187.msg58007.html#msg58007
v2016-01-16
  + Completely new experience award / accuracy training system, more details here: https://openxcom.org/forum/index.php/topic,4230.0.html
v2016-01-13
  + Added filtering to Craft Equipment UI
  + Further rebalance of firing/throwing/melee accuracy training, more info here: https://openxcom.org/forum/index.php/topic,4220.msg57591.html#msg57591
  + Added option for wounded soldiers to fight in base defense, more info here: https://openxcom.org/forum/index.php/topic,4225.0.html
  + Unhardcoded number of avatars
  + Separate message for "no line of sight"
  + Separate message for "no arc of fire"
  + Throwing experience also improves secondary stats now
v2016-01-12
  + Rebalanced throwing and firing accuracy training, more info here: https://openxcom.org/forum/index.php/topic,4220.msg57516.html#msg57516
  + Added support for custom kneeling indicator, more info here: https://openxcom.org/forum/index.php/topic,4187.msg57501.html#msg57501
  + Unseen (ufopedia/research/manufacture) indicators now work also in debug mode
  + Enhanced movement methods
      * when holding SHIFT while selecting target tile... the unit will walk/run there WITHOUT stopping when it spots an enemy
      * shift is usually a hotkey for "select previous unit"... so you will have to remove that hotkey in Options in order to use this new feature
v2016-01-11
  + Added adv. option for Minimap border indicator
  + Added adv. option for 2-handed indicator
  + Added adv. option for Coup de grace
  + Added audio feedback to execute action
  + Disabled blinking of the green enemy indicator
v2016-01-05
  + now properly equipping also fixed items when changing armor in the Inventory... I would appreciate if somebody helped me test this some more
  + merged SupSuper's code fixing problems with graphs when there are more than 16 countries (wrong total, wrong colors, wrong values, etc.), more info here: https://openxcom.org/bugs/openxcom/issues/1148
    * BIG thanks to SupSuper!
  + added hotkey to open Inventory from Craft Equipment (same as in battlescape, usually "I")
  + fixed the Apply inventory template button... which I accidentally broke yesterday ;-)
v2016-01-04
  * Inventory screen:
    + don't shift inventory grid labels anymore (when showing TUs needed to move items)
    + disabled moving fixed items in Inventory by Ctrl+click (for example cannot drop medikit-item from Nurse outfit)
    + clear/create/apply inventory template functionality now ignores fixed items
       * clear doesn't remove fixed items
       * create doesn't include fixed items
       * apply doesn't overwrite fixed items
  * Stat improvement screen:
    + increased the size of Stat Improvement table to 18 rows (so that we can see entire Bonaventura crew at once)
    + fixed CTD on mission end (caused by stat improvement calculation for non-soldiers, i.e. HWPs)
v2016-01-03
  + Fixed stat update after armor change in Inventory
  + Fixed scrolling issue (in Craft > Equip Armor GUI)
v2016-01-02
  + soldier sorting now supports also ID (order in which soldiers were hired) and name (by first letter only)
  + added experimental map border indicator to minimap
  + added experimental map border indicator to map (only visible when "show all layers" button is turned on)
v2016-01-01b
  * fixed some buttons (to behave correctly on various resolutions)
v2016-01-01
  + added possibility to re-order bases
  + showing TU cost when moving items between inventory slots
  + added option to execute unconscious units with melee (blade) weapons
  + added shortcuts to enemies visible by other soldiers (green enemy indicator)
v2015-12-31
  + added possibility to rename soldiers in the Inventory view
  + enabled the display of resistance to damage type 0 (DT_NONE) in UFOpedia
  + added "unseen" indicator for:
      * new research items
      * new manufacture items
      * new UFOpedia articles
v2015-12-30
  + added Select Avatar GUI to Inventory (with preview!) (same hotkey as for minimap, usually "M")
  + using battlescape palette for Select Armor GUI in Inventory
v2015-12-29
  + added primed grenade indicator to Hand UI (not animated)
  + added 2-handed weapon indicator to Hand UI
  + display recovery time when soldier is wounded (directly in the list)
  + added hotkey to de-equip armor from all soldiers at once (key for clear inventory, usually "X")
  + added hotkey to de-assign all soldiers from all craft at once (key for clear inventory, usually "X")
v2015-12-28
  + added sorting (and Size column) to Stores GUI
  + added fatal wounds indicator to Inventory GUI
  + added current turn indicator in the tooltip
v2015-12-27
  + added info about medikit "ammo" on Hand UI
  + added info about medikit "target" on the Hand UI tooltip
  + moved manufacturing error messages (not enough space / not enough hangars) further down the chain (more info here: https://openxcom.org/forum/index.php/topic,4178.msg56841.html#msg56841)
  + improved remaining firing/throwing/melee accuracy display on Unit Stats GUI
v2015-12-26
  + added column displaying "dynamic" stats (the one selected in combobox) on:
      * Vessels > Crew screen
      * Hands on Deck screen
  + added kneel indicator (inspired by PR from DreamThorn, but only did a cheap version without dedicated sprites)
  + added more info to Alien Containment GUI (if live alien sale is enabled)
v2015-12-25
  + added soldier sorting into:
      * Vessels > Crew screen
      * Vessels > Armor screen
      * Hand on Deck screen (unlike other screens combobox is on the top of the screen, there was no place on the bottom)
      * VooDoo Classes screen
      * Martial Training screen
v2015-12-24
  + added manual scaling for Graphs GUI
v2015-12-23
  + showing total maintenance time directly on Intercept window (inspired by PR by bslaveboy, but done differently)
  + blink health bar on fatal wounds (by redv)
  + added manufacturing profitability (by myk002 with small improvement, see also: https://openxcom.org/forum/index.php/topic,3517.0.html)
v2015-12-22
  + added possibility to change armor from Inventory (using configured keyboard shortcut for Abort Mission, default "A")
  + improved Martial Training GUI:
      * fixed wrong color on deselect
      * added more columns with relevant stats
      * added soldiers statstrings to names
      * added soldier re-ordering
v2015-12-21
  + added access to Bootypedia from Inventory
  + added soldier re-ordering ability into:
      * Vessels > Armor screen
      * Hands on Deck screen
      * VooDoo Classes screen
v2015-12-20
  + added access to Bootypedia from the battlescape
v2015-12-17
  - removed the epileptic flashing explosion effects
  + added stat improvement summary on the debriefing screen (by Roujin, see also: https://openxcom.org/forum/index.php/topic,2461.0.html)


Resources:
---------------
Pirate Music (65 MB): https://drive.google.com/open?id=0B8itkFQbhj-YSTZ4WktEanhUMlk
Xmas Music (45 MB): https://drive.google.com/open?id=0B8itkFQbhj-YeTV4VXcxLVJ4M2c

Mods (updated 2016-04-06):
---------------
Avatar Instead Of Rank: integrated into PirateZ, delete or deactivate!!
Captain's StatStrings: https://drive.google.com/open?id=0B8itkFQbhj-YaHFRZGJhVUpyNWc
Daylight Indicator: https://drive.google.com/open?id=0B8itkFQbhj-YVnR0TklXSXo0Z28
Pirate Flags: https://drive.google.com/open?id=0B8itkFQbhj-YZnFSdWpiVFhqdjQ
Refuel Notification: https://drive.google.com/open?id=0B8itkFQbhj-YRzNmREJHMDVpNlk
Static Smoke: https://drive.google.com/open?id=0B8itkFQbhj-YRjc4Nnl1VE1OaVk

World Flags (for xcom1, not piratez): https://drive.google.com/open?id=0B8itkFQbhj-YaG5HQlp6YkJHalE

Mods (updated 2016-05-01):
---------------
Custom categories: https://drive.google.com/open?id=0B8itkFQbhj-YblZaV0x2WVRLQU0
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on December 21, 2015, 11:56:18 am
This is not for you, as to see it, you need to disable the unlimited storage/prison space cheat ;)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Cristao on December 21, 2015, 12:36:54 pm
Explain how that works ... I have seen the option but I have always ignored it.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: niculinux on December 21, 2015, 12:51:20 pm
Hey, please a linux executable?  :'( :'( :'(

edit: nevermind :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on December 21, 2015, 03:38:15 pm
Or just a zip/git of the source code ;)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on December 21, 2015, 04:26:10 pm
My God, man!  The access to the Bootypedia in all the locations is terrific!!

Please put that code into a Pull Request to SupSuper and Warboy for vanilla OXC!!! <3 <3
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on December 21, 2015, 04:34:09 pm
My God, man!  The access to the Bootypedia in all the locations is terrific!!

Please put that code into a Pull Request to SupSuper and Warboy for vanilla OXC!!! <3 <3

My coding skills aren't what they used to be, my code would need to be reviewed and beautyfied. Also, the graphical side of it won't be of production-quality, just quick and dirty for my needs.

But I will post a patch for Arthanor and others, once I am finished.

For now, today's changes:

v2015-12-21
  + added access to Bootypedia from Inventory (using configured keyboard shortcut, default "U")
  + added soldier re-ordering ability into:
      * Vessels > Armor screen
      * Hands on Deck screen
      * VooDoo Classes screen
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on December 21, 2015, 06:54:01 pm
And it works? OMFG. Grabbing that nao. You rule, man.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on December 21, 2015, 07:08:32 pm
Certain someone once said that UFOPedia et al and Battlescape "Cannot ever be mixed". So much for that, lol :)

Any chance of figuring out how to change armor by r-clicking on a person (the another "impossible thing")? :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on December 21, 2015, 07:10:33 pm
Certain someone once said that UFOPedia et al and Battlescape "Cannot ever be mixed". So much for that, lol :)

Yeah, I'm kinda feeling like it was more, "... that was alot of work to get that Ufopedia State to work in another where it was never intended.... we certainly don't want to do that again."

;)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on December 21, 2015, 07:27:49 pm
Certain someone once said that UFOPedia et al and Battlescape "Cannot ever be mixed". So much for that, lol :)

Well, the battlescape/inventory below the UFOpedia window switches palette so it looks weird. I guess that's what that someone wanted to say. For me, it's a very minor nuisance... it doesn't even look that bad. And once you open an article, background switches to complete black anyway.

Yeah, I'm kinda feeling like it was more, "... that was alot of work to get that Ufopedia State to work in another where it was never intended.... we certainly don't want to do that again."

It was actually very easy. 3 lines of code for battlescape and 2 lines of code for inventory... but as said above, the images "don't mix well" :) Quick and dirty.... but oh so good.


Any chance of figuring out how to change armor by r-clicking on a person (the another "impossible thing")? :)

Do you mean changing soldier's armor directly in the Inventory screen by clicking on the paperdoll (or by a hotkey)?
I can look at that... shouldn't be too hard... might suffer the palette problem though... which I wouldn't mind.
Also, I guess that should work only when Inventory is opened during pre-mission equipment, right? :P
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on December 21, 2015, 07:37:48 pm
Do you mean changing soldier's armor directly in the Inventory screen by clicking on the paperdoll (or by a hotkey)?
I can look at that... shouldn't be too hard... might suffer the palette problem though... which I wouldn't mind.

Yes, exactly. And I don't mind palette problems either, compared to vast interface improvement. The way you have to do it now... It's pain.

Also, I guess that should work only when Inventory is opened during pre-mission equipment, right? :P

Hehehe, yes, only then. Unless the only option available in-battle was to take the armor off completely :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: DracoGriffin on December 21, 2015, 08:22:49 pm
*eagerly awaits Soldier Diaries to track kills/stuns and all that awesome stuff and for the eventual Pirate Commendations/Awards*

This is definitely incredibly work for any mod and any player, ESPECIALLY for new players coming into the game (people are still actually trying out OpenXcom and experiencing 1996 X-Com/TFTD for the first time!), more so for total conversion mods when people haven't memorized everything (or can't because there's 4 different types of ammo for weapons that may do something differently).
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on December 21, 2015, 08:49:31 pm
(or can't because there's 4 different types of ammo for weapons that may do something differently).

Never 4 ammo types. 1,2,3,6 or 9, other numbers are not kosher :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Cristao on December 21, 2015, 10:39:49 pm
*eagerly awaits Soldier Diaries to track kills/stuns and all that awesome stuff and for the eventual Pirate Commendations/Awards*

This is definitely incredibly work for any mod and any player, ESPECIALLY for new players coming into the game (people are still actually trying out OpenXcom and experiencing 1996 X-Com/TFTD for the first time!), more so for total conversion mods when people haven't memorized everything (or can't because there's 4 different types of ammo for weapons that may do something differently).

Soldier Diaries does track kill/stuns. Not for X-P tho.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on December 22, 2015, 12:22:01 pm
Yes, exactly. And I don't mind palette problems either, compared to vast interface improvement. The way you have to do it now... It's pain.

Done, see attached screenshot.
There is a palette problem as expected, but it is so small I didn't even notice it at first :-)

Hehehe, yes, only then. Unless the only option available in-battle was to take the armor off completely :)

I did it only when in base (you can open the armor selection GUI by hotkey for "Abort mission", usually "A"). In battlescape, it does nothing.

Btw. I hacked it pretty ugly, so I would appreciate if somebody could test it, if it doesn't crash under various circumstances (e.g. multiple bases, multiple craft in bases, including wounded soldiers, anything else you can think of...).

I will upload a new version today in the evening (before 20:00 CET), after I implement some more features.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on December 22, 2015, 04:49:40 pm
New version is now available (in the first post).

Besides ability to change armor directly in Inventory, the Martial Training screen has been improved too, see screenshot.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Boltgun on December 22, 2015, 04:59:34 pm
I love it.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on December 22, 2015, 05:00:21 pm
I love it.

I want to have his baby. ;)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: DracoGriffin on December 22, 2015, 05:40:59 pm
This is looking reeeeaaally good.

I can't wait to have Soldier Diaries though. Hurry up Yankes! :P

The endless possibilities to show off all kinds of goodies on stream/playthroughs!
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on December 23, 2015, 11:23:30 am
Meridian, I know this question could be uncomfortable, but are you planning to update this branch whenever Yankes releases a new version? Unless he incorporates it in the OXCE, but I don't expect it at this point.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on December 23, 2015, 11:32:10 am
Meridian, I know this question could be uncomfortable, but are you planning to update this branch whenever Yankes releases a new version? Unless he incorporates it in the OXCE, but I don't expect it at this point.

Yes, my changes are mostly in the very stable part of the source code, so it should be very easy to update once OXCE 3.0 is out.
I will continue doing it at least during the duration of the X-PirateZ LP (cca 2 years? :) ). After that... too early to say.

EDIT: upgrade to Visual Studio 2015 (required for OXCE 3.0+) might be a small problem, but somebody will for sure help me with the (potential) compiling issues.

EDIT2: added myk002's manufacturing profitability with one improvement... if the number has only one significant digit (e.g. +$2M) then show one more digit after decimal point (e.g. +$2.7M)... because it makes a big difference if I make 1.0 or 1.9 million from my alcohol trading ;-)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on December 23, 2015, 07:48:01 pm
New version is available (in the first post).

New stuff:

v2015-12-23
  + showing total maintenance time directly on Intercept window (inspired by PR by bslaveboy, but done differently)
  + blink health bar on fatal wounds (by redv)
  + added manufacturing profitability (by myk002 with small improvement, see also: https://openxcom.org/forum/index.php/topic,3517.0.html)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on December 24, 2015, 04:12:17 pm
Today only one new feature:

I'm sure it happens to you too... all the time. You had a bad month, or missed a terror mission and suddenly UFO activity increased to 10x the usual value... and all your charts are completely useless because all the important information is cramped in a few pixels, because of a single big spike.

Well, now you can select the scaling of the charts manually.
Possible options:
1/ 0 to 90 (or -10 to 80 if there is at least one negative value)
2/ 0 to 180 (or -20 to 160)
4/ 0 to 360 (or -40 to 320)
8/ 0 to 720 (or -80 to 640)
16/ 0 to 1440 (or -160 to 1280)

If you don't select anything, the automatically calculated scale is applied as usual.

Finally useful charts! :D

PS: one example attached (same situation, 3 different scalings)... it's not the best example (I don't have a save with a big spike right now), but you get the idea...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on December 24, 2015, 04:15:34 pm
We need to put you on holiday more often!  Look at all the amazing things you are doing!! This is tremendous! <3
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on December 24, 2015, 11:06:15 pm
That's really awesome! I was thinking of suggesting a "scale to current month" function for graphs, but this does the trick!
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on December 25, 2015, 03:45:24 pm
Changelog:
----------------
v2015-12-25
  + added soldier sorting into:
      * Vessels > Crew screen
      * Vessels > Armor screen
      * Hands on Deck screen (unlike other screens combobox is on the top of the screen, there was no place on the bottom)
      * VooDoo Classes screen
      * Martial Training screen

If I can I will add one more useful surprise to Hands on Deck (Soldier List) screen tomorrow.

Download in the first post.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on December 25, 2015, 05:08:54 pm
Could you publish your source code on github? Probably many people interested in more spicy version of extended would like grab it from there.

btw fun fact if you publish exe you should publish code too because GNU licensee obligate you to do it.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on December 25, 2015, 05:15:22 pm
I am not very good with GitHub, last time I made a PR, it took me several hours and few attempts.

I wanted to prepare and publish Git patch files instead.
Maybe you can then publish them in a separate branch of your depo... that way it would be even on one place. OK?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Bloax on December 25, 2015, 09:57:17 pm
Patch files are the superior choice here, so I can definitely encourage you to stay on that path.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on December 26, 2015, 01:24:38 am
I am not very good with GitHub, last time I made a PR, it took me several hours and few attempts.

I wanted to prepare and publish Git patch files instead.
Maybe you can then publish them in a separate branch of your depo... that way it would be even on one place. OK?
I can always help you with publishing to github. And for repo I think it would be better if you fork my repo. With this you will have full control on it and publishing will be one click for new visual studio (AFAIK vs2015 update 1 have plugin for that). And this will be still in one place. GitHub track all forks and show in one page:
https://github.com/SupSuper/OpenXcom/network
You can easy find all forks and commits of openxcom (and it will be better if your contribution would be under your name not mine).

Of coarse git was design that you can send your changes by mail, publishing combined patch will be fine too.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: eisenefaust on December 26, 2015, 06:07:34 am
Thanks Meridian for all the hard work you have put into this. I've been really enjoying your customizations to the project.
Do you think you also put up the zips containing your static smoke, custom music, and StatStrings? You may also consider putting a link to Dioxine's post about the barbershop to help new people find it easier.
I've been making my own custom stat strings but I'm more curious about your ranges for them all.
Thanks again! I look forward to more of your LP and updates!
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on December 26, 2015, 11:54:16 am
Yes, I will upload also mods when I get back home. I don't have access to them right now.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on December 26, 2015, 04:30:50 pm
New version is available.

v2015-12-26
  + added column displaying "dynamic" stats (the one selected in combobox) on:
      * Vessels > Crew screen
      * Hands on Deck screen
  + added kneel indicator (inspired by PR from DreamThorn, but only did a cheap version without dedicated sprites)
  + added more info to Alien Containment GUI (if live alien sale is enabled)
  - restored back Multi-level view in Battlescape, UFopedia can be opened by hotkey (hotkey for UFOpedia, usually "U")

These are all features I wanted to implement ... I have a few more days though, can anyone think of a small but usable improvement I could do next?

Meridian
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on December 26, 2015, 04:37:24 pm
The only thing I was thinking about is like the kneel indicator, but for short units (that you might lose sight of behind a wall).  Attack dogs come to mind, and even enemy guard dogs.  I know you haven't really been playing with dogs in your LP like you did with FMP, but its something to consider. :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Bloax on December 26, 2015, 04:46:07 pm
(https://dl.dropboxusercontent.com/u/63152810/n/xcom/CROUCH.gif)
Here's a slightly clearer indicator.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on December 26, 2015, 05:01:28 pm
(https://dl.dropboxusercontent.com/u/63152810/n/xcom/CROUCH.gif)
Here's a slightly clearer indicator.

I like this one. But I assume it requires adding new resources (the bitmap file), which makes it a bit less convenient to use, since it requires its own minimod or something. Still, I'll vote for this.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on December 26, 2015, 05:08:13 pm
(https://dl.dropboxusercontent.com/u/63152810/n/xcom/CROUCH.gif)
Here's a slightly clearer indicator.

This is already implemented here: https://github.com/SupSuper/OpenXcom/pull/1056

I made just a cheap version, which doesn't need any resources or rulesets... so that I can distribute only EXE.

The posh version will hopefully get into the vanilla soon... which will make my version obsolete.

The only thing I was thinking about is like the kneel indicator, but for short units (that you might lose sight of behind a wall).  Attack dogs come to mind, and even enemy guard dogs.  I know you haven't really been playing with dogs in your LP like you did with FMP, but its something to consider. :)

And what exactly should be done? I somehow missed the request in your sentence.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on December 26, 2015, 05:27:02 pm
Hmm... I guess I was thinking of some type of flag.... I thought I had seen one in your LP but maybe it was elsewhere.  It would probably require graphics assets though.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on December 27, 2015, 07:27:43 pm
New version available.

v2015-12-27
  + added info about medikit "ammo" on Hand UI
  + added info about medikit "target" on the Hand UI tooltip (more info here: https://openxcom.org/forum/index.php/topic,2915.msg56867.html#msg56867)
  + moved manufacturing error messages (not enough workshop space / not enough hangars) further down the chain (more info here: https://openxcom.org/forum/index.php/topic,4178.msg56841.html#msg56841)
  + improved remaining firing/throwing/melee accuracy display on Unit Stats GUI (more info here: https://www.ufopaedia.org/index.php?title=Accuracy_formula#Stat_Screen_Accuracy)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: eisenefaust on December 28, 2015, 08:07:43 am
Yes, I will upload all mods when I get back home. I don't have access to them right now.
Great! Thanks very much.
It also appears to me that you are using a worksheet or something to help you figure out what is best melee and ranged weapons for the gals to use. Would you mind sharing that as well? I would find it very interesting as well.
Thanks again!
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on December 28, 2015, 12:36:37 pm
  + improved remaining firing/throwing/melee accuracy display on Unit Stats GUI (more info here: https://www.ufopaedia.org/index.php?title=Accuracy_formula#Stat_Screen_Accuracy)

What, exactly, is now shown? Not sure if I understand this, or at least I don't understand what your intention was...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on December 28, 2015, 12:47:20 pm
What, exactly, is now shown? Not sure if I understand this, or at least I don't understand what your intention was...

Assume your soldier has 100 firing accuracy and 100 health.
Assume the soldier loses 99 hp and now has only 1 hp.

The Unit Info screen (battlescape) will show you that remaining firing accuracy is 1 .... whereas it is actually around 75.

The chance to hit in the Action UI will correctly show you about 75% of the chance you had before injury ... which doesn't make sense when the other GUI shows you have remaining accuracy of 1. It is nothing game breaking... but for 20 years everytime I saw that my soldier has just 1 firing accuracy, I never even bothered to check the chance to hit, because I thought it would be around 0%... but that is definitely not the case... even losing almost all hitpoints costs you in worst case only 25% of your accuracy. So, it is actually worth using even soldiers close to death... which is something I learned only yesterday (thanks to a viewers comment on youtube and confirmed by Warboy) after 20 years... because of this glitch.

There are of course other bonuses and penalties... but they don't have such impact.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on December 28, 2015, 07:27:27 pm
New version available.

v2015-12-28
  + added sorting (and Size column) to Stores GUI -- inspired by DracoGriffin's suffering as he never has enough space after ending every mission :D
  + added fatal wounds indicator to Inventory GUI
  + added current turn indicator in the tooltip

PS: I found a lot more nice suggestions on the forum... I'll be reviewing/implementing them soon :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: DracoGriffin on December 29, 2015, 06:57:05 am
The quality of life improvements are insane; to think I even inspired something!

Yeah, I am almost 100% going to start a new campaign once Yankes updates to a more recent Nightly that contains Soldier Diaries so I can use all these things.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on December 29, 2015, 05:54:35 pm
A few more features today.

v2015-12-29
  + added primed grenade indicator to Hand UI (not animated)
  + added 2-handed weapon indicator to Hand UI
  + display recovery time when soldier is wounded (directly in the list)
  + added hotkey to de-equip armor from all soldiers at once in Equip Armor GUI (key for clear inventory, usually "X")
  + added hotkey to de-assign all soldiers from all craft at once in Equip Crew GUI (key for clear inventory, usually "X")

TODO list:
 select soldier paperdoll/avatar via GUI (in inventory)
 rename soldiers directly in inventory GUI
 break neck / cut throat
 show TUs when moving things between inventory slots
 show all visible aliens -- see https://openxcom.org/forum/index.php/topic,2394.0.html
 re-arrange base list
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on December 31, 2015, 10:05:33 am
Another thing that could be very useful - enabling the display of resistance type 0 on armor entries (now it is ignored).
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on December 31, 2015, 11:33:12 am
Another thing that could be very useful - enabling the display of resistance type 0 on armor entries (now it is ignored).

Which armor can I use for testing?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on December 31, 2015, 11:37:36 am
Most armors have this resistance modified, but I guess Runt Outfit is the best bet. It works, as far as I can tell - just isn't displayed.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on December 31, 2015, 11:49:22 am
Most armors have this resistance modified, but I guess Runt Outfit is the best bet. It works, as far as I can tell - just isn't displayed.

So the damage type = 0 (DT_NONE).
The damage type description is "Unknown" (STR_UNKNOWN).
See attached example.

Should I change also the description from STR_UNKNOWN to something else? What kind of damage is it in PirateZ actually? In vanilla, I don't think it is used at all.

EDIT: I changed the description to STR_DAMAGE_NONE, you'll be able to translate it in PirateZ just like all other damage types
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on December 31, 2015, 12:22:27 pm
Awesome!:) It is known as 'Special' damage in the Pedia, but unknown works too. It is used by a few certain enemis and items, the only one you know by now is the battle flag. 'Charm' would be too specific to call it, but not too off from what it is.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on December 31, 2015, 10:04:05 pm
New version available.

v2015-12-31
  + added possibility to rename soldiers in the Inventory view
  + enabled the display of resistance to damage type 0 (DT_NONE) in UFOpedia
  + added "unseen" indicator for:
      * new research items
      * new manufacture items
      * new UFOpedia articles
v2015-12-30
  + added Select Avatar GUI to Inventory (with preview!)
  + using battlescape palette for Select Armor GUI in Inventory
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on January 01, 2016, 11:46:37 am
A small teaser before today's release... attached as animated GIFs ;-)

v2015-01-01
  + added possibility to re-order bases (by right-click)
  + showing TU cost when moving items between inventory slots -- I'm sure everybody wants this!

TODO (hopefully today):
  break neck / cut throat / coup de grâce
  show all visible aliens -- see https://openxcom.org/forum/index.php/topic,2394.0.html
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on January 01, 2016, 11:50:14 am
I love the latest feature. I love them all. :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Bloax on January 01, 2016, 11:50:24 am
Quote
  + showing TU cost when moving items between inventory slots -- I'm sure everybody wants this!

wew lad
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on January 01, 2016, 08:22:23 pm
OK, last two... now I can finally return to gaming :P

v2015-01-01 (continuation)
  + added option to execute unconscious units with melee (blade) weapons -- more info here: https://openxcom.org/forum/index.php/topic,3833.msg57103.html#msg57103
  + added shortcuts to enemies visible by other soldiers (green enemy indicator) -- more info here: https://openxcom.org/forum/index.php/topic,2394.0.html

Screenshots attached.
Binaries available in the first post.
Additional ruleset for X-PirateZ available in the second post.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: eisenefaust on January 02, 2016, 08:09:27 am
v2015-12-30
  + added Select Avatar GUI to Inventory (with preview!)
Hi, Thanks again for all these great improvements. I'm a little confused on how to update the avatars in this version? I've tried various things from the inventory in equip vessel screen and while on battlescape but I haven't gotten it to work yet.
How do I use this new feature?
Thanks!
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on January 02, 2016, 10:09:23 am
Hi, Thanks again for all these great improvements. I'm a little confused on how to update the avatars in this version? I've tried various things from the inventory in equip vessel screen and while on battlescape but I haven't gotten it to work yet.
How do I use this new feature?
Thanks!

Ooops sorry.
The hotkey is "M" (or anything you have bound to "Minimap" hotkey).

PS: it works only when the soldier is in the base (i.e. not on a mission)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: eisenefaust on January 02, 2016, 12:16:36 pm
Ooops sorry.
The hotkey is "M" (or anything you have bound to "Minimap" hotkey).

PS: it works only when the soldier is in the base (i.e. not on a mission)
Perfect! Thanks. Would it be possible to also have it accessed by Right-Click on Character Avatar? I just naturally tried that first, perhaps others feel the same way.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on January 02, 2016, 12:31:46 pm
As far as I see in the code, there are no borders for the avatar (it is actually a 320x200 surface, i.e. fullscreen).
I could hard-code some coordinates... but it would probably not work well with different resolutions and aspect ratios...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on January 02, 2016, 08:15:35 pm
New version available.

v2015-01-02
  + soldier sorting now supports also ID (order in which soldiers were hired) and name (by first letter only)
  + added experimental map border indicator to minimap
  + added experimental map border indicator to map (only visible when "show all layers" button is turned on)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: eisenefaust on January 03, 2016, 09:33:18 am
As far as I see in the code, there are no borders for the avatar (it is actually a 320x200 surface, i.e. fullscreen).
I could hard-code some coordinates... but it would probably not work well with different resolutions and aspect ratios...
Ok, no problem.

I was also talking to another friend of mine, who I've recently introduced XCOM to, and he was trying to equip soldiers by right-clicking them in the soldier list. What do you think about this? On some level it makes sense to me, but then again what do you do when then soldier isn't assigned to a craft?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on January 03, 2016, 05:07:30 pm
A few bugfixes today.

v2015-01-03
  + Fixed stat update after armor change in Inventory
  + Fixed scrolling issue (in Craft > Equip Armor GUI)


I was also talking to another friend of mine, who I've recently introduced XCOM to, and he was trying to equip soldiers by right-clicking them in the soldier list. What do you think about this? On some level it makes sense to me, but then again what do you do when then soldier isn't assigned to a craft?

I personally don't miss such a feature, but if more people ask for it, I can do it.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on January 04, 2016, 02:59:42 am
I personally don't miss such a feature, but if more people ask for it, I can do it.

I think it's in line with other official improvements of GUI, like scrolling.

And like always, thanks for all the great work!

EDIT:

Have you perhaps considered this option (https://openxcom.org/forum/index.php/topic,3251.0.html)? Or is it already in perhaps?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on January 04, 2016, 10:42:52 am
Have you perhaps considered this option (https://openxcom.org/forum/index.php/topic,3251.0.html)? Or is it already in perhaps?

I think this was always in. You just need to modify/add the resources so that the frames are not all the same.

But frankly, I personally don't like too much animation... remember I am the guy who made even the smoke static ;-)

EDIT: This is already in. You can animate stuff and you can also animate it with different starting frames if you make multiple MCDs.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on January 04, 2016, 11:50:10 pm
New version available.
Mostly bugfixes and some improvements.

v2016-01-04
  * Inventory screen:
    + don't shift inventory grid labels anymore (when showing TUs needed to move items)
    + disabled moving fixed items in Inventory by Ctrl+click (for example cannot drop medikit-item from Nurse outfit)
    + clear/create/apply inventory template functionality now ignores fixed items
       * clear doesn't remove fixed items
       * create doesn't include fixed items
       * apply doesn't overwrite fixed items
  * Stat improvement screen:
    + increased the size of Stat Improvement table to 18 rows (so that we can see entire Bonaventura crew at once)
    + fixed CTD on mission end (caused by stat improvement calculation for non-soldiers, i.e. HWPs)

TODO: correctly equip fixed items when changing armor directly in Inventory (e.g. Nurse outfit)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on January 05, 2016, 01:36:02 pm
This is already in. You can animate stuff and you can also animate it with different starting frames if you make multiple MCDs.

And that's exactly the point, Volutar suggested a way to avoid syncing without making more MCDs (which really isn't an option, since MCD number is limited). I was asking about using the currently unused byte for telling the engine to start with a random frame, sorry for not being clear.

Good going with the improvements, can't wait to test them.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on January 05, 2016, 10:46:42 pm
New version's up.

v2016-01-05
  + now properly equipping also fixed items when changing armor in the Inventory... I would appreciate if somebody helped me test this some more
  + merged SupSuper's code fixing problems with Graphs when there are more than 16 countries (wrong total, wrong colors, wrong values, etc.), more info here: https://openxcom.org/bugs/openxcom/issues/1148
    * BIG thanks to SupSuper!
  + added hotkey to open Inventory from Craft Equipment (same as in battlescape, usually "I")
  + fixed the Apply inventory template button... which I accidentally broke yesterday ;-)


Good going with the improvements, can't wait to test them.

I would really appreciate that. I have tested all of them, but (most probably) not all the cases. There are features in OXC/OXCE, which I don't even know about and forgot to consider them... like the last case with the fixed items on armors (e.g. Nurse outfit, Alliance advisor or even a dog)... but that should be fixed with today's version.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: eisenefaust on January 07, 2016, 06:47:21 am
Yay! Second post has statstrings, static smoke, and music now!
Thanks for adding this so soon!
I found your statstring settings really interesting! I added 'T' and 't' for throwing skill with same ranges as firing skill for 'M' and 'm'.
I'm curious why you didn't have a throwing accuracy statstring already since all the bow usage? Did you find that throwing weapons fall off and everyone should go for guns, is it that throwing skill is easy to train with tossing flares that you didn't have to worry about it, or something else I'm not thinking off?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on January 07, 2016, 12:27:37 pm
I thin I've written it somewhere already but can't find it now, so I'll repeat here.

Would it be possible to make beer, rum etc. consumable items? What I mean is that if you drink all the charges, you shouldn't get all your bottle back in the base; you should just lose it and buy or brew a new one. If you have some partially finished bottles, the remaining content should combine to form as many full bottles as possible, exactly like ammo.
Actually, medikits and bandages should follow the same mechanics... In vanilla it is assumed that you can simply replenish their content in base, but in Piratez it's not so trivial.

Another but related thing about drinkable stuff is that it's weird that the bottles are clearly divided into three parts (healing, painkillers and stimulation). It would be more natural if each sip gave you all three effects at once (or two, if some component is not present).

So Meridian, do you think it can be done? I know it's probably not trivial, but I think it's dearly needed.


EDIT:

One more thing: would it be possible to have a filtering system in the Craft/Equipment screen? Like displaying only weapons, or maybe even only melee weapons, or perhaps even only one-handed weapons? This would be really handy for example whenever I am looking for a pistol for my melee warrior and it's hard to see what we have, especially when I have tons of stuff (or doing tests in Quick Battle).
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Cristao on January 09, 2016, 12:06:56 am
Quick Question - Are commendations involved?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on January 09, 2016, 12:40:55 am
I thin I've written it somewhere already but can't find it now, so I'll repeat here.

Would it be possible to make beer, rum etc. consumable items? What I mean is that if you drink all the charges, you shouldn't get all your bottle back in the base; you should just lose it and buy or brew a new one. If you have some partially finished bottles, the remaining content should combine to form as many full bottles as possible, exactly like ammo.
Actually, medikits and bandages should follow the same mechanics... In vanilla it is assumed that you can simply replenish their content in base, but in Piratez it's not so trivial.

Another but related thing about drinkable stuff is that it's weird that the bottles are clearly divided into three parts (healing, painkillers and stimulation). It would be more natural if each sip gave you all three effects at once (or two, if some component is not present).

So Meridian, do you think it can be done? I know it's probably not trivial, but I think it's dearly needed.


EDIT:

One more thing: would it be possible to have a filtering system in the Craft/Equipment screen? Like displaying only weapons, or maybe even only melee weapons, or perhaps even only one-handed weapons? This would be really handy for example whenever I am looking for a pistol for my melee warrior and it's hard to see what we have, especially when I have tons of stuff (or doing tests in Quick Battle).
I think consumable medikit probably more appropriate to my branch than Meridian. Soon I will start again taking requests because I'm finishing scripting (99% done). After that I could look on that.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on January 09, 2016, 01:28:55 am
I think consumable medikit probably more appropriate to my branch than Meridian. Soon I will start again taking requests because I'm finishing scripting (99% done). After that I could look on that.

Oh good, that would be nice. Thanks.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on January 09, 2016, 11:52:30 am
I think I've written it somewhere already but can't find it now, so I'll repeat here.

1/ Would it be possible to make beer, rum etc. consumable items? What I mean is that if you drink all the charges, you shouldn't get all your bottle back in the base; you should just lose it and buy or brew a new one. If you have some partially finished bottles, the remaining content should combine to form as many full bottles as possible, exactly like ammo.
Actually, medikits and bandages should follow the same mechanics... In vanilla it is assumed that you can simply replenish their content in base, but in Piratez it's not so trivial.

2/ Another but related thing about drinkable stuff is that it's weird that the bottles are clearly divided into three parts (healing, painkillers and stimulation). It would be more natural if each sip gave you all three effects at once (or two, if some component is not present).

3/ So Meridian, do you think it can be done? I know it's probably not trivial, but I think it's dearly needed.

1/ Yes, making medikit-type items consumable is possible and quite a good idea for piratez.

2/ All 3 effects by drinking alcohol is also easily doable... but doesn't make too much sense to me. You drink alcohol for pain killer and for energy recovery, but you pour it on the wound when you want to heal. So at least these two are clearly separate, no? As for pain killer and energy/stun recovery, we could think about it... but honestly, who ever uses pain killers...? I guess we can just happily ignore them...

3/ It can be done. I guess it would take me between 4 and 10 hours, including testing. However, since this would not have any immediate use for anyone, I would need to know that sombody is actually planning to use it in their mod... so far only xpiratez is using oxce, so the question goes directly to dioxine I guess. I will not implement any features until I know for sure that they will be used. 4-10 hours may seem like nothing, but I value my time a lot.

One more thing: would it be possible to have a filtering system in the Craft/Equipment screen? Like displaying only weapons, or maybe even only melee weapons, or perhaps even only one-handed weapons? This would be really handy for example whenever I am looking for a pistol for my melee warrior and it's hard to see what we have, especially when I have tons of stuff (or doing tests in Quick Battle).

Yes, that's a great idea... I also had it in the back of my head, but somehow it didn't pop up. I will put it on my todo list.

Quick Question - Are commendations involved?

No.

I think consumable medikit probably more appropriate to my branch than Meridian. Soon I will start again taking requests because I'm finishing scripting (99% done). After that I could look on that.

Agreed.
I can make a PR though, if I would implement it sooner than you.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Bloax on January 09, 2016, 02:36:20 pm
I think consumable medikit probably more appropriate to my branch than Meridian. Soon I will start again taking requests because I'm finishing scripting (99% done). After that I could look on that.
Say, would your scripting stuff allow for scriptable weapon actions?
Like a "weapon" that has an action that causes arbitrary stat changes potentially with arbitrary 'status effects' that last for a set amount of time?
An arbitrary example would be a potion of vitalization that restored 10 hp up to max outside of the status effect, and gave str+5 tu+10 stamina+20 for 4 turns.

This has been brought to you by the Ministry of Arbitrary Questions about Arbitrary Concepts.

or is it just map scripting
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on January 09, 2016, 02:54:37 pm
Exactly, when I will add script events on bullet hits (and some "buffs") you could do that. But this will not be available on beginning.
First thing that you can be able to do will be recoloring of unit sprites (it can look like christmas tree if you want) and switch graphic parts of sprite as you fit (image flying armor that have moving wings when in air, or simply more torsos instead only male and female).
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on January 09, 2016, 03:14:07 pm
1/ Yes, making medikit-type items consumable is possible and quite a good idea for piratez.

Oh good.

2/ All 3 effects by drinking alcohol is also easily doable... but doesn't make too much sense to me. You drink alcohol for pain killer and for energy recovery, but you pour it on the wound when you want to heal. So at least these two are clearly separate, no?

Hmm... I thought it was used both internally and externally, it's magical rum after all. :) Frankly, I don't know, you can be right. We need Dioxine to have a final say.

As for pain killer and energy/stun recovery, we could think about it... but honestly, who ever uses pain killers...? I guess we can just happily ignore them...

I don't really use it either, but it's more about design principles. I guess it depends on the decision on healing - if it goes in, then painkillers would go in, too.

3/ It can be done. I guess it would take me between 4 and 10 hours, including testing. However, since this would not have any immediate use for anyone, I would need to know that sombody is actually planning to use it in their mod... so far only xpiratez is using oxce, so the question goes directly to dioxine I guess. I will not implement any features until I know for sure that they will be used. 4-10 hours may seem like nothing, but I value my time a lot.

No, I agree, it's not a trivial amount of time. :) X-Com Files will use OXCE too, and I think it highly probable that it'll be used somehow, but I have no particular plan yet.

Yes, that's a great idea... I also had it in the back of my head, but somehow it didn't pop up. I will put it on my todo list.

Great!

Exactly, when I will add script events on bullet hits (and some "buffs") you could do that. But this will not be available on beginning.
First thing that you can be able to do will be recoloring of unit sprites (it can look like christmas tree if you want) and switch graphic parts of sprite as you fit (image flying armor that have moving wings when in air, or simply more torsos instead only male and female).

Does it mean we can assign random sprites to units, or at least random colours to their parts (like currently with skin/hair)?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on January 09, 2016, 03:44:07 pm
An arbitrary example would be a potion of vitalization that restored 10 hp up to max outside of the status effect, and gave str+5 tu+10 stamina+20 for 4 turns.

Hope not, it's useless to me (as it'd force the player to juggle potions like an idiot instead of fighting) and due to complexity, burden OXCE with endless bugs that'd disrupt the currently working mechanism.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on January 09, 2016, 03:44:55 pm
Does it mean we can assign random sprites to units, or at least random colours to their parts (like currently with skin/hair)?
You will be able choose any body part graphic for any body part in current unit PCK file. You will get index of current body part graphic and you will return any index you want (it can be outside of standard set).
And for color, you will get current pixel color, current shade, what body part it belong to, unit and its data, animation counter. What you will do with it is up to you.
You can take race/gender of unit and change result color based on this or not if you want. Now some sneak peek (this is my test case to see if I don't break my own code):
Code: [Select]
armors:
  - type: STR_NONE_UC
    recolorScript: |
      set r1 in;
      get_shade r0 r1;
      get_color r2 r1;
     
      set r3 0;
      if eq blit_part blit_legs;
        testFunc r3 1;
        testFunc r3 r3;
      else eq blit_part blit_leftarm;
        set_color r1 5;
      else eq blit_part blit_rightarm;
        set_color r1 11;
      else;
        set r3 0;
      end;
     
     
      test r2 15;
      goto_eq body;
     
      add_shade r1 shade;
      ret r1;
     
      body:
      set r2 r0;
      mul r2 -1;
      add r2 16;
      add r0 anim_frame;
      BattleUnit.getId unit r3;
      add r0 r3;
      wavegen_tri r0 16 16 r2;
     
      bbb:
      set_shade r1 r0;
      add_shade r1 r3;
     
      ret r1;
This code will result in something like that:
(https://i.imgur.com/Ejk34q9.png)
(https://i.imgur.com/d3n7XM6.png)
(https://i.imgur.com/gBZlCzv.png)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Cristao on January 09, 2016, 04:56:04 pm
Brilliant work. I restarted my game because of this. I also love the Pirate music collection.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Bloax on January 09, 2016, 05:05:40 pm
Hope not, it's useless to me (as it'd force the player to juggle potions like an idiot instead of fighting) and due to complexity, burden OXCE with endless bugs that'd disrupt the currently working mechanism.
That's a pretty shortsighted reply. o_O
Status effects have been a core of TBS games for a while due to it being such an interesting mechanic to work with.
Juggling drugs like a retard is a balance issue more than anything; you wouldn't be juggling them if they were both tactically valueable and very scarce, nor if they lasted a very long time.

Not to mention the potential of permanent negative side-effects.. Hehehe.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on January 09, 2016, 07:10:14 pm
That's a pretty shortsighted reply. o_O
Status effects have been a core of TBS games for a while due to it being such an interesting mechanic to work with.
Juggling drugs like a retard is a balance issue more than anything; you wouldn't be juggling them if they were both tactically valueable and very scarce, nor if they lasted a very long time.

Not to mention the potential of permanent negative side-effects.. Hehehe.

Not as much short sighted as selfish, if anything.

I've been playing games for 30 years and modding them for 20. I know my sh*t and I know what I'm talking about. Played hundreds of games with f*cking status effect potions and hated them every time, unless the boost was a major one (think Diablo altars) and the potions very rare. However, X-Com is a game with manufacturing so, there is no chance in hell the potions will be rare. So stat modifiers yes, but not in the battlescape. F*ck, I want body augmentations to be a thing at some point. Just no magic potions.

So yeah, spending entire turns drinking potions so you can get some slight edge in combat? F*ck that, not in my mod. That'd mean I'd have to balance the game with potions in mind, so not using potions would be a dumb choice, and a choice between dumb and tedious is a very bad choice. So I am selfish in a sense that I will not use such mechanics (well, I would to some degree if they were there, but I don't need them per se) and still get all the bugs that always come with features.

Otoh the thing Yankes is doing now is immensely useful, as it would, for example, finally allow night vision to be playable.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on January 09, 2016, 07:14:25 pm
Well, magic potions can also be a mod. :) If someone wants them in (I surely don't, God forbid), sure, it's a free country. :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Bloax on January 09, 2016, 07:19:34 pm
Oh but I'm just asking out of morbid curiosity.
Getting the potential of some real Sword & Sorcery with spells and all that jizz all up in the xcom engine would be great.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on January 10, 2016, 02:43:07 pm
Oh but I'm just asking out of morbid curiosity.
Getting the potential of some real Sword & Sorcery with spells and all that jizz all up in the xcom engine would be great.

In another game, sure. "Fantasy X-Com" has been a thing on this forum for a long time, there's some resources made (by Luke83 I believe), so it could be nice if designed well.

But I think a better solution for Piratez would be item bonuses, like: +10 Accuracy when in hand.


EDIT: Meridian, after some testing I think while the green enemy markers are great, it would be better if they didn't blink. Blinking normally signifies IMMEDIATE DANGER in games (and other machine), and on an enemy that is not nearby it is confusing since it stirs wrong instincts in the player's mind. So I think it would be better if they were just flat green squares, even though they wouldn't look as awesome.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on January 10, 2016, 02:54:22 pm
@Meridian
Having tested these improvements a bit, I find them great, and no bugs so far. But I'd like some changes to be optional... the ones I found controversial:

- Production profitability view (I like it but things like these are generally optional);
- Execution (my ire is it always kills the target, that's why I want it to be optional, but otoh it is a nice improvement);
- Item Handeness display (it's useful but a bit superfluous to me, since I see handeness on the battlesprite, so I vote for optional);
- Light background on the minimap (I personally prefer the original, black one for the immersion; both options should be possible).

Also:
- I agree with solar that the green indicators shouldn't be blinking.
- We could also improve the kneel display but I don't know how yet (the current indicator is okay but I think it could be better).
- The avatar toggle should support all 128 possible avatars, not just 32 (I already have further 16 ready for the next release).

And the final request would be for the .exe to be standalone, with these dlls integrated, if it is possible - it'd be much cleaner and easier to upgrade/switch versions.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on January 10, 2016, 11:29:43 pm
EDIT: Meridian, after some testing I think while the green enemy markers are great, it would be better if they didn't blink. Blinking normally signifies IMMEDIATE DANGER in games (and other machine), and on an enemy that is not nearby it is confusing since it stirs wrong instincts in the player's mind. So I think it would be better if they were just flat green squares, even though they wouldn't look as awesome.

Not blinking green indicators are ok for me too, will do.

@Meridian
Having tested these improvements a bit, I find them great, and no bugs so far. But I'd like some changes to be optional... the ones I found controversial:

- Production profitability view (I like it but things like these are generally optional);
- Execution (my ire is it always kills the target, that's why I want it to be optional, but otoh it is a nice improvement);
- Item Handeness display (it's useful but a bit superfluous to me, since I see handeness on the battlesprite, so I vote for optional);
- Light background on the minimap (I personally prefer the original, black one for the immersion; both options should be possible).

Also:
- I agree with solar that the green indicators shouldn't be blinking.
- We could also improve the kneel display but I don't know how yet (the current indicator is okay but I think it could be better).
- The avatar toggle should support all 128 possible avatars, not just 32 (I already have further 16 ready for the next release).

And the final request would be for the .exe to be standalone, with these dlls integrated, if it is possible - it'd be much cleaner and easier to upgrade/switch versions.

1/ production profitability is already in vanilla (few days ago) so with next bigger update it will not be my code at all
2/ all features you mentioned can be made optional, see more info about it below... for now i will make those you mentioned
3/ there is a much better kneel indicator here: https://github.com/SupSuper/OpenXcom/pull/1056  -- I can just include this one, but you will have to add additional sprites and ruleset into piratez... I don't want to distribute such things myself
4/ how would the avatar toggle work then? a list with 128 options seems too much...
5/ I don't know how to make a standalone EXE, but Yankes promised to help with that

In general my plan is to:
1/ make a video with description of all features from 2.5b+
2/ ask SupSuper/Warboy what can I PR into vanilla (with/without advanced option)
3/ merge what I can into vanilla
4/ ask Yankes what I can merge into OXCE 3.0 (with/without advanced option)
5/ merge what I can into OXCE 3.0
6/ keep the rest in my branch

Also, I won't be doing PRs before they are actually approved first... I don't have time to waste.
Also, before merging, I would do proper support for translations, TFTD, and all that jazz... which is not there at the moment.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: sambojin on January 11, 2016, 12:52:20 am
Thanks for the great .exe mod. The quality of life features, all bundled into one package, has been very useful.

Inventory from virtually anywhere and *any* kneeling indicator is worth it alone. Especially when you abuse smoke grenades as much as I do. Little things like the playfield area indicator are nice too.

Here's hoping they roll pretty much the entire mod into oXc vanilla, so everyone else gets to use these great features as well. But if they don't, you've made my life easier, by far.

Keep up the good work, and thanks again for all the effort you've put into this.

I'm following your LP and rather enjoying it, even if your tactics are massively different to mine.

Now, off to train my wiki-fu. How can exploding cannonballs for the assault cannon not be on there? They are one of the most Piratez'y things ever (and probably the best artillery in the game, for the price). 3-4 cannons destroy almost anything, from almost anywhere, for a cost your gals can afford. Think of them as bows for real women. Never waste time training throwing again :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Bloax on January 11, 2016, 07:28:44 pm
3/ there is a much better kneel indicator here: https://github.com/SupSuper/OpenXcom/pull/1056  -- I can just include this one, but you will have to add additional sprites and ruleset into piratez... I don't want to distribute such things myself
For that I would suggest
(https://dl.dropboxusercontent.com/u/63152810/n/xcom/CROUCH.gif)
this over-the-top button from earlier that will absolutely stick out in the interface.

just in case people forgot :v
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on January 11, 2016, 11:25:12 pm
New version is up.

v2016-01-11
  + Added adv. option for Minimap border indicator
  + Added adv. option for 2-handed indicator
  + Added adv. option for Coup de grace
  + Added audio feedback to execute action (Coup de grace)
  + Disabled blinking of the green enemy indicator
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on January 12, 2016, 12:51:18 pm
3/ there is a much better kneel indicator here: https://github.com/SupSuper/OpenXcom/pull/1056  -- I can just include this one, but you will have to add additional sprites and ruleset into piratez... I don't want to distribute such things myself
4/ how would the avatar toggle work then? a list with 128 options seems too much...

I will include the button (preferably the one in the commit, as it looks non-invasive), if you tell me exactly what to do :)
As for the avatars - firstly, a list of 128 items is not a biggie; secondly, frankly there is no choice as OXCE supports up to 128 avatars - unless you'd make the list length auto-detect the number of avatar variants, or make it ruleset-definiable...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on January 12, 2016, 02:01:59 pm
I will include the button (preferably the one in the commit, as it looks non-invasive), if you tell me exactly what to do :)

You can either include it as a standard mod for piratez, see attached... or integrate it directly into piratez.

I've added support for it into my build... download will be available later in the evening.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on January 12, 2016, 02:19:45 pm
Thx, integrating that directly (too good to miss out).
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Cristao on January 12, 2016, 02:23:00 pm
New version is up.

v2016-01-11
  + Added adv. option for Minimap border indicator
  + Added adv. option for 2-handed indicator
  + Added adv. option for Coup de grace
  + Added audio feedback to execute action (Coup de grace)
  + Disabled blinking of the green enemy indicator

Thanks - great work. I didnt mind the blinking. I guess the demands of the many override the few. The green indicator is really useful. At times in easier maps I like to keep one soldier in sight of the stunned personnel. I no longer need to cycle through each soldier to find if a stunned enemy is awake - now I just looked out for the green.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on January 12, 2016, 02:28:17 pm
I guess the demands of the many override the few.

No, demands of creators override the demands of the users, unless the users can prove the creator(s) being delirious :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Cristao on January 12, 2016, 05:06:39 pm
No, demands of creators override the demands of the users, unless the users can prove the creator(s) being delirious :)

Fair change of words...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on January 12, 2016, 05:46:16 pm
New version is up.
Some testing for the new accuracy training would be appreciated.

v2016-01-12
  + Rebalanced throwing and firing accuracy training, more info here: https://openxcom.org/forum/index.php/topic,4220.msg57516.html#msg57516
  + Added support for custom kneeling indicator, more info here: https://openxcom.org/forum/index.php/topic,4187.msg57501.html#msg57501
  + Unseen (ufopedia/research/manufacture) indicators now work also in debug mode
  + Enhanced movement methods
      * when holding SHIFT while selecting target tile... the unit will walk/run there WITHOUT stopping when it spots an enemy
      * shift is usually a hotkey for "select previous unit"... so you will have to remove that hotkey in Options in order to use this new feature
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: sambojin on January 13, 2016, 03:13:14 am
  + Enhanced movement methods
      * when holding SHIFT while selecting target tile... the unit will walk/run there WITHOUT stopping when it spots an enemy
      * shift is usually a hotkey for "select previous unit"... so you will have to remove that hotkey in Options in order to use this new feature

Flamer and prod group run-ins just got all the more convenient. Thanks.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on January 13, 2016, 06:45:15 pm
New version is up.

v2016-01-13
  + Added filtering to Craft Equipment UI, see screenshot
  + Further rebalance of firing/throwing/melee accuracy training, more info here: https://openxcom.org/forum/index.php/topic,4220.msg57591.html#msg57591
  + Added option for wounded soldiers to fight in base defense, more info here: https://openxcom.org/forum/index.php/topic,4225.0.html
  + Unhardcoded number of avatars
  + Separate message for "no line of sight"
  + Separate message for "no arc of fire"
  + Throwing experience also improves secondary stats now (i.e. hp, stamina, tu and strength)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on January 14, 2016, 10:35:02 am
I just wanted to randomly thank you, Meridian, all your improvements really give my (and any OXCE) mod a new life :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on January 14, 2016, 11:37:56 am
I just wanted to randomly thank you, Meridian, all your improvements really give my (and any OXCE) mod a new life :)

Much appreciated.
I would have a favour to ask, if you have some spare time.

I am still going through that experience training stuff and I need to do a lot of testing/debugging... it is however taking forever to load PirateZ in debug mode (literally 10+ minutes). Would you be able to extract some weapons from piratez and make them a standalone mod pack for xcom1 for me for testing purposes?

The list would be:

true melee: cutlass, rope
short range: hammer, chainsaw, fuso knives, zapper, flamethrower, fusion torch
long range (arc): javelins, combat bow, grenade launcher or mortar (all types of ammo)
long range (line): panzerfaust, harpoon gun, any shotgun (with pellets)
disposables: molotov, black powder bomb, stick grenade, flask o acid, apple
grenades: willie pete, acid grenade, stun grenade, crate of violence

no need, already in xcom1: stun rod, he grenade, smoke grenade, proxy grenade, rifle, rocket launcher, blaster launcher, etc.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on January 14, 2016, 01:58:07 pm
Quite a list... That might take me a better part of the day...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on January 14, 2016, 04:10:05 pm
Okay, done and quickly tested - appears to work. No strings to save time.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on January 14, 2016, 04:24:43 pm
Okay, done and quickly tested - appears to work. No strings to save time.

You are terrific.  This collaboration is amazing!
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on January 14, 2016, 06:29:54 pm
v2016-01-13
  + Added filtering to Craft Equipment UI, see screenshot

Found two issues:
1. flamethrower flasks... they are only displayed in long range flamer, not normal flamer... can't fix that, item (the flask) can be only in one category
2. fusion torch flask... also displayed in long range... I will fix that this week

Okay, done and quickly tested - appears to work. No strings to save time.

That helped me a LOT... like speed up factor 20.

Anyway 3 questions:
a/ Rope doesnt seem to work (game crashes), could you have a look?
b/ While debugging I found support for melee weapons with ammo... are you aware of any such weapons in any mod?
c/ Please add Battle Flag too... btw. what should using that train?

All in all, I think I have a better understanding of the mechanics and will be able to implement also throwing training on actual grenade (explosion) hit; rather than only throw itself.
It will take me a few days though...

PS: fun fact... I didn't test it, but it looks like you cannot train firing on mind controlled aliens; but you can train melee on them ;-)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on January 14, 2016, 07:08:46 pm
a) Probably misplaced/missing hit sound or hit anim, deleting these should allow the rope to work. Handob, bigob and floorob work.
b) Yeah, tried those, they do work, but make little sense to me due to how magazines are/were handled (use 1 charge, lose magazine - even if the magazine has unlimited uses). I don't have any working code on hand, though.
c) When I have the time, rather not today. About training... This brings up another special case altogether. I guess any weapons that are using Special damage should train Psi Skill, but only if the soldier has been screened. Same should go for any weapon that uses psi skill or power for damage formula (not accuracy... I think?). This should override all other cases.

Training melee on MCed aliens seems to be a bug... But I guess eliminating abuses is simply impossible. Oh and make sure coup de grace doesn't train anything by accident :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on January 16, 2016, 09:35:53 pm
New version's up.

v2016-01-16
  + Completely new experience award / accuracy training system, more details here: https://openxcom.org/forum/index.php/topic,4230.0.html

I am taking a break, this one was a tough cookie.
Any help with testing is appreciated... although I think I tested all possible combinations.
Everytime I close my eyes I see a yellow "+1" in front of me.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on January 17, 2016, 11:13:23 am
You can either include it (toggle kneel button) as a standard mod for piratez, see attached... or integrate it directly into piratez.
I've added support for it into my build... download will be available later in the evening.

Thx, integrating that directly (too good to miss out).

FYI, it has been merged into vanilla now... with next OXCE upgrade you can/should remove it again.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on January 17, 2016, 11:33:59 am
Not sure I want the upgrade to the newest nightly, I have a feeling that Sup's upgrades will say something along "we've found 20,000 files with slightly wrong palette, so far it only affected OSX users, but now they'll be f*cked up on any system, have a nice day." (so funny, the standards for modders third parties are now so high that the OG failed to meet them) :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on January 17, 2016, 12:30:43 pm
Not sure I want the upgrade to the newest nightly, I have a feeling that Sup's upgrades will say something along "we've found 20,000 files with slightly wrong palette, so far it only affected OSX users, but now they'll be f*cked up on any system, have a nice day." (so funny, the standards for modders third parties are now so high that the OG failed to meet them) :)

Well, we'll see after it happens.

But as a developer I have to agree with them, there's just too many bug reports and more checks and standards are unavoidable to keep their sanity in one piece.
Too bad it didn't come earlier though.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on January 17, 2016, 01:23:14 pm
If you're saying that as a professional developer, meaning enterprise working on a for-profit basis, I absolutely agree. And that precisely what's bugging me, since OXC, being an open-source project, isn't a for-profit enterprise. I was unsettled by Sup using business language, and suggesting modders are some third-party contributors (just like the relationship between Steam and game devs). We're not. That's not how open source works IMO. The compatibility of my mod with this or that platform should be my own responsibility, not an enforced requirement. At least in an open-source model. Making a mod I am working for my personal reasons. If these personal reasons do not involve extra work neeeded to support non-PC platforms, I have 2 choices: do work for free just to support OXC team (which I'm not ruling out, to be clear), or quit. It's not some sense of entitlement, as someone could suggest if they wanted to prove I'm just a whining kid, but a cold calculation.

If this is turning to a for-profit enterprise, sure thing, it's their choice, nothing wrong with doing business, but AFAIK nobody was presented with any contract to sign, which is a bad business practice, to say the least. Of course to make any business on OXC, you need the rights to the XCOM franchise, and that's where Firaxis enters the picture. In the end, it is them who have everyone by the balls, because, let's be serious, what normal person would dare to risk a lawsuit from Firaxis.

Maybe I'm paranoid, maybe these are just products of my imagination, but I'm just voicing my private opinion here, that's it. A private, independent opinion of someone who supports hacker movement, posted here only on the grounds of freedom of speech, without the intention of besmirching, insulting or attacking anyone.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on January 17, 2016, 01:47:08 pm
Don't really know what to say... maybe I missed something important.

I don't think OXC is turning into anything even remotely for-profit, ever.
Also, I think 99.7% of your assets will still work after the upgrade... and if not... well, we can just revert the change that caused the incompatibility (either in OXCE or my my fork) and everything will be as previously again. No need to panic ;-)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: hellrazor on January 17, 2016, 02:03:56 pm
Also, I think 99.7% of your assets will still work after the upgrade... and if not... well, we can just revert the change that caused the incompatibility (either in OXCE or my my fork) and everything will be as previously again. No need to panic ;-)

I can confirm that, didn't had any issues with own Mod. But i took care of Gif's and unproperly aligned palettes in all graphics of my Mod a while ago so :>
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on January 17, 2016, 03:04:29 pm
Yeah, just wanted to make myself clear. And it's good to hear the incompatibility issues aren't, actually, that serious. I can always ask Hellrazor for the 'more proper' palettes anyway and write a macro to do the change in bulk while cursing quietly 'they did it again' (I was through this once already, 2 years ago or so, when OXC team suddenly decided battescape color #15 cannot be used - but back then I had like, 1% of resources I have now). I'm mainly afraid because I didn't give a damn if the palette is arbitralily proper or not, only if the game displays it properly or not, and I dare anyone to find a display error in my resources. We'll see how it goes :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on January 20, 2016, 06:28:34 pm
I think I've written it somewhere already but can't find it now, so I'll repeat here.

1/ Would it be possible to make beer, rum etc. consumable items? What I mean is that if you drink all the charges, you shouldn't get all your bottle back in the base; you should just lose it and buy or brew a new one. If you have some partially finished bottles, the remaining content should combine to form as many full bottles as possible, exactly like ammo.
Actually, medikits and bandages should follow the same mechanics... In vanilla it is assumed that you can simply replenish their content in base, but in Piratez it's not so trivial.

2/ Another but related thing about drinkable stuff is that it's weird that the bottles are clearly divided into three parts (healing, painkillers and stimulation). It would be more natural if each sip gave you all three effects at once (or two, if some component is not present).

3/ So Meridian, do you think it can be done? I know it's probably not trivial, but I think it's dearly needed.

1/ Done, all medikit-type items can be consumable now by adding a flag to ruleset "isConsumable: true". Each component (pain killer, stim, heal) is counted separately, they don't mix!

Example:
Vodka has 5 pain killers and 5 heals.
a/ If you use 2 pain killers from 7 vodkas and 1 heal from 4 vodkas... you have spent 14 pain killers and 4 heals. Which totals to 3 used vodkas together.
b/ If you use 3 pain killers and 3 heals... it's only one used vodka.

2/ This was not done... I don't like it. Would work for alcohol, but doesn't work for medi-kits...

3/ Download will be available later in the evening... I hope that modders, which decide to use this feature will decrease the cost accordingly.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on January 20, 2016, 07:45:12 pm
Interesting! Finally, bandages etc. can be much more realistic (and in realistic prices, without paying premium for 'magic'). Damn you Meridian, I have so many healing items, I have to do so much work again! :)
The thing that gripes me is that once medkits work realistically, the problem of 'magic' alcohol, and 3-in-one bottles ('drink with the left mouth corner to heal, right corner to stimulate and trough a straw for painkiller') will be glaring as heck. I think I will make all alcohol single-type healing item then (just like crack or smokes), and add all extras by the magic of OXCE. Example: Basically, Rum will be wound-healing only, but I will make it to also restore stamina, stun and morale as a secondary effect.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on January 20, 2016, 09:37:31 pm
New version is available.

v2016-01-20
  + Right-click on "Select Next Unit" button selects the previous unit
  + Added hotkey to de-equip all items from a craft at once (same as clear inventory, usually "X")
  + Added support for true two-handed weapons
  + Improved short range weapons filtering (i.e. fixed Fusion Torch)
  + Resized buttons on Craft Equipment UI
  + Added support for consumable medikits
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on January 20, 2016, 10:10:47 pm
  + Added support for true two-handed weapons

*Salivating*

Also, how do I designate a weapon to be "true two handed"?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on January 21, 2016, 12:51:25 pm
Scratch that, already done, works just fine :)

My current wishlist: :3

1. behaviour change for fixed builtInWeapons:
- if they're battletype 0 (none), do not equip them in hand, but in an inventory slot, just like they were non-fixed builtInWeapons. Why? You can eg. replace backpack space on a flying armor with a fixed jetpack sprite, block some slots in "sexy" outfits (instead of the convoluted weight system used now), replace backpack with an ammo pack if an armor has fixed minigun etc. I think it is very cool as allows for more variation in outfits, and much, much easier than trying to mod Inventories on a per-armor basis.

2. Akimbo shooting!
Not that much for myself, but I know many people would love to fire pistols from both hands.
- You need to have an one-handed, battletype 1, non-arcing weapon in each hand;
- Only firing options that are present in both weapons are available (Snap, Aim, Auto)
- TU cost is 67% compared to TU cost of both attacks combined;
- both attacks receive -40% accuracy penalty
- Execution - not sure, hotkey???
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on January 21, 2016, 10:01:58 pm
Scratch that, already done, works just fine :)

My current wishlist: :3

1. behaviour change for fixed builtInWeapons:
- if they're battletype 0 (none), do not equip them in hand, but in an inventory slot, just like they were non-fixed builtInWeapons. Why? You can eg. replace backpack space on a flying armor with a fixed jetpack sprite, block some slots in "sexy" outfits (instead of the convoluted weight system used now), replace backpack with an ammo pack if an armor has fixed minigun etc. I think it is very cool as allows for more variation in outfits, and much, much easier than trying to mod Inventories on a per-armor basis.

2. Akimbo shooting!
Not that much for myself, but I know many people would love to fire pistols from both hands.
- You need to have an one-handed, battletype 1, non-arcing weapon in each hand;
- Only firing options that are present in both weapons are available (Snap, Aim, Auto)
- TU cost is 67% compared to TU cost of both attacks combined;
- both attacks receive -40% accuracy penalty
- Execution - not sure, hotkey???
1. I think better would be "defulatInventorySlot: STR_BACKPAK" or something like that. It could be used in other cases not only for fixed weapons.
2. It will be bit pain to implements because all actions store only one item and unit drawing will need changes too to handle cases when both weapons are firing. Overall I think this cost too much compared to its worth.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on January 21, 2016, 11:18:29 pm
1. I think better would be "defulatInventorySlot: STR_BACKPAK" or something like that. It could be used in other cases not only for fixed weapons.

I fully agree, this will not only cover Dioxine's requirement, but also help make auto-equip a lot more useful.

2. It will be bit pain to implements because all actions store only one item and unit drawing will need changes too to handle cases when both weapons are firing. Overall I think this cost too much compared to its worth.

Yes, it is a pain for proper solution. I guess the graphical side being the biggest pain. The time is not ripe yet for this feature :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on January 22, 2016, 12:46:06 pm
I fully agree, this will not only cover Dioxine's requirement, but also help make auto-equip a lot more useful.

Makes sense for me as well, easy to implement in ruleset and will have much more uses that way.

As for akimbo, it's low priority for me.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on January 22, 2016, 11:21:31 pm
Makes sense for me as well, easy to implement in ruleset and will have much more uses that way.

After some analysis it looks like there is a lot to do if I want to add support for this everywhere... but I have added at least experimental support (for fixed items only!) today.
I tested it only on one example though (I put the Nurse's outfit medikit into backpack), so some more tests would help, if you have some time.
To repeat my test add the following to AUX_MEDIPACK:  defaultInventorySlot: STR_BACK_PACK

New version is up.

v2016-01-22
  + Experimental support for "defaultInventorySlot" (for fixed items only)
  + Experimental support for moving base facilities (ctrl+left click)
  + Added support for "refundValue" for base facilities
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on January 23, 2016, 01:26:56 pm
Thank you, thank you, thank you!
Support for non-fixed items isn't that crucial, the game engine more or less knows where to put them correctly.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: sambojin on January 23, 2016, 03:34:31 pm
True two-handed weapons meaning that you can't carry anything in the other hand?

That would be nice for plenty of things. The accuracy debuff doesn't really show how weird it is to carry two very large (or awkward) but very different weapons successfully. Assault Cannon/Long Bow for example.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on January 23, 2016, 04:03:49 pm
True two-handed weapons meaning that you can't carry anything in the other hand?

You can still carry two items... but if you want to use the weapon, you will have to drop the item from the other hand.

New version is up.

v2016-01-23
  + Added confirmation at mission end, more info here: https://openxcom.org/forum/index.php/topic,4114.msg58153.html#msg58153
  + Fixed CTD when manufacturing a craft also produces an item
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on January 24, 2016, 02:44:23 pm
Could you say what is the proper form for the STR_UNITS_WITH_FATAL_WOUNDS and STR_REFUND_VALUE so they display the values? I'm not good with special string commands.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on January 24, 2016, 03:00:02 pm
Could you say what is the proper form for the STR_UNITS_WITH_FATAL_WOUNDS and STR_REFUND_VALUE so they display the values? I'm not good with special string commands.

I put the default translations in the second post of this thread.

New version is up.

v2016-01-24
  + True two handed weapon flag (=blockBothHands flag) is also checked during reaction fire, but not during berserking
  + Added support for refuel notifications

PS: mod for refuel notification for pigeon and zeppelin attached
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: yrizoud on January 26, 2016, 06:55:00 pm
I think I will make all alcohol single-type healing item then (just like crack or smokes), and add all extras by the magic of OXCE. Example: Basically, Rum will be wound-healing only, but I will make it to also restore stamina, stun and morale as a secondary effect.
I just got the idea that you can rename the three "actions" heal/painkiller/stim, as they no longer match a specific game effect. For example :
- medical kits: 5 stitch 5 inject 5 drink (The included syringe and "emergency drink" can have any effects)
- bandage, glue, stapler : only stitch, healing fatal wounds
- syringe : only inject, whatever the effects
- bottles : only drink, whatever the effects
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on January 28, 2016, 07:12:48 pm
New version is up.

v2016-01-28
  + Added support for day/night indicator
  + Small fix for 2 handed weapons check during reaction fire and berserking (now applies only to units under direct player's control, i.e. also to mind-controlled aliens, but not to mind-controlled xcom soldiers)

@Ivan: attached is a mod, which turns on the day/night indicator... graphics need some fixing

Btw. for those who are interested:
shade = 0 is day
shade = 1-X is dusk/dawn (e.g. 1-9 in OXC)
shade = (X+1)-15 is night (e.g. 10-15 in OXC)

X is configurable in OXCE, but not used in PirateZ as far as I can see, default is 9 (same as in OXC)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on January 29, 2016, 05:06:54 pm
@Ivan: attached is a mod, which turns on the day/night indicator... graphics need some fixing

Okay. :)  I  futzed and futzed with it to get it into a Geoscape pallete.  I had problems with conveying transparency in the pallete, because when I would index it, it would lose transparency. >.<

I settled on going with Bright green for the transparent color, and tested it on my system and it seems to work.


Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on January 29, 2016, 05:30:04 pm
Yes, both palette and transparency look OK now.

I love the sunrise/sunset icon... it's really beautiful.
The other two look a bit too dull in comparison (grey and yellow ball), but still quite nice :-)

Maybe a smiling sun (similar to example from Skype) would work better?
And maybe a crescent moon (instead of full moon) could work better? Maybe even with star(s)?

But prio is super low... only if you don't have anything else to do.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on January 29, 2016, 07:39:24 pm
Yeah, a smiling sun... in X-Com... I guess it'd have to be modelled after a Sectoid head. D:
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Bloax on January 29, 2016, 07:59:07 pm
(https://dl.dropboxusercontent.com/u/63152810/daynight.png)
Not even doing anything fancy here, lol.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on January 30, 2016, 10:52:01 am
New version is up.

v2016-01-30
  + Two-handed indicator is now red or green depending on blocksBothHands flag
  + Added support for fire extinguishers
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Faceless Stranger on January 30, 2016, 09:04:42 pm
  + Added support for fire extinguishers

Sorry, on a bit of a time crunch, but I wanted to contribute since I saw your post. It's not a full turn around for the handob, but I took a crack at it. Something like this, right? Maybe someone can do something better-I tried using the hose, but it seemed a little silly to not use the conical design for our daring pirate crew. I'll edit my post if I can manage to finish the full turn around.

Edit: Finished. I don't really know how they go on a sprite in-game, or what the order for that would be. My apologies in advance if this causes duress.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on January 30, 2016, 09:17:12 pm
Looks good to me... I'm not a modder, so I don't know what exactly is needed to create a new weapon...

... but it is sorely needed... even today I had 2 fatalities due to fire/burn damage :(
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on January 30, 2016, 09:32:07 pm
Yeah I will add them, I'm not sure if I like it (fire damage is such a great way to punish a reckless player), but logic dictates fire extinguishers should be added for simulation's sake. I will make them deal some damage to the target, though, and quite costly TU- and weight- wise. Naturally that'll be another advantage the player has over the AI...
One-handed handob is fine. Bigob (16x32) would be appreciated.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on January 31, 2016, 02:49:45 am
Link to standalone exe of Meridian OXCE+ 2.9: https://www.mediafire.com/?zbzytnl6s8r69tz
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: vlad on January 31, 2016, 09:26:02 pm
sometimes using armor equip in inventory (A default) leaves fragmented equipment storage
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on January 31, 2016, 11:26:33 pm
sometimes using armor equip in inventory (A default) leaves fragmented equipment storage

Yes, it's fixed already. New version is up.

v2016-01-31
  + Added third sub-page to debriefing screen (recovered items)
  + Fixed items on the ground (inventory screen) are not displayed anymore
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on January 31, 2016, 11:28:50 pm
I LOVE YOU.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Cristao on February 01, 2016, 09:25:50 am
Thank you Meridian. I was just thinking through this yesterday. The problem I have knowing what was recovered. Another request arising from this. Is it possible to code in the ability to SELL from that sub-page?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 01, 2016, 10:37:47 am
Is it possible to code in the ability to SELL from that sub-page?

It is possible.
I don't want to do it though, additional header and action buttons would cut at least 3 rows from the table and I want the table to be as big as possible (currently 18 rows).
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Cristao on February 01, 2016, 02:35:14 pm
It is possible.
I don't want to do it though, additional header and action buttons would cut at least 3 rows from the table and I want the table to be as big as possible (currently 18 rows).

OK not a problem.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: vlad on February 01, 2016, 04:52:28 pm
Yes, it's fixed already. New version is up.
There are still some minor bugs : the storage is no more broken, but some smaller items (say grenades - 1 field) do not get properly placed in front. When trying to place something there, spot refuses to accept it. Similary there is 2*3 spot unreachable in place of previous distortion.
Right now, i am doing this from vessel screen, so this can be removed by reopening inventory, but that wont be avalible from pre-mission equipment screen very likely.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 01, 2016, 09:27:42 pm
There are still some minor bugs : the storage is no more broken, but some smaller items (say grenades - 1 field) do not get properly placed in front. When trying to place something there, spot refuses to accept it. Similary there is 2*3 spot unreachable in place of previous distortion.
Right now, i am doing this from vessel screen, so this can be removed by reopening inventory, but that wont be avalible from pre-mission equipment screen very likely.

I will look into it. It may take a few days.

Also, new version is up.

v2016-02-01
  + Added support for avatar display in battlescape UI

How it works:
1. if you provide custom background for avatar (id = "AvatarBackground"), then this custom background will be rendered instead of rank and on top of that the avatar (=a section of paperdoll for armor "NONE")
If this is not specified, nothing happens, game works as before.
2. additionally, if you provide tiny rank icons (size 7x7, id = "TinyRanks"), then these will be displayed after the name

Example of ruleset:

Code: [Select]
extraSprites:
  - type: AvatarBackground
    singleImage: true
    files:
      0: Resources/UI/avatar-background.png
  - type: TinyRanks
    width: 42
    height: 7
    subX: 7
    subY: 7
    files:
      0: Resources/UI/tiny-ranks.png

Attached is an example mod ... the graphics need to be completely reworked by a skilled artist ... and a screenshot how would it look like.

Feel free to experiment and share your work and thoughts with others.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: debuser on February 02, 2016, 12:20:28 am
Hello!

Does anyone have a working version of this in Linux?

I would really appreciate if you could share your process to get the most recent version of X-pirates compiled. or even the binary would be great.

I was able to compile the b336caf checkout of branch oxce2.5b-plus-prototypes from https://github.com/MeridianOXC/OpenXcom.git

With bb33caf I noticed a problem regarding trying to save.

It would create a save game looking like this:
Code: [Select]
mods:
  - XcomUtil_Statstrings
  - pirate-music


Which causes the save game not to be loadable in game until you change it to:

Code: [Select]
mods:
  - piratez
  - XcomUtil_Statstrings
  - pirate-music


Even bb33caf does not contain the latest features Meridian has been working on. More recently I tried compiling 84aeb6ec3a70dbe75c5747a5c26f2176fb1cd6e1 also from the oxce2.5b-plus-prototypes branch but  I would run into these "‘INT_MAX’ was not declared in this scope" errors for the following files:

src/Basescape/SoldiersState.cpp
src/Battlescape/DebriefingState.cpp
src/Geoscape/AllocatePsiTrainingState.cpp
src/Geoscape/AllocateTrainingState.cpp

I could get past that if I added #include <limits.h> at the top of those files. However once all the files compiled it would give me a ton of  "undefined reference to `OpenXcom::...." for each of those files above.



Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 02, 2016, 12:45:57 am
I don't see bb33caf anywhere.

If you mean b336caf... then that is just normal OpenXcom from SupSuper's repo... nothing to do with OXCE or OXCE+.

84aeb6e is the correct version to compile...

I have heard about "undefined reference..." from 2-3 people already either here or in youtube comments, but all of them solved it somehow... unfortunately they didn't bother to tell me/us how... if you find out, please share it with us afterwards.

PS: at some point, I will install linux on my machine too, to be able to support gcc too, but it can take some time.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 02, 2016, 12:25:00 pm
FYI: Linux compilation errors solved in commit b1b8d63
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: debuser on February 02, 2016, 12:41:28 pm
Thanks The latest fixed works. I am sharing my binary I compiled on my system which is Debian 8 (64Bit)

https://www.mediafire.com/download/ym05lyjpzxu043f/OpenXcom_oxce2.5bP.tar.gz

To compile I did the following:

Code: [Select]
git clone https://github.com/MeridianOXC/OpenXcom.git
cd OpenXcom
git fetch
git checkout oxce2.5b-plus-prototypes
mkdir build
cd build/
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j3

If it compiles succesful the binary appears under bin/openxcom
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 02, 2016, 11:16:20 pm
New version is up.

v2016-02-02
  + Added support for custom armor preview icons, more info here: https://openxcom.org/forum/index.php/topic,4208.msg58705.html#msg58705
  + Fixed compilation issues under Linux
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on February 03, 2016, 10:50:27 am
Thanks Meridian, much appreciated.

May I ask what's your opinion on the unlimited range vision mod? I'm wondering if it can be a starting point for a more elaborate system of stealth/spot.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 03, 2016, 11:05:13 am
Thanks Meridian, much appreciated.
May I ask what's your opinion on the unlimited range vision mod? I'm wondering if it can be a starting point for a more elaborate system of stealth/spot.

The 20 limit in original game was there because of performance reasons.
The more you need, the slower it will be... and it's not linear (i.e. 40 is much more than just 2x slower than 20)

Unhardcoding it is possible and easy.
Actually, it is already done in OXCE.

Code: [Select]
  maxViewDistance: 20
  maxViewDistanceAtDark: 9
  maxDarknessToSeeUnits: 9

And it is a pull request for vanilla too, since ages: https://github.com/SupSuper/OpenXcom/pull/904

As for my personal opinion:
1. I don't see much use for it, 20 seems enough... but my imagination is not as big as yours :)
2. Yankes said he is already working on something like that... and it's a bad idea if 2 (or more) people work on the same thing
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on February 03, 2016, 11:15:28 am
Thanks for the answer. I don't think 20 as such is not enough, it's more about designing a system with dynamic spot - so units with better observation skill will spot enemies who are further, and units with better stealth can get closer without being spotted. Much like in UFO: Aftershock. I remember that Dioxine explained it somewhere.

Frankly it was more of a thought experiment than anything else, but I also have a real problem. For the X-Com Files mod I'm working on, I would like to add "undercover" missions where you can only use certain equipment (only concealable weapons like pistols and only selected armours, meaning no armour). I plan to use the "underwater only" mechanics, which won't allow you to use normal weapons.

My question boils down to: is it possible to make such a category of weapons? I think it would require changing the boolean for underwater only/everywhere into an integer, so we could have different environments for different stuff. Plus everything regarding armour behaviour that was already discussed to death in hybrid game threads.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Boltgun on February 03, 2016, 11:31:52 am
Does maxDarknessToSeeUnits means how much lighting the target must have to be detected? I never saw such mechanics in action.

I am thinking about how stealth could work in OXC. Catgirl "sneaking" is very gamey, acting almost as a chess piece right now.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 03, 2016, 11:39:25 am
Thanks for the answer. I don't think 20 as such is not enough, it's more about designing a system with dynamic spot - so units with better observation skill will spot enemies who are further, and units with better stealth can get closer without being spotted. Much like in UFO: Aftershock. I remember that Dioxine explained it somewhere.

Frankly it was more of a thought experiment than anything else, but I also have a real problem. For the X-Com Files mod I'm working on, I would like to add "undercover" missions where you can only use certain equipment (only concealable weapons like pistols and only selected armours, meaning no armour). I plan to use the "underwater only" mechanics, which won't allow you to use normal weapons.

My question boils down to: is it possible to make such a category of weapons? I think it would require changing the boolean for underwater only/everywhere into an integer, so we could have different environments for different stuff. Plus everything regarding armour behaviour that was already discussed to death in hybrid game threads.

Categorizing weapons and armor in any imaginable way is easy.

The hard part is what to do with that information.
There are many ways how to interpret this categorization, some of which are easy to implement, some are harder and some are probably even impossible.

Example of "easy" is the under-water categorization (and anything similar).
You flag a weapon to be usable under water only and check whether you are under water... if yes, give error.
I.e. checks are done only when you actually try doing something, not before.

If you however needed functionality that these weapons cannot even be equipped on the craft at all... that would be considerably harder...
...which brings us to armor.
Since the soldiers are wearing armor already before the mission, I cannot just produce an error "Armor is not allowed"... because I don't know what kind of mission will the player decide to go for.

What I could do is make them undress the armor (either all armor; or armor which has the same (new) flag as the (also new) flag on the mission type).
The armor would then be retrieved after the mission as "recovered items" so that you don't lose it.

Would that cover your need?

PS: I could also un-equip all disallowed weapons (i.e. put them on the ground before mission), and disable the ability to equip them... probably better than to find out during battle that you can't use any of your weapons :) Problem will arise if the player doesn't bring any usable weapons at all :D

Does maxDarknessToSeeUnits means how much lighting the target must have to be detected? I never saw such mechanics in action.

I am thinking about how stealth could work in OXC. Catgirl "sneaking" is very gamey, acting almost as a chess piece right now.

"maxDarknessToSeeUnits" means how dark it must be so that game treats the dusk/dawn as night.

0 = day
15 = night

1-14 are dusk/dawn... but for visibility purposes they need to be treated either as day or night;

"maxDarknessToSeeUnits: 9" defines that 10-14 is night and 1-9 is day
"maxDarknessToSeeUnits: 4" would mean that 5-14 is night and 1-4 is day.... etc.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on February 03, 2016, 11:43:27 am
Yes, unequipping disallowed stuff would be good enough for my objectives. However, if applied to a hybrid game, it would create weird effects like people in jump suits breathing water and not dying.

Therefore for armours I think you should also be able point to which armour is used instead. Or just not spawn the soldier at all, assuming they're sitting the mission out because of no SCUBA for them.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 03, 2016, 11:57:47 am
Yes, unequipping disallowed stuff would be good enough for my objectives.

I assume you will need more than one flag? For different categorizations?
If yes, I will actually try to encode multiple boolean flags into one integer attribute (SO OLD-SCHOOL! :D)... don't worry, it's easier to understand than it looks.

However, if applied to a hybrid game, it would create weird effects like people in jump suits breathing water and not dying.

Well, you can go to Mars without any armor already.
Are we talking on theoretical level or is "Xcom Files" a hybrid game?

Therefore for armours I think you should also be able point to which armour is used instead. Or just not spawn the soldier at all, assuming they're sitting the mission out because of no SCUBA for them.

Well, if you don't have that armor when you leave the base, I cannot magically summon it. (I could... but I won't)
I can make the soldiers sit in the craft, not fighting.... but the player who doesn't know this will just lose the mission immediately (before turn 1), because there will be no soldiers capable of fighting.
All in all, I think this is overengineering... and again same question... is this just a theoretical discussion or are you doing a hybrid game?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on February 03, 2016, 12:13:16 pm
I assume you will need more than one flag? For different categorizations?

I'm not exactly sure at this point, but I suppose more is better. I wouldn't want to limit modding possibilities.

If yes, I will actually try to encode multiple boolean flags into one integer attribute (SO OLD-SCHOOL! :D)... don't worry, it's easier to understand than it looks.

I hgave complete faith in you. :)

Well, you can go to Mars without any armor already.

Good point, this will need fixing too.

I assume armours and items can have more than 1 category? Like both underwater and space.

Are we talking on theoretical level or is "Xcom Files" a hybrid game?

Not at  this point, but if it's possible, I'd love to do it. At least some special underwater missions would be nice, since there will be TFTD races.

Well, if you don't have that armor when you leave the base, I cannot magically summon it. (I could... but I won't)

I meant your default starting TFTD gear, or other "armour" that is free, like civilian clothes.

I can make the soldiers sit in the craft, not fighting.... but the player who doesn't know this will just lose the mission immediately (before turn 1), because there will be no soldiers capable of fighting.

Not a problem, they will learn. There will be Ufopaedia.orgrmation on that (mostly in armour descriptions). And maybe you could add a message why the mission is over instantly, like the "all aliens died in crash" one.

All in all, I think this is overengineering... and again same question... is this just a theoretical discussion or are you doing a hybrid game?

As I said, it's not that exactly need all of this, but it'd be useful. I'm thinking ahead though, since these are modding features that have been cropping up for years on this forum, and so I think they're badly needed.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 03, 2016, 02:02:05 pm
OK, I'll see what I can do in the first step and then we can talk again.

Btw. if anyone's interested, my todo list is getting shorter, hopefully in 2-3 weeks all will be done:
 - Fix: Fixed items on the ground are already invisible but still occupy space... destroy them completely when armor is changed
 - Todo: Beer/bandages/etc. should disappear when fully used up (like e.g. fuso knives)
 - Todo: in debug-mode only: show a history of all melee and ranged attacks (ignore grenades?) for the current turn with "chance to hit %" and result (hit or miss, resp. multiple hits/misses)
 - Todo: User option: Damage roll on melee and ranged weapons with two dice (i.e. instead of rng(0,200), use rng(0,100)+rng(0,100))
 - Todo: In stores overview, sort by clicking on column name, remove sort button
 - Request: Solarius: disallowed weapons and armors per mission type (unequip before mission, dont allow to re-equip)
 - Request: XOps: Auto patrol
 - Request: Solarius: Global stores (for total item count)
 - Request: Orz: Ufo tracker window
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on February 03, 2016, 02:09:35 pm
Awesome, thanks.

Though I should note that global stores wasn't my idea, I merely expressed interest in it.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: yrizoud on February 03, 2016, 02:43:43 pm
- Todo: in debug-mode only: show a history of all melee and ranged attacks (ignore grenades?) for the current turn with "chance to hit %" and result (hit or miss, resp. multiple hits/misses)
There's quite a lot of info, you may want to log it to file instead. If different functions have to log things separately, it should look like :
Turn 4: XCOM soldier John Doe at 3,4,0 aiming at Alien#1654 at 6,12,0 - Final chance 66% - Success - Deviation -0.45°,+0.07° - Hit unit at 3,9,0 (XCOM soldier Moe)
Turn 4: XCOM soldier John Doe takes damage - Roll 68 of [0-68] - PIERCING damage inflicted 56
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 03, 2016, 02:48:49 pm
I actually don't want everything, for that I have debug mode in Visual Studio.

I want this as "last resort" for the player... often I find myself in a situation, when I really cannot tell, if the bullet hit or not... and sometimes it is totally confusing.
For example, recently I found out, that shooting from a bow on distance 1 (diagonally) misses a lot... and there's no way to tell.
In such situation, I would like to be able to see wtf is going on...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: yrizoud on February 03, 2016, 03:50:37 pm
It's your call of course. It's just that this feature reminded me a recent discussion about suspicious trajectory choices from the game engine; and detailed damage stats can also be useful to determine if there's a series of bad luck rolls or game imbalance (*cough* unkillable spartans *cough*).
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on February 04, 2016, 08:22:26 am
I assume you will need more than one flag? For different categorizations?
If yes, I will actually try to encode multiple boolean flags into one integer attribute (SO OLD-SCHOOL! :D)... don't worry, it's easier to understand than it looks.

Well, you can go to Mars without any armor already.
Are we talking on theoretical level or is "Xcom Files" a hybrid game?

Well, if you don't have that armor when you leave the base, I cannot magically summon it. (I could... but I won't)
I can make the soldiers sit in the craft, not fighting.... but the player who doesn't know this will just lose the mission immediately (before turn 1), because there will be no soldiers capable of fighting.
All in all, I think this is overengineering... and again same question... is this just a theoretical discussion or are you doing a hybrid game?

I'd welcome such a mechanic as well. As for magically summoning armor - absolutely. But not from the base, from thin air instead (and erasing it after a mission). It should be modder's responsibility to make it logical, eg. making a default costless armor for each of enviros he intends on using. If you're using enviros, you need to make specific default armors as well, this sounds perfectly reasonable to me.
I'd prefer armor change over forcing non-participation. For example, the default armor for Mars could be a jumpsuit which makes you suffocate in a matter of a few turns :)
This can be also used to simulate any kind of enviro. Although separate enviro conditions (eg. "everyone on this map takes 5-10 damage from Smoke towards HP, each turn") would be very cool too.
Integer attribute sounds perfect.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Bloax on February 04, 2016, 12:26:26 pm
This can be also used to simulate any kind of enviro. Although separate enviro conditions (eg. "everyone on this map takes 5-10 damage from Smoke towards HP, each turn") would be very cool too.
Oh right, that reminds me of the one central environment thing that XCOM1 doesn't have. Weather.

Though that's probably too much to ask for, but it sure would be wonderful to have environmental effects (especially visual!) like that.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on February 04, 2016, 01:38:16 pm
Oh right, that reminds me of the one central environment thing that XCOM1 doesn't have. Weather.

I think it deserves its own discussion thread at the very least.

I'm surprised it hasn't been made yet (at least I can't find anything).
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on February 04, 2016, 04:51:28 pm
Enviro effects, including weather, are my dream. Just one variable (light level) isn't really enough. Sun Tzu said a commander needs to know earth and air. We have Earth (terrain) but very little Air (weather).
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Bloax on February 04, 2016, 07:08:51 pm
The problem is just that it would require translucency support (for shit like fog/snow drifts) which iOXC doesn't have. :^D
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on February 04, 2016, 07:42:03 pm
Meh you can do rain with an animated picture transimposed over the battle view, using paralax to denote it falls from the sky. Fog would be just sort of smoke filling the whole map.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Bloax on February 04, 2016, 08:39:19 pm
Decent-looking fog can't be done without translucency.
(https://dl.dropboxusercontent.com/u/63152810/n/xcom/foggy.gif)
and even then that's a half-assed example since i'm not the best at drawing things like this and especially not quickly for lazy demonstrations
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on February 04, 2016, 09:14:01 pm
Weather will be available at some point in extended version. This is only matter of placing script in correct places. like for each tile draw custom graphic. This will allow creating rain. Next, when calculating accuracy you will be able to take count of what weather is (for script perspective you will examine custom property of battle map that you can set on whim any value you want). This will allow changing unit graphic too. If you could check if you are on cydonia then switch to torso with helmet (that currently is possible by abusing depth in battlefield, but you can apply it to hands and legs too).

Btw in OXC is possible to have pseudo transparency, but because how engine handle drawing order is impossible to have it bug less. Some fast examples from 2.9
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on February 05, 2016, 11:40:32 am
OK, it doesn't look natural, but it's damn awesome. :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: sambojin on February 05, 2016, 02:08:35 pm
Decent-looking fog can't be done without translucency.

and even then that's a half-assed example since i'm not the best at drawing things like this and especially not quickly for lazy demonstrations

Is that due to static smoke though? Fog might be kind of easy with a few frames of animation to work with. Not good, but easy. Transparency would be fantastic though, with or without animation frames.

@Meridian. Multiple booleans in an integer? Are you just talking about bit-mapping something to the value? (not graphics bitmapping, but I think I know what you're saying. Might need commenting so people know the basic system though. 1+2+4+8+16+32+64+128 for all flags=true in an 8-bit map. Eight booleans offer plenty of options for virtually any mod, but it only takes a byte of data for all 8 flags.)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on February 05, 2016, 02:14:30 pm
Decent-looking fog can't be done without translucency.

Meh. You obviously don't remember 1990s. I agree it's not pretty without transparency, but if we were afraid of brick-sized pixels, we wouldn't be here...
Another option for fog or similar stuff would be using palette swap, eg. with every color bleached.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: sambojin on February 05, 2016, 02:24:53 pm
I *like* 320x200x256c. It makes the best graphics. Probably fog too :)



On the 8-bit map thing, just for more explanation.

(remember that it goes 1+2+4+8+16+32+64+128, with each of them as a boolean "flag", added together for the value)

A value of:

129 means boolean 1 and 8 flags are true.

71 means boolean 1, 2, 3 and 7 flags are true.

24 means boolean 4 and 5 flags are true.

25 means boolean 1, 4 and 5 flags are true.


Is this what you're going for Meridian? Admittedly, even the most ambitious of mods will probably only ever use bits 1-5 at most, but we didn't design computers. 8-bit maps are where it's at..... :)

Title: Re: Meridian's resources and mods for X-PirateZ
Post by: yrizoud on February 05, 2016, 02:31:24 pm
Fog can be done by shifting colors to grey instead of black (like TFTD shifts to blue), but you'll lose black colors for UI elements.

About the gameplay effects of weather, IMO it's much more understandable to apply rules throughout the battlefield, like x90% accuracy and daytime vision reduced to 15. A movement penalty can also apply for heavy weather, but I hope nobody overdoes it : It's very unfun when your soldiers take forever to move.
I know such penalties shouldn't apply indoors (farm, terror city buildings, inside of UFO), but I don't see a simple way to compute these things tile per tile. I'd rather shrug it off : These penalties still apply indoors because soldiers are still wet and distracted by rain dripping from helmet.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on February 05, 2016, 03:07:59 pm
On the 8-bit map thing, just for more explanation.

This technique's only plus is saving space by cramming 8 booleans into a single byte; useful for savegame files. It makes little sense to expose this to the modder as it's a nightmare to use; better break it up into 8 booleans for ruleset, and write a script to cram them into a single byte again, it is MUCH more ergonomic that way.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 05, 2016, 03:32:17 pm
This technique's only plus is saving space by cramming 8 booleans into a single byte; useful for savegame files. It makes little sense to expose this to the modder as it's a nightmare to use; better break it up into 8 booleans for ruleset, and write a script to cram them into a single byte again, it is MUCH more ergonomic that way.

1/ There are actually not only 8, but as many as you can put into an integer (at least 16 I think)

2/ I need to write a lot less code (with lot less code repetition)... instead of handling each flag separately, I can treat all of them at the same time
- and yes, cramping them together (after loading) into one byte or int would be possible... but since they have no names (see next point), it wouldn't help the readability of the ruleset anyway

3/ these flags have literally no semantics... they aren't called "canUseUnderWater" or "canBeUsedInFinalMission".... they are basically just "flag1", "flag2", "flag3", etc.

Bottomline:
- if you ask for one (or two or three) flags, which have clear names and semantics, I will do them separately
- if you need unknown number of flags with unknown semantics, I will cramp them together

Choice is yours.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: sambojin on February 05, 2016, 03:39:42 pm
The joy of "I've got bigger computing donk than NASA did in the 60's, in my right pocket. Bytes don't matter to me f'shizzle." Then again, NASA got less dick-cancer for being awesome, probably....

Some old skills are still worthwhile today though. A bit-map is a hell of a lot easier to code for than a look-up table or boolean array. Depending on the styles of coding you do.

It ain't hard if it's spelled out "This is how the system works". It may even help more people be as awesome as Meridian is in the long-run.

ps. Meridian. Cheers mate. Your are awesome.

Posts merged - thanks for uselessly wasting a minute of my life - Dioxine

And, he's a ninja too :p
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on February 05, 2016, 03:53:09 pm
Hmmm, I see. Why not present it the way Yankes does?

Deployment:
enviroType: 7 (default = 0, no special rules)

Item/Armor: (maybe craft too? it'd lead to "cannot land here" message)
forbiddenEnviroType: [1, 7, 12] (default: none)

Enviros (???)
- Type: 7
defaultArmor:
  soldierType: xxxx (broken between soldier races in some way...)
    <the same as normal default for soldier's race>
other rules
other rules


@Sambojin: I don't like "scarcity economics". Yes let's use the simplest tools possible, but NOT SIMPLER. Let's use the least space possible, but NOT LESS. Bytes do matter, yes, if we're counting gigabytes. Or double-posting, which is a matter of manners not filesize, as it is often the case with programming, too. And I'm not sure where you're aiming at with your dick joke.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: sambojin on February 05, 2016, 04:13:16 pm
Simplicity of coding, mostly.

90-99% of Meridian's coding is aimed at X-Piratez, it appears. Especially with his play-through of it. And its a good LP to show how good X-Piratez is.

The best mod, of one of the best games ever.
If you package it for Android and iPhone, you'll go down in infamy as the best modder *ever* Dioxine.

But Meridian's patch is pretty all-inclusive, making the basic engine more user friendly, whilst also extending it massively for modders.

That's some donk!

So meh. If you want some weapons or armour to be able to be used in some environments and not others, it's easy. A 16-bit or 8-bit boolean bit-map. Probably with good comments on "How this system works".

Amazing that Meridian would bother to put it in at all, just for one or two mods in development that thought it might be useful. Probably best that it's easy to code....

lol.

Hey, Meridian. I want to rip Syndicate's graphics and sound files and make a mod for openXcom. Could you code in "burble, burble, burble, lots" for me? Only joking......
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on February 05, 2016, 04:23:21 pm
I have to respectfully disagree that Meridian's work is heavily aimed at X-Piratez. I mean maybe it is, maybe not, I'm not him so I can't know for sure, but it doesn't matter - his changes are clearly written in a way to make them versatile. Which is exactly why they're so important: they are straight extensions of OpenXCom Extended, which is not written for any particular mod.

Meridian makes decades old dreams come true :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: sambojin on February 05, 2016, 04:49:00 pm
That's why it's good.

X-Piratez? The best game utilizing the openXcom engine so far. If Dioxine is sure he/she isn't using any IP assets, it would storm the X-Com-alike market due to excellent gameplay and innovation.



Meridian's extensions, game quality coding, ect, is for us all. Thanks :)

You're both saints. I hope every openXcom player eventually realizes how much further you are taking the engine and game. For any mod of it too. Thanks. I know it's not all your work, but it's the best compilation of mods and coding, for mods and coding, thus-far.

It makes openXcom better all-round.

Cheers Dioxine.
Cheers Meridian.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on February 05, 2016, 05:29:47 pm
That's the power of open-source and free sharing, man.
And I didn't really mean to criticize anyone's way of coding. Everyone codes their own way and that's how it should be. What I was getting at is the manner how it is presented/organized from modder's (and by extension, user's) perspective so features are easier to use (the latest Yankes' changes, while ground-breaking, require some real studies to utilize :P )
Also this might look like aimed at X-Piratez, but I would never ask for any features that'd be useless for other mods (like dating engine, for example - I'll write it myself if it comes to that point :) ).
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on February 05, 2016, 07:21:16 pm
If we talk about custom properties. I'm now working (still in design phase) on system of adding custom properties to armors, units, solders etc.
This will be required by script to handle custom behaviors required by modders (like "I_AM_NIJNA: 1").
It would be to kinds of properties one in rulesets (readonly but can be overridden by another ruleset) and properties form savegame (that can be modified by scripts, and will be saved and loaded by game).

For ruleset usage will be simple:
Code: [Select]
armors:
  - type: ARMOR_X
    custom:
      XPIRATEZ_PROP_A: 13
      XPIRATEZ_I_AM_NINJA: 1
      FMP_IMMUNE_TO_SOMETHING: 0
    someScript: |
      unitArmor.getCustomInt r0 XPIRATEZ_I_AM_NINJA;
      if eq r0 1;
        #do ninja things
      end;

From code perspective it will be vector of ints (names will be stored separate and used only for saving and loading from files).

I plan have this feature in 3.0 (with unhardcoded reaction code and exposing items to scripts). One interesting side effect will be that weapons could be used in calculating stat bonuses in units (like you will be able to have bigger regeneration if you have correct weapon in hands).
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on February 05, 2016, 08:57:01 pm
Thanks to you, I may yet learn to code. :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 06, 2016, 11:50:00 am
Hmmm, I see. Why not present it the way Yankes does?

Deployment:
enviroType: 7 (default = 0, no special rules)

Item/Armor: (maybe craft too? it'd lead to "cannot land here" message)
forbiddenEnviroType: [1, 7, 12] (default: none)

Enviros (???)
- Type: 7
defaultArmor:
  soldierType: xxxx (broken between soldier races in some way...)
    <the same as normal default for soldier's race>
other rules
other rules

I thought the requirement was for multiple "enviros" for a single deployment... wasn't it?

E.g.

Code: [Select]
Deployment:
enviroTypes: [1, 0, 1, 0, 0, 1, 0, 0]

Item/Armor:
forbiddenEnviroTypes: [0, 0, 0, 0, 1, 0, 0, 0]

where
  enviroTypes: [1, 0, 1, 0, 0, 1, 0, 0]
could be shortened to
  enviroTypes: 37 (1+4+32) https:// if this is too difficult to use, option above is also OK for me, but not option below
or expanded to:
  enviroTypes:
    type1: true
    type3: true
    type6: true

For example type1 would mean "underwater weapons only", type3 would mean "one-handed weapons only" and type6 would mean "scuba/space suits only"

PS: and I wouldn't call it enviroTypes, just customTypes, because it can cover many other aspects than just environment
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on February 06, 2016, 01:28:27 pm
Hmm I cannot imagine a situation where you'd need multiple enviros per map... Either you're on Mars, or you're not. Either you're underwater, or you're not. How many enviros would one need? 5? 10? If no more than this, combining makes little sense. But let's wait what other people say on this.

If we need multiples, I'd vote for option #1, eg.  [0, 1, 0, 0, 1]

Also regarding naming - maybe enviro is misleading but customType means literally nothing (a custom type of... what???) :) If enviro is bad then we need some better name. In my own understanding, a mission consists of yourself, enemy, terrain and the rest, which seems natural to be broadly called environment.

EDIT: Also multiple enviros per map can lead to direct conflicts between enviro rules, and unclear preference of armor. Naturally a modder can make it in a way that avoids conflicts, but - this way you can make 500 or more enviro combinations, but with much tighter constraints. If you don't need 500 enviros (combinations), I think it is better to stick to '1 enviro per map' rule, as there will be no conflicts and modding would be much easier.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 06, 2016, 02:11:43 pm
Hmm I cannot imagine a situation where you'd need multiple enviros per map... Either you're on Mars, or you're not. Either you're underwater, or you're not. How many enviros would one need? 5? 10? If no more than this, combining makes little sense. But let's wait what other people say on this.

Yes, that's why I don't want to call it enviroType, but customType.
It is not only about environment.
Originally Solarius came to me with this request:

For the X-Com Files mod I'm working on, I would like to add "undercover" missions where you can only use certain equipment (only concealable weapons like pistols and only selected armours, meaning no armour).

You see that this has nothing to do with environments... he wants to disable certain weapons and armors for certain mission types. It is a generalization of environmental conditions/restrictions, to "any" (or "custom" if you will) conditions.

If we need multiples, I'd vote for option #1, eg.  [0, 1, 0, 0, 1]

OK.

Also regarding naming - maybe enviro is misleading but customType means literally nothing (a custom type of... what???) :) If enviro is bad then we need some better name. In my own understanding, a mission consists of yourself, enemy, terrain and the rest, which seems natural to be broadly called environment.

"A custom type of mission".

I can't think of any better name... these conditions can represent virtually anything. I don't know... for example a mission where only weapons which don't make any noise are allowed (e.g. knives, swords and bows). That's not type of environment, it's just a custom type of mission.

EDIT: Also multiple enviros per map can lead to direct conflicts between enviro rules, and unclear preference of armor. Naturally a modder can make it in a way that avoids conflicts, but - this way you can make 500 or more enviro combinations, but with much tighter constraints. If you don't need 500 enviros (combinations), I think it is better to stick to '1 enviro per map' rule, as there will be no conflicts and modding would be much easier.

Yes. That's why I didn't want to implement it.
I would say that the modder should explain to the user, which armor/items are allowed for that kind of mission and which are not... or as Solarius stated earlier, just let the player find out.... the hard way.

Not a problem, they will learn. There will be Ufopaedia.orgrmation on that (mostly in armour descriptions). And maybe you could add a message why the mission is over instantly, like the "all aliens died in crash" one.

So for example I could produce a message "There are no soldiers capable of fighting in this mission... Aborting now."
And because I am a nice person, the crash site would not disappear, so that the player can reequip and return.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on February 06, 2016, 02:33:58 pm
"For the X-Com Files mod I'm working on, I would like to add "undercover" missions where you can only use certain equipment (only concealable weapons like pistols and only selected armours, meaning no armour)."

For me it's environment, in this case, created by social constraints :) But I agree it's arguable definition. Otoh "customType" on a weapon is unclear, it could be something like "battleType" which has nothing to do with mission rules. IMO it's misleading, but there's little point in fighting over words :) Like I said, better to wait for what Solarius and others have to say in the matter...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on February 06, 2016, 02:37:30 pm
Actually, as the person who came to you first, I think "enviro" is the perfect term. You said the above-mentioned undercover missions have "nothing to do with environments", but it's not right, because this is exactly a type of environment. Environment doesn't only refer to weather, but to any set of external conditions, that's why we peak of "work environment", "software environment" etc. So I think enviroType not only isn't misleading, but is actually the most precise term I can think of.

EDIT: ninja'd by Dioxine)

As for how to organize this information, I'm torn on this. I'm more inclined to side with Dioxine here, but then I worry if I'm not preventing some modder from doing something they want. It's impossible to think of everything.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 06, 2016, 03:25:41 pm
Very well, as you wish.

Just saying right now that if it will be "undercover mission" (deployment), "during night" (shade) in "polar environment" (terrain), you will NOT be able to use only "undercover weapons only" (deployment), "night-capable weapons only" (shade) and "weapons working in polar environment only" (terrain). You will only be able to choose one of these conditions.

Also, when you start categorizing weapons... let's make an easy example (category 1: ranged, category 2: melee, category 3: grenades), you will NOT be able to create a mission where you can use category 1+2 weapons. You will only be able to choose 1 category. If you would like to use weapons of category 1 and 2... you will need to create another category 4 and do all the work again. If I was modding, that alone would probably totally discourage me from using the feature.

It will work perfectly fine for your custom "undercover mission", but as soon as you will try to create another custom mission, you will start having problems. With each new type, more and more problems.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on February 06, 2016, 03:52:19 pm
Why would we even need these "categories"? Who would add "one-handed only" as an enviro type? Maybe for some arena fights or other sports but not for real combat missions. I'd rather have that on an item-per-item basis, eg. "forbiddenEnviroTypes: [3, 17, 26]", therefore removing any possibility of conflict or any problems of the kind you speak of.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on February 06, 2016, 04:32:14 pm
I'd rather have that on an item-per-item basis, eg. "forbiddenEnviroTypes: [3, 17, 26]", therefore removing any possibility of conflict or any problems of the kind you speak of.

It would be a real pain to mod, but at least it's clear and understandable and foolproof. So I'm actually supporting that idea! :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 06, 2016, 05:17:42 pm
Why would we even need these "categories"? Who would add "one-handed only" as an enviro type?

I am not talking about enviro types since a few posts already, I don't know why you're still so attached to such unflexible concept.

As for who wants "one-handed-weapons only" type? I don't know... maybe the same people who want "undercover-weapons only" type?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on February 06, 2016, 07:44:28 pm
Then I no longer have a clear idea what features you might mean to add - I was only talking on what could be useful for me (and hopefully others too). Sorry this is not an assault but I simply got lost, I'm too dumb :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on February 06, 2016, 07:54:48 pm
In essence it's a simple thing really, allow the modder to define environments and allow items & armours to be flagged for not working in this environment. (Plus additional code for what to do with non-matching armours.)

In order to do that, you need to be able to create an enviroType:

enviroType:
  - underwater
  - outerspace
  - mars
  - stealth
  - dreamland

and also add the necessary code to the item, something like that:

forbiddenEnviroType:
  - underwater
  - outerspace
  - stealth

This means that this particular weapon can be used on Mars and in Dreamlands, but not underwater or in open space, and is not a stealthy weapon.

Of course you also need to define which terrain is what, but that's obvious.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 06, 2016, 09:28:46 pm
Of course you also need to define which terrain is what, but that's obvious.

Lol, everything before this sentence was obvious, but the very sentence which you say is obvious is not obvious to me at all...

So how exactly do you want to define the enviroType?
1/ Dioxine wanted it on alien deployment?
2/ You want it on terrain?
3/ I would like it on combination of several things (including terrain, shade, alien mission, alien race, alien craft, maybe alien deployment and maybe others)

Maybe this was the misunderstanding the whole time...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on February 06, 2016, 11:07:50 pm
I don't really know where it should belong... Terrain is more natural, since most of these effects are related to geographical region or space etc. And instances of "stealth environment" can also be bound to terrain, like Corporate Office.
And it would be annoying to make separate deployments for a Battleship on Earth and on Mars. It should be the same deployment. So enviros don't belong there.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 07, 2016, 09:54:26 pm
New version is up.

v2016-02-07
  + Added "Grand Total" to Stores UI, more info here: https://openxcom.org/forum/index.php/topic,3898.msg58997.html#msg58997
  + Added sorting to Stores UI (by all columns, asc/desc)
  + Bugfix: properly destroy fixed items when changing armor
  + Remove medikits from the inventory if consumable and empty
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on February 08, 2016, 02:37:38 pm
After seeing it in action, I change my mind. The mini-portraits look awesome! How are they generated? Basing on STR_NONE_UC armor? Also I think it'd be better to fit the rank into the name bar than on the portrait... now someone needs to draw these ranks and I have very little time to mod anything lately...

EDIT: not sure if STR_NONE_UC is always the best option for the avatar... it does look very good graphically, but what if a gal is wearing less? :) Would it be possible to overrule the default choice on a per-armor basis?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 08, 2016, 03:16:12 pm
After seeing it in action, I change my mind. The mini-portraits look awesome! How are they generated? Basing on STR_NONE_UC armor? Also I think it'd be better to fit the rank into the name bar than on the portrait... now someone needs to draw these ranks and I have very little time to mod anything lately...

EDIT: not sure if STR_NONE_UC is always the best option for the avatar... it does look very good graphically, but what if a gal is wearing less? :) Would it be possible to overrule the default choice on a per-armor basis?

They are generated from STR_NONE_UC, starting at position [66,42] with size of [26,23].
Sometimes if the head is too big (for example that girl with white hair), a pixel or two are cut off from the top. But better that than showing empty space for girls with microcephaly.

I took STR_NONE_UC, because Solarius said that in vanilla, most avatars would have helmets... which is not so cool.
But I am open to suggestions... originally I took it from the armor the girls were wearing, and it's not a big change at all.

EDIT: maybe a flag on armor? Like "hasHelmet: true" (default would be false) or something like that for armors with helmet? And then use the armor itself if it doesn't have helmet, and STR_NONE_UC otherwise?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on February 08, 2016, 03:25:19 pm
Yeah fine-tuning requires some thought. Taking the avatar from the armor worn might be a good default choice... but this would need override as well, since many armors obscure the face thus completely defeating the idea of avatar picture :) For now, using STR_NONE_UC works just fine. Maybe just simple a global ruleset option that allows for:
1) choosing the armor all the avatars are based on;
2) choosing the XY offset (a must if this function is supposed to work not only for Piratez)
Both on per-soldier race basis once we finally upgrade to OXCE 2.9 :)

For nao, have tiny rank pictures :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 08, 2016, 03:43:59 pm
For nao, have tiny rank pictures :)

Wow, these look awesome!
I don't know how anyone can put actual detail in 7x7...
But I think I will move them before the name (only if available of course), that should look even better.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on February 08, 2016, 07:24:45 pm
  + Added support for custom armor preview icons, more info here: https://openxcom.org/forum/index.php/topic,4208.msg58705.html#msg58705

I was intending to take a stab at this but the sprite size is wrong; it should be 11x18, not 10x18. My old files are misaligned on purpose (so they don't collide with anything). Also to have this fully functioning, HWP-like units should also have custom sprites (now they're all tanks, regardless if they're tanks, cyberdiscs, reapers or sectoids).
Also this brings me to... the vanilla equipment presentation is lacking in OXC; it was intended for 80 items limit, hence it is useless as info (the bar is always full). How about making it more useful? Maybe add optional function that counts equipment on weight basis (would not count HWPs), with a moddable number of weight units that represent each "equipment" sprite? Now musings time: possibly a weight limit on craft! (this one would count each soldier's weight = weight of their battle corpse, plus HWPs, plus all equipment, must be lower or equal the limit - or just count the weight of items for simplicity's sake). In an advanced model, it could limit the weight of loot, leading to DECISIONS (more soldiers with heavy gear? or more space for loot? What to grab, what to discard?) :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Cristao on February 08, 2016, 07:31:34 pm
Hmm Game crashed when I clicked on Grand Total.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 08, 2016, 07:47:55 pm
I was intending to take a stab at this but the sprite size is wrong; it should be 11x18, not 10x18. My old files are misaligned on purpose (so they don't collide with anything).

10x18 is the correct size. I checked it again, the sprites are actually 10 pixels wide. And even if they weren't, in the code each new sprite is put 10 pixels more to the right as the last one.

Proof for width 10: https://github.com/SupSuper/OpenXcom/blob/master/src/Basescape/CraftInfoState.cpp#L188
Proof for height 18: https://github.com/SupSuper/OpenXcom/blob/master/src/Basescape/CraftInfoState.cpp#L78

Also to have this fully functioning, HWP-like units should also have custom sprites (now they're all tanks, regardless if they're tanks, cyberdiscs, reapers or sectoids).
Also this brings me to... the vanilla equipment presentation is lacking in OXC; it was intended for 80 items limit, hence it is useless as info (the bar is always full). How about making it more useful? Maybe add optional function that counts equipment on weight basis (would not count HWPs), with a moddable number of weight units that represent each "equipment" sprite? Now musings time: possibly a weight limit on craft! (this one would count each soldier's weight = weight of their battle corpse, plus HWPs, plus all equipment, must be lower or equal the limit - or just count the weight of items for simplicity's sake). In an advanced model, it could limit the weight of loot, leading to DECISIONS (more soldiers with heavy gear? or more space for loot? What to grab, what to discard?) :)

As for Equipment and HWPs... they were not mentioned in the request, so I didn't change them... I'll think about them and then come back with questions and proposals.

Hmm Game crashed when I clicked on Grand Total.

Can you send me a save please?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on February 08, 2016, 08:02:16 pm
10x18 is the correct size. I checked it again, the sprites are actually 10 pixels wide. And even if they weren't, in the code each new sprite is put 10 pixels more to the right as the last one.

Yes, but that's because they overlap :) The sprite proper is (normally) 9-pixel wide, plus 1 pixel black outline each side, equals 11. But to draw sprites in any kind of civilized fashion, there should be 11 or even better, 12 pixels on the spritesheet (so either 11x18 or 12x19), so each is clearly separated from the others and the artist has some space to maneuver :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: yrizoud on February 08, 2016, 08:08:15 pm
Now musings time: possibly a weight limit on craft! (this one would count each soldier's weight = weight of their battle corpse, plus HWPs, plus all equipment, must be lower or equal the limit - or just count the weight of items for simplicity's sake). In an advanced model, it could limit the weight of loot, leading to DECISIONS (more soldiers with heavy gear? or more space for loot? What to grab, what to discard?) :)
There was a discussion about this here (https://openxcom.org/forum/index.php/topic,2306.msg22959.html#msg22959), with quite a few ideas on what to count.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on February 08, 2016, 08:19:12 pm
Interesting read. One detail: if crafts have their own storage space, also the rule of crafts sharing storage with base's stores needs to be removed - these storages are separate.  And while I thought that Weight is the most logical choice as limiter, perhaps Size is ultimately the best choice since base storage space is counted in Size so it would be consistent. On limit per item count, while it certainly works as tactical limiter, I cannot agree - a rocket launcher is not the same as a flare, however you look at this.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 08, 2016, 08:30:20 pm
Yes, but that's because they overlap :) The sprite proper is (normally) 9-pixel wide, plus 1 pixel black outline each side, equals 11. But to draw sprites in any kind of civilized fashion, there should be 11 or even better, 12 pixels on the spritesheet (so either 11x18 or 12x19), so each is clearly separated from the others and the artist has some space to maneuver :)

Well, if that is the only issue, I think (98% sure) that you can define them even as 100x100 already if you wish. (If not let me know)

Rendered will however be only first 18 pixels from the top.
Horizontally all pixels will be rendered, but they will overlap; and if you don't start at 0, they will also be shifted (like now in piratez).

In either case, I will not be changing the effective available space for each sprite, that will remain 10x18.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: yrizoud on February 08, 2016, 09:03:29 pm
the rule of crafts sharing storage with base's stores needs to be removed - these storages are separate.
You could get stuck with stores filled with stuff you want to keep, ship filled with stuff you want to sell, and no way to swap the two  :P
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on February 08, 2016, 09:23:45 pm
In either case, I will not be changing the effective available space for each sprite, that will remain 10x18.

I was never suggesting such a thing :) I'd even go so far as to suggest automatic increase of overlapping (less horizontal space per sprite) if the number of soldiers is bigger than it can fit on the screen (like in Master of Orion 1 & 2, for example) :) But that's another story. For spritesheet spacing, I'd like 12x19 (so you have some space to maneuver without resorting to using smaller sprites). Oh right, but this can be defined simply by telling the OXC how to cut the sheet (and keeping my sprites in the upper left corner of that defined space), right? No need for hardcoding anything? If that's the case I simply didn't know, and forgive me my ignorance.

(https://s944.photobucket.com/user/VagabondZOD/media/Sky%20Lords/SkyLords_t312_orion.jpg.html)(https://i944.photobucket.com/albums/ad286/VagabondZOD/Sky%20Lords/SkyLords_t312_orion.jpg) (https://s944.photobucket.com/user/VagabondZOD/media/Sky%20Lords/SkyLords_t312_orion.jpg.html)
(pcitured: extreme overlapping for labourers, no overlapping for farmers & soldiers, elegant as fock)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 08, 2016, 09:30:14 pm
Oh right, but this can be defined simply by telling the OXC how to cut the sheet (and keeping my sprites in the upper left corner of that defined space), right? No need for hardcoding anything?

I cannot try it right now, but yes I think it should work this way.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: SIMON on February 11, 2016, 02:12:50 pm
Enjoying what you have done so far but on my last mission the game kept crashing to the desktop somehow, have attached a save and openxcom log. I was wondering also if you are considering a pirate themed version of commendations?

ps In the end I had to debug to get by, so maybe it was only that mission?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on February 11, 2016, 02:58:03 pm
Played it for a couple of turns, no crash detected... Using 0.97D with the latest Meridian's version added.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: SIMON on February 11, 2016, 04:01:32 pm
Yep the crash whatever it was seems to  be unpredictable but the next mission went fine so maybe it's just a minor glitch not worth worrying about.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on February 11, 2016, 04:32:35 pm
Can you narrow down the case of crash? Is it during the enemy move? Does it crash when an enemy is moving? Or when he's using a weapon?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: SIMON on February 11, 2016, 11:05:20 pm
It always seemed to happen when I was moving one of my units.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Cristao on February 11, 2016, 11:25:43 pm
Did you update the game i.e. the exe during a mission? I noticed that your inventory is wack/messed up!! Could that be the problem?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on February 11, 2016, 11:59:04 pm
With the amount of extra mods you've been using, I cannot guarantee anything... And like I said, I was unable to reproduce the crash. You have to be more specific when it happens.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on February 12, 2016, 12:58:48 am
Hi Meridian,

I tried to compile your oxce2.9 branch, and got this:

Code: [Select]
/home/jpaucl/XCom/OpenXCom/Compilations/Meridian/src/src/Basescape/SoldiersState.cpp: In member function ‘void OpenXcom::SoldiersState::lstItemsRightArrowClick(OpenXcom::Action*)’:
/home/jpaucl/XCom/OpenXCom/Compilations/Meridian/src/src/Basescape/SoldiersState.cpp:339:25: error: ‘INT_MAX’ was not declared in this scope
  if (0 < numSoldiers && INT_MAX >= numSoldiers && row < numSoldiers - 1)
                         ^
make[2]: *** [src/CMakeFiles/openxcom.dir/Basescape/SoldiersState.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [src/CMakeFiles/openxcom.dir/all] Error 2
make: *** [all] Error 2
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 12, 2016, 01:18:40 am
It is fixed on 2.5b branch already, I will merge it to 2.9 over the weekend.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: SIMON on February 12, 2016, 01:25:05 am
No I didn't update the exe as since starting the play through on 7th Feb I've been using the exe of that date, maybe one of the mods is causing some sort of conflict but it hasn't happened again so I'll not worry too much. As for the number of mods, is 21 in total too many? This is including piratez itself and several that come with piratez-see below:

mods:
  - piratez
  - altSmokeOps
  - altTacArmor
  - altSGC
  - piratezNaughtyMod
  - PIRATE STATSTRINGS(BY ARTHANOR)
  - avatar-rank
  - BETTER INGAME UI
  - COMMENDATIONS(STAND ALONE)
  - armor-previews
  - day-night-indicator
  - ENFORCER(XCOM)
  - E SHOCKER reps STUN ROD
  - kneel-button
  - MASS ACCELERATOR
  - NAYMORE
  - MORTAR TANK
  - pirate-music
  - refuel-notification
  - STUNBLASTER
  - VIPER ASSAULT CANNON

edit: Saying all that I should take off commendations as it doesn't work in this play through but I'm worried that taking it off will do more harm than good.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on February 12, 2016, 01:28:16 am
It is fixed on 2.5b branch already, I will merge it to 2.9 over the weekend.

Alright! Is there much difference between the two branches functionality-wise or is it "just" a new oxce version? I think XPiratez 0.9D only uses oxce 2.5 any ways?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on February 12, 2016, 01:56:18 am
Uses 2.5 for now, but will be upgraded.

@Simon:
I know what mods you're using (it's listed in your savegame file), I'm just saying I cannot give any guarantees because I don't know most of them. Not saying it's the mods that cause the crash, either. Might be some genuine map bug or whatever. Impossible to tell. Many mods will clash with Piratez, that's for sure.
Things I know:
- Commendations cannot work unless you've compiled a modification of Meridian's exe that includes them.
- kneel-button is already integrated, no need to use the mod
- not sure why you're using a mortar tank, the game already has one...
- any mod that modifies some of game's original content might cause unforeseen effects with Piratez. Mods that add completely new things (like the Viper) should be safe to use. Unless they're buggy themselves, that is - many weren't updated for ages :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on February 12, 2016, 04:24:58 pm
@Meridian: trying to make these armor preview icons, but I'm getting transparency problems, despite using the same palette as always (GUI_Soldier.gif displays transparency properly, but the same palette applied to custom armor preview icons produces light green where the transparency should be). What's going on?

EDIT: NVMD, I've found the proper palette and everything seems to be fine.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on February 12, 2016, 07:48:20 pm
Meridian, have you considered including my statistical bullet conservation (https://openxcom.org/forum/index.php/topic,4062.0.html)? I find it helps a lot to alleviate the "don't shoot or empty the clip" syndrome for special weapons with small, valuable clips.

Also, do you think it would be possible to add keyboard shortcut support for ufopaedia articles? Specifically pressing tab to go to the next article and shift-tab to go to the previous article, much like we can cycle through soldiers. It would be very handy for scanning multiple articles.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 13, 2016, 12:59:46 am
Meridian, have you considered including my statistical bullet conservation (https://openxcom.org/forum/index.php/topic,4062.0.html)? I find it helps a lot to alleviate the "don't shoot or empty the clip" syndrome for special weapons with small, valuable clips.

I have seen it, but I consider it a small cheat, or at least cheese. If some ammo is rare and/or expensive, it is either a modder's mistake and should be corrected or modder's intention and should be accepted.

Also, do you think it would be possible to add keyboard shortcut support for ufopaedia articles? Specifically pressing tab to go to the next article and shift-tab to go to the previous article, much like we can cycle through soldiers. It would be very handy for scanning multiple articles.

Yes, it is literally just two lines of code... but aren't the buttons enough? There's nothing else to click on anyways...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on February 13, 2016, 01:05:42 am
I think random solution work only for weapons that have ammunition in abundance. If we have ammo that is limited then each time player lose roll then he will be enraged (even if last 10 mission he grain more than he lost now). Image that you lost unique 10 bullet clip after only one shoot even it "should" preserve.

I think better solution would be counting and storing sub clip bullets.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: yrizoud on February 13, 2016, 02:30:48 am
I too think that this clip "round down" is significant in Piratez.
The random solution is statistically fair in the long run, and scavenging can explain the lucky rolls. The "leftover ammo" solution is even better but requires modifying save files (to store the extra data)
Either solution would successfully remove the weird incentive to use 'all-or-nothing' of a weapon.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on February 13, 2016, 02:46:05 am
I have seen it, but I consider it a small cheat, or at least cheese. If some ammo is rare and/or expensive, it is either a modder's mistake and should be corrected or modder's intention and should be accepted.

But.. it is statistically equivalent to conserving bullets. It is certainly not a cheat, nor a way to bypass a modder's intent. With this, you can carefully hoard your shots and hope to be able to keep a weapon (but also risk losing the clip after a single shot used), instead of the current situation which encourages not shooting (overhoarding, wasting the modder's work since you are not using it) or emptying a whole clip (going against "reasonable behaviour" for a weapon with valuable ammo).

And there is nothing to get frustrated about. Either you lose a clip because you used up some shots, or you don't. Which is an improvement over always losing the clip.

Quote
Yes, it is literally just two lines of code... but aren't the buttons enough? There's nothing else to click on anyways...

I guess it is different depending on people. I am not much of a mouse user. I would love shortcuts. If you don't think it should be implemented (even if just for consistency's and my sake), can you point me to the change that would need to be made?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on February 13, 2016, 03:33:37 am
And there is nothing to get frustrated about. Either you lose a clip because you used up some shots, or you don't. Which is an improvement over always losing the clip.
"abundance" is require to made your solution work (lot of rolls will even out). But problem is when you lack items and your "be" or "not to be" depends on one roll it could be frustrating.

The random solution is statistically fair in the long run, and scavenging can explain the lucky rolls. The "leftover ammo" solution is even better but requires modifying save files (to store the extra data)
Good thing that OXC save games is that it ignore all unknown nodes this allow without any big effort add new data without even breaking backward compatibility.
I think system should work like that:
1) At end battlescape last half empty clip is fill up.
2) You remember numbers of bullet you borrow in base (you add this to value from previous mission).
3) If numbers of borrowed is greater than clip size, then remove one clip and reduce borrow count.
4) When you use last clip from base in battlescape it would have bullets count reduced by borrow value (similar with transfer between bases).

Only glitch it could have is downgrading to basic version of OXC, it will fill up all partial empty clips in bases :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on February 13, 2016, 06:33:24 am
"abundance" is require to made your solution work (lot of rolls will even out). But problem is when you lack items and your "be" or "not to be" depends on one roll it could be frustrating.
Fair enough, but it still seems better than always "not to be". You are right in needing a lot of rolls to properly work, but I still consider it an improvement over a constant bias.

Quote
Good thing that OXC save games is that it ignore all unknown nodes this allow without any big effort add new data without even breaking backward compatibility.
I think system should work like that:
1) At end battlescape last half empty clip is fill up.
2) You remember numbers of bullet you borrow in base (you add this to value from previous mission).
3) If numbers of borrowed is greater than clip size, then remove one clip and reduce borrow count.
4) When you use last clip from base in battlescape it would have bullets count reduced by borrow value (similar with transfer between bases).

Only glitch it could have is downgrading to basic version of OXC, it will fill up all partial empty clips in bases :)
Yes, proper bullet conservation is better than statistical bullet conservation, no doubt. But its downside is that I can't code that ;) If you or Meridian could, I'd be more than happy to use it!
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on February 13, 2016, 09:22:39 am
This "bullet conservation" sounds all nice but I don't want to be forced to double all the ammo prices... they were balanced with the old system in mind. In reality, it would discourage instead of encourage to use expensive weapons since the clips would be even more expensive than they are now (get 3 clips 40k each, fire a couple of shots, get f*cked by the RNG three times).

As for "partial clip" solution, while it is most reasonable wouldn't it baloon the savefile size? The saving times are already considerably long...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on February 13, 2016, 10:36:13 am
This "bullet conservation" sounds all nice but I don't want to be forced to double all the ammo prices... they were balanced with the old system in mind. In reality, it would discourage instead of encourage to use expensive weapons since the clips would be even more expensive than they are now (get 3 clips 40k each, fire a couple of shots, get f*cked by the RNG three times).

As for "partial clip" solution, while it is most reasonable wouldn't it baloon the savefile size? The saving times are already considerably long...
Probably not, Depending how it was implemented it would add around 20x8 (different clip x bases) new lines to save game. This is lot less than around 2K lines that save can have.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on February 13, 2016, 11:09:38 am
More like, 15k lines or more, at least in Piratez with the newest build. But yeah doesn't seem like a big difference. Might be a bit tricky to implement as things like selling and transfers have to be taken into consideration.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 13, 2016, 01:23:22 pm
It is fixed on 2.5b branch already, I will merge it to 2.9 over the weekend.

Done.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on February 13, 2016, 01:47:42 pm
How about moving this to 2.9 altogether? I will update the mod as soon as possible and we'll be able to work on 2.9 from then on, instead of keeping to 2.5b.
Right now I'm working on armor preview icons, I should add at least that and fire extinguishers to the new release as well, and maybe a few little things (sounds maybe poor compared to my usual output but I have much less time for modding lately. MONEY problems). Still no bigob for fire extinguisher but maybe I'll find something.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 13, 2016, 01:56:54 pm
How about moving this to 2.9 altogether?

I still haven't been able to compile a version, which would not crash when playing intro.

I think there is something wrong with YAML library, but I cannot even debug it, because in debug mode it crashes without even getting to that point (either before or just when oxc starts).
I'll have to invest more time into it; in the meantime the safest way is to use the standalone OXCE+ exe built by Yankes.

EDIT: if you want to release 2.9+ now, let's ask Yankes to build a recent version for us (https://github.com/MeridianOXC/OpenXcom/commits/oxce2.9-plus-proto). The one I can build on my own is not stable enough for a release.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on February 13, 2016, 02:03:16 pm
in the meantime the safest way is to use the standalone OXCE+ exe built by Yankes.

I will wait then, I'm not using any features from 2.9 yet while using a lot of features from your build. I don't want to have several separate versions.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on February 13, 2016, 03:09:32 pm
I still haven't been able to compile a version, which would not crash when playing intro.

I think there is something wrong with YAML library, but I cannot even debug it, because in debug mode it crashes without even getting to that point (either before or just when oxc starts).
I'll have to invest more time into it; in the meantime the safest way is to use the standalone OXCE+ exe built by Yankes.

EDIT: if you want to release 2.9+ now, let's ask Yankes to build a recent version for us (https://github.com/MeridianOXC/OpenXcom/commits/oxce2.9-plus-proto). The one I can build on my own is not stable enough for a release.
I'm now preparing to compile your branch, when it ready I will post link to exe.

Btw How you use yaml lib? as external library or part of project? At least in my build env I drop in yaml source files as part of project. One possible crash cause could be mismatch between debug version of lib and openxcom.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 13, 2016, 03:16:12 pm
Btw How you use yaml lib? as external library or part of project? At least in my build env I drop in yaml source files as part of project. One possible crash cause could be mismatch between debug version of lib and openxcom.

As external library.

I am investigating more on the issue now and yaml-cpp is probably not the problem.
It's probably the SDL mixer.

The crash happens when "Mix_OpenAudio" is called for the second time, i.e.:
 - after intro
 - after changing audio/mods settings (and the game needs restart)

Any idea what could be causing that?

I use:
 - SDL: 1.2.15
 - SDL_gfx: 2.0.25
 - SDL_image: 1.2.12
 - SDL_mixer: 1.2.12 (+ dynamically loaded DLLs for flac, mikmod, ogg and so on... the same ones which are in the official package for vs2010 on the ufopedia)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: yrizoud on February 13, 2016, 03:38:22 pm
the ammo prices... they were balanced with the old system in mind
[/quote]
You convinced me :D Don't change ammo system then.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on February 13, 2016, 03:40:26 pm
Strange that C libs break with C++11 (or VS2015). 2.5 compiled under new compiler work fine?

And for compiling exe, there are links:
https://www.mediafire.com/download/qi9qh6s62tkna8d/OpenXcomExPlus.zip
https://www.mediafire.com/download/ix6822c9t02iudi/OpenXcomExPlusElf.zip
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on February 15, 2016, 03:58:46 pm
Just dropping this here.  I got a crash to desktop from clicking on STR_GRAND_TOTAL in the Vaults through the base logs.  Not quite sure where the extra string for that was supposed to dwell, but it didn't bother me much.  I've never clicked on it though until now. XD
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Cristao on February 15, 2016, 06:28:34 pm
That reminds me I forgot to send the save game to Meridan.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 15, 2016, 11:32:52 pm
Yes, please, Ivan and Cristao, send me a save where I can see the crash.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on February 15, 2016, 11:45:15 pm
Here is a save.  I updated to the 2/13 .exe and still got a crash.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Gyuudon on February 16, 2016, 07:33:54 am
Are you and Dioxine going to eventually merge paths? Or forever forked? Been enjoying what you've modded in through your LPs.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on February 16, 2016, 12:39:25 pm
What do you mean? Meridian's fork is being distributed with Piratez.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on February 16, 2016, 04:56:04 pm
I've come across another minor glitch.  It may be in OXCE, but because I'm using Meridian's 2.5b build I thought I'd start the conversation here. 

In the basescape, when I open the Prison interface it doesn't display the capacity correctly.  I've built two prisons now in my primary base (Thanks for the nerf, Dioxine) but the prison screen still shows only 15 capacity.  15/15 space used.  In the base logs I'm seeing the correct value of 15/30 space used in the prisons.   

I was opening the interface by right clicking on either facility.  Vaults, when opened in this way, work correctly and display the base's total capacity.

(Sorry if this has already been reported)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Gyuudon on February 17, 2016, 06:07:23 am
Right, wasn't it only recently though? Does this mean in the future Meridian's exe will be the main exe for all new releases?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on February 17, 2016, 10:03:09 am
It was created only recently, duh... And yeah I have no choice now but to use Meridian's fork, I depend on his features :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 17, 2016, 10:19:55 am
It was created only recently, duh... And yeah I have no choice now but to use Meridian's fork, I depend on his features :)

Muahaha, I have you cornered now. Time to start stating my demands!  ;)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on February 17, 2016, 10:21:46 am
That'd be a mistake :) But I will hear out wishes :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 17, 2016, 11:49:04 pm
I've come across another minor glitch.  It may be in OXCE, but because I'm using Meridian's 2.5b build I thought I'd start the conversation here. 

In the basescape, when I open the Prison interface it doesn't display the capacity correctly.  I've built two prisons now in my primary base (Thanks for the nerf, Dioxine) but the prison screen still shows only 15 capacity.  15/15 space used.  In the base logs I'm seeing the correct value of 15/30 space used in the prisons.   

I was opening the interface by right clicking on either facility.  Vaults, when opened in this way, work correctly and display the base's total capacity.

(Sorry if this has already been reported)

In the prison interface you see Space available/free = 15, space used = 15... which totals to 30. Capacity is not shown anywhere.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on February 17, 2016, 11:52:56 pm
Awesome! Thanks for clearing that up for me! XD
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 18, 2016, 12:12:06 am
Here is a save.  I updated to the 2/13 .exe and still got a crash.

Fixed.
Happened when there were craft, which had empty weapon slot(s).
Download tomorrow (or later).
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on February 18, 2016, 06:08:04 pm
I'm moving the mod to OXCE+ 2.9. It will be uploaded before weekend. So please make any new additions for 2.9 not 2.5b.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 18, 2016, 06:13:16 pm
I'm moving the mod to OXCE+ 2.9. It will be uploaded before weekend. So please make any new additions for 2.9 not 2.5b.

I will be making changes in both, just in case.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: sambojin on February 19, 2016, 12:36:13 pm
I just thought of something. Something that plenty of others have probably thought of before, so maybe I'm just re-asking for it. I don't know if it's codeable, or just requires an extensive but easy graphics mod.

A facing indicator for enemy troops.

It's already graphically shown on the enemy sprite, but sometimes it's damn hard to tell just which way enemy troops are facing when there's plenty of smoke and/or fire about. With rear armour being such a huge thing in Xpiratez, it'd be very useful. Tantamount to cheating, just because it makes it easier to plan shots, stuns, etc.

But in theory, no different to what we have now. It'll just make it obvious.

Can a small blue pixel be coded in on the enemy's game sprites to show which way they're facing (blue should stand out amongst fire/smoke/landscape).

Or will I have to do a large optional graphics mod, one pixel per enemy, per facing?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on February 19, 2016, 12:41:25 pm
Yes, I think this would be helpful in many situations. However, I'd only see it as a hotkey thing - for example by holding Shift or Tab or whatever else. Otherwise it'd just get in the way.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 21, 2016, 08:07:42 pm
New version is up.

v2016-02-21
  + Added new damage range type (0-200% with 2 dice); RandomType: 6
  + Un-hardcoded "too much smoke" threshold (for tile fire extinguisher support)
  + Fixed CTD when seeing more than 10 units
  + Fixed CTD in Grand Total
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: SIMON on February 23, 2016, 06:04:23 pm
I'm almost at the end of the second year in a run through of piratez 0.97D using your exe of 02/21/2016 and still a long way to go. I was wondering on two ponts:

1.
Is it a glitch or intentional that you can only target star gods on a diagonal, ie the square changes from green to red? By the way they seem to be immune to handles, electro whips and stun batons, took 2 stun bombs from the small launcher to stun a star god novice.
2. With you being able to have up to 4 weapons on a craft why does it only show the first two in the geoscape, see attached picture? Or is this part of the UI hardcoded?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on February 23, 2016, 07:30:51 pm
because Dioxine don't add translation strings for weapon 3 and 4. (and if he add this, then is bug in that functionality)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on February 23, 2016, 08:06:52 pm
because Dioxine don't add translation strings for weapon 3 and 4. (and if he add this, then is bug in that functionality)

And I didn't add I because there is a bug in it :)

About the immunity of the invisible units to melee - no idea. They weren't like this a couple of engine versions ago. Might be that someone 'corrected' the melee targeting to aim for the central pixel, which doesn't exist. No idea, someone who knows the code could answer that.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on February 23, 2016, 08:28:29 pm
I thought the star gods were intentionally resistant to stun (hence why basic stun weapons don't work on them), to make them difficult to capture. I ended up stunning mines with a tesla coil instead of the normal stun weapons. I don't think they are immune to melee. You can hit them, but they don't take much damage from the normal melee types.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on February 23, 2016, 09:15:10 pm
And I didn't add I because there is a bug in it :)
Screenshot or didn't happen ;P
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on February 24, 2016, 08:46:06 pm
Nah probably I just don't know how to use it.

EDIT: I have a possible bug to report. With the "everybody fights, no-one quits" enabled, when my base was attacked, the game seemed to hung up during the equipping phase (couldn't get it to display anything else than my dog), then, after a couple of minutes, mission started, giving me no possibility to equip soldiers (the initial health damage mechanic, however, worked!). Regrettably, the attack came out of the blue and there is no save.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on February 24, 2016, 09:40:14 pm
Nah probably I just don't know how to use it.
Then you should blame documentation for not begin clear enough :)

First you need define strings id that will be used by craft weapons slots:
Code: [Select]
weaponStrings: [STR_WEAPON_ONE, STR_WEAPON_TWO, STR_3, STR_4]
Then you need add translated strings in language file:
Code: [Select]
  STR_WEAPON_ONE: "WEAPON-1>{ALT}{0}"
  STR_WEAPON_TWO: "WEAPON-2>{ALT}{0}"
  STR_3: "WEAPON-3>{ALT}{0}"
  STR_4: "WEAPON-4>{ALT}{0}"
One feature this give is that each craft can have special names or slots like "Booster" or "Radar".
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on February 24, 2016, 11:01:25 pm
Thanks it is clear now!
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 26, 2016, 11:53:46 pm
New version is up.

v2016-02-26
  + Added supplies indicator for manufacturing
  + Added support for custom HWP/auxiliary preview icons
  + Temporarily disabled LOOT window for base defense (will implement later)

Example for modding HWP icons:

Code: [Select]
extraSprites:
  - type: CustomItemPreviews
    width: 40
    height: 18
    subX: 10
    subY: 18
    files:
      0: Resources/UI/custom-hwp-previews.png
items:
  - type: STR_DOGE
    customItemPreviewIndex: 1
  - type: STR_MUTANT_EGGHEAD
    customItemPreviewIndex: 3
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: SIMON on February 27, 2016, 01:58:47 am
Had a weird crash just now but I'm able to work around it at the moment. As the clock goes past midnight the game crashes, I checked several different dates. However if I halt the research on the "GOVT/RETICULAN FILES" before midnight the game goes on fine. I've researched this topic before from manufacturing the personel data and had no problems so I'm unsure why this is happening on this occasion. I also deleted my options.cfg file to see if that helped but no luck and I upgraded to the .exe of 2016-02-26 as it originally started crashing on the one of 2016-02-21 but still no luck. Any ideas? The reserve.sav is with the research halted, test.sav is not.

ps I only noticed that Dioxine had done v0.98 which corrects this, so I'll try that version via your exe, just one final point can I use my current game or do I have to start a new campaign?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on February 27, 2016, 02:06:51 am
Retried to compile 2.9 (2.5 worked fine a few days ago, but now Piratez moved to 2.9...) and I got:

Code: [Select]
OpenXCom/Compilations/Meridian/src/Basescape/NewManufactureListState.cpp: In member function ‘void OpenXcom::NewManufactureListState::fillProductionList(bool)’:
OpenXCom/Compilations/Meridian/src/Basescape/NewManufactureListState.cpp:187:40: error: ‘class OpenXcom::Base’ has no member named ‘getItems’
  ItemContainer * itemContainer (_base->getItems());
                                        ^
make[2]: *** [src/CMakeFiles/openxcom.dir/Basescape/NewManufactureListState.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [src/CMakeFiles/openxcom.dir/all] Error 2
make: *** [all] Error 2

A quick look shows that there is indeed no call to "_base->getItems()" but that one, so I assume it is supposed to be something else?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on February 27, 2016, 02:53:54 am
This probably should be `getStorageItems`. There was rename between 2.5 and 2.9.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on February 27, 2016, 02:59:26 am
Yup! I was coming to report that it went through compilation with getStorageItems. Hopefully everything else works :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 27, 2016, 02:21:28 pm
Fixed.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 27, 2016, 05:36:51 pm
I just thought of something. Something that plenty of others have probably thought of before, so maybe I'm just re-asking for it. I don't know if it's codeable, or just requires an extensive but easy graphics mod.

A facing indicator for enemy troops.

It's already graphically shown on the enemy sprite, but sometimes it's damn hard to tell just which way enemy troops are facing when there's plenty of smoke and/or fire about. With rear armour being such a huge thing in Xpiratez, it'd be very useful. Tantamount to cheating, just because it makes it easier to plan shots, stuns, etc.

But in theory, no different to what we have now. It'll just make it obvious.

Can a small blue pixel be coded in on the enemy's game sprites to show which way they're facing (blue should stand out amongst fire/smoke/landscape).

Or will I have to do a large optional graphics mod, one pixel per enemy, per facing?

Something like this?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on February 27, 2016, 06:05:20 pm
Once more, great, no.. awesome work on the UI. Your change make this game so much more polished it feels almost like OXC to the original!

One more request: Is there a way you could fix the empty "Research completed" messages? I think they pop when you complete a project you've already done before (like interrogating something for the second time), but I am not entirely sure. You had one in the last episode I've watched here (https://www.youtube.com/watch?v=X3HbtkZSnQM&index=38&list=PLe0K-GUDQkNJM3d7NgS4gU7u-Pm-4JWk3&t=38m47s).

It would be really neat to have that say whoever it was that got interrogated.

Thanks!
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on February 28, 2016, 12:27:47 am
So I played with your new 2.5b+ (2/26/16) update for half an hour.   Then swapped over to the new one (2.9) that came packaged with .98.  Sorry. I had to go back.  The Manufacturing required items preview is just too good! 

Please let me know when you update the 2.9+ branch to include this. :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on February 28, 2016, 01:35:21 am
Ack! Now I've done it!

Using the 2/26/16 2.5b+ executable I just got a crash trying to enter the Inventory screen from the Vessel equipping ui.   I don't have a save that I know will recreate this but I'll post one if I do.

Edit:  Found one. :)

(https://openxcom.org/forum/index.php?action=dlattach;topic=4187.0;attach=20644)

Edit#2:  Looks like it may be the difference between the 2.9 ex (which works (Bundled in .98)), and 2.5b+ 2/26.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: SIMON on February 28, 2016, 12:30:20 pm
Have upgraded to v0.98 but still getting the crash to the desktop if the "GOVT/RETICULAN" research topic is completed-see attached.

I've just tested there what could be a minor exploit, if you've a troop with bio suit armor who regenerates to full health but still has fatal wounds you don't need any infirminary time!
-see attached pics
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Cristao on February 28, 2016, 03:30:47 pm
SIMON, Go to the bugs thread. I had a similar problem. There are a couple of lines of code for you to paste into the piratez.rul file.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on February 28, 2016, 03:43:25 pm
That fix was already included in 0.98. I cannot find what else could be wrong with this topic. I need a save to analyze.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on February 28, 2016, 04:22:20 pm
About infirmary time, in some future I will add option for calculating it based on other factors than health.
This will allow some break time because of stress or reduce recovery time for unit with lot of health.
Another benefice of this would be that in even longer run it will be able support surgery rooms that reduce time to recover.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on February 28, 2016, 04:43:46 pm
This will allow some break time because of stress

"Hey, where's Spiral Vixen? I need her on board, now."
"Cap'n, she said she needed some break time because of stress."
"Meaning?"
"She's passed out from the rum and won't wake up in three days at least."
"Dayum!"
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 28, 2016, 04:55:02 pm
@Ivan: 2.5b and 2.9 are not compatible, don't mix! Good news... I managed to compile a working version (I hope), download links below

New version(s) are up.

v2016-02-28
  + Added hit/miss log (press Ctrl+H to show) -- only shows the last "action"
  + Added unit facing indicator (hold SHIFT to show)

Download 2.5b+ for PirateZ 0.97: https://drive.google.com/open?id=0B8itkFQbhj-YMzU5dmN6NElJWUE
Download 2.9+ for PirateZ 0.98: https://drive.google.com/open?id=0B8itkFQbhj-YdmxIaFVZMTR1TTQ
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Cristao on February 28, 2016, 07:21:01 pm
^Meridian wrt version 2.9, a dll file is missing. MSVCP140-dll-is-missing. That is odd. Looks like a problem with MSVC 2015. Never had this error before.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on February 28, 2016, 07:59:15 pm
^Meridian wrt version 2.9, a dll file is missing. MSVCP140-dll-is-missing. That is odd. Looks like a problem with VC 2015. Never had this error before.
This is becasue Meridian finally managed to compile it under VS2015, until this point I compile 2.9 it using MinGW.
You probably need install c++ redistribute for VC 2015.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Countdown on February 28, 2016, 08:27:35 pm
About infirmary time, in some future I will add option for calculating it based on other factors than health.
This will allow some break time because of stress or reduce recovery time for unit with lot of health.
Another benefice of this would be that in even longer run it will be able support surgery rooms that reduce time to recover.
This is a cool idea. Anything that increases the RPG element enhances the game in my opinion.

If you do this you should make it so you can't just sack a soldier that is on leave or injured. I already think that should be an optional enforcement in the game limiting the number of soldier sacking you can do. (Maybe you can sack 1 out of every 10 you hire?) Don't these soldiers have contracts? Workers comp? Severance pay? No, you can just fire them when they take a bullet to the chest for your cause!

Same for firing soldiers with low stats. This is the alien apocalypse, not the NFL draft.  ;) Realistically you wouldn't have an endless supply of expert soldiers you could cycle through hiring/firing on a whim.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on February 28, 2016, 11:26:41 pm
I can simply increase recruitment cost now while keeping the monthly pay on the current level. So you'll pay insurance in advance, like when acquiring a MERC fighter :)

EDIT: @Meridian: is it possible for you to compile everything into a single file like Yankes does? All these dll's tend to create a mess.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on February 29, 2016, 02:09:34 am
Here is the link to get the missing .dlls.  I had to use the x86 version to get it working.
https://www.microsoft.com/en-us/download/details.aspx?id=48145
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 29, 2016, 08:44:13 am
EDIT: @Meridian: is it possible for you to compile everything into a single file like Yankes does? All these dll's tend to create a mess.

No, I don't know how to do it :(
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Cristao on February 29, 2016, 10:24:14 am
Here is the link to get the missing .dlls.  I had to use the x86 version to get it working.
https://www.microsoft.com/en-us/download/details.aspx?id=48145

Very important. I had installed the 64bit version and was getting the same error. I will try the x86 version when I get home.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on February 29, 2016, 05:24:32 pm
Brainstorming a feature request here, Meridian. :)

You have a great solution for calculating the number of items that could be made from the available resources. 

Could we now use that value to automatically assign that many items for manufacture when starting the manufacturing job?   I'm imagining "middle-clicking" on the up arrow, would change the number to be made to that exact number.  We already increment by 1 with a left click, Increase by x-value with the scroll wheel (I like 10), and set to infinite with right click.

Then all we would have to do, is see that some hostages for slaves are available etc, click into the manufacturing job, middle click and done. :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on February 29, 2016, 05:29:00 pm
Good idea, but middle clicking is just too much :)
Maybe a small new button or something a bit more intuitive instead?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: yrizoud on February 29, 2016, 06:22:24 pm
For the exact case that you mention, "infinite" does the job. If some more resources become available during the process, they will get processed too, but it seems to be your intent.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on February 29, 2016, 06:59:22 pm
For the exact case that you mention, "infinite" does the job. If some more resources become available during the process, they will get processed too, but it seems to be your intent.
Yeah, I guess thats true!  Thanks for pointing that out. :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Cristao on March 01, 2016, 08:17:47 am
Confirmed 32bit worked instead of 64 bit.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Eddie on March 01, 2016, 03:41:14 pm
Topic: Melee damage

Melee damage is complicated. Personally, I use a spreadsheet to calculate melee weapon damage for my gals. People used to do that for manufacturing for profit, but now we don't need that anymore because we have the ingame info. I would like to have something similar for melee damage.

Problem is, the damage is dependent on the armor of the target. So you cannot calculate a correct damage value when you equip an item. Since meridian implemented a combat log, I would suggest to use that to give some feedback on melee weapon damage. Not the actual numbers, just some rough indicators. Like "no damage", "minor scratch", "good hit" and "devastating blow".
Logic behind that, if you are fighting someone in melee, you CAN tell if you injured him or if your blow did nothing. When you hit someone with a hammer from behind and the blow bounced right off their armor, you will know. If you chainsaw someone and their armor compleately stops it, you will know. When you hit someone in the face with fistycuffs and land a good hit, you know that you did. This should help beginners figuring out how effective their melee strategies are.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on March 01, 2016, 04:45:15 pm
Hm how about adding a function for a custom hitSound played when no damage was dealt? That should be an easy solution.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on March 01, 2016, 04:54:42 pm
I love the idea of the custom sound. :)  "Tink"
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on March 01, 2016, 05:42:36 pm
Quote
"The altar is smashed by the greater moloch! An energy bolt strikes down on the greater moloch! The greater moloch shruggs it off and laughs with malicious glee!"
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: yrizoud on March 01, 2016, 06:13:02 pm
Note that it will also affect hits on your girls.
If somebody tackles this change, please also offer a custom (visual) hit animation for no damage, as a thought for deaf players.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on March 01, 2016, 06:17:26 pm
Adding a text log, like in Fallout or Baldur's Gate, would be more informative - if you think about deaf people, they won't know if they hit in the first place. Text log would make everything clear, to both deaf and non-deaf.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on March 01, 2016, 07:18:43 pm
Hm how about adding a function for a custom hitSound played when no damage was dealt? That should be an easy solution.
Not so easy, right now biggest problem is order of sound play and damage calculation. When you know that no damage was done it already after sound and animation ended. At some point I want change this but right now I have other things to do.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on March 01, 2016, 07:40:35 pm
How about the log, then?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on March 01, 2016, 08:02:42 pm
How about the log, then?

This is closer to Meridian domain :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on March 01, 2016, 08:28:42 pm
Hence posting it here :)
The text field just above the GUI can display info about attack (xxx was hit with xxx for xxx damage); but no numbers, just 'light', 'heavy', 'critical' damage or sth.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on March 01, 2016, 08:36:08 pm
Then I'd also like the "looks: almost dead" added somewhere there. :D
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on March 01, 2016, 08:46:04 pm
but no numbers, just 'light', 'heavy', 'critical' damage or sth.

... based on percentage of the targets health.

- light = 0 - 10 %
- medium = 10 - 30%
- heavy = 30 - 60%
- critical = 60% +

etc
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on March 01, 2016, 08:59:29 pm
Medium damage sounds so uncool :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on March 01, 2016, 09:26:48 pm
telling damage?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on March 01, 2016, 09:30:06 pm
Actually Bloax had the best idea so far:

<+Bloaxor> ![2/3]: If you hit something and the message ends with !, that means you did 7-17 damage. !!: 18-35. !!!: 36-71. !!!!: 72-143. !!!!!: 144-287. !!!!!!: 288+; and so on. Yikes!

(damage after armor)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Boltgun on March 02, 2016, 01:08:02 pm
An alternative could be telling more about the percentage roll resulting from a shot.

Perhaps it should tell :
- 0-50% : Glancing hit
- 50-150% : Hit
- 150%-200% : Perfect hit

And as an option, tell 'no damage' if there is neither hp or stun damage applied. At least you'll know if you've been simply unlucky.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on March 02, 2016, 06:56:45 pm
Then I'd also like the "looks: almost dead" added somewhere there. :D
This is possible in 2.9. You can change torso (or any other part if you are crazy enough) based on lost hp.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on March 03, 2016, 05:16:09 pm
This is possible in 2.9. You can change torso (or any other part if you are crazy enough) based on lost hp.

Yeah, but I was referring to Fallout and the text console.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Moon_Dew on March 05, 2016, 11:05:18 pm
Could someone explain how to install this, please?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Moon_Dew on March 06, 2016, 12:57:41 am
Semi-related to this thread.  Before you log-off, do your fellow members a favor, and CHECK YOUR INBOX!!!

Someone may have asked you an important question, so please check your inbox and reply to your messages.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Bloax on March 06, 2016, 01:24:20 am
quite a lot of ruckus for something that is supposed to work by dumping it into the base folder the piratez mod comes with and then running OpenXcomExPlus29.exe instead of OpenXcomExPlus.exe
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Moon_Dew on March 06, 2016, 01:26:57 am
Sorry, I wasn't for sure if that was all I had to do or not, and was getting irritated by the fact that no one explained this.  Thanks.

By the way, semi-related, is there a way to make my pirates invincible, or at least close to it?  Like some sort of code to edit or something like that?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on March 06, 2016, 01:48:05 am
By the way, semi-related, is there a way to make my pirates invincible, or at least close to it?  Like some sort of code to edit or something like that?

Cheaters are NOT welcome here.

Your questions are adressed in the documentation, plus no one is obliged to answer right away. Pai Sho is a game of Patience.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Moon_Dew on March 06, 2016, 02:21:57 am
Game's calling it the Ufopedia instead of the Bootypedia...what did I do wrong?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on March 06, 2016, 02:48:52 am
Only US-English language version is supported.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: SagaDC on March 08, 2016, 09:51:53 am
I just applied Meridian's mod, and everything seemed to be working fine for a bit. But now every time I load a saved game, all of my Hands disappear. Any idea why that might be happening?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on March 08, 2016, 01:17:41 pm
I just applied Meridian's mod, and everything seemed to be working fine for a bit. But now every time I load a saved game, all of my Hands disappear. Any idea why that might be happening?

Which version of X-PirateZ do you have?
And which version of my mod do you have?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: SagaDC on March 08, 2016, 04:53:24 pm
Which version of X-PirateZ do you have?
And which version of my mod do you have?

I installed X-Piratez  0.97D (2.5+ v01-29-2016), the latest version on the OpenXcom website. I then installed the 0.98 (2.9+ v2016-02-28) mod from the beginning of this thread on top of it. It's entirely possible that I installed it wrong, or overlooked some kind of compatibility issue between the versions.

I installed the 0.98 mod by simply copy/pasting the files into the 0.97D folder and replacing as necessary, then using the new executable to launch the game. I did end up having to install Microsoft Visual C++ 2010 to get it to work, but after that it seemed to work fine.

At the moment I can save during battles without any issues, but if I save during the Geoscape sequence then the save file will "forget" all of my Hands, leaving my Barracks and vessels empty.

EDIT - When I revert the game back to 2.5b+, my save files work just fine. My Hands reappear in the barracks, even in files where they had seemingly disappeared.

EDIT x2 - I just realized that with the 2.9+ mod applied, it also removes the ability to hire new Hands through the Black Market.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on March 08, 2016, 06:31:16 pm
I installed X-Piratez  0.97D (2.5+ v01-29-2016), the latest version on the OpenXcom website. I then installed the 0.98 (2.9+ v2016-02-28) mod from the beginning of this thread on top of it. It's entirely possible that I installed it wrong, or overlooked some kind of compatibility issue between the versions.

Yes, it is a compatibility issue.

PirateZ 0.97 is comaptible only with 2.5+.
PirateZ 0.98 is compatible only with 2.9+.

That's why I keep two download links in the first post...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: SagaDC on March 08, 2016, 07:11:17 pm
Yes, it is a compatibility issue.

PirateZ 0.97 is comaptible only with 2.5+.
PirateZ 0.98 is compatible only with 2.9+.

That's why I keep two download links in the first post...

Ah! Well, that would certainly explain it then. I knew I had overlooked something obvious. I did notice the specific compatability notes, but apparently I clicked on the wrong download link anyway. :P

Thank you very much, and I hope you folks keep up the good work. Even with the compatability issues, I've still been having a blast trying out X-Piratez. :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on March 10, 2016, 12:22:03 am
New version is up.

Download for piratez 0.98 already available in first post.
Download for piratez 0.97 will be published tomorrow.

v2016-03-09
  + Added fatal wounds infobox (shortcut is ctrl+w)
  + Manufacturing: displaying produced items after required items
  + Added support for field medic experience training (=experience training possible (by default no training) when healing fatal wounds of any unit)
  + Fixed primed grenade indicator (inventory ground)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on March 10, 2016, 01:26:41 am
Would it be possible to make a command next to a research topic which blocks another research? This would allow to introduce choices and multiple paths. One crucial thing, the command should remove the blocked topic from the list if the blocking one is selected for research; otherwise it would be possible to bring both of them to the research menu and have both.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on March 10, 2016, 10:27:42 am
Would it be possible to make a command next to a research topic which blocks another research? This would allow to introduce choices and multiple paths. One crucial thing, the command should remove the blocked topic from the list if the blocking one is selected for research; otherwise it would be possible to bring both of them to the research menu and have both.

Yes... can you give me one specific example for inspiration?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on March 10, 2016, 06:02:51 pm
Yeah. I'm not planning to add this soon, but there's an idea you could take the evil path: striking a deal with Mercs and throwing away all this 'defend the mutants' thing, become for-profit-only evil pirate. I was planning to do it like this:
1. optional research that enables a new mission spawn
2. mission (do a Pogrom... yourself, and get paid)
3. you get  research item
4. once researched, this changes missions that spawn - in short, no more Mutant Pogroms in the defensive sense, now you go to kill and rob the mutants.
5. this should make it impossible to form Mutant Self Defense Force or help mutants in other constructive ways;
6. However, even if these actions will be based on missions too, and these missions would be blocked by research, the player can hoard a research item and research them both later, at the same time, thus weaseling out of such a choice.

This is only a general outline; it's possible there will be more of such game-altering choices.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Roxis231 on March 11, 2016, 10:57:07 pm
New version is up.

Download for piratez 0.98 already available in first post

Downloaded and tried out.

Quote
OpenXcomExPlus29.exe is not a valid Win32 application

??? WTF ???

Never had any of the previous 2.9's do that before.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on March 12, 2016, 09:11:57 pm
Just tried to compile from the 2.9-plus-proto branch and got:

Code: [Select]
/home/jpaucl/XCom/OpenXCom/Compilations/Meridian/src/Basescape/ManufactureStartState.cpp: In constructor ‘OpenXcom::ManufactureStartState::ManufactureStartState(OpenXcom::Base*, OpenXcom::RuleManufacture*)’:
/home/jpaucl/XCom/OpenXCom/Compilations/Meridian/src/Basescape/ManufactureStartState.cpp:137:56: error: cannot pass objects of non-trivially-copyable type ‘const class OpenXcom::LocalizedText’ through ‘...’
   _lstRequiredItems->addRow(1, tr("STR_UNITS_PRODUCED"));
                                                        ^
make[2]: *** [src/CMakeFiles/openxcom.dir/Basescape/ManufactureStartState.cpp.o] Error 1

:(
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on March 12, 2016, 10:49:08 pm
OpenXcomExPlus29.exe is not a valid Win32 application
Never had any of the previous 2.9's do that before.

No idea man...

Just tried to compile from the 2.9-plus-proto branch and got:
ManufactureStartState.cpp:137:56: error: cannot pass objects of non-trivially-copyable type ‘const class OpenXcom::LocalizedText’ through ‘...’
_lstRequiredItems->addRow(1, tr("STR_UNITS_PRODUCED"));

Assign tr("STR_UNITS_PRODUCED") to a variable before this line; and then just use the variable instead... or just replace that whole thing with a static text

cross-platform/compiler compatibility is gonna kill IT one day I tell ya...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Bloax on March 13, 2016, 12:11:19 am
Downloaded and tried out.

??? WTF ???

Never had any of the previous 2.9's do that before.
l
Are you running WinXP by any chance?

If no, then are you running a 64-bit OS?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on March 13, 2016, 02:56:01 am
Assign tr("STR_UNITS_PRODUCED") to a variable before this line; and then just use the variable instead... or just replace that whole thing with a static text

cross-platform/compiler compatibility is gonna kill IT one day I tell ya...

That's odd, my compiler never seemed to be more picky except with oxce+.. Anyhow.

I tried to define a variable, and failed pathetically.. it wouldn't store the value in anything but a "const OpenXcom::LocalizedText", which the addRow function wouldn't accept any ways... I expect addRow wants a normal string, but I couldn't use a std::string to store the output.

I ended up commenting out the line and writing:
Code: [Select]
                https://_lstRequiredItems->addRow(1, tr("STR_UNITS_PRODUCED"));
                _lstRequiredItems->addRow(1,"Units Produced");

which went through compilation. It's still compiling (takes forever...), hopefully it works. If you could address that in a better way, I'd be happy to get a proper fix ;)

Also, I noticed that in Piratez, STR_UNITS_REQUIRED is "UNITS REQUIRED", but STR_UNITS_PRODUCED is "Units Produced", that seemed weird if they are to be displayed equivalently.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Roxis231 on March 13, 2016, 09:41:34 pm
l
Are you running WinXP by any chance?

If no, then are you running a 64-bit OS?

On my home machine - yes. but every other version of 2.9 has worked on that machine before, so why not this one?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Bloax on March 14, 2016, 12:17:12 am
Because Microsoft is a bag of dicks and introduced a neat feature into MSVC2015/2016 that makes the compiled executables unrunnable in WinXP.

There's a fix for it, but I can't find it at the moment.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on March 14, 2016, 01:43:13 am
Can't run the new version - no MSCCP140.dll found. It's an old Win7 64-bit system, impossible that something like .NET is missing.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Bloax on March 14, 2016, 02:03:15 am
There's no mention of MSCCP140.dll in the many dependencies of OpenXcomExPlus29.exe in Dependency Walker, but there are of MSVCP140.dll.

Which is part of the 2015 Visual C++ Redistributable.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on March 14, 2016, 02:37:18 am
There's no mention of MSCCP140.dll in the many dependencies of OpenXcomExPlus29.exe in Dependency Walker, but there are of MSVCP140.dll.

Which is part of the 2015 Visual C++ Redistributable.

Yep, you are correct. It was my typo.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on March 14, 2016, 02:12:02 pm
Can't run the new version - no MSCCP140.dll found. It's an old Win7 64-bit system, impossible that something like .NET is missing.

Here is the link to get the missing .dlls.  I had to use the x86 version to get it working.
https://www.microsoft.com/en-us/download/details.aspx?id=48145
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on March 14, 2016, 03:00:31 pm
Here is the link to get the missing .dlls.  I had to use the x86 version to get it working.
https://www.microsoft.com/en-us/download/details.aspx?id=48145

Thanks, I'll try it when I'm back home.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on March 14, 2016, 03:02:36 pm
That's odd, my compiler never seemed to be more picky except with oxce+.. Anyhow.

I tried to define a variable, and failed pathetically.. it wouldn't store the value in anything but a "const OpenXcom::LocalizedText", which the addRow function wouldn't accept any ways... I expect addRow wants a normal string, but I couldn't use a std::string to store the output.

I ended up commenting out the line and writing:
Code: [Select]
                https://_lstRequiredItems->addRow(1, tr("STR_UNITS_PRODUCED"));
                _lstRequiredItems->addRow(1,"Units Produced");

which went through compilation. It's still compiling (takes forever...), hopefully it works. If you could address that in a better way, I'd be happy to get a proper fix ;)

Try this and let me know if it helped please.

Code: [Select]
std::wstring temp = tr("STR_UNITS_PRODUCED");
_lstRequiredItems->addRow(1, temp);
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on March 14, 2016, 06:48:59 pm
Probably only right solution is (copy paste from another file):
Code: [Select]
_lstFacilities->addRow(1, tr((*i)->getType()).c_str());This is because `addRow` have C variadic arguments: https://en.wikipedia.org/wiki/Variadic_function

Only `wchar_t*` can be pass because `addRow` reads only this type:
Code: [Select]
txt->setText(va_arg(args, wchar_t*));
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on March 14, 2016, 07:22:05 pm
Here is the link to get the missing .dlls.  I had to use the x86 version to get it working.
https://www.microsoft.com/en-us/download/details.aspx?id=48145

Sadly, it didn't help. (I had it installed already.)

I guess I'll just wait for another compilation. If only my current version didn't crash when 10+ enemies are visible. :P
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on March 14, 2016, 07:34:13 pm
Meridian, I think that could be helpful for you: https://msdn.microsoft.com/en-us/library/jj851139.aspx?f=255&MSPPError=-2147217396
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on March 14, 2016, 11:11:44 pm
Meridian, I think that could be helpful for you: https://msdn.microsoft.com/en-us/library/jj851139.aspx?f=255&MSPPError=-2147217396

OK, I tried that... let's see if it helps.

New version is up (2.9-based only).

v2016-03-14
  + Compiled using XP-compatibility settings? -- thanks Yankes
  + Fixed linux compilation issue reported by Arthanor (hopefully) -- thanks Yankes
  + Changed unit facing indicator hotkey (ALT instead of SHIFT)
  + Added custom physical training factor (percentage between 0 and 100)
    - default 100 % (customTrainingFactor: 100)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on March 14, 2016, 11:32:07 pm
Sorry, but I still have the error I mentioned before. Installing the MS distributable doesn't help.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on March 14, 2016, 11:37:12 pm
Sorry, but I still have the error I mentioned before. Installing the MS distributable doesn't help.

What operating system do you have?
Are you using all files from the package? (a couple versions ago one DLL has changed too, not only EXE)
Did you install 32-bit version of C++ redistributable as Ivan suggested?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on March 14, 2016, 11:43:52 pm
What operating system do you have?

Windows 7, 64 bit.

Are you using all files from the package? (a couple versions ago one DLL has changed too, not only EXE)

Yes, everything.

Did you install 32-bit version of C++ redistributable as Ivan suggested?

He did? He mentioned that he had to get the x86 version, but I figured he simply had a 32-bit system...

Anyway, tried this now, it works. :) Thanks, guys!
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on March 14, 2016, 11:51:29 pm
Anyway, tried this now, it works. :) Thanks, guys!

Happy to hear that.
And please... be extra careful with custom training factor... less than 50-60% is as good as nothing.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on March 15, 2016, 03:55:51 am
Try this and let me know if it helped please.

Code: [Select]
std::wstring temp = tr("STR_UNITS_PRODUCED");
_lstRequiredItems->addRow(1, temp);

No :(

Code: [Select]
Scanning dependencies of target openxcom
[  0%] Building CXX object src/CMakeFiles/openxcom.dir/Basescape/ManufactureStartState.cpp.o
/home/jpaucl/XCom/OpenXCom/Compilations/Meridian/src/Basescape/ManufactureStartState.cpp: In constructor ‘OpenXcom::ManufactureStartState::ManufactureStartState(OpenXcom::Base*, OpenXcom::RuleManufacture*)’:
/home/jpaucl/XCom/OpenXCom/Compilations/Meridian/src/Basescape/ManufactureStartState.cpp:139:50: error: cannot pass objects of non-trivially-copyable type ‘std::wstring {aka class std::basic_string<wchar_t>}’ through ‘...’
                 _lstRequiredItems->addRow(1, temp);
                                                  ^
make[2]: *** [src/CMakeFiles/openxcom.dir/Basescape/ManufactureStartState.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/openxcom.dir/all] Error 2
make: *** [all] Error 2

And my fixed compiled, but I don't think it worked either... (see attached)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Cristao on March 15, 2016, 08:05:32 am
Windows 7, 64 bit.

Yes, everything.

He did? He mentioned that he had to get the x86 version, but I figured he simply had a 32-bit system...

Anyway, tried this now, it works. :) Thanks, guys!

I dont know why the 64bit version didnt work. I too had to use the x86 version before I could get it working and my system is 64bit windows.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on March 17, 2016, 01:16:15 pm
Due to upgrade to 2.9 OXCE, the 'avatar instead of rank' function doesn't work so well anymore, as different races should have different avatars. Perhaps it'd be possible to add functionality to set the armor used as source, and xy offset for every soldier race separately?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on March 17, 2016, 02:05:23 pm
Due to upgrade to 2.9 OXCE, the 'avatar instead of rank' function doesn't work so well anymore, as different races should have different avatars. Perhaps it'd be possible to add functionality to set the armor used as source, and xy offset for every soldier race separately?

EDIT: Done. New version is up.

v2016-03-17
  + Ability to define avatar position (per soldier type)
  + Ability to define armor for avatar in the ruleset

Code: [Select]
  - type: STR_SOLDIER
    costBuy: 20000
    costSalary: 5000
    armor: STR_NONE_UC
    armorForAvatar: STR_LOADER_ARMOR_UC #if not specified, currently worn armor will be used
    avatarOffsetX: 56 # default is 66
    avatarOffsetY: 50 # default is 42
...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on March 17, 2016, 08:27:55 pm
Thank you :) I will try to add a playable race before your next recording. Doggies are out of question, without that 2-dog limit, massive homing-HE-pack-bombing will ensue :) But I'll try to cook something up. Maybe upgradeable Advisors (Mindprobe of Haste, some armor).
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Roxis231 on March 19, 2016, 06:22:56 am
Meridians, just downloaded and tried the 2016-03-17 version of 2.9

I'm still getting the 'Not a Valid Win32 Application' Error.

You fixed this in the 2016-03-14 version - Why is it back?

PS - Can't find a copy of 2016-03-14 in the links, is it possable to get one?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on March 19, 2016, 09:01:46 am
Meridians, just downloaded and tried the 2016-03-17 version of 2.9
I'm still getting the 'Not a Valid Win32 Application' Error.
You fixed this in the 2016-03-14 version - Why is it back?
PS - Can't find a copy of 2016-03-14 in the links, is it possable to get one?

It's back because I compiled it on a different computer (on notebook while waiting for a delayed flight :D)

The first post contains a link to an archive, you can get 2016-03-14 there.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Roxis231 on March 20, 2016, 06:47:08 am
It's back because I compiled it on a different computer (on notebook while waiting for a delayed flight :D)

Ah, so you'll fix it in the next release, great.

The first post contains a link to an archive, you can get 2016-03-14 there.

Huh, I thought that was just for old v2.5 archives.  Thanks.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on March 21, 2016, 07:11:47 pm
Hi Meridian... I worked a bit more on that "cleaned" smoke that I showed you earlier, and toned down the movements alot.   Here is an animated .gif.

(https://piskel-imgstore-b.appspot.com/img/5bb7e787-ef87-11e5-b20a-2d9b8664c5dc.gif)

Let me know if this is closer to something you would like.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on March 22, 2016, 10:26:33 pm
Hi Meridian,

(yeah, there is more of us)

psycHoTik made this:

https://openxcom.org/forum/index.php/topic,4421.msg60888.html#msg60888

Can you please evaluate his code and if it's correct, perhaps include it in your build? Because impossibility to regulate vision ranges during the day is quite exasperating.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on March 22, 2016, 10:52:17 pm
Yankes wrote in his last update post on OXCE 3.0 something about scripts for unit visibility:

- scripts access to unit reactions and maybe visibility too

But I'll have a look and include it if it makes sense... I may contact you again regarding exact requirements.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on March 22, 2016, 10:58:32 pm
Thank you, effendi. Whenever you ask. :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on March 25, 2016, 06:18:06 pm
New version's up.

v2016-03-25
  + Added support for visibility during day (per armor type), more info: https://openxcom.org/forum/index.php/topic,4421.msg60977.html#msg60977
  + Some minor armor equip improvements, more info: https://openxcom.org/forum/index.php/topic,2915.msg60964.html#msg60964
v2016-03-23
  + Added support for craft auto-patrol, more info: https://openxcom.org/forum/index.php/topic,4228.msg60926.html#msg60926

Download in the first post.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Eddie on March 26, 2016, 01:33:37 am
I had a moment of enlightenment.

We could have weapon specific behaviour for kneeling. For example, snipers could get a bigger boost to accuracy for kneeling than other weapons. Autofire range could be extended when kneeling. Or snap range or aimed range. Think of the possibilities!

I'm not sure if this is the right place to post this idea, but if you like it I'm sure you will tell the right person.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on March 26, 2016, 11:52:27 am
I had a moment of enlightenment.

We could have weapon specific behaviour for kneeling. For example, snipers could get a bigger boost to accuracy for kneeling than other weapons. Autofire range could be extended when kneeling. Or snap range or aimed range. Think of the possibilities!

I'm not sure if this is the right place to post this idea, but if you like it I'm sure you will tell the right person.
This is in TODO in next release of Extended.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Bloax on March 26, 2016, 02:58:49 pm
Meridians, just downloaded and tried the 2016-03-17 version of 2.9

I'm still getting the 'Not a Valid Win32 Application' Error.

You fixed this in the 2016-03-14 version - Why is it back?

PS - Can't find a copy of 2016-03-14 in the links, is it possable to get one?
https://dl.dropboxusercontent.com/u/63152810/oxcep.zip
Does this work, by any chance?

I gave it a little bit of dirty juice (https://encode.ru/threads/1838-Command-Line-Process-Profiling-Tool?p=35716&viewfull=1#post35716).
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on March 26, 2016, 03:03:37 pm
Just wanted to report that I dl-ed the 3-25 version, and the "Shift" key for entity facing didn't seem like it was working.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on March 26, 2016, 03:37:08 pm
@Bloax and Roxis: the 2016-03-23 and 2016-03-25 should again work on win XP... can someone confirm?

@Ivan: the shortcut was changed from shift to alt... read the changelog  :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on March 26, 2016, 04:03:04 pm
.... read the changelog  :)

pfft.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: yrizoud on March 26, 2016, 07:16:18 pm
I can confirm the 2016-03-25 works fine on Windows XP 32bit. The linked MSVC++2015 redistributable was necessary, that's normal.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: doctor medic on March 26, 2016, 09:49:25 pm
So i got vc redist x86 for my 32 bit machine,i threw everything from the 2016 exe download in the same folder where i downloaded piratez and yet i still get this crash from the explus29 exe

ucrtbase.abort cant find api-ms-crt-runtime-L1-1-0.dll.

even thought i have that dll in the system32 folder

(Damn it guys does this update need to have these issues?)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on March 26, 2016, 10:03:40 pm
(Damn it guys does this update need to have these issues?)

You really think I want you to have issues?
Just continue with this tone and I'll stop completely...

Anyway, after googling for a few minutes, I believe your VC++ 2015 32-bit redist failed to install properly (or you installed a different version). Try uninstalling and installing again.

PS: and for love of god, don't try to copy the file manually to your system32 folder, you're asking for trouble if you do that
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: doctor medic on March 26, 2016, 10:08:43 pm
I apologise for the tone,i think that i may have multiple versions installed and they may be conflicing with each other,regardless i will try to find and remove all of them and then install the proper one.

Is there a program to download the dll files in a proper manner or is there a method that im not aware of?

there is only 86 and 64 bit so naturaly my 32 bit machine should only be compatible with 86 as i cant find a 36 option.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on March 26, 2016, 10:15:44 pm
Correct installation file can be downloaded here: https://www.microsoft.com/en-us/download/details.aspx?id=48145
Use the _x86 version.

PS: I will try compiling future versions under Linux, but it will take me some time to learn how to do it.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: doctor medic on March 26, 2016, 10:19:39 pm
They are the same,i used the link from the first page and i believe that you gave me that one to use,i have deleted all previous redist from my pc including this one but even after the reinstall i get ucrtbase.terminate instead of abort,it's still about api-ms-win-crt-runtime-l1-1-0.dll

I cant give much detail as it's written in greek and a translation might make it sound more complicated that it needs to be.

But maybe it has to do with where i have the dll.I did threw that one in system32 haphazardly after all,i probably had to do something else considering that you mentioned how ugly things can get.

I am certain that 2016-03-25-oxce29plus.zip needs to have its contents moved in the same file as piratez,i cant mistake that.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Roxis231 on March 27, 2016, 08:49:00 am
Personaly I just put a copy of the DLL's in the X-Piratez folder - It seems to work.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: doctor medic on March 27, 2016, 11:29:00 am
i did so with the api-ms dll but it didnt seem to work.Even with vc redist and the new exe folder,still says that ucrtbase. terminate cant find the dll in the dynamic link library.

i suppose the old exec from 97 isnt going to work too well with this version.

Also i tried using the CMD method to see if the file can be loaded at all and it does but it didnt found a entry point for DLLregisterserver.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on March 27, 2016, 11:40:22 am
Try this one, it's a bit old, but compatible: https://drive.google.com/open?id=0B8itkFQbhj-YTzRYLUZrZElLUTA
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: doctor medic on March 27, 2016, 11:47:12 am
Is the 97D a typo in the menu or the actual game version?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on March 27, 2016, 12:08:17 pm
Is the 97D a typo in the menu or the actual game version?

0.97D is taken from the piratez ruleset, so it is the actual mod version... the executable version is oxce 2.9+ 2016-02-13.

And these two don't mix!
What are you trying to install anyway?... seems like you have a total mess in your directory.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Roxis231 on March 27, 2016, 12:35:58 pm
0.97D is taken from the piratez ruleset, so it is the actual mod version... the executable version is oxce 2.9+ 2016-02-13.

And these two don't mix!
What are you trying to install anyway?... seems like you have a total mess in your directory.

One way to sort this out - Make a clean install (as though you were just instaling the game for the first time) in a different folder and see if that works, then add your save files.

That's what I do with each major update.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: doctor medic on March 27, 2016, 12:44:48 pm
Incase anyone wants to know im trying to download the latest version 98.Which is where all the problems have started as the previous versions seem to work fine,the api-ms-win-crt-runtime-l1-1-0dll is the problem as even with the vc redist 86x and even with unistaling all of the previous vc redist versions
i still get this issue

Unless dioxine's mediafire link gives me the download for 97D,but now im getting really confused with downloading the dll file both manualy and with the dll fixer installing it in system32.

86x is for 32 bit right?Or do i need a specific version of the api-ms-win-crt-runtime-l1-1-0 dll file? (im pretty sure i havent downloaded the 64 bit version of it)

Interestingly i get the same problem even without vcredist 86x installed.


Made a clean install and i still got the same exe crash about ucrtbase.terminate and the api-ms-win-crt-runtime-l1010.dll not being found in the dynamic library.So lets take this one step at time,im going to unistall vc redist and reinstall it right now.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on March 27, 2016, 02:04:20 pm
First, try with the EXE I sent you today few posts ago... that one doesn't need the vc redist at all.

That is use fresh x-piratez 0.98a and oxce 2.9+ v2016-02-13... if that doesn't work, you must be doing something completely wrong.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: doctor medic on March 27, 2016, 02:25:48 pm
The exe you gave me works fine,im going to search at new battle and try to find a poison gas grenade to be sure that everything really is in place.

Seems like its the 97D version all along,no novice rob or poison gas grenades.

But on the clean install i made it works fine and it shows the correct version,that's odd but thanks for the help and the time you spent on trying to help me with this issue.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on March 27, 2016, 03:11:30 pm
The EXE I gave you will NOT work correctly with 0.97D... you can expect crashes!!

Again, for million-th time:
Use oxce 2.5b+ for piratez 0.97x
Use oxce 2.9+ for piratez 0.98x
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on March 27, 2016, 10:11:20 pm
New version is up.

v2016-03-27
  + Added support for nationalities/flags, more info here: https://openxcom.org/forum/index.php/topic,4442.msg61114.html#msg61114

Download (courtesy of Yankes): https://drive.google.com/open?id=0B8itkFQbhj-YVkl0X1B6N1ZrcjA
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on March 28, 2016, 10:28:53 am
SupSuper just fixed a "minor cosmetic shit" in battlescape load screen.
My day just got brighter! Love you man...

Attached are two screenshots... spot the 5 differences :)

PS: the different times don't count as differences... although I'd like to know why the heck that happens (before screen is with Yankes' EXE, which shows all saves 1 hour younger than they actually are, weird)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on March 28, 2016, 12:04:25 pm
This date bug is interesting. Its look like one ignoring time zone or something. But this would mean that you live around UK (or other country with similar longitude).
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on March 28, 2016, 12:12:22 pm
Yes, I live in Switzerland. One hour difference to UK.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: R1dO on March 28, 2016, 03:03:26 pm
Another possibility is that one of the scrienies was made before daylight saving and the other after ;)

(just my 2 cents)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on March 28, 2016, 03:23:32 pm
Another possibility is that one of the scrienies was made before daylight saving and the other after ;)

(just my 2 cents)

No, both were taken at the same time.
But a nice idea :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on March 28, 2016, 09:32:56 pm
Yes, I live in Switzerland. One hour difference to UK.
+1 or +0 time zone or even +2 if gcc standard library adds time zone hour two times.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Cristao on April 01, 2016, 03:42:22 pm
Suggestion - possible to have a post which shows keystrokes and what they do.

If this exists already, ignore.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on April 01, 2016, 06:14:05 pm
You can define most key shortcuts in the options. Hopefully Meridian adds a line there to configure his new options too? (If not, then that's a good suggestion!)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on April 01, 2016, 08:29:14 pm
New version's up.

v2016-04-01
  + Added support for "Starting conditions", more info here: https://openxcom.org/forum/index.php/topic,4444.0.html
v2016-03-28
  + Added UFO Tracker (hotkey T), more info here: https://openxcom.org/forum/index.php/topic,4263.msg61169.html#msg61169
  + Fixed visual glitches in battlescape loading/saving screen (cherry-picked from SupSuper/master)

I am now out of features to implement (no, that's not April Fool's joke)... I'll do some documentation and then talk to DEVs if they would be interested in any of this in master.

Download: https://drive.google.com/open?id=0B8itkFQbhj-YZm1JRVIzT0VyRUE
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on April 02, 2016, 06:15:40 pm
New version's up.

v2016-04-02
  + Added support for custom mission/monthly ratings, more info here: https://openxcom.org/forum/index.php/topic,4466.0.html
  + Fix: Items carried by HWPs are not lost anymore when mission ends
  + Fix: HWPs are not showing ranks anymore
  + Improvement: "visibilityAtDay" by default equals to "maxViewDistance" (instead of 20)

Download: https://drive.google.com/open?id=0B8itkFQbhj-YMHhkeVdKRFRxeUU
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on April 03, 2016, 11:25:40 pm
So, about this being out of features to implement... Let me help with this one. :)

Soldiers as manufacturing items and products.

I don't simply mean "Urist McZander -> Dead Meat", or even "Alchemical Compound + Summoning Circle -> Urist McZander -> Failed Human Transmutation Corpse". I also mean taking a soldier and changing them into another soldier race, respecting all stats.

So we have our Urist McZander, a fairly average human squaddie. He had some starting stats, then got a little experience, so now his stats are:

Code: [Select]
      tu: 50
      stamina: 55
      health: 35
      bravery: 90
      reactions: 40
      firing: 50
      throwing: 40
      strength: 35
      psiStrength: 45
      psiSkill: 0
      melee: 35

So we take this squaddie and change him from "human" to "cyborg".

A cyborg is a different race which cannot be hired but can be produced. Cyborgs are processed people, with their stats unchanged except for a certain set of modifiers. Cyborgs get +10 strength, +10 reactions and +15 health, but -5 TUs and -10 Max Psi Strength (not current, unless too high).

So now we get Cyborg Urist McZander:

Code: [Select]
      tu: 45
      stamina: 55
      health: 50
      bravery: 90
      reactions: 50
      firing: 50
      throwing: 40
      strength: 45
      psiStrength: 45
      psiSkill: 0
      melee: 35

Urist retains his name, gender, nationality and pretty much everything else, except for some stat modifiers and obviously the fact he's no longer human but cyborg, and therefore different armours apply etc.

Do you think it's doable?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on April 03, 2016, 11:38:29 pm
It's doable, not even that much work.
It will require a few new ruleset attributes with weird names, so don't expect this to get into vanilla :)

Just one question: why can't I just buy cyborgs and have to go through this (IMO unnecessary) procedure?
If it makes it any easier, just imagine that the procedure is being done in the background... basically same abstraction as melee combat... each time I do melee frontal attack I have to imagine really hard that my soldiers are doing mega ninja moves so that they don't just get shot like dogs :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on April 03, 2016, 11:50:04 pm
It's doable, not even that much work.
It will require a few new ruleset attributes with weird names, so don't expect this to get into vanilla :)

Doesn't matter :)

Just one question: why can't I just buy cyborgs and have to go through this (IMO unnecessary) procedure?
If it makes it any easier, just imagine that the procedure is being done in the background... basically same abstraction as melee combat... each time I do melee frontal attack I have to imagine really hard that my soldiers are doing mega ninja moves so that they don't just get shot like dogs :)

Well... But then you won't have your old soldier, right? Just a new cyborg guy. This is no fun at all. What about my characters?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on April 03, 2016, 11:57:01 pm
Well... But then you won't have your old soldier, right? Just a new cyborg guy. This is no fun at all. What about my characters?

OK.
What should happen with the squaddie's armor? Or do they have to have default armor to be admitted to the procedure and then get the default cyborg armor?
Also, is it possible to make cyborgs not buyable already now somehow or do I need to add that?

EDIT: and how do you say (GUI-wise), which soldier should be robocopped?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on April 04, 2016, 12:01:56 am
What should happen with the squaddie's armor? Or do they have to have default armor to be admitted to the procedure and then get the default cyborg armor?

Yes, that seems the best. If they have armour, it should be removed automatically before procedure.

Also, is it possible to make cyborgs not buyable already now somehow or do I need to add that?

Good question. I don't know, but you'd probably need to add this functionality.

EDIT: and how do you say (GUI-wise), which soldier should be robocopped?

Hmm... I don't know if this can be done from the Workshop. Honestly, I have no idea where and how to put this.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: sambojin on April 04, 2016, 03:32:32 am
Sorry for not posting earlier. Thanks so much for the directional indicators. I might not use them a lot, but when I do, it's the difference between life and death for my gal.

Thanks a heap. Now I've just got to convince someone to package up a new Android version of OXC, with X-Piratez and OXCE+ included in it. Those direction indicators would be great on a smaller screen, even if another small UI button needs to be added to use them. Could possibly be used as a UI element in themselves, instead of "swipe turning" (one of the worst bits of touchscreen OXC). Have them always on/all directions shown for the active soldier, then just click for facing/turning. Anyway, not your job, just a thought.

Still, very handy on PC. Especially at night with smoke around. Cheers.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on April 05, 2016, 11:43:28 pm
New version is up.

v2016-04-05
  + Added (yet another) fatal wounds indicator (#3 I think)
  + User option to add lost vehicles (incl. dogs and parrots) to Memorial (by default turned off)
  + Added support for "allowedVehicles" starting condition

Download: https://drive.google.com/open?id=0B8itkFQbhj-YRzdZdXlMYndTSms
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on April 06, 2016, 01:39:26 am
Awesome, thanks!
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: davide on April 06, 2016, 01:42:33 am
I Meridian,

how do you think about new feature to capture enemy craft ? 8)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: davide on April 06, 2016, 01:53:50 am
An other true  impossible challenge for you: breaks MCD tileset limit

Now OC support on battlescape up to three tilsets: Craft, Ufo, Terrain
Each of them have the 254 tile limit.. :-\

A strategic innovation  could be a feature to load custom map tilset :P

I recognize that it is a very difficult task :'(
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Boltgun on April 06, 2016, 11:09:48 am
An other true  impossible challenge for you: breaks MCD tileset limit

Now OC support on battlescape up to three tilsets: Craft, Ufo, Terrain
Each of them have the 254 tile limit.. :-\

A strategic innovation  could be a feature to load custom map tilset :P

I recognize that it is a very difficult task :'(

The problem is that the more incompatible you make this build with the vanilla version, the worse it will be for modders as a whole. I mean, features about experience or extra rulesets are okay but if terrain designed for an extended end up crashing vanilla, this does more harm than good.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on April 06, 2016, 11:46:31 am
This branch is not about writing a new OpenXcom engine.

I want to make mostly usability and QoL improvements like:
- remove epileptic effects (flashing explosions)
- add more hotkeys and shortcuts (ufopedia, change armor, hit log, don't stop walking, unit facing ...)
- display more info and stats (stat improvements, recovered items, manufacturing previews, ...)
- allows sorting and filtering stuff (items, soldiers, ...)
- add various indicators and alerts (refuel, bleeding, visible but far away enemies, ...)
- some more immersion (avatars, nationalities, dog memorial, ...)

Since the fork got more popular than originally expected, I added also some requests from modders:
- improved experience system
- mission starting conditions/restrictions
- some new weapon attributes, etc.

All these changes can be easily backported to original OXC.
I won't be messing with:
- palettes
- engine (especially any stuff required to use the UFO1994 assets)
- battlescape mechanics/physics
- alien AI
... as such changes cannot be easily backported and should be done directly in OXC (if the DEVs decide they are worth implementing)

So, feel free to ask for improvements, but don't ask for engine rewrite... I don't have time nor desire to do that.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Eddie on April 06, 2016, 01:13:21 pm
I have a request, if it is possible. Some way to filter the items in the soldier equipment screen. Like a button to only display grenades or only melee weapons, if you know what I mean.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on April 06, 2016, 01:36:05 pm
It could be done like with Manufacturing, each item allowed a specific, custom category label (or better yet, multiple labels per item, for example laser rifle would have STR_RIFLE and STR_LASER, filter-able by both). These labels can be also used to better sort the Black Market/Fence/Vaults screens. A shortcut from any specific item on the equip list to a proper Bootypedia page would also be useful... (a tiny '?' icon next to each item?)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on April 06, 2016, 03:11:55 pm
It could be done like with Manufacturing, each item allowed a specific, custom category label (or better yet, multiple labels per item, for example laser rifle would have STR_RIFLE and STR_LASER, filter-able by both). These labels can be also used to better sort the Black Market/Fence/Vaults screens.

Yes, I was actually thinking exactly about this yesterday and wanted to ask you if you are willing to update all items.

Now, we have this hardcoded filter on Craft Equipment screen (aux, melee, short range, long range, etc.)... but I would like to softcode it using freely definable (multiple) categories.

I would then use it in:
- Craft Equipment (instead of hardcoded rules)
- Inventory (as requested here)
- Buy/Sell/Vaults/etc.
- probably ufopedia too

A shortcut from any specific item on the equip list to a proper Bootypedia page would also be useful... (a tiny '?' icon next to each item?)

That's not so easy, but I'll look into it.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on April 06, 2016, 03:14:24 pm
Fully agreed. Might be tricky with the Pedia, but yeah, I will tag every item, np. Good stuff.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on April 07, 2016, 11:01:49 pm
New version...

v2016-04-07
  + Improvements to hit log (shows also "no damage", "little damage" and "good damage"), still highly experimental
  + Bleeding indicator is now optional

Download: https://drive.google.com/open?id=0B8itkFQbhj-YMEdaV0xlYVg3b3M
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Intikhab on April 09, 2016, 02:15:54 am
So I just rewrite new version to old version and be updated right. This is for piratez mod official bug fixes?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on April 09, 2016, 09:42:39 am
So I just rewrite new version to old version and be updated right. This is for piratez mod official bug fixes?

Yes, you can just replace the executable file.
Make sure, you :
1. make a backup, just in case
2. have the latest (=compatible) version of piratez
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: clownagent on April 10, 2016, 01:12:47 am
Is there any chance, that something like this:

https://openxcom.org/forum/index.php/topic,1532.0.html

gets into OXCE+ ?

The explosion ring preview is not important,  I think. However, the trajactory preview would be nice to have. So you don't have to click so often only to get this "can't do that arc" message.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Eddie on April 10, 2016, 11:25:19 pm
Is there any chance, that something like this:

https://openxcom.org/forum/index.php/topic,1532.0.html

gets into OXCE+ ?

The explosion ring preview is not important,  I think. However, the trajactory preview would be nice to have. So you don't have to click so often only to get this "can't do that arc" message.
Also they have accuracy values based on visibility... this might be interesting.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on April 11, 2016, 08:21:45 pm
A plea to fix an age-old deficiency...
Could the Pedia read accuracyMelee and melee TU Cost from Battletype: 3 items (melee weapon) and display them, like it displays accuracies and and TU costs for ranged weapons? It would save a lot of writing for modders and a lot of reading small letters for the players... :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on April 11, 2016, 09:04:54 pm
A plea to fix an age-old deficiency...
Could the Pedia read accuracyMelee and melee TU Cost from Battletype: 3 items (melee weapon) and display them, like it displays accuracies and and TU costs for ranged weapons? It would save a lot of writing for modders and a lot of reading small letters for the players... :)

Oh yeah, that would be neat.

And I also have something. One of my missions looks like this:

Code: [Select]
  - type: CultActivityDagon
    firstMonth: 0
    executionOdds: 8
    missionWeights:
      0:
        STR_CULT_INVESTIGATION_CHURCH_OF_DAGON: 100
    regionWeights:
      0:
        REGION_DAGON: 100
    useTable: false
    researchTriggers:
      STR_CHURCH_OF_DAGON_OPERATIONS: false
    startDelay: 1200

Neat, huh? Except for the small problem that I want to have eight checks per month for this mission, since one is too little. So the block above has to be repeated eight times as type: CultActivityDagon, type: CultActivityDagon1, type: CultActivityDagon2 ...... type: CultActivityDagon7.
It would be much nicer to be able to set it under just one entry, just with multiple starts:

Code: [Select]
  - type: CultActivityDagon
    firstMonth: 0
    executionOdds: 8
    missionWeights:
      0:
        STR_CULT_INVESTIGATION_CHURCH_OF_DAGON: 100
    regionWeights:
      0:
        REGION_DAGON: 100
    useTable: false
    researchTriggers:
      STR_CHURCH_OF_DAGON_OPERATIONS: false
    startDelay: 1200
    startDelay: 6000
    startDelay: 12000
    startDelay: 15000
    startDelay: 19000
    startDelay: 21000
    startDelay: 25000
    startDelay: 33000

Or something to this effect.
Of course this would mean that all missions are at the same chance to happen (here 8%), but I'm fine with that.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on April 11, 2016, 10:44:06 pm
And I also have something. One of my missions looks like this:

I don't get it... if 8% is too low the increase it to 50% for example.
And if one UFO per month is not enough, then make this mission have more than one wave.

What am I missing?

A plea to fix an age-old deficiency...
Could the Pedia read accuracyMelee and melee TU Cost from Battletype: 3 items (melee weapon) and display them, like it displays accuracies and and TU costs for ranged weapons? It would save a lot of writing for modders and a lot of reading small letters for the players... :)

Sure no problem, makes perfect sense.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on April 11, 2016, 10:57:21 pm
I don't get it... if 8% is too low the increase it to 50% for example.
And if one UFO per month is not enough, then make this mission have more than one wave.

What am I missing?

That 8% has nothing to do with the problem. The problem is: I want a mission that happens 8 times per month but as a one mission entry, not 8 separate mission script entries. Because these eight mission scripts are exactly the same, except for the delay (because they're supposed to happen at different times of month).
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on April 11, 2016, 11:04:24 pm
That 8% has nothing to do with the problem. The problem is: I want a mission that happens 8 times per month but as a one mission entry, not 8 separate mission script entries. Because these eight mission scripts are exactly the same, except for the delay (because they're supposed to happen at different times of month).

I think Yankes has implemented something that allows you to copy stuff in ruleset without actually copying it... some referencing magic.
You can just define it once and then do 8 copies and just change the startDelay for example...

I don't have an example, but maybe look in the OXCE thread.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on April 12, 2016, 12:09:04 am
I think Yankes has implemented something that allows you to copy stuff in ruleset without actually copying it... some referencing magic.
You can just define it once and then do 8 copies and just change the startDelay for example...

I don't have an example, but maybe look in the OXCE thread.
`refNode` in 2.9 It allow merge common values from two nodes. This is work around lack of `<<` that should be supported by yaml-cpp.
Example:

Code: [Select]
dummyNode: &nameOfNodeToUseElseWhere
  valueA: 1
  valueB: 2

otherNode:
  refNode: *nameOfNodeToUseElseWhere #copy `valueA` and `valueB` to `otherNode`
  valueC: 3

[ps]
This is not enabled for every node only selected ones (build in `<<` would work for every node), but `alienMissions` node have support for it.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on April 12, 2016, 06:20:10 pm
Hi Meridian,

As promised, I made a wishlist of possible features that Dioxiner and I pulled from documentation left by Bladum. Some of them are relatively simple, others less so, but they're all things that were deemed to be beneficial.

Here it is:

1. New flag for alien mission waves: randomTrajectory.
Description: You don't make a trajectory for the UFO. Instead, you only define missionZone, spawnZone, landingZone, maxSpeed, minSpeed and numberOfWaypoints. This creates some random trajectory using this input.
Benefit: More variation and unpredictability with UFOs, plus less gruelling work for modders.

2. Item decay.
Description: When set for an item, every day there is a chance that this item will decay (desappear). For example setting it at 0.02 for Elerium means that 2% of your Elerium will disappear per day, on average.
Benefit: Unspecified as of now, but will probably be a useful tool for modders.

3. A psiScanner flag for an item.
Description: Nakes it work just like the Motion Scanner, but using psi vision. All units are visible, regardless of movement. The palette on the scanner is swapped from green to blue (background) and from orange to purple (flashing points). Alternatively it doesn't use any interface, just makes all aliens within a set radius count as spotted (are visible in the battlescape).
Benefit: A moderately cool gadget, with possible further advances if we work on alien psi more.

4. An psiCloaking flag for an armour (directly related to psiScanner).
Description: Makes the unit invisible to psiScanners. By default set to true for mechanical units and to false for other units, but you can set it manually. This flag also disallows alien Psi attacks/psi spotting unless aliens are within LOS (same for player's Psi attacks). May also make an unit impossible to scan with a Mind Probe.
Benefit: More tactical depth (units that are invisible to psi, like HWPs), more space for new armours (cloaking).

5. Melee reactions.
Description: Enable melee weapons to react like shooting weapons. Additionally, a new flag reactionFireBonus for weapons (melee weapons here, but possibly for all weapons), that would modify the soldier's reaction tests. For example, swords would have a large reactionFireBonus, which would make attacks made by them much harder to react to. I also suggest making it a new option, named Extended Reactions.
Benefit: A direct improvement to combat mechanics. Possibly more space for new weapons.

6. New kneelBonus flag for weapons.
Description: Unhardcodes bonus to accuracy from kneeling. This flag allows you to specify how much you gain by kneeling, default 0.15 (like now). Can be negative.
Benefit: New cool weapons that need to be properly set up on the ground, like machine guns. Poor accuracy when standing, great when kneeling. On the other hand, throwing knives don't get a bonus and may actually get some penalty.

7. New kneelTime flag for weapons (only relevant if the kneelBonus flag is introduced).
Description: Unhardcodes TUs to kneel and stand. This flag allows you to set these two values.
Benefit: Can be used to balance weapons with kneelBonus.

8. New isBiological and isMechanical flags for units.
Description: You can set if your unit is mechanical or living, and therefore if it can be healed.
Benefit: Right now you can't heal big units and they never bleed. This would be a big step towards a fully realized battlefield.

9. New armorRegeneration flag for armours.
Description: Analoguous to the health recovery (see BANDIT_ARMOR_P1 from Piratez for details).
Benefit: Ensuring domination of modders over mere players Will allow for new interesting units.

10. Penalties for head wounds.
Description: Head wounds give penalty to Firing Accuracy, Throwing Accuracy and Psi Skill.
Benefit: Will add more depth to the injury system. Will also be coherent with how you lose accuracy from arm wounds (assuming it was enabled in OXC).
Possible further improvement: Unhardcoding penalties suffered due to Fatal Wounds.

11. Unloading weapon on the ground.
Description: Clicking RMB on a weapon that's on the ground unloads it (at base/pre-battle only, like pre-priming grenades).
Benefit: An obvious improvement to the UI.

12. Diversify payments by rank.
Description: Allows to specify soldier salaries by their rank.
Benefit: Proper recognition for the Commander!
Possible further improvement: Adding soldier's rank to the stats that can give bonus damage/recovery/etc. to items.

13. Dependance of research on items.
Description: Modification of needItem: true in research - if given an item name instead of the boolean, it requires that item in the stores to start research.
Benefit: More research options and less awkward tree dependencies.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Zharkov on April 12, 2016, 08:09:35 pm
12. Diversify payments by rank.
Description: Allows to specify soldier salaries by their rank.
Benefit: Proper recognition for the Commander!
Possible further improvement: Adding soldier's rank to the stats that can give bonus damage/recovery/etc. to items.

Would be nice, if you could chose who to promote in the first place!
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on April 12, 2016, 08:21:59 pm
10. Penalties for head wounds.
Description: Head wounds give penalty to Firing Accuracy, Throwing Accuracy and Psi Skill.
Benefit: Will add more depth to the injury system. Will also be coherent with how you lose accuracy from arm wounds (assuming it was enabled in OXC).
Possible further improvement: Unhardcoding penalties suffered due to Fatal Wounds.
Hum.. and what about arm wounds? Or is that already taken into account? Having leg wounds increase TUs for walking, chest wound increase energy expenditure, and arm wounds increase TUs for object use and decrease accuracy all seem as relevant as head wounds doing stuff.

Quote
12. Diversify payments by rank.
Description: Allows to specify soldier salaries by their rank.
Benefit: Proper recognition for the Commander!
Possible further improvement: Adding soldier's rank to the stats that can give bonus damage/recovery/etc. to items.

Sure, but please add a "demote" button that returns a soldier to one rank lower. Or better yet, add a "up for promotion" toggle, so that when there are promotions, only those with the toggle on will be considered. The promotions I get are often not given to those who seem to deserve them.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Zharkov on April 12, 2016, 08:23:29 pm
The promotions I get are often not given to those who seem to deserve them.

And we play this game to escape rl!^^
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on April 12, 2016, 08:31:24 pm
5) Is done in 3.0, only drawback that it need depends on phase of moon :D (scripts will handle it)
6) Will be added in 3.0 (scripts will handle it)
8) Partially done by property `bleedImmune`.
10) exactly same as point 6)
12) special bonuses for different ranks will be again handled same as 6)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on April 12, 2016, 08:35:35 pm
Hum.. and what about arm wounds? Or is that already taken into account? Having leg wounds increase TUs for walking, chest wound increase energy expenditure, and arm wounds increase TUs for object use and decrease accuracy all seem as relevant as head wounds doing stuff.

Yeah, AFAIK in the original game arm injuries decreased accuracy. Not sure about other such options, but your suggestions sound reasonable and fun.

Sure, but please add a "demote" button that returns a soldier to one rank lower. Or better yet, add a "up for promotion" toggle, so that when there are promotions, only those with the toggle on will be considered. The promotions I get are often not given to those who seem to deserve them.

I wouldn't want any control over this, I just don't feel suitable to judge my men. :) And I like to see who's getting recognition and who isn't, which can lead to some more distinctive personalities etc. But I wouldn't mind some mechanics similar to the Aurora game: in short, you can toggle some soldiers as your favourite pets and they'll receive a substantial bonus when rank advancement is being decided.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: clownagent on April 12, 2016, 08:41:50 pm
The promotions I get are often not given to those who seem to deserve them.

This is consistent with many science fiction movies. Just think of the Colonial Marines in "Alien 2". The only guy without combat experience is the commander.  ;D
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on April 12, 2016, 09:11:43 pm
Well, combat experience isn't everything in most military. Non-commissioned officers (ex.: Sergeants) will often have more experience than their officer (ex.: Lieutenants) who come out of school at a later time in life, since the sergeant might have risen through the ranks and started earlier (for same age officers).

It's just that getting a mechanic that increases costs (especially in early Piratez when money is scarce) without much benefits (presumably the morale boost is similar to the risk of a big morale drop if killed) will just lead to firing of the newly promoted average soldier. I am not looking for yet more reasons to fire soldiers (too expensive for his worth, on top of too low starting stats, too low psi strength, too low something else or other).

So this mechanic only makes sense if it increases costs for retaining great soldiers, not just random rookie 11 who happened to be lucky and get the first kill, and being the first sergeant, is the only one ready to be promoted captain, then the only one ready to be promoted commander, even though he didn't do much except score the first kill.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on April 12, 2016, 09:27:39 pm
It's just that getting a mechanic that increases costs (especially in early Piratez when money is scarce) without much benefits (presumably the morale boost is similar to the risk of a big morale drop if killed) will just lead to firing of the newly promoted average soldier. I am not looking for yet more reasons to fire soldiers (too expensive for his worth, on top of too low starting stats, too low psi strength, too low something else or other).

So this mechanic only makes sense if it increases costs for retaining great soldiers, not just random rookie 11 who happened to be lucky and get the first kill, and being the first sergeant, is the only one ready to be promoted captain, then the only one ready to be promoted commander, even though he didn't do much except score the first kill.

Dude, it's a bit mindblowing what you're saying. :)
Really you would sack a soldier for something as insignificant as an extra $10000? Really?
I just find it... way beyond extremes of micromanagement, to be honest. Anyway I don't believe in any other reason for sacking soldiers than maybe low Psi Strength, because you can't compensate for that.
Anyway, you'd get the same thing after the next mission, so.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on April 12, 2016, 10:00:32 pm
Well, there are only a few ways I can see of using that mechanic:

1 - The change is salary is small enough to be overlooked, so it doesn't affect your retention of promoted soldiers. (sort of what you are implying here) Since the mechanic has no significant effect on the game, it was implemented for...? cosmetics? This could be improved...

2 - The change in salary is significant and affects gameplay. By affecting gameplay it means that it gives a new trade-off to the player: Keep an old soldier and pay more, or not (= sack old soldier and get a new one + hope that the next promotion is given to a meaningful soldier). This is not an implementation I have any interest in.

3 - Implement the mechanic such that promotions increase the cost to keep the promoted soldier but also implement something that gives the player some control on who gets promoted. Then I can chose those for whom it is sensible to spend more, and those where it isn't. Then it isn't building on the already silly pseudo-random promotion (I already dislike when mediocre/average soldiers are promoted, since that means a soldier that used to be going in risky situations now has to be preserved because of the morale hit taken if they die. I'd rather promotions be given to soldiers that I already value). Your suggestion of "pet soldiers" who have more likelihood (but not 100%) to be promoted sounds cool for this.

Obviously, I prefer #3, which is why I commented: The initial idea was worth discussing but I consider it could benefit from implementing two mechanics to create a better gameplay experience:
- promotions increase cost (and maybe other things)
- player can impact promotions (which I think is a feature I wouldn't be the only person to enjoy any ways)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on April 12, 2016, 10:47:17 pm
I actually agree with you 100% Arthanor, but in relation to vanilla (or FMP and such). In Piratez, I think veterans are more valuable and therefore more needed.
And I admit it's a cosmetic thing. I wouldn't like for the rank to mean too much, after all it's just a symbol. :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on April 12, 2016, 11:43:26 pm
Yup, the value of a veteran will vary depending on mods and I'd agree that they are most valuable in Piratez. That'll just mean cost changes need to be adjusted between mods, which woyld make sense.

I'd be expecting a Pirate Queen to be making multiple times what a swabbie makes, but the difference between a rookie and a commander. Unless they're commie pirate freedom fighters, then everybody should make the same ;)

And I'd definitely be up for rank having more of an impact if it also costs more. Like if your officer is waving the flag (or hitting you with an officer cane) being more effective.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on April 12, 2016, 11:47:20 pm
And I'd definitely be up for rank having more of an impact if it also costs more. Like if your officer is waving the flag (or hitting you with an officer cane) being more effective.

Thank you, I've been looking for an example of rank-dependant variable. :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: legionof1 on April 13, 2016, 12:35:41 am
Enhanced officer effects would be cool. Perhaps some outfits only usable by higher ranks if that even doable.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on April 13, 2016, 12:54:44 pm
Why disallow using outfits, just hit the with a penalty if their rank isn't high enough (and a bonus if it is) :)
I will definitely add large salary differences between ranks. If you don't like the promotions and would like to sack a veteran... yeah, your problem and your choice; I actually like it as it means that not every soldier is destined to die in this game :) Too bad another soldier will be promoted soon :) Also you actually CAN control promotions by switching the 'battlefield promotions only' option. But high salary for ranking officers would definitely add another (soft) limiting factor on the size of your force: exponential growth of salaries. So, in addition to keeping the initial operation smaller, you will have another thing to do with money once you're filthy rich.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: yrizoud on April 13, 2016, 01:12:10 pm
Have the pirate flag's efficiency depend on bravery + rank, instead of just bravery.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on April 13, 2016, 02:41:18 pm
You can keep a soldier in the training facility and also train them in the psi lab at the same time. Could these be exclusive, like in X-Com: Apocalypse?
Speaking of training, would it be possible to make the training buildings train specified stats only? (So we could have a gym and a shooting range, for example.)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: liamdawe on April 13, 2016, 05:05:20 pm
I've tried out the Linux executable on Ubuntu 16.04, but it complains about a missing libSDL1.2 even though I have it installed. Is it possible it's looking in the wrong location?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on April 15, 2016, 10:41:30 am
https://openxcom.org/forum/index.php/topic,3626.msg62363.html#msg62363

Could be a bug, could be incorrect installation, but I thought I'd let you know.

EDIT:

Another idea: continuous research. A research mechanics that would work like this:
- You add a continuousResearch flag to a research.
- After it is researched, you can researched it again.
- If researched again, the game removes it from researched: section and then adds it again.
- You can repeat it indefinitely.

Why?
Intelligence projects.
You have a research called, say, "track hybrid convoy", enabled by some other research related to hybrids. When researched, it spawns a mission with hybrid convoys appearing on the globe. It represents the effort of acquiring intelligence data to catch the hybrids in the act. But then you can do it again, to spawn another hybrid mission, and so on.

I'm not sure about the mechanics of research project disappearing, but I'm sure you all get the idea.

Maybe it could be considered as part of the "mutually exclusive researches" request?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on April 15, 2016, 11:03:52 am
So the only point of this research topic is to spawn alien missions at will?

You're really going too far with this I think...
The players will have big problems understanding these weird manufacturing and research mechanics if you keep misusing them like this.

I'll put it on the list, it's not hard to do... just saying things like this may discourage people (including myself) from playing your mod at all. It's similar to Dioxine's "you need to manufacture dynamite/pillow book/etc. to be able to research it"... it is possible to explain it and it may even make sense afterwards... but most people just say WTF?! and stop caring, or worse stop playing... because it is not intuitive and not consistent.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on April 15, 2016, 11:25:38 am
So the only point of this research topic is to spawn alien missions at will?

You're really going too far with this I think...
The players will have big problems understanding these weird manufacturing and research mechanics if you keep misusing them like this.

I'll put it on the list, it's not hard to do... just saying things like this may discourage people (including myself) from playing your mod at all. It's similar to Dioxine's "you need to manufacture dynamite/pillow book/etc. to be able to research it"... it is possible to explain it and it may even make sense afterwards... but most people just say WTF?! and stop caring, or worse stop playing... because it is not intuitive and not consistent.

Yeah, you are right... Point taken. I thought that naming the research "Scan for hybrid convoys" and adding a respective Ufopaedia page saying "we've located it, research again to locate more" would suffice, but then I realized that you can't have a respective Ufopaedia page, because it wouldn't make sense for it to stuck in the Ufopaedia section. Maybe something else can be devised.
But the exclusive research request definitely stands; I don't really need it myself, at least not at this point, but I know the X-Piratez mod does.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on April 15, 2016, 12:03:48 pm
While I think such an 'endless research' mechanic is needless, I need to comment on this whole 'intuitive' thing. In a game, intuitive leads to boring. There's no exhilaration of connecting the dots and making a discovery; sure, it can be too hard, but I don't think it's the case with Piratez. Yeah maybe a player ragequits just because he was missing what was in front of his eyes, but that's all the better - why should I care about someone looking for an easy pleasure? If he can't figure it out in-game and get the highest prize of shouting 'Eureka!' (or laughing manically), there is always looking up a walkthrough (rulesets, online Pedia). If that's still too much, such a person is clearly someone who should've never start playing this mod.
Intuitive is of paramount importance in utility software, not in a game - a game is often a riddle. You're lucky I don't like riddles all that much :P
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on April 15, 2016, 12:07:27 pm
Yes, there were times when "Rubber Chicken With A Pulley In The Middle" (tm) was a challenge, not a nuisance.

I guess I got old :(
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on April 15, 2016, 12:18:09 pm
Puhleeeease. De gustibus non disputandum, but I was rather thinking about:

(https://4.bp.blogspot.com/-BiIZ1MgEJM4/VKKoKBPcAYI/AAAAAAAARSU/kb-Vg6DODfQ/s1600/1358290857-Gobliiins-7.jpg)

Title: Re: Meridian's resources and mods for X-PirateZ
Post by: mk-fg on April 15, 2016, 01:53:31 pm
I wonder, are there any plans/ideas wrt phasing-out items that are no longer relevant as the game progresses?

E.g. have some "don't ever show me this in any of the lists" key that would, when pressed on item (e.g. in "vaults" tab):

- Sell all current stockpiles of an item.
- Remove item from all equipment and buy/sell lists.
- Will keep item listed in "loot" tab, but will auto-sell all new instances of it.
- Maybe keep item in the "vaults" list, so that same key can be used there to un-blacklist item.

Maybe my quirk, but I've found that going through most equipment lists becomes rather tedious chore fast, listing every tiny revolver and dagger there.
Such thing seem to be somewhat orthogonal to existing "categories" concept, unfortunately, as it'd affect all of them.

Maybe there's something like that in place already?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: legionof1 on April 15, 2016, 05:45:29 pm
There was a mention someplace here in the board about setting up things to sell from the post mission loot screen. Perhaps that's where something like these cutoffs could be. Vaults are unaffected but no more umpteen pistols to deal with.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on April 16, 2016, 01:22:05 pm
That's a lot of fuss over nothing IMO. But Meridian's code allows multiple categories per item (hell yes!). I will try make the categories (hopefully) helpful, such as 'select tier 2+ guns only', 'select tier 3+ guns only' etc. to alleviate the problem. I usually simply build more vaults/take more slaves and clear useless stuff only when I feel like doing so.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on April 16, 2016, 01:43:27 pm
That's a lot of fuss over nothing IMO. But Meridian's code allows multiple categories per item (hell yes!). I will try make the categories (hopefully) helpful, such as 'select tier 2+ guns only', 'select tier 3+ guns only' etc. to alleviate the problem. I usually simply build more vaults/take more slaves and clear useless stuff only when I feel like doing so.

Do you mean using item categories as a starting loadout criteria? Because I was thinking about exactly the same thing last night. A mission which only allows items with STR_PISTOLS tag or something like that. (With all current mechanics intact, so you can for example exclude Magnum because it's too big or whatever.)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: mk-fg on April 16, 2016, 01:46:47 pm
I meant auto-selling as a way to get rid of the invisible things, the main point being clearing up buy/sell/manufacture lists, of course.
Guess one way to do that with categories would be to simply edit the yaml and have all this stuff neatly split from the rest there, so indeed, maybe easy enough already... just gotta look into how categories work more closely.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on April 17, 2016, 09:43:36 am
Check out how do they work now and propose some improvements maybe? An item can belong to any number of categories. The categories only work for equipment screen, but they should be improved to cover buy/sell/vaults menus as well. Option to sort alphabetically would also help...

Another minor request, this time with memorial screen... Would it be possible (as an optional soldier race parameter) to set a default armor that is given to anyone who died, replacing whatever the soldier was wearing (which got destroyed or looted anyway...)? It would make checking and comparing their stats easier if all were buried in the same armor. Also I think that if said armor was boosting Psi Skill by any number, you'd learn their Psi Power (post-mortem) as well.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on April 18, 2016, 08:41:25 am
Just dropping this by in case you would like to include the advanced scanner in your executable. It's not much work and no doubt it'd be easy for you, but since I did it I figured I'd share it too. This is a patch file that goes from the 70dc234e0134d971471d119bd4c2cdaa449fa8e2 commit on April 15th in your repo.

It adds the advanced scanner, enabled as an advanced option in the battlescape section.

Patch and screenshot within Piratez attached below. I'm thinking the "scan" is not necessary since I picked the yellow box, but I haven't decided to remove it yet since I haven't played with it much so far.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on April 18, 2016, 04:57:00 pm
Makes sense as an advanced scanner ...IF the range of scan would be customizable. Can make for an extremely OP item, though.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Cristao on April 18, 2016, 05:04:35 pm
^Arthanor - the word 'scan' looks fine. For someone like me - it makes it clear what the scanner is doing.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on April 18, 2016, 06:05:49 pm
Yeah, the "scan" doesn't really hurt. It just feels odd to see writing in an otherwise graphical/figurative interface.

As it is in the patch, the advanced scanner draws boxes corresponding to the radar blips at the level where you are currently watching. So in the screenshot above, it looks like it is pointing at a 2x2 unit and a 1x1, both on the ground, but if I look at higher levels, then it says that they are at higher levels. So it keeps the z-level ambiguity of the motion scanner, you just don't need to keep a screenshot of the scanner.

Admittedly, that makes it much better than the vanilla scanner where you would have to rescan and waste TUs if you forgot something since now things are drawn so you can't forget or miscount. I'm sure Meridian could integrate the currently advanced option into a new mechanic for an advanced scanner item as well (leading to a "battle intelligence outfit" that comes with an in-built scanner and requires more advanced research than the Aye-Phone?).

As it is, I find it much nicer to use than the old version scanner. No more counting and no more disadvantage/frustration for having a terrible memory (I don't look to XCom to train my memory and don't enjoy that or having to take out a pencil and paper or screenshot), but I can understand the need to integrate this in a different way as well.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: legionof1 on April 18, 2016, 11:51:14 pm
I'll second the irritation of recalling what a sweep told me. Accepted irritation for game but id drop it in a heart beat given the choice.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Eddie on April 19, 2016, 01:12:31 am
When I use the AyePhone, I then use my iPhone to make a picture of the AyePhone because aparently I like AyePhones so much.

(it's not actually an iPhone but it sounds better that way)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on April 19, 2016, 03:49:03 am
Q: How does, exactly, the new corpse recovery system work, because it gets more confusing by the second? What needs what flag? What if battle corpse is the same as the geo corpse? Where do recovery points should be declared? How do 2x2 units behave? Why do I get battle corpses insted of geo corpses after finishing interrogations?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on April 19, 2016, 10:35:49 am
Q: How does, exactly, the new corpse recovery system work, because it gets more confusing by the second? What needs what flag? What if battle corpse is the same as the geo corpse? Where do recovery points should be declared? How do 2x2 units behave? Why do I get battle corpses insted of geo corpses after finishing interrogations?

This is the change I made: https://github.com/MeridianOXC/OpenXcom/commit/d77a622a90d20c666b22752386e1659df239c6d8

As you may see I have changed:
- only Debriefing (i.e. after mission recovery), nothing else
- I have added one more conditions (recoverable=true) just before the alien corpses are recovered... it shouldn't affect anything else
- alien corpses are recovered in two cases: if they are killed, or if they are stunned and there is no containment

Of course, it is always possible that I accidentally broke something, if something doesn't work as described, give me an example and I will investigate.

----

As for the other questions:
1. Engine always recovers geoCorpses, never battleCorpses
2. However, if corpseGeo is empty it is automatically filled with the corpseBattle (as if it was defined in the ruleset)
3. For big units (2x2), the first corpseBattle is used to fill the empty corpseGeo
4. To retrieve dead or live aliens... the recoveryPoints must be greater than 0 and battleType must be "corpse".... otherwise nothing is recovered
5. To disable recovery of dead aliens, you can now specify recovery: false on the geoCorpse ... which should be the only change I made

EDIT: if by any chance you are still using corpseItem, then this can also fill the empty corpseGeo... corpseItem is the old corpseBattle from the old days
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on April 19, 2016, 10:38:29 am
Everything works fine for me, except that interrogated people are still leaving corpses, even though they aren't supposed to have geoCorpses. I understand why it happens, but can anything be done about this?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on April 19, 2016, 10:44:09 am
Everything works fine for me, except that interrogated people are still leaving corpses, even though they aren't supposed to have geoCorpses. I understand why it happens, but can anything be done about this?

What exactly do I need to do?
There are like 7 different types of interrogation in piratez (normal research, manufacturing of broken guy, research of broken guy, slavery, robbery, etc.)... please exact steps to reproduce.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on April 19, 2016, 11:02:46 am
What exactly do I need to do?
There are like 7 different types of interrogation in piratez (normal research, manufacturing of broken guy, research of broken guy, slavery, robbery, etc.)... please exact steps to reproduce.

I was referring to normal, vanilla interrogation of caught aliens - or in my case, mostly people.
After you interrogate, say, a cultist, you're left with their corpse. Even though 1) they shouldn't have geoCorpses because they're just normal people, nothing to research here, and 2) this implies that they are killed during interrogation, which is wrong for what is essentially police force.
I don't really have any concept how to fix it.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on April 19, 2016, 12:31:00 pm
I have now tried PirateZ 0.98c and

Academy Medic (STR_SECTOID_MEDIC) doesn't produce any corpse after research
Ratman (STR_BANDIT_RATMAN) doesn't produce any corpse after research

Also XFiles (the version you sent me) doesn't contain anyone called "Cultist", but I tried a random prisoner (STR_PRIEST_OF_DAGON) and it didn't generate any corpse after the research either.

Can you provide a version and a save where it happens?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on April 19, 2016, 05:00:32 pm
I have now tried PirateZ 0.98c and

Academy Medic (STR_SECTOID_MEDIC) doesn't produce any corpse after research
Ratman (STR_BANDIT_RATMAN) doesn't produce any corpse after research

Also XFiles (the version you sent me) doesn't contain anyone called "Cultist", but I tried a random prisoner (STR_PRIEST_OF_DAGON) and it didn't generate any corpse after the research either.

Can you provide a version and a save where it happens?

Actually it was Dioxine who reported it to me, I haven't had the time for thorough tests myself. I'll ask him for a save or something.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on April 21, 2016, 02:41:08 pm
Ugh, there will be no save as I run out of topics for Cultists research a long time ago, and got rid of the corpses too. But it was happening every time. Might be because Solar has GeoCorpses undefined for cultists (only BattleCorpses). If it is the reason for cultists leaving corpses after interrogation, no need to fix anything IMO. As for Piratez, indeed enemies leave their GeoCorpses after interrogation - their GeoCorpses being stuff like Durathread or Personal Databases. So it's fine.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on April 21, 2016, 02:45:55 pm
As for Piratez, indeed enemies leave their GeoCorpses after interrogation - their GeoCorpses being stuff like Durathread or Personal Databases. So it's fine.

They don't leave anything for me... honestly... I tried many times.
Do you mean normal "research" of a captured prisoner when you say "interrogation"... or something else?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on April 21, 2016, 02:51:20 pm
Yes, normal research. And they should - they always did. But the version you have is not yet fixed to follow your changes. Maybe they have recover: false or something. Solar has recover: false too, but lacks GeoCorpses, so maybe somehow it's circumventing one another. Hope you didn't mess up something... But I wouldn't blame you - the whole intertwined corpse recovery/live capture/live research mess is black magic; took me months to learn how to do it correctly. I'm actually horrified you touched it, it could mean few more months to learn how this whole thing EXACTLY works NOW :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on April 21, 2016, 06:21:57 pm
Found it: https://openxcom.org/bugs/openxcom/issues/1214
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on April 21, 2016, 07:05:34 pm
Maybe doing the live research should return a corpse only if that unit's  corpseGeo is recoverable?

That way Piratez interrogations can still give booty (The gals keep their stuff, which makes sense). It works for XCom to be left with a corpse after interrogating aliens, unless aliens survive (which if aliens are kept would allow interrogation farming and so can't happen, or aliens are released, which also doesn't make sense). XCom should be left with a corpse. But Solarius, by setting his cultist corpses as recover: false won't be left with a corpse after interrogating cultists, as he would like.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on April 21, 2016, 08:22:24 pm
That's not exactly as straightforward, as there are beings that do have recoverable corpses, but shouldn't be killed; for example a hybrid, who is pretty much a normal guy except for some details which should be studied in the lab from a corpse.
We're discussing it with Meridian on the chat and something probably will happen with it at some point. :P
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on April 23, 2016, 04:03:13 pm
EDIT: I have a possible bug to report. With the "everybody fights, no-one quits" enabled, when my base was attacked, the game seemed to hung up during the equipping phase (couldn't get it to display anything else than my dog), then, after a couple of minutes, mission started, giving me no possibility to equip soldiers (the initial health damage mechanic, however, worked!). Regrettably, the attack came out of the blue and there is no save.

I had something similar now, probably what happened to you too.

If you have a crap-ton-squared items on the ground during equipment phase, changing between units and scrolling inventory lags quite a lot (1-2 seconds in my case).

I had 8 parrots, which come first in equipment, and I started clicking to get to girls.... first few times I didn't see any change (because parrots have no name and same inventory and there is no audio feedback on those buttons) and since it was already about 10 seconds of no change (8 parrots * 1-2 seconds), I thought my mouse was not working or something, so I clicked like crazy about 20 times... game accepted all clicks, and was stuck (without refresh) until all 20 clicks were processed... which took about half a minute... then I finally saw one of my girls... and recalled this comment...

As far as I can say, no bug, just slow (regardless of the "everybody fights" setting).
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: legionof1 on April 23, 2016, 07:47:40 pm
I've had the exact difficulty you describe meridian once or twice. I thought it was just me comp being slow. I too had a very large storage problem i was running at approximately 200 equipment items when it happened.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on April 23, 2016, 07:55:19 pm
Could be a good idea to check the code what possibly could be causing such a huge lag (I'm experiencing it too). It seems however to be more dependant on the number of gals than items (hard to say really, as those go hand-in hand, so I might be wrong).
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Cristao on April 24, 2016, 08:26:13 pm
I had similar problem and resolved not to activate the option again.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on April 24, 2016, 08:52:21 pm
New version is up.

v2016-04-24
  + Ability to change soldier's nationality/flag (by left/right click)
  + Soldiers are buried in their default armor (nicer looking memorial)
  + Added statistical bullet conservation (as user option), more info: https://openxcom.org/forum/index.php/topic,4062.0.html
  + You can go to final mission only with 100% fuel
  + Researching a prisoner does NOT create a corpse anymore
  + Hit log now considers stun damage too
  + Added SELL button to LOOT screen in debriefing
  + Added "Sell all" hotkey to Sell/Sack GUI (press X)

Download: https://drive.google.com/open?id=0B8itkFQbhj-YSkFNWUs0V1N1cEE

I had similar problem and resolved not to activate the option again.

It does not depend on the number of soldiers, or the option.
It depends purely on how much stuff is on the ground.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on April 24, 2016, 09:07:10 pm
Woot! my option went in :D

That's not exactly as straightforward, as there are beings that do have recoverable corpses, but shouldn't be killed; for example a hybrid, who is pretty much a normal guy except for some details which should be studied in the lab from a corpse.
We're discussing it with Meridian on the chat and something probably will happen with it at some point. :P

So it was changed as previously discussed, I guess.. Which I still find weird.

It makes sense in the hybrid case (you might run an autopsy and do more research on a dead hybrid you find, but not kill one during interrogation just to get a corpse to do more research on), but I find it odd in Piratez and counter-intuitive for aliens.

In Piratez, not at least robbing them of their valuables (the old booty) seems unlikely, given that we kill, enslave or rob people generally. Maybe, knowledge as a ransom it acceptable, it still impresses me that the gals don't at least grab some of their loot/armor. I mean, you give a Marsec Bodyguard his power armor back after spending days interrogating him so he can walk away?

And with aliens, what does that represent? You let the alien get away after they tell you about stuff? XCom wouldn't do that.. Or the alien gets chopped to bits useless for autopsy during the interrogation? I guess one can make live alien interrogations automatically unlock the autopsy topic, to represent the deadly interrogation and following autopsy.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on April 24, 2016, 09:22:32 pm
And with aliens, what does that represent?

The explanation possibilities are endless:
 - lock them up in alternate facility, hope for more valuable info later
 - brainwash them and make them double agents
 - VIP prisoner exchange (commander for commander)
 - interrogation was so brutal, that nobody would buy such corpse anymore (who's buying them anyway?)
 - send them to biological weapons testing facility
 - etc.

You name it... keeping a live prisoner is always better, unless they are really absolutely of no use... which I can barely imagine.

If all else fails... the option is called "SPEND items"... it should not summon items... even vanilla doesn't... this option should be even more restrictive.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on April 24, 2016, 09:43:20 pm
I guess going by the option's name it makes sense indeed. It just seems to me like the previous behavior was better in Pirate and for vanilla. I guess it's one of the few things I like with the new xcom. Maybe the option should have been called "XCom:2012 style item research" or some such.

I agree that a live prisoner is more valuable than a corpse, it's just that the "disappearance" means none of that value is perceptible in the game right now, whereas at least getting corpses/loot allowed a set of stories that made sense to me.

Maybe I'll make a new "interrogations return corpses if recoverable" option. Or just let it slide.. that's much easier!
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on April 24, 2016, 10:09:51 pm
I think a separate flag to set it by item would be best. Otherwise people will complain again about having to find a dead alien when you already have a live one...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on April 24, 2016, 10:46:33 pm
I'd agree, something on the live alien "item" that gets checked at the end of the research project to determine if you give a corpse or not could make sense. Default true but can be used for things like your hybrid? I'd expect the number cases where you don't want a corpse to be fewer.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: new_civilian on April 25, 2016, 01:16:29 am
sell screen works fine! The STR_LOOT and STR_STATS are missing, though, as is the STR for the new option. What about the flags, is that usable for XPiratez?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on April 25, 2016, 04:02:10 am
I think a separate flag to set it by item would be best. Otherwise people will complain again about having to find a dead alien when you already have a live one...

You can always make 'butchery' workshop option or simply give corpse info automatically if a live alien is researched.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on April 25, 2016, 10:44:18 am
I think a separate flag to set it by item would be best. Otherwise people will complain again about having to find a dead alien when you already have a live one...

Seriously?
Getting a dead alien is 100000000000000000000000000000x easier than getting a live one.

sell screen works fine! The STR_LOOT and STR_STATS are missing, though, as is the STR for the new option. What about the flags, is that usable for XPiratez?

EXE doesn't contain any translations.
You can either add them into your ruleset, or wait for the next piratez version update.

Flags are usable.
There are as many nationalities as there are name files.
Just copy the "Pirate.nam" file as many times as you wish and then create a mod similar to this: https://openxcom.org/forum/index.php/topic,4442.msg61114.html#msg61114
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on April 26, 2016, 11:27:38 pm
Seriously?
Getting a dead alien is 100000000000000000000000000000x easier than getting a live one.

That's true, but I remember gaming press reviewers bitching about this back in the 90's. :P
But Dioxine is right, it's better if researching living aliens enables autopsy.

EDIT: I have a little problem with showing the weight now - not a bug, but:

(https://i.imgur.com/ZPCMo51.png)

Now, my Intelligence Officer is slim, but she doesn't weigh 3 lbs! Actually, I don't think she would want us to know her weight...

So, can I please specify an item (in this case the portrait, because I want her pic on her report) with weight -1? And if -1, then it wouldn't be displayed in Ufopaedia? Or maybe 0 would suffice?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: new_civilian on April 27, 2016, 09:05:38 am
Ahem, may I ask for something little and maybe easy to do? Could the Ufopaedia section be split into guns/melee/equipment/treasures etc. instead of one huge list of weapons AND equipment? It would make finding and searching so much easier?  :)

I am not sure if this is an exe or an rul-file problem, so please allow me to post my wish here.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on April 28, 2016, 11:59:14 am
New version is up.

v2016-04-28
  + Fix "can't engage airborne" bug by SupSuper
  + Fix "tank ammo" by Warboy
  + Added configurable hotkeys for Aim/Snap/Auto/Hit/Throw/etc., more info: https://openxcom.org/forum/index.php/topic,4520.msg63599.html#msg63599
  + Items with zero or less weight don't show weight in ufopedia
  + Right-click on item in hand (in battlescape) brings up related ufopedia entry
  + Middle-click on item in inventory (in inventory screen) brings up related ufopedia entry

Download: https://drive.google.com/open?id=0B8itkFQbhj-YUVFGbTBKSVgzWUE
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Hazard on April 28, 2016, 12:06:07 pm
Do you think you'll be incorporating Stian's new FOV calculation in the near future?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on April 28, 2016, 12:07:32 pm
Do you think you'll be incorporating Stian's new FOV calculation in the near future?

We are both testing it now... it will not be near future, probably several weeks.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on April 28, 2016, 12:09:34 pm
I see only 5 action keys defined. What about quick action keys for the other hand? ;)
There's also no quick action for un-prime...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on April 28, 2016, 12:17:21 pm
Congrats on the new version! But I have some reservations about the right/middle MB regarding Ufopaedia - isn't it a bit messy? Can you please explain why not MMB everywhere?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on April 28, 2016, 12:22:19 pm
Congrats on the new version! But I have some reservations about the right/middle MB regarding Ufopaedia - isn't it a bit messy? Can you please explain why not MMB everywhere?

Because my notebook doesn't have a middle button and I want to use it too.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on April 28, 2016, 12:22:44 pm
Because my notebook doesn't have a middle button and I want to use it too.

Fair point. :)
What if I press MMB on an item in hand?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on April 28, 2016, 12:24:19 pm
No MMB? Sounds like a Mac. Hope it has a full keyboard :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on April 29, 2016, 12:47:18 am
No MMB? Sounds like a Mac. Hope it has a full keyboard :)

Lenovo Yoga.

Fair point. :)
What if I press MMB on an item in hand?

Nothing happens.

I see only 5 action keys defined. What about quick action keys for the other hand? ;)
There's also no quick action for un-prime...

There are only 5, common for both hands. And first you need to open the left or right hand action menu.

The shortcuts without opening the action menu would ignore some functionality (e.g. hit log) unless I do a lot of changes, which I don't really want to do; I'll invest the time into something else.

I can add un-prime into action menu I guess... direct shortcut as I said could lead to unwanted side effects (sooner or later).
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on April 29, 2016, 12:52:08 am
Ahem, may I ask for something little and maybe easy to do? Could the Ufopaedia section be split into guns/melee/equipment/treasures etc. instead of one huge list of weapons AND equipment? It would make finding and searching so much easier?  :)

I am not sure if this is an exe or an rul-file problem, so please allow me to post my wish here.

It's both exe and rul... I would need to add sub-category attribute to ufopedia articles and dioxine would have to subcategorize the articles :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Nord on April 29, 2016, 09:48:44 am
Good day. Say please, is there a possibility to create a working android build of current PirateZ version? Or will that be possible someday? Thank you.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on April 29, 2016, 10:14:20 am
Good day. Say please, is there a possibility to create a working android build of current PirateZ version? Or will that be possible someday? Thank you.

Yes, it is possible.

But no, I have no experience with it, you'll have to find somebody else who will do it for you.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Nord on April 29, 2016, 10:29:28 am
Thanks. I`ll search...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: new_civilian on April 30, 2016, 04:18:02 pm
Just a small question: Would it be possible to save the state in which the personal lights (L-button thing) are into the savegames? I can't tell you how often I reloaded (my gals stealthed and hiding) saves, just to run around with lights (and thus ruining my stealth) before I realize they are on again...

Anyway, I'm off, 98E has been released!!!  :D
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Hazard on May 01, 2016, 01:44:38 am
Hm, the item action shortcuts aren't working for me, no matter what keys I bind them to. I'm using Stian's FoV fix .exe.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on May 01, 2016, 01:53:05 am
Are you first opening the proper hand's action menu? (ie clicking on the weapon/item that you want to use, or pressing the keys to do so, default are q and e). The shortcut is for selecting an option once the menu is open, not to go directly from walking about to shooting.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Hazard on May 01, 2016, 03:10:30 am
Yeah, that's what I'm doing. But if it works for you, then I guess it's something on my end...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on May 01, 2016, 04:28:37 am
Yes, it works for me.. but I compile my own executable, so maybe there is something different..

New request: Add # of gals wounded to the debriefing state, shown before # of gals killed, with the possibility of deducing score for that.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Stian on May 01, 2016, 12:59:11 pm
I just realized that using the clear inventory button or load template button on a gal with pre-primed grenades drops the grenades live on the floor for a bit of a surprise a turn later... :) Due to the number of inventory items in a typical equip screen this can be a bit hard to catch manually, so I made a tiny fix and attached it to this post. Prime-able items are now reset when either of these buttons drops the item.

New request: Add # of gals wounded to the debriefing state, shown before # of gals killed, with the possibility of deducing score for that.
The number of days they'll be injured would be really useful for such a screen too. Though perhaps that part is better for the skill screen, then again that screen is fairly busy as it is.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on May 01, 2016, 04:19:20 pm
New version is up.

v2016-05-01
  + Un-prime explosives automatically before dropping them during inventory management
  + improved FOV calculation by Stian (please help with testing), more info here: https://openxcom.org/forum/index.php/topic,4568.0.html
  + reverted back fix "tank ammo" by Warboy (not necessary in our context)

Download: https://drive.google.com/open?id=0B8itkFQbhj-YNkFJd210aElaYTA
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: new_civilian on May 01, 2016, 05:46:14 pm
Is setting the viewdistance in Piratez.rul to 30 required, recommended or should it better remain untouched?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on May 01, 2016, 05:55:57 pm
To really see the difference, set it to 30 or 40 (I plan to set it to 40). The performance gain on default vision range will be only noticeable on weak machines.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: new_civilian on May 01, 2016, 06:01:01 pm
To really see the difference, set it to 30 or 40 (I plan to set it to 40). The performance gain on default vision range will be only noticeable on weak machines.

I have single core Sempron 3000 with 1Gb Ram, does it qualify?  ;D
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Stian on May 01, 2016, 06:08:17 pm
The game only runs on one core as it is. Would you mind trying at 30 or 40 just to test the performance?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on May 01, 2016, 07:03:39 pm
On my machine (i5 2.9 GhZ, 12 GB ram), first drops in performance began around vision 100 (drop from steady 60 FPS to 40-ish).
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: new_civilian on May 01, 2016, 07:33:54 pm
Tried 30 during a railyard-terrain pogrom and boy is this a boost or what?!  :o
No stutter, no slowdown, no waiting, nothing. It's like having a 5 year newer new computer.

Atm I have an enemy base to destroy and will try 40, but just seeing the extremely high performance of the 30 setting I already know it will be working fine.
One thought, though: Will the view-range-limits on certain armors (some have 16 day-view-range) have to be adjusted then?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on May 01, 2016, 09:00:26 pm
Yeah naturally.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on May 01, 2016, 09:14:35 pm
Another new feature request: remembering equipment for HWP. I use two parrots and they each carry a smoke, which I have to give and prime every time. It's a small thing, but it would be nice to skip it.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on May 01, 2016, 09:34:25 pm
Another new feature request: remembering equipment for HWP. I use two parrots and they each carry a smoke, which I have to give and prime every time. It's a small thing, but it would be nice to skip it.

That would be a horribly big change to HWPs... not worth the effort... really.
Better make parrots a new soldier type... and then I can make a small change to limit the number of soldiers of certain type per craft.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on May 01, 2016, 11:58:37 pm
Oh whichever way.. can you produce parrot-soldiers from manufacturing jobs?

It was just a minor request, I did not realize it would be a lot of work. If it's much work, I can keep putting one primed grenade on the first one and copying the template over. ;)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: new_civilian on May 02, 2016, 12:20:24 am
Had a base mission, then a mutant pogrom mission and used a viewrange of 40. The performance is top-notch, no problems at all, it is still WAY faster than everything before. One thing changed, though: I got a lot of reaction fire (and aimed shots) from far-off distances, it felt like a real battlefield. This exe-change really adds to the game!
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Bartojan on May 02, 2016, 04:28:55 pm
New version is up.

v2016-04-28

  + Middle-click on item in inventory (in inventory screen) brings up related ufopedia entry

Great function! Is it posible to have the same in buying and selling screens (Black Market, Fence)?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Eddie on May 04, 2016, 01:00:02 am
I would have another idea for a feature: craft repair as a workshop item.

Instead of crafts getting magically repaired for free you have to allocate runts and resources to repair a damaged craft. The repair should then also be seperated from the refuel and rearm mechanic so that you can refuel and rearm a damaged craft if you don't have the time/money to repair it.

I have no idea how hard it is to code that so please don't hate me if it is way too complicated/impossible.


Another idea related to crafts: efficient rearm
Only fill up ammo as long as you can fit a whole mag. So far this has not been a problem as ammo was cheap and available. But for salvaged Gauss Cannon rounds that cannot be bought or manufactured I would not want to spend a whole mag to replace one round.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: UnholyAngel on May 04, 2016, 02:50:29 pm
The performance boost from the FoV changes are amazing the game now runs faster with view distance set to 40 than it just to with only 20.

And a feature request: It would be nice, if you could get the 'sell' button in production screen to actually work for crafts as well (since there is one in Piratez that is basically merchandise) as well moving the check for available hangers back to when the production actually starts instead of when you increase the number to produce.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on May 04, 2016, 03:02:47 pm
Another idea related to crafts: efficient rearm
Only fill up ammo as long as you can fit a whole mag. So far this has not been a problem as ammo was cheap and available. But for salvaged Gauss Cannon rounds that cannot be bought or manufactured I would not want to spend a whole mag to replace one round.

You can control it manually by switching a gun off just before it hits the ammo threshold (click on a gun icon to do so).

Also, the trouble with tank ammo seems unresolved. I'm getting over 300 shells back after each mission with Hovertank/Devastator (after firing a few out of a clip of 48). It might be related to the fact that the secondary weapon has an ammo count of 360 (but it doesn't use any clips).
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: new_civilian on May 04, 2016, 04:57:48 pm
What about removing the ammo count on the secondary weapon completely? Would that work? I gave my tanks (in default OXC nightly exe) a melee/crush secondary and it seems to work fine.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on May 04, 2016, 04:59:20 pm
I don't want the secondary weapons (machineguns of all sorts) to have unlimited ammo.

Also, a request for upgrade... definiable position of the equipment stash within a craft? (current behaviour if undefined).
I also think we can safely move to the new FOV calc formula. It allows to completely change the game experience, while also allowing people with weak machines to play the game w/o any trouble.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on May 04, 2016, 04:59:43 pm
Feature request: The ability to define the equipment stash in Vessel maps.

This would allow the map builder to define a particular tile as the equipment tile, instead of being hard coded to the #1 spawn point.  The Bonaventura, for example has the #1 spawn point set aggressively next to the ramp which can make the stash vulnerable to enemy fire.  Wouldn't it be nice to move it upstairs and thus more protected?  Also, if you take a Sentry Gun (Nice, tanky, immobile HWP) guess where it spawns...  Yup. Right on top of the pile.  No chance to grab reloads from the pile, you'll have scavenge enemies now.

I suppose an alternative method might be to loosen the ability to define HWP spawn points.  You could define a tile as a 1X1 or 2X2 or both. It would be free from the "Drop all HWPs into the Nodes in numeric order until HWPs are gone. Then fill in with soldiers" logic as it currently stands.  It think this path would make things easier for guys like Solarius that are trying to figure out how one agent can take his dog in a rental car, and not have someone crash the game by trying to stuff a tank into there. ;)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: R1dO on May 05, 2016, 12:27:13 am
It think this path would make things easier for guys like Solarius that are trying to figure out how one agent can take his dog in a rental car, and not have someone crash the game by trying to stuff a tank into there. ;)

Is that something that has actually happened, or just theoretical?

Reason i ask is that according to the vanilla code i've seen for the craft equipment screen a HWP should not be allowed on board if its size (defined by it's armor) exceeds the number of free soldier slots. If this is no longer the case it could warrant a bug report (especially if it is reproducible in vanilla oxc as well).

If this is by design for OXCE(+), please ignore this message.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on May 05, 2016, 01:38:11 pm
New version is up.

v2016-05-05
  + Fix tank ammo recovery when tank has 2 different weapons with ammo
  + Added ability to override default craft inventory tile (e.g. craftInventoryTile: [7, 4, 1])
  + Faster ground inventory stacker by Stian
  + Unified armor sprite search in ufopedia and inventory UI

Download: https://drive.google.com/open?id=0B8itkFQbhj-YMS1lVjVvUHoyb0U
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: UnholyAngel on May 05, 2016, 03:43:32 pm
The new exe/changed inventory stacker (I guess) causes my game to freeze and eventually crash if I try to open the inventory while standing on top of a corpse or live alien. I don't have the same problem with other inventory stacks or the previous version.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Stian on May 05, 2016, 04:03:29 pm
I'll take a look at that crash shortly. Thanks for the report.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Stian on May 05, 2016, 04:26:53 pm
Ok, fix uploaded on the inventory stacker github. Sorry about that!

On a slightly unrelated note: piratez takes a looooong time to boot in debug mode.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on May 05, 2016, 04:56:02 pm
New download: https://drive.google.com/open?id=0B8itkFQbhj-YMS1lVjVvUHoyb0U
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: new_civilian on May 05, 2016, 06:17:11 pm
Thanks! Your updates are always welcome.

One question: I tried several positions, tabs and indents on the craftinventorytile entry in the rul file, but nothing seems to register.
Could you please post an example entry?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on May 05, 2016, 06:50:26 pm
One question: I tried several positions, tabs and indents on the craftinventorytile entry in the rul file, but nothing seems to register. Could you please post an example entry?

Code: [Select]
crafts:
  - type: STR_VENTURA
    craftInventoryTile: [7, 4, 1]
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: new_civilian on May 05, 2016, 07:08:19 pm
Thanks!

Odd, that's what I tried first and it didn't work.

Oh, wait, do I have to edit the original Piratez.rul file, I remember that editing the Bonaventura worked only then. Gonna test that and a custom addon rul file.

REPORT: yes, it only works when editing the original Piratez.rul file.

A nice location for the Ventura is behind that small door on the level that leads to the roof.

Code: [Select]
    craftInventoryTile: [6, 4, 2]
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on May 05, 2016, 07:41:45 pm
For some reason, you can't just mod the Bonny. I found that out when trying to change the unit deployment scheme. You have to use "delete: STR_VENTURA", then paste the entry as it was in the mod to redefine it, with your new values in.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: new_civilian on May 05, 2016, 07:58:16 pm
Yes, of course, I forgot that possibility for a moment.  :-[
It's also much safer doing the change that way.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on May 05, 2016, 08:05:43 pm
Yes, but a bit of a pain to update.. I don't understand why a later mod can't mod the Bonny, but it sort of works this way.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on May 05, 2016, 08:09:26 pm
REPORT: yes, it only works when editing the original Piratez.rul file.

You can change the "deployment" and "craftInventoryTile" attributes of any craft only if your mod contains also the "battlescapeTerrainData" attribute... not exactly sure why, but it's implemented like this.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on May 05, 2016, 08:35:34 pm
Ah! Cool! So I don't need to include all the other stats (or delete the original!). That makes updating much easier, since the terrain shouldn't change very often. Thanks for the info!
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: new_civilian on May 07, 2016, 04:26:18 am
Not sure if this is important, but when I change the bonny that way^ the game CTDs when trying to edit the loadout in the Battle Generator. Interestingly when I do not try to edit the loadout and skip directly to launch, it works...

I can't test atm if it works in the game itself, as I sold the bonny and use other crafts.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Cristao on May 07, 2016, 03:58:57 pm
Kindly remind me what keyboard button to press to see if my shot missed or hit an enemy.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on May 07, 2016, 04:13:49 pm
Kindly remind me what keyboard button to press to see if my shot missed or hit an enemy.

Ctrl+H
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Cristao on May 07, 2016, 06:35:58 pm
thanks.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: a0kribu on May 09, 2016, 04:52:43 pm
Watching your playthrough on YT it occurred to me that some people might gain from having the heading in the Shipping-XY window represented as an arrow in addition to the "North-West" or whatever it is.
It might take a little thought so the old look would be preserved.

Maybe in the upper right corner of the window?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Ketonur on May 10, 2016, 11:26:57 am
Is it possible to make mouse scroll responsible for switching through equipment pages (before a mission) ? :)

What was the key that you used to empty your craft from all the equipment ?

Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on May 12, 2016, 03:17:34 pm
New request: surrendering enemies.
What does it mean? That enemies may surrender, automatically ending the battle (same as if they were stunned).
Why? Because chasing last unarmed civilians around the map is not both unethical and embarrassing (and a loss of time).
Is it tricky to implement (design-wise)? Yes, but I would like to propose a method to fit it into the game.

So here it goes:
New flag for units: canSurrender. (If not present, this rule doesn't apply at all.) Meant for human enemies mostly.
How does it work? If all enemy units left on the battlefield are panicked, and all of them have this flag, the battle automatically ends - you just sweep them off the floor.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on May 12, 2016, 03:46:23 pm
So here it goes:
New flag for units: canSurrender. (If not present, this rule doesn't apply at all.) Meant for human enemies mostly.
How does it work? If all enemy units left on the battlefield are panicked, and all of them have this flag, the battle automatically ends - you just sweep them off the floor.

Maybe even simpler: if all remaining enemy units have that flag, and are all below a global Morale threshold (settable, default = 50) at the end of their turn, they all surrender and mission ends with them being your captives.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Boltgun on May 12, 2016, 06:25:18 pm
Using morale could make sense, but yes a surrendering mechanic for the last few guys could be so helpful.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on May 12, 2016, 06:44:52 pm
Can we get this cherry picked?

It would be glorious to see some mutant brutes punching out spartans :D And if we get Xtendo's advanced civilian behavior, the gals could actually lead the mutant uprising against the purebloods!

X-Piratez - Mutant Revolutionz  8)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on May 13, 2016, 12:26:35 pm
Watching your playthrough on YT it occurred to me that some people might gain from having the heading in the Shipping-XY window represented as an arrow in addition to the "North-West" or whatever it is. It might take a little thought so the old look would be preserved. Maybe in the upper right corner of the window?

Possible, but I don't see a point in having the same information twice.

Is it possible to make mouse scroll responsible for switching through equipment pages (before a mission) ? :)

Yes it is possible, I won't do it though.

What was the key that you used to empty your craft from all the equipment ?

Press "X".

Maybe even simpler: if all remaining enemy units have that flag, and are all below a global Morale threshold (settable, default = 50) at the end of their turn, they all surrender and mission ends with them being your captives.

Seems like a lot of work (for a modder) for no real benefit.
I'll put it on the list, should be easy to implement... but hard to test.

Using morale could make sense, but yes a surrendering mechanic for the last few guys could be so helpful.

I find the last 1-2 enemies the most dangerous part of the mission (as they can see me), and they are usually responsible for my losses. And even if they are maybe panicked for one round, they will gain morale in the next round, pick up a weapon and kill me... if it gets implemented, it will definitely be an option and I will turn it off in my games.

Can we get this cherry picked?

Can we get what cherry-picked?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on May 13, 2016, 01:02:34 pm
Seems like a lot of work (for a modder) for no real benefit.

The benefit is enormous. The vanilla behaviour is fine for aliens - they are allowed to behave inhumanly, because they're aliens. The same routines applied to human enemies are inadequate and a bit ridiculous to watch.

I'll put it on the list, should be easy to implement... but hard to test.

I think it's very easy, just give them a huge morale loss penalty (armors section) :)

I find the last 1-2 enemies the most dangerous part of the mission (as they can see me), and they are usually responsible for my losses. And even if they are maybe panicked for one round, they will gain morale in the next round, pick up a weapon and kill me... if it gets implemented, it will definitely be an option and I will turn it off in my games.

And that is why I said "panicking only" - I didn't want to change too much. But we can discuss that.

Can we get what cherry-picked?

I believe Artanor was referring to civilian AI and biultInWeaponSets.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Boltgun on May 13, 2016, 01:47:57 pm
I find the last 1-2 enemies the most dangerous part of the mission (as they can see me), and they are usually responsible for my losses. And even if they are maybe panicked for one round, they will gain morale in the next round, pick up a weapon and kill me... if it gets implemented, it will definitely be an option and I will turn it off in my games.

Yes, and I rarely have this issue myself because I spread out gals and sweep maps carefully.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on May 13, 2016, 03:04:41 pm
Yes, and I rarely have this issue myself because I spread out gals and sweep maps carefully.

I (try to) do that too... and I don't have a problem with last guys outside of the UFO usually.
I have problems only if the last guys are inside the UFO.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on May 13, 2016, 05:10:17 pm
Yes, I was talking about Warboy's "civilians can use weapons" new feature.

Also, the morale thing looks fine. If you have one random academy researcher or trader GO hiding in a closet, it's not all that fun or gratifying to hunt her down. Now, if it's a chryssalid, I'm sure Dioxine wouldn't set those to "surrender: True" or whatever, so you will have to relive Alien ;)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on May 13, 2016, 05:31:06 pm
...Now, if it's a chryssalid, I'm sure Dioxine wouldn't set those to "surrender: True" or whatever, so you will have to relive Alien ;)

Nooo!!!!
 (https://i.imgur.com/oOmA5cC.png)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: a0kribu on May 13, 2016, 05:42:15 pm
Possible, but I don't see a point in having the same information twice.

The point of providing any information in a more accessible format is to cut out people thinking over what the information is communicating and instead make them spend their time using said information. :3
I watched someone spend 3x3 seconds in a single episode mulling over where the crafts are heading.

Edit: Obviously it might not be worth it for you. God knows.
Love the YT campaign btw.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on May 13, 2016, 05:47:21 pm
Well the game assumes you can read compass. Let's leave it that way. An arrow telling 'north where?' would be an insult to the player.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: a0kribu on May 13, 2016, 05:48:55 pm
I can read compass all right.
Very ironically a compass has an arrow.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on May 13, 2016, 06:26:19 pm
Don't cast these semantic spells on me, you well know what I meant. Who needs a compass if you see the whole planet? Kinda redundant IMO.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on May 13, 2016, 07:17:48 pm
Seems like a lot of work (for a modder) for no real benefit.
I'll put it on the list, should be easy to implement... but hard to test.
I think better way to implement this would be adding scripts that will handle it. With that modder will have lot of freedom on defining how to end mission.
This could be different for each mission (in "assassin mission" you could win after one kill). This could go too in opposite direction, if you loose lot of unit and your team panic, battle could end too. This will all depend on that will be calculate in scripts.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Stoddard on May 14, 2016, 01:00:18 am
Had anyone had any luck with compliling x64 linux executable? I keep hitting the same quite random crash (doesn't happen with downloaded 32bit exes) and would like to know if someone ever did it successfully, or the code base is knee-deep in int/ptr-width bugs, or  was that known to work, but bit-rotted and can realistically be fixed or what.

(besides, minimising the window really messes up my window manager, and every option apply recenters the window which gets real annoying on two monitors, but I can't fix that until I can compile something not crashing right away)

system: xubuntu trusty x64
codebase:
origin   https://github.com/MeridianOXC/OpenXcom.git (fetch)
* master 9d44544 Multiple calls to SDL_GetVideoMode crash on various systems. Users will just have to manually restart after changing the Window Position option.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on May 14, 2016, 01:16:51 am
codebase:
origin   https://github.com/MeridianOXC/OpenXcom.git (fetch)
* master 9d44544 Multiple calls to SDL_GetVideoMode crash on various systems. Users will just have to manually restart after changing the Window Position option.

FYI, "master" is just a copy of SupSuper's vanilla repo... you need the branch from the first post if you want any of my changes.

Yes, I was talking about Warboy's "civilians can use weapons" new feature.

I spent 3+ hours trying to cherry-pick even the first (tiny) commit for this feature.
After giving up hope on automatic merge because of different line endings (and yes, I tried the first 10 ways I could google to do it... all failed), I eventually merged it by hand... yes, by hand.
Still, it doesn't compile:
- because it requires also next commit (wouldn't be so bad)
- and because it depends on at least another 2 previous commits, which I really can't be bothered to search for and painfully cherry-pick and test

If anyone has nerves from steel, feel free to do it... I'll happily commit your PR.

PS: once (if at all) Yankes merges OXC into OXCE, I am really not looking forward to re-implementing half of OXCE+ again because it's gonna be incompatible with both OXC and OXCE :(
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Stoddard on May 14, 2016, 02:10:09 am
FYI, "master" is just a copy of SupSuper's vanilla repo... you need the branch from the first post if you want any of my changes.

Well, thank you, this did it, the oxce2.9-plus-proto works ok but for a few warnings.

I spent 3+ hours trying to cherry-pick even the first (tiny) commit for this feature.
After giving up hope on automatic merge because of different line endings (and yes, I tried the first 10 ways I could google to do it... all failed), I eventually merged it by hand... yes, by hand.
Still, it doesn't compile:
- because it requires also next commit (wouldn't be so bad)
- and because it depends on at least another 2 previous commits, which I really can't be bothered to search for and painfully cherry-pick and test

If anyone has nerves from steel, feel free to do it... I'll happily commit your PR.

For the life of me I can't find that. Seriously, arcane merges are way simpler than this forum search crap.  Can you please post a few pointers?

Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on May 14, 2016, 04:14:51 am
PS: once (if at all) Yankes merges OXC into OXCE, I am really not looking forward to re-implementing half of OXCE+ again because it's gonna be incompatible with both OXC and OXCE :(
I know your pain. I probably do this "fun" around end of this month.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on May 14, 2016, 11:19:16 am
I know your pain. I probably do this "fun" around end of this month.

Yeah, that's reasonable time frame. (Go, go Yankes!)
As much as I'd like new stuff from the nightlies, I wouldn't ask Meridian to do something that takes so much time and is ultimately futile... If it was something simple, like (I think) definable waypoints for Blaster Bombs, then maybe - but only because the gain is immediate and the code is (probably) trivial.

EDIT:

I stumbled upon this post:
In Alien Containment it'd be useful to somehow mark aliens that won't be researchable again so that their space can be freed up.

I think it's an excellent idea. In Alien Containment, if the non-researchable (fully researched) aliens would be shown in a different colour, it would indeed make things easier to manage.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on May 19, 2016, 05:12:51 pm
Something's not right. After your 'no deployment crash' fix, I'm getting these crashes every time a Comm Wave spawns. Even after adding a deployment for Comm Wave.

EDIT: this error seems to be somehow related to regions and zones, not deployments. I'll keep checking.

EDIT2: It doesn't seem to have anything to do with your code... It just seems that no UFO can be set to fly over a non-default region, because the game will crash. Damn it to hell. Unless I'm mistaken...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on May 19, 2016, 06:42:15 pm
Do you need help debugging?

And isn't it the same as this: https://openxcom.org/forum/index.php/topic,4058.msg65130.html#msg65130 ?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on May 19, 2016, 06:48:35 pm
Would you mind if I sent you the package?

When I added 'missing' zones (I made sure only zone 0 is needed for the mission), it broke looking for zone 24 or somesuch idiocy...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on May 19, 2016, 07:01:46 pm
Would you mind if I sent you the package?

When I added 'missing' zones (I made sure only zone 0 is needed for the mission), it broke looking for zone 24 or somesuch idiocy...

Sure. In about 1 hour I'll have time for the rest of the evening. I'll be on IRC too.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on May 19, 2016, 07:43:51 pm
https://drive.google.com/file/d/0B-8IP37CA63Ld01nV2FoUDVwSU0/view?usp=sharing

No save, since all it takes is to start a new game and wait for the crash (around 3rd day of the month). The offending mission is called STR_MUTANT_POGROM_DISTRESS_NO_PENALTY

I'll be really grateful for help.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Stian on May 19, 2016, 08:41:34 pm
Code: [Select]
  - type: STR_MUTANT_POGROM_DISTRESS_NO_PENALTY
    points: 0
    objective: 3
    spawnZone: 0
It appears to be caused by the spawnZone and objective combination. (the region with that spawnZone has only mission zones for objective 0). Changing spawnZone to 3 appears to remove the crash, but as I don't know the intent nor have that big a familiarity with the modding system, that might change other things as well. Just saw the difference with the other pogrom mission.

Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on May 19, 2016, 11:35:31 pm
Code: [Select]
  - type: STR_MUTANT_POGROM_DISTRESS_NO_PENALTY
    points: 0
    objective: 3
    spawnZone: 0
It appears to be caused by the spawnZone and objective combination. (the region with that spawnZone has only mission zones for objective 0). Changing spawnZone to 3 appears to remove the crash, but as I don't know the intent nor have that big a familiarity with the modding system, that might change other things as well. Just saw the difference with the other pogrom mission.

Yes, that is the final cause of the crash.

But the issue is probably somewhere else.
I spent a few hours playing with it, but only managed to confuse myself even more.

I recommend starting again with the ruleset for this feature from the scratch... in VERY small increments... and test every single addition to see if it works as expected. Maybe even test individual components by changing already existing ruleset temporarily. Eventually you should find either a typo in the ruleset; or a bug or missing feature in OXC.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on May 20, 2016, 04:23:06 am
Solved that, it works now. Seems that it comes down to this:
1. in order for UFOs to fly, a region needs all its 6 mission zones
2. UFO going to spawn a terror site can only do so in zone 3
These observations might be wrong, but equipping my custom region with all 6 zones and changing the spawnzone for mission to 3 fixed it.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on May 21, 2016, 12:08:48 am
New version is up.

v2016-05-20
  + Unhardcoded kneel bonus and one-handed penalty, info: https://openxcom.org/forum/index.php/topic,4647.msg65327.html#msg65327
  + SHIFT, ALT and CTRL cannot be used as user hotkeys anymore
  + Added separate sections for OXCE+ controls and advanced options
  + Added support for "allowedItemCategories" to starting conditions, info: https://openxcom.org/forum/index.php/topic,4444.msg65287.html#msg65287
v2016-05-18
  + Showing firing/throwing/melee/psi in inventory, more info here: https://openxcom.org/forum/index.php/topic,4520.msg65159.html#msg65159
  + Inventory tooltip now shows also item weight (optionally, showItemNameAndWeightInInventory: true)
  + Fixed CTD for UFOs without alien deployment
v2016-05-14
  + Added configurable difficulty-based retaliation delay, info: https://openxcom.org/forum/index.php/topic,4630.msg64978.html#msg64978

Download: https://drive.google.com/open?id=0B8itkFQbhj-YRDViLS11c3RrRjg
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: a0kribu on May 21, 2016, 07:13:55 am
https://imgur.com/UGeN07t

You need more than the executable.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on May 21, 2016, 11:51:01 am
You need more than the executable.

Translations are linked above.
Or you can wait for next piratez release.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: niculinux on May 22, 2016, 09:49:11 pm
Hey Meridian thank you for the linux executable! Anyway i am not able at the moment to run the game, the oxextended executable needs some dependencies, i managed to run the vanilla executable one as stated here (https://openxcom.org/forum/index.php/topic,4084.msg54350.html#msg54350) but not the one you "manufactured" :), in fact i get the error:

Code: [Select]
error while loading shared libraries: libyaml-cpp.so.0.5: cannot open shared object file: No such file or directory
But as i wrote in the above mentioned link i happened to have all the dependencies/libraries installed. Maybe it's some kiond a bug in the binary or what?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on May 22, 2016, 09:54:43 pm
It works for me.

I'm no linux expert, so I let that for you to play with... I built the executable using "Makefile.simple" if that helps.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: niculinux on May 22, 2016, 09:57:54 pm
I'm no linux expert,

So am I, sadly  :'(

so I let that for you to play with... I built the executable using "Makefile.simple" if that helps.

Where i may find that Makefile.simple file, if the will to try will take on me? :D

edit: typos
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on May 22, 2016, 10:01:06 pm
Where i may find that Makefile.simple file, if the will to try will take on me? :D

https://github.com/MeridianOXC/OpenXcom/blob/oxce2.9-plus-proto/src/Makefile.simple
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: niculinux on May 22, 2016, 10:03:38 pm
https://github.com/MeridianOXC/OpenXcom/blob/oxce2.9-plus-proto/src/Makefile.simple

Thanks! But i fear i'll eventually resing until some other more experienced user would kindly provide a solution... :'(
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on May 22, 2016, 10:29:28 pm
Thanks for all the new exciting options, Meridian! Now I need to include them somehow. :D
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: R1dO on May 22, 2016, 11:26:31 pm
in fact i get the error:

Code: [Select]
error while loading shared libraries: libyaml-cpp.so.0.5: cannot open shared object file: No such file or directory
But as i wrote in the above mentioned link i happened to have all the dependencies/libraries installed. Maybe it's some kiond a bug in the binary or what?

If your system comes up with that error .. chances are it is not stored on one of the standard library paths.

What does the following command return:
Code: [Select]
locate libyaml-cpp
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: niculinux on May 23, 2016, 11:12:05 pm
Thanks R1do! Currently i'm on ubuntu 16.04, right now it's even buggier than win95!

Output of locate:

Code: [Select]
/usr/lib/x86_64-linux-gnu/libyaml-cpp.a
/usr/lib/x86_64-linux-gnu/libyaml-cpp.so
/usr/lib/x86_64-linux-gnu/libyaml-cpp.so.0.5
/usr/lib/x86_64-linux-gnu/libyaml-cpp.so.0.5.2
/usr/share/doc/libyaml-cpp-dev
/usr/share/doc/libyaml-cpp0.5v5
/usr/share/doc/libyaml-cpp-dev/changelog.Debian.gz
/usr/share/doc/libyaml-cpp-dev/copyright
/usr/share/doc/libyaml-cpp0.5v5/changelog.Debian.gz
/usr/share/doc/libyaml-cpp0.5v5/copyright
/var/lib/dpkg/info/libyaml-cpp-dev.list
/var/lib/dpkg/info/libyaml-cpp-dev.md5sums
/var/lib/dpkg/info/libyaml-cpp0.5:amd64.list
/var/lib/dpkg/info/libyaml-cpp0.5:amd64.postrm
/var/lib/dpkg/info/libyaml-cpp0.5v5:amd64.list
/var/lib/dpkg/info/libyaml-cpp0.5v5:amd64.md5sums
/var/lib/dpkg/info/libyaml-cpp0.5v5:amd64.shlibs
/var/lib/dpkg/info/libyaml-cpp0.5v5:amd64.triggers

Any ideas/clues?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: R1dO on May 24, 2016, 12:40:28 am
The lib seems to be in the correct place (for an ubuntu package).

You're a bit out of luck though, the ubuntu version you have wont work with oxc (nor does any of the other packages supplied with 16.04). So even if the loader could locate the correct version of  libyaml-cpp.so.0.5 (yes they can differ) you would have been presented with a different error.

The only way you can play oxc on 16.04 is by getting your hands on the correct version (for regular oxc it is 0.5.x, where x != 2, i don't know if extended needs a newer version). either by finding a ppa or by building libyaml yourself.

Alternatively you can try asking nicely if a version can be build with statically linked libraries (which is something i have no experience with).

I am still puzzled by the loader failure though. Could you provide me with the output of the following command?

Code: [Select]
ldd -v OXC_binary | grep yaml where OXC_binary is the full path to your downloaded version.
Thnx
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: niculinux on May 24, 2016, 08:31:24 pm
typing

Code: [Select]
ldd -v /home/nico/Scrivania/OpenXcom_XPiratez/OpenXcomExPlusElf | grep yaml
gives

Code: [Select]
libyaml-cpp.so.0.5 => not found
hell, apt says it is installed...i guess so it's a seriuos ubuntu 16.04 problem! But since i don't want to downgrade to 14.04 guess i'll have to resing..maybe Yankes may provide some assistence, even helping Meridian with linux binary versions?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: hellrazor on May 24, 2016, 08:46:39 pm
typing

Code: [Select]
ldd -v /home/nico/Scrivania/OpenXcom_XPiratez/OpenXcomExPlusElf | grep yaml
gives

Code: [Select]
libyaml-cpp.so.0.5 => not found
hell, apt says it is installed...i guess so it's a seriuos ubuntu 16.04 problem! But since i don't want to downgrade to 14.04 guess i'll have to resing..maybe Yankes may provide some assistence, even helping Meridian with linux binary versions?

Check this here (https://openxcom.org/forum/index.php/topic,4631.msg64835.html#msg64835) for getting the right YAML lib from github.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: niculinux on May 24, 2016, 08:53:10 pm
Check this here (https://openxcom.org/forum/index.php/topic,4631.msg64835.html#msg64835) for getting the right YAML lib from github.

Thanks, but i do not have time to study/invesitigate, so i guess i'll stop now. IN simplier words, the problem lies in ubuntu or in the binary? In the end someone eventually would kindly make a statically linked file cointaining the libs requested? Thanks again guys and keep it up!
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: hellrazor on May 24, 2016, 08:58:31 pm
Thanks, but i do not have time to study/invesitigate, so i guess i'll stop now. IN simplier words, the problem lies in ubuntu or in the binary? In the end someone eventually would kindly make a statically linked file cointaining the libs requested? Thanks again guys and keep it up!

The problem is that Ubuntu 16.04 uses the 0.5.2 Version of libyaml-cpp. The only thing you can do it either downgrade or upgrade the lib to a working version, version 0.5.1. or 0.5.3 or higher.

Ubuntu is tricky in this regard since they only set a list of packages which does exclude some versions of libs. In this case they picked a broken version of libyaml-cpp which is stupid but it ubuntu... (they really really should check the gitlogs before they pull in"stable" libs...)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: niculinux on May 24, 2016, 09:37:51 pm
Maybe thete is a noob way to get thrse installed; like a third party- unofficial ppa or a .zip file? Thanks.  :D
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on May 24, 2016, 10:01:23 pm
or compile yaml-cpp as part of exe not external lib. You would need remove references to system yaml lib from `makefile.simple` and direct path to header and sources downloaded manually. Something like that is done in `makefile.mxe`.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: niculinux on May 25, 2016, 01:08:44 pm
Thanks Yankes! @Meridian: when ever the next stable linux binary will be raedy some more info (maybe a bit technical) about it would be nice, to help users. Hope again Yankes may want to help. Over and out!
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on May 25, 2016, 01:18:13 pm
@Meridian: when ever the next stable linux binary will be raedy some more info (maybe a bit technical) about it would be nice, to help users.

What more info do you need?

You can't just ask me for "more info", I have no idea what do you need... otherwise I will just tell you that when I created the binary, the sun was shining in switzerland, it was 20 degrees celsius and I had red socks and blue t-shirt on. I was drinking red wine and my neighbour's dog was barking all the time.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on May 25, 2016, 02:20:45 pm
Oh Meridian, can you move the gunmeele Swing option BACK AGAIN to the bottom? It was in a proper place then now it's somehow back at the top. It feels really unnatural, as the swing option is the 'least important' and there it is, at the very damned top :) Or make it an option, if your opinion is as strong as mine only the other way :)

My actual argument is: when you're doing Swing, you do it 2-3 times in a quick succession. When the Swing was on bottom, it was directly under the cursor that just clicked the weapon. Now, with Swing on the top, I have to swing the mouse like crazy to do it :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on May 25, 2016, 02:46:02 pm
Oh Meridian, can you move the gunmeele Swing option BACK AGAIN to the bottom? It was in a proper place then now it's somehow back at the top. It feels really unnatural, as the swing option is the 'least important' and there it is, at the very damned top :) Or make it an option, if your opinion is as strong as mine only the other way :)

My actual argument is: when you're doing Swing, you do it 2-3 times in a quick succession. When the Swing was on bottom, it was directly under the cursor that just clicked the weapon. Now, with Swing on the top, I have to swing the mouse like crazy to do it :)

Yeah, I changed it back, because I did gunmelee instead of autoshot so many times since the change (just by memory without looking).

I'll make it configurable today (as user option).
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: niculinux on May 25, 2016, 10:21:27 pm
What more info do you need?

You can't just ask me for "more info", I have no idea what do you need... otherwise I will just tell you that when I created the binary, the sun was shining in switzerland, it was 20 degrees celsius and I had red socks and blue t-shirt on. I was drinking red wine and my neighbour's dog was barking all the time.

Ahah no sorry, i meant dependencies or it it woul be statically linked and so on i' m not expert...O_o and it's a pity i never had an holiday in Switzerland :'(
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ohartenstein23 on May 27, 2016, 03:12:17 pm
I've been able to to compile Meridian's source by using apt-get to install the libraries listed on ufopaedia's site, but they have to be the dev version, with -dev appended to the library name.  I can come up with some better instructions when I'm not on my phone if you'd like.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: niculinux on May 27, 2016, 11:34:01 pm
I've been able to to compile Meridian's source by using apt-get to install the libraries listed on ufopaedia's site, but they have to be the dev version, with -dev appended to the library name.  I can come up with some better instructions when I'm not on my phone if you'd like.

Oh yes, that would be very kind, thanks! Maybe then Meridian may merge these "istructions" in the first post :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ohartenstein23 on May 28, 2016, 12:36:34 am
First, the obvious part of downloading the source from Meridian, it's the source link in his original post, I'll copy it here too: https://github.com/MeridianOXC/OpenXcom/tree/oxce2.9-plus-proto
Either download or make a git clone, just get all the source files in a directory you can easily find with the terminal.

Next come all the required libraries, listed on https://ufopaedia.org at: https://www.ufopaedia.org/index.php/Installing_(OpenXcom) under the instructions for Unix-like systems.  We need all the dev versions, so I installed them with the command
Code: [Select]
sudo apt-get install libsdl1.2-dev libsdl-mixer1.2-dev libsdl-gfx1.2-dev libsdl-image1.2-dev libyaml-cpp-dev libboost-devNote the addition of libboost-dev - I don't remember quite why I needed it, I think it popped up as an error that it was required during my first try.

Finally, navigate in your terminal to the src folder from Meridian's files and make using the Makefile.simple that he provided:
Code: [Select]
make -f Makefile.simpleAfter a few minutes, you should have a binary that you can use!  I then moved it to the Piratez directory, the same location that Dioxine puts the .exe file for Windows.  Make sure it's set as executable, and you can either run it from a terminal or just double-click from a file browser.

Edit: If you're having trouble finding the executable after compiling, it was in the bin/ subfolder for me.

Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on May 28, 2016, 01:00:23 am
libboost-dev is need by old yaml-cpp (probably most distr have old ones), new one use c++11 features that replace it.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on May 28, 2016, 02:46:04 pm
New version is up.

v2016-05-28
  + Added more filtering in the New Manufacture screen, more info: https://openxcom.org/forum/index.php/topic,4520.msg65589.html#msg65589
  + Added user option for show gun melee on top (or on bottom)

Download here: https://drive.google.com/open?id=0B8itkFQbhj-YWDRWX1lMZVh3WTg
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: niculinux on May 29, 2016, 02:58:48 pm
@ohartenstein23: i tryed like you wrote here (https://openxcom.org/forum/index.php/topic,4187.msg65619.html#msg65619) and it worked! For linux users: if you use sudo must change the user gorup otherwise you'll be able to run the binary (placed in the /bin folder after the compiling is over) only as root. Used on an older pc (took nearly an hour!) with ubuntu 14.04.

@Meridian and Yankes: executed in the terminal, and while running got the putput:
Code: [Select]
libpng warning: Out of place iCCP chunk
Used very latest version (v2016-05-28) and for the new features - in the menu screen - got some weird strings like in the attached screenshot.

Edit: compiled in ubuntu 14.04, gives error in ubuntu 16.04 because give siilar error like here (https://openxcom.org/forum/index.php/topic,4187.msg65477.html#msg65477) but this time regarding libSDL_gfx.so.13.

Edit 2: inventory stats are also messed up (bugged) see attachment

Title: Re: Meridian's resources and mods for X-PirateZ
Post by: niculinux on May 29, 2016, 11:46:28 pm
On 0.98F, while assaultin a small shipping, stunned an osiris bodyguard, went to inventory, rapied an osiris bodyguard, the body wes here but not visible (pointed by the description hoverin the cursor over) but as soon as i clicked on the corpse game crashes to desktop. Save attached. That xpiratez version seems somewhat buggy, see also here Saves and .log file attached, latest should be inizio.sav, and i'm usin english (US) language. Sry no screenshots this time.

Edit: i continued playing, and actually seems a bugs regarding stunned enemies. I have Alt corpses mod (https://openxcom.org/forum/index.php/topic,4424.0.html) enabled. Screen below
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: niculinux on May 29, 2016, 11:47:19 pm
Disabling the alt corpses mod the game does not crash. But stings in the GUI are messed up, as screenies tell.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on May 30, 2016, 01:14:26 am

@Meridian and Yankes: executed in the terminal, and while running got the putput:
Code: [Select]
libpng warning: Out of place iCCP chunk
Used very latest version (v2016-05-28) and for the new features - in the menu screen - got some weird strings like in the attached screenshot.

Edit: compiled in ubuntu 14.04, gives error in ubuntu 16.04 because give siilar error like here (https://openxcom.org/forum/index.php/topic,4187.msg65477.html#msg65477) but this time regarding libSDL_gfx.so.13.

Edit 2: inventory stats are also messed up (bugged) see attachment
You need update mod too, without this you will not have correct strings.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: niculinux on May 30, 2016, 06:39:45 am
I used last mod version, and the last custom Meridian executable. Am i missing something?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on May 30, 2016, 10:20:34 am
I used last mod version, and the last custom Meridian executable. Am i missing something?

Translations are here:
https://openxcom.org/forum/index.php/topic,4520.msg65589.html#msg65589
https://openxcom.org/forum/index.php/topic,4520.msg65613.html#msg65613
https://openxcom.org/forum/index.php/topic,4520.msg65159.html#msg65159

Mod them yourself or wait for newest PirateZ.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on June 01, 2016, 06:09:43 pm
v2016-05-31
  + More performance improvements for item stacker by Stian
  + fix for FOV calculation by Yankes & Stian
  + fix for doubled retaliation checks after dogfight by Yankes

Download: https://drive.google.com/open?id=0B8itkFQbhj-YM1QxSHp4anMzZ2s
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on June 04, 2016, 12:27:03 pm
New version is up... my birthday present to you :)

v2016-06-04
  + Added Quick Search, more info: https://openxcom.org/forum/index.php/topic,4520.msg65913.html#msg65913
  (added in research, manufacture, ufopedia, stores, buy, sell, equip craft and inventory)
  + Added more filtering in the New Research screen

Download: https://drive.google.com/open?id=0B8itkFQbhj-YSVdLZTRvY0VSYk0

Please help with testing.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on June 05, 2016, 12:41:09 pm
Please help with testing.

The Ufopedia quick search doesn't work correctly... I'll fix that tomorrow... others seems to work fine as far as I can say.

EDIT: some random issues with inventory filtering have been reported too...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on June 06, 2016, 08:11:10 pm
OXCE+ The Devil's Edition (2016-06-06) is out :-)

v2016-06-06
  + fixed quick search in Ufopedia

Download: https://drive.google.com/open?id=0B8itkFQbhj-YSHk3dGpYRHRUaGM
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on June 15, 2016, 09:02:11 pm
New version is up:
- small fix in inventory sorting/stacking
- added quick search to Transfer UI

Download: https://drive.google.com/open?id=0B8itkFQbhj-YSklVSEhFLTNteHc
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: DracoGriffin on June 16, 2016, 11:54:32 pm
Pardon my stupidity, but did Commendations/medals ever finally make it into X-PirateZ yet? I figure you're the best one to ask Meridian with all your amazing customization work!
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on June 17, 2016, 12:12:41 am
Pardon my stupidity, but did Commendations/medals ever finally make it into X-PirateZ yet? I figure you're the best one to ask Meridian with all your amazing customization work!

Not yet.  After Extended 3.0 (yankes is still working on it). 
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on June 17, 2016, 12:15:52 am
Exactly.
I already merged it to my working copy. I want add one or two new features and I will release it. After that Meridian will probably merge it and it will be available for piratez.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on June 26, 2016, 01:50:35 pm
OXCE 3.0 is out, so I can only hope you'll find time to merge your build with it, Meridian! :) Man, Pirate Diaries! And who knows what else (no OXC changelog easily available for us plebes, sadly...)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on June 26, 2016, 02:34:11 pm
OXCE 3.0 is out, so I can only hope you'll find time to merge your build with it, Meridian! :) Man, Pirate Diaries! And who knows what else (no OXC changelog easily available for us plebes, sadly...)

There were only less than 2 months of OXC dev merged in 3.0, so there's not many changes.
Worth mentioning are only three:

1. SupSuper: merged SoldierDiaries
2. Warboy: modularize unit stat adjustment, using TFTD formula: https://github.com/SupSuper/OpenXcom/commit/5c317ce82dcfdd06d487b9991f56d9b3013e8f99
3. Warboy: make damage range a mod instead of an option: https://github.com/SupSuper/OpenXcom/commit/e98da3a56079a4a450e50fca835e2f8d21ce4a49

Full changelog here if you have time to read Shoes' comments:

Code: [Select]
25edd7b Make globe textures modular
9dd6699 Merge pull request #1076 from NHOrus/underarray
eef37e7 Merge pull request #1074 from NHOrus/debuffer
e485adc Underexposure of random units Size-10 array with 6 elements with only 4 ever accessed was here. Now it isn't May have caused some units to be unseen when they should have been seen.
65a4ebc Add extra error logging
0d69ada Buffer overflow fix
60eb09d Merge pull request #994 from redv/flashing_health_bar
b0431fb Merge pull request #978 from NHOrus/rm-unused-scalers
4a6016f Nah that was a bad idea
384e5da And let's try OSX error dialogs too why not
9576e31 Try to display error dialogs on Linux
b33ee18 It was the Sectoid, with the Candlestick, in the Dining Room. (fix game crashing if a unit died long after its murderer did)
a92aeee fix osd ocd
288488f Merge pull request #954 from redv/fix_fixed_weapon
614783b Dammit MinGW
9c6ed05 Try to expand crash logging to non-Windows platforms
53ebf15 Does it compile yet?
1f5a654 Typo
8484106 Fix case-sensitivity
2099192 Snip
938ebbf Experimental support for Windows crash logging
4d27d12 Merge pull request #1061 from R1dO/wordwrap-indent
274bdd1 Merge pull request #1071 from R1dO/cmake_version_string
d9dbd1c fix broken condition in burnt floor check
e85c48e Remove the starting dot from the git version string upon saving.
14b85e6 Don't store the git specific hash suffix "-g"
abb3368 Fix mods with LOTS OF STUFF showing scrollbars where they're not supposed to be
7eb860e Fix craft land checks
8168b25 Fix modded soldier types in Monthly Costs
15fc970 Merge pull request #1070 from winterheart/ui-fix
d9317ae Merge pull request #1072 from knapsu/ubuntu_nightly
95578a4 Updated package specification files for nightly builds
88b5444 make some adjustments to the AI
c24a686 Describe worktree state in the version string.
71c8d98 Small fix to New research available screen.
015b09b Clean up graph buttons
7621d45 Clean up warnings
d4790fb Merge pull request #1069 from winterheart/cmake-overcompile
4bfa11a Make travis happy.
31fc274 Optimizing cmake building process
62467d1 Use smaller words
a7b0f63 Fix bugs in save converting research/manufacture
00ba092 Load common resources ahead of time.
0af5aea Updated fonts (courtesy of Hythlodaeus)
3006d99 Fix converted altitudes
8c56dbe TFTD save converter
b6f4c57 Cleanup
df69ad8 Fix TFTD typo
ce1c483 Refactor kill tracking to avoid redundancy errors
dec2001 Fix crash when death was too mysterious for the game to handle
ba6a9a8 Improve startup error logging
a79da04 Fix save load crash
e6aece9 Only save current master's mods in savegame mod list
6e9da80 Fix soldier diary UI for translations
5f2d37c Make sure dead soldiers stay dead, even if they died from some freak accident involving getting knocked unconscious and successively being blown to smithereens.
cd56e04 add a little backwards compatibility for saves
374d5d4 Blistering barnacles!
18f2e5e Fix up soldier death pointer shenanigans, save death cause
5c317ce modularize unit stat adjustment, using TFTD formula.
37a1941 More UI fixes
8ef469b Fix battlescape saves being corrupt Fix quicksave in battlescape not working
ea027dc Fix incorrect kill stats
8ee2565 More UI stuff
2b63cb7 Merge pull request #1066 from ajschult/unbroken
92a21c0 Lots of fixes to get things compiling Makefile typos uninitialized variable (Globe.cpp) added parentheses to fix operator order (&& comes before || by default) constructor initializer reordering unused variables signed/unsigned comparisons "narrowing conversion... from ‘double’ to ‘int’ inside { } is ill-formed in C++11" (TransferItemsState.cpp, old issue) and retabbification
ebb4cd2 auto-maximize dogfights over the ocean (where applicable)
6d64843 remove/alter some comments
124034a UI fixes
5dbe0d0 UI fixes
08ffe5b Whoops
dcd7baa Fix up compatibility
647fe7a Remove mod
0f902bc Fix
0c8a8f9 Fix logic holes
b00f61a Revamp diary interface
ea52f1d Refactor unit naming, make strings more mod-agnostic
8ceba02 Clean up streams
b60a92c Clean up enums
b1b2ad1 Add unit names to soldier stats
db9db64 Restore project files
e612a38 Space it out
c46c093 Clean up header files
511a59d Clean up mission strings
263d04f Rulify interfaces
e3e103f Clean up c_str()
9614f07 More string fixes
ec4d2f2 Use enums in diary
6215bf1 Fix up Ufopaedia
90cda8c Move more strings to common
b70b959 Move strings out to common
c96a71d Fix compiler errors
b7fcd71 Merge remote-tracking branch 'Shoes01/alpha_release'
7b6a9aa Reduce confusion
15e7177 fix filename error
4893b55 fix gitbuilder and stitch up more hwp ammo stuff
6b3a258 actually, while i'm messing with debriefing state
de7a9e2 better do the same here too
a78d791 fix ammo counting for HWPs
1870b3f Save loot values to soldier diaries
d7b1207 Track mission loot values
5d394fe Track who last hit a victim and with what, use that to credit sudden deaths (fire, bleed out)
0a67bbe sanitize missionWeights on load
da822a7 fix converted save terror stuff
2a76ca3 i think i need less "ooh" and more "aah"
1a22c16 fix typo
cb2a6d4 fix mind control assisted alien suicide
eb54448 discount grenades at mission transitions
cfdc6d1 Can't forget these!
44a485d Merge branch 'master' into alpha_release
e98da3a make damage range a mod instead of an option.
07196f1 Let wordwrap honor existing indentation.
eb27d9c Merge branch 'master' into alpha_release
7bf59ef Merge branch 'master' into alpha_release
f42ae12 Changed Order of Earth to be awarded for anything that isn't a ufo recovery
27b6b59 Reordered commendations, as per Arthanor's suggestions
2284de2 Some commendations are now only awarded on mission success
ef29aba Fixed width of Mission Details, sorted Psi related stats on kill screen
4460a8c Added Commendations Entries to ufopaedia
60faecc Fixed a crash when MCing XCOM units
14993be Added sanity checks
4541eef Merge branch 'master' into alpha_release
4d5d4d8 Merge branch 'master' of github.com:SupSuper/OpenXcom
02f6d2a Only credit MC kills if the victim was hostile
18bddab Completed psi related commendations
6ec0cd4 Allow alien kills to be tracked
5270143 Fix debug commendation settings
c51c304 Avoid duplicate entries for battle unit kills
6d61321 Correctly display psi attacks in diary mission state
acdb3f3 Added psi related commendations
71cf90a Track psi attacks using kill code
8918d5a Remove duplicated string
37ced61 Track a unit's number of successful psi attacks (no awards yet)
47f9c60 Added Globetrotter award
d8307b2 All dead soldiers displayed in Lost in Service screen
4a5c9e7 Fixed copy paste error
a84ed7b Actually award post mortem medal
bec93d3 Best-of award is only for dead soldiers
7ab8250 Restructure best-of commendation logic
8eb0bf2 Added Martyr Medal
229c534 Moved best-of medal logic out of needless loop
0bab390 Merge pull request #13 from fudgedragon/Shoes01_SoldierDiaries
d75fdaf Merge branch 'master' into SoldierDiaries
6b7b392 Adjusted vcxproj.filters file for consistency and deleted duplicated (and misplaced) sprite
c61856e Merge branch 'master' of github.com:SupSuper/OpenXcom
6c7e01e Rookies don't get best-of awards
0a688d7 Nike and Mercy Crosses only awarded on a mission success
b9a9487 Added sprite
b18de0a Fix lingering visual studio errors/warnings related to merge issues in project files.
be120e3 Merge branch 'master' into Shoes01_SoldierDiaries
ffa89d8 2x faster
3dd97e9 Merge pull request #11 from jgatkinsn/fixcmake
ff1c7c4 Merge pull request #10 from IvanDogovich/AR-ID-Working
c6e23b2 Merge branch 'master' into alpha_release
309b237 Merge branch 'master' of github.com:SupSuper/OpenXcom
45ed984 fix src/CMakeLists.txt to include SoldierDiary code
889fb57 TFTD support
3fdb8e7 blink the health bar when unit has fatal wounds
dfa86bf All new bordered Ufopedia Art
e75ac86 Fixed Medal names
6f9b730 Ok. couple more corrections. XD
296573f One last little niggling punctuation.
fa070ef Final batch of art , activation and Ufopedia strings punctuation cleanup
104372a More art and activations
bc820cd Activating more art
ba1ba5d Ufopedia art - flank and battletypes
5f6b085 MIA UFOpedia String
e492b5a Activating UFOPedia Art
06cc96b New Ufopedia Art - five images
cf7c4cb Clean up double entry on bestsoldier
75a2c29 Assigned Sprite numbers
8e2687d Added Ribbons
e7b80ec more ufopedia strings
e2ec941 Added 4 ufopedia strings
068b9e8 Update Commendations.rul
94a3501 Merge branch 'master' into alpha_release
939cd5a Merge branch 'master' of github.com:SupSuper/OpenXcom
cac12e5 Fixed misaligned text box
9bb05b8 Minor fix
1ec2460 Minor fix
53fd7ee Updating Ruleset
e3aa7db Adding some art assets
241c8bb Renaming Merit Star Ribbon
91b1371 Added infrastructure for martyr commendations
c93eb16 Black Cross is no longer awarded to dead soldiers
fc97cf0 Added MIA commendation
65239c7 Added Lost In Service state
445fdcc Added post humous commeendations for excellent soldiers
0e58cc3 Made fire kill credit smrter
12586b8 Attempted to better track kills by fire
6383f89 Added bravery medal
506efeb Added two medikit related commendations
dc91cf7 Added a stat gain commendation
87377cc Added a commendation for the original 8
b5207c9 Minor edits to Ivan's PR
8987552 Mercy Cross UFOpedia Image and fixed ruleset for
650a905 RuleSet Corrections & Mercy Cross Ribbon
7c739cd Added Mercy Cross UFOPedia text
81cd2b3 Added placeholders to ruleset
2395df0 added placeholders
f3da7c5 Updated ribbons for Sapper and Sectopod
a325280 Merge Sapper and Sectopod Medals
1b598b8 Merge pull request #1 from Shoes01/alpha_release
8b5d5a8 Added a bunch of new commendations, still no art
ccf5942 Added two new commendations
5cea986 Minor fix
ae8897e Made body part and side part of the custom commendation system
fd383d9 Added a healing commendation
b9b82a8 Added flank shot commendation
d8337d5 Fixed the name of a function
5baa9c2 Added rear shot commendation
e41cfc9 Award headshots only on kills
bd871c6 Track body parts shot and side of unit shot
1ca048a Added Mercy Cross
e89285e Fix Nike Cross counting stuns as kills
956510c Merge branch 'master' into ar-yankes
bf17710 Merge branch 'master' of github.com:SupSuper/OpenXcom
f6fc315 Merge of "Commendations" ruleset with UFOPedia
9e16baf UFOPedia Medals
f0b8455 Create deleteme
cec2874 Delete test
388a38a test
17b7485 Delete CommendationsUFOPedia
dc391c3 Create CommendationsUFOPedia
212a572 Scalers: unsued internal functions?
f2c8155 Improv kills are no longer checked for damage type or battle type
eeeec93 Fixed multi criteria awards, thus fixing some erroneous awards
e5c7bcd Made victim race/rank more mod friendly
c50a98d Skipped commendations are properly skipped
472906f Fixed Nike Cross and possibly Valiant Crux by requiring a mission victory before awarding
e283ea5 Merge branch 'master' of github.com:SupSuper/OpenXcom
a873e59 Three translations added
9ddb13f Merge branch 'master' into ar-exp
3396c47 Merge branch 'master' of github.com:SupSuper/OpenXcom
5e4bc5f fixed weapon should be always placed in hand slots
893d44f Fix Iron Man medal
2796383 Merge branch 'master' into alpha_release
2e233a6 Merge branch 'master' of github.com:SupSuper/OpenXcom
32edd21 Fixed Nike Cross medal
186fefb Added sprites for new commendations
5df08d9 Merge branch 'master' into alpha_release
9c70f2b Merge branch 'master' of github.com:SupSuper/OpenXcom
1bf974d Added Nike Cross and Terran Cross commendations
db80e61 Added debug shortcut to clear all commendations
5ae90c4 Merge branch 'master' into alpha_release
80c3daf Merge branch 'master' of github.com:SupSuper/OpenXcom
9a9e4d6 Fixed faulty modular medals
955ed46 Minor diary cleanup
...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on June 26, 2016, 02:34:45 pm
Continuation (too many characters)

Code: [Select]
...
e72edd3 Tweaked commendation award criteria
6755c8a Added support for defining damage type and battle type for a commendation
1269a5e Fixed Swiftness medal, added Prowler medal as a response to the fix
e40036a Merge branch 'master' into alpha_release
7239290 Merge branch 'master' of github.com:SupSuper/OpenXcom
b130e09 Preparations to merge into master branch
b598f1f Updated naming convention
ee5b84e Updated code to reflect new changes from PR#872
40b5357 Merge branch 'master' into temp
9f02d57 Merge branch 'master' of github.com:SupSuper/OpenXcom
313e970 Merge branch 'master' of github.com:SupSuper/OpenXcom
7998150 Merge branch 'master' into alpha_release
d7b7ba7 Merge branch 'master' of github.com:SupSuper/OpenXcom
f9d6ea5 Location statistic of base defense mission now save correctly
03b465c Merge branch 'master' into alpha_release
abfb287 Merge branch 'master' of github.com:SupSuper/OpenXcom
072216b Merge branch 'master' into alpha_release
2a273e7 Merge branch 'master' of github.com:SupSuper/OpenXcom
01d0ad0 Fixed crash with new battle
061d6a6 Merge branch 'master' into alpha_release
9a1e5dd Merge branch 'master' of github.com:SupSuper/OpenXcom
7efcb01 Moved iterator in commendation logic
572bdb4 Merge branch 'master' into alpha_release
c270c99 Merge branch 'master' of github.com:SupSuper/OpenXcom
763c04c Fixed sprite scrolling issues
49fc091 Added commendation sprites
3da3032 Sprites do not scroll, but they do update...
065ba63 Merge branch 'master' into alpha_release
c25ae92 Merge branch 'master' of github.com:SupSuper/OpenXcom
c40af8e Medals can now have fewer than 10 award levels, but still an arbitrary decoration sprite
65f9eae Fixed sprite decoration issue
0e538be Improved sprites black color
38d4c4a Added new sprites
d35a4a3 Merge branch 'ar-medal' of github.com:Shoes01/OpenXcom into ar-medal
c362c2c Reduce the amount saved for commendations
b8ca426 Added Order of the Fallen commendation
bf39417 Added Valiant Crux commendation
da367b9 Fixed Iron Man commendation
b5ab009 Added Order of Glory commendation
0cb6918 Added Purple Heart and Crimson Heart medals
f6c948c Added reaction fire medal
58fb4f0 New commendations screen
d7ef10a Merge branch 'alpha_release' of github.com:Shoes01/OpenXcom into alpha_release
6bd00b3 Merge branch 'master' into alpha_release
743e4f9 Merge branch 'master' of github.com:SupSuper/OpenXcom
e21fb21 Merge branch 'ar-comm' into alpha_release
0ebda5c Fixed list order for memorial stats screen
e48bc95 Redid the commendation state soldier listing of new commendations
74e4b10 Merge pull request #5 from fudgedragon/soldierStatsFixes
220e346 Make diary mission list maintain position after viewing a mission log
5af5863 Fix crash when selecting mission in records after scrolling down list for soldiers with more than 15 missions
52b246e Merge branch 'master' into alpha_release
e5a5f39 Merge branch 'master' into alpha_release
f5b41ed Merge branch 'master' of github.com:SupSuper/OpenXcom
55eda84 Fixed memorial lists
f7e301c Updated scroll function name
7e0cd89 Merge branch 'master' into alpha_release
5e31b32 CRLF stuff again
7a93718 CRLF stuff
3d5b85d Merge branch 'master' of github.com:SupSuper/OpenXcom
78a90a3 Update string
2c337e6 Tweaked commendations a bit
fa7e343 Cyberdisc killers are now credited with the death explosion kills
0a8d798 Delete kills for non xcom units too
54cad70 Future proofing and commendations can skip levels now
4ea34f0 Medals can skip awards now
685b75c WIP
b0a77f3 Merge branch 'AR_purge' into alpha_release
2fcdae7 Merge branch 'master' into alpha_release
400debc Merge branch 'master' of github.com:SupSuper/OpenXcom
c26aeca Now possible to skip decoration levels
ffbde15 Missions now track which soldier was wounded via id
675ca93 Merge branch 'master' of github.com:SupSuper/OpenXcom
0a9740e WIP
2c53c75 Cleaning up code
aecbd28 Merge branch 'master' into alpha_release
edac8bb Merge branch 'master' of github.com:SupSuper/OpenXcom
9e3a607 Can now view dead soldier stats
8459b19 Balanced ruleset a bit
2c4ca89 Tidying stuff up
8feae2e Merge branch 'master' of github.com:SupSuper/OpenXcom
a019c17 Added new sprites
0642c96 bug hunting
323ee81 Added new files
b6911e8 Updated diary mission info stuff
bd8e748 Reduced redundant code
8822343 WIP commendation refactor
89823f3 Merge branch 'alpha_release' into mergetest
bd19f37 Merge branch 'master' into alpha_release
57ea114 WIP serialization
ef09aad Porting stuff to BattleUnit
7b447cc Created struct of mission statistics, added to SavedGame
b4c0280 More content, and it compiles
9c7be79 Shooting stats WIP
919bf7c Fixed save
fdc32b9 Merge branch 'AR_newcontent' of github.com:Shoes01/OpenXcom into AR_newcontent
d85fe55 Weird thing
a360331 Fixed per turn kills
2e8efd4 Cleaned up code and commendations
d17b66f Kills per criteria defined by career, mission and turn
c976f95 Commendations on kills per mission can be awarded
c30e9c2 General kill criteria with multi kill maps
447a24e WIP converting SoldierDiary killCriteria to map instead of vector
7859152 Changed killCriterai ruleset and it's h/cpp to map instead of vector
62b118d Merge branch 'master' into alpha_release
f0745e8 Merge branch 'master' of github.com:SupSuper/OpenXcom
fa8c9cf Diary totals now save ...
2344ecc Added Order of Earth medal
4de1b77 Added Iron Man commendation
c2799ba Added Star of Valor
304e3ea Black Cross medal added
5eaf7c2 Added strings and rules for new medals
47af110 Added a hit counter as well
cb9d213 Moved the tracker out of the AI
b2e8bed Star of Asclepius medal
228163b Added double and triple kill prototypes
cb9ed28 AND and OR kill rules
47f1763 Fixed typo in commendation
ba6ed4e Fixed save crash, track turn for kills
409f0ba Tweaked strings
e8a3082 Merge branch 'master' into alpha_release
4f1bfae Hope this works'
fec0062 Merge branch 'master' of github.com:SupSuper/OpenXcom
065178c Merged correctly
8a46951 Merge branch 'master' into alpha_release
80b4c31 Merge branch 'master' of github.com:SupSuper/OpenXcom
853ec24 Added new commendation
7dae2df New commendation and comments in ruleset
1ccd303 More control over commendations
89cebaa Fixed some crashes
b1737c9 Moved enums from BattleUnit to SoldierDiary
5e29b72 WIP
9fa7f48 Fixed other things
5e151f2 More data in SoldierDiaryKills, get functions are strings
96fa47e Added logic for kills by criteria
e83e567 Added new Hellraiser medal
8a481b5 Moved the mission kills into the Statistics struct
37f2f2e Removed unused function
8ca573c Finalized new medal
0974b12 Moved tempKills to BattleUnit instead of Soldier
da233a2 Refactor updateDiary()
fd5a357 WIP
a9ffb4a Moved temp stats to BattleUnit
48520b7 WIP
cc61539 New struct for stats, with save and load functions
195754a Merge branch 'master' into alpha_release
50c1679 Merge branch 'master' of github.com:SupSuper/OpenXcom
46f52ea Merge branch 'master' into alpha_release
d88e194 Merge branch 'master' of github.com:SupSuper/OpenXcom
ec03933 Cleanup rank and race stat logic
eb6d3d7 Minor cleanup
fca40a4 Missing strings
f5cc4af Modified strings per ceilingrat's suggestions
a1ead28 Removed unused files
4bfa322 Fixed Save button
c4a98c0 fix failure text box.
71bf953 fix for rare music/base defense bug
d35099a deobfuscate and fix landed ufo behaviour
fdee1b3 fix waypoint logic, further refactor/code cleanup
41bfb66 refactor and code cleanup and bugfix in UFO waypoint selection
f21e038 Split ruleset
16e7bee Merge branch 'master' of github.com:SupSuper/OpenXcom
4376cba Making proper rulesets
f0c1966 Merge branch 'master' into alpha_release
5345583 Merge branch 'master' of github.com:SupSuper/OpenXcom
95e7b10 Merge branch 'master' into alpha_release
fc4413f Merge branch 'master' of github.com:SupSuper/OpenXcom
0dab3e8 Properly fetch stats
138a0a9 Fix diary info window and lists
b9bfbda Fixed a crash when having the highest decoration of a medal
04bd278 Merge branch 'master' of github.com:SupSuper/OpenXcom
63855c4 UFOs now properly display names in the mission log
ae1390b Sprites now scroll with commendation textlist
17b6194 Added fix for HWP in victim race/rank check
8055dc1 Merge branch 'master' into alpha_release
12a345d Merge branch 'master' of github.com:SupSuper/OpenXcom
ffa6b8f Moved sprites
cecdf95 Refactord sprite drawing code into one function
7f6aaf7 Things scroll, but not the sprites
aae8f46 WIP sprites no longer in bigobs
a65b286 WIP
7ffafa3 Name change
0db4d61 Added sprites
1063dd7 Sprite work
65f7113 work with medals
107dc23 Merge branch 'master' of github.com:SupSuper/OpenXcom
3a820f7 Added sprites
709950b Added sprite support
a4b8b65 latest changes
4f8de77 wip
690959f wip
462ef67 MOdular medals
0c4cdde modular medals refactor
a20f4e1 WIP
78d574c Logic problems
479a2e1 Getting empty vectors
eee2043 another fix
09af0c4 missed a spot
232ceae added medals that are only awarded monthly
2287b25 Added more criteria for medals in ruleset
e2ed68f More stats are tracked
3f65c61 Minor tweak
6ce46c2 Created an updateDiary() function
a07fb14 Seems to be working..
8b2e869 WIP
5f5b2d9 Medal descriptions work
7f4e28e Things appear to be working for the most part
e2123b4 Added missing header
6bc6ea4 WIP empty criteria
9ecdbf5 Pointers?\!
69ea8ae Fixed awardCommendations
4e7c6ce WIP stuff
906cbcb Added another medal, testing the waters
38229e9 Added commendation state and first medal
1800099 Updated mod to new code
5dbebbe Fixed a CTD related to mind controlled soldiers
f7d5fcd Fixed indentations and prevented a possible mind control CTD
1787bad Mission UFOs no longer get attributed to terror missions
9de2ba8 Logging stuns now correctly checks to see if a loggable unit did the stunning
b9c5d82 Tracking wounds
2668781 More stats
5850e06 Mission totals and kill totals can be flipped through
05a7057 Split the diary totals into kills and missions
0b0a7ee Soldiers now have diaries
e6ed7ee Merge branch 'master' of github.com:SupSuper/OpenXcom
bbbfd3e Merge branch 'master' of github.com:SupSuper/OpenXcom
7073d10 Merge branch 'master' of github.com:SupSuper/OpenXcom
a73fac6 My project filters

I have 1 week holidays soon... maybe I'll be able to merge...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on June 26, 2016, 03:04:13 pm
There were only less than 2 months of OXC dev merged in 3.0, so there's not many changes.
Worth mentioning are only three:

1. SupSuper: merged SoldierDiaries
2. Warboy: modularize unit stat adjustment, using TFTD formula: https://github.com/SupSuper/OpenXcom/commit/5c317ce82dcfdd06d487b9991f56d9b3013e8f99
3. Warboy: make damage range a mod instead of an option: https://github.com/SupSuper/OpenXcom/commit/e98da3a56079a4a450e50fca835e2f8d21ce4a49

SoldierDiaries was developed bit more time than 2 months and I merge 500 of 800 commit that difference between OXCE and OXC. This mean that time between merge points are not accurate to measure how much changes goes in (numbers of commits could be screwed too based how many changes go in per commit).
I guess that I pull half of changes from basic version.

Some info about point 3. I was thinking about dropping it completely because I already have same functionality in OXCE. But it would break default compatibility.
Because of that I made that only when weapon have default damage range it will use global values added by Warboy, exception of this is fire damage range that always get it from global range.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on June 26, 2016, 03:17:15 pm
SoldierDiaries was developed bit more time than 2 months and I merge 500 of 800 commit that difference between OXCE and OXC. This mean that time between merge points are not accurate to measure how much changes goes in (numbers of commits could be screwed too based how many changes go in per commit).
I guess that I pull half of changes from basic version.

I didn't want to make this sound "small"... I'm sure you went through hell merging all this... just wanted to say that functionality-wise, there are only 3 features a modder can notice, player will notice even less.
In this release, it is definitely your new features that deserve the most attention, not the vanilla stuff.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on June 26, 2016, 03:21:35 pm
So in short:
- Diaries are in to some extent;
- Diff level impact is now customizable;
- If you want to make modded weapons use TFTD damage rules with a button switch, well, TOUGH LUCK (I like it) :)
- and naturally, all the new Yankes' stuff... that without a tutorial is probably impossible to even comprehend (which again is GOOD, as long as Yankes writes some tutorials, or someone deciphers it by himself) :)

cool. Now all we have to do is wait... Good thing I don't have that much time for modding this summer, so I can wait more patiently :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on June 26, 2016, 03:39:49 pm
I didn't want to make this sound "small"... I'm sure you went through hell merging all this... just wanted to say that functionality-wise, there are only 3 features a modder can notice, player will notice even less.
In this release, it is definitely your new features that deserve the most attention, not the vanilla stuff.
Right this is another way how measure changes. And each give different answer :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: DracoGriffin on June 27, 2016, 06:41:17 am
So in short:
- Diaries are in to some extent;

Now if only I could remember where I uploaded or sent that Pirate version of the Soldier Diaries/Commendations I did oh so long ago. It can now be used!
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on June 27, 2016, 02:18:06 pm
No worries Draco, I have it :) I've archived that when you posted it first :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on July 03, 2016, 10:59:09 am
New version is up.

v2016-07-03
  + Added in-game TechTreeViewer

Download: https://drive.google.com/open?id=0B8itkFQbhj-YdWtCNklZR3B1TU0

More info and screenshots: https://openxcom.org/forum/index.php/topic,4697.msg66743.html#msg66743

Translations:
Code: [Select]
extraStrings:
  - type: en-US
    strings:
      STR_TECH_TREE_VIEWER: "TECH TREE VIEWER"
      STR_TOPIC: "Topic>{ALT} {0}"
      STR_SELECT_TOPIC: "Select Topic"
      STR_M_FLAG: " [m]"
      STR_ITEM_REQUIRED: "Item required:"
      STR_REQUIRES: "Requires:"
      STR_DEPENDS_ON: "Depends on:"
      STR_UNLOCKED_BY: "Unlocked by:"
      STR_GET_FOR_FREE_FROM: "Get for free from:"
      STR_REQUIRED_BY: "Required by:"
      STR_LEADS_TO: "Leads to:"
      STR_UNLOCKS: "Unlocks:"
      STR_GIVES_ONE_FOR_FREE: "Gives one for free:"
      STR_RESEARCH_REQUIRED: "Research required:"
      STR_FACILITIES_REQUIRED: "Facilities required:"
      STR_MATERIALS_REQUIRED: "Materials required:"
      STR_ITEMS_PRODUCED: "Items produced:"
      STR_AVAILABLE_TOPICS: "AVAILABLE TOPICS"
      STR_QS_THREE_LETTERS_A: "Please enter at least 3 letters"
      STR_QS_THREE_LETTERS_B: "into the Quick Search box..."
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on July 03, 2016, 01:17:33 pm
Not sure if like... or rather, not like at all as an in-game thing. Should be at least blocked by an option, so the players won't think it's a core, suggested game feature (it gives knowledge the player has no in-game way of obtaining, robs the player of discovery, also makes all the work I invested in spreading vague hints into an idiot's job).
Otoh it will help a bit with debugging :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on July 03, 2016, 01:46:41 pm
How many times have you tried middle-clicking on any of those tables?  ;)

A player who didn't read this thread, will never find it :)
Keeping it out of user options even increases the chance that an average player won't even know it exists. I can add the option tho, if there's interest for it.

PS: I agree that it takes away the discovery part... however with the same breath I have to add, that it is not humanly possible to discover 60% (or probably even more) of the piratez tech tree... you just have NO CHANCE of discovering the pre-requisites for any non-trivial topic... let's say Advanced Chemistry... you would have to play dozens of times to discover maybe 2 or 3 from the pre-requisites (out of total of 7 or 8 I think), optimistically speaking.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on July 03, 2016, 03:17:17 pm
It is possible with enough time and/or replays... that was the intention. It will also be easier as alternate paths to crucial techs will be added in the future.
Although it'd make a poor game for a blind let's play, so I see how this feature is important to you ;) (and like I said, useful for debugging as well!)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on July 03, 2016, 05:29:53 pm
I love how this viewer has made it so much easier to see how many more get one frees are available through topics!!  Its amazing!  Thank you, thank you, Thank YOU!
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: legionof1 on July 04, 2016, 03:40:20 am
I would leave it unmentioned at least until such a time as the tech tree is "done". After that i would(if possible) integrate into debug mode. Most folk don't know/realize how many options there are without specific guidance.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on July 05, 2016, 09:48:20 am
Now if only I could remember where I uploaded or sent that Pirate version of the Soldier Diaries/Commendations I did oh so long ago. It can now be used!

Here: https://openxcom.org/forum/index.php/topic,3626.msg56043.html#msg56043
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on July 05, 2016, 06:00:31 pm
Congrats on the new version! But I have some reservations about the right/middle MB regarding Ufopaedia - isn't it a bit messy? Can you please explain why not MMB everywhere?

After some inspiration, I decided to change it to middle mouse button in the next version... to keep it consistent.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on July 05, 2016, 06:58:01 pm
Speaking of consistency... how about the mechanic change we once discussed? Replace the shift-move 'cheat' with a general mechanics that always disables stopping on contacts when running? This would definitely make for more funny deaths due to unexpected enemies, and force scouts to proceed carefully, which is more realistic than scouting-by-running...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on July 05, 2016, 07:36:10 pm
Speaking of consistency... how about the mechanic change we once discussed? Replace the shift-move 'cheat' with a general mechanics that always disables stopping on contacts when running? This would definitely make for more funny deaths due to unexpected enemies, and force scouts to proceed carefully, which is more realistic than scouting-by-running...

So the result would be:
1/ no modifier - walk, stop on contact
2/ shift - walk, don't stop on contact
3/ ctrl - run, don't stop on contact
4/ shift+ctrl - run, don't stop on contact, i.e. same as option 3/

If so, I like it, and can change it for the next version.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on July 05, 2016, 08:14:01 pm
So the result would be:
1/ no modifier - walk, stop on contact
2/ shift - walk, don't stop on contact
3/ ctrl - run, don't stop on contact
4/ shift+ctrl - run, don't stop on contact, i.e. same as option 3/

If so, I like it, and can change it for the next version.

I like it too!
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on July 06, 2016, 01:26:07 am
Just took out the 3.0 .exe for a test drive.  :)

I got the bad colors at the end of missions awards screen (from commendations mod) as well as all the Soldier Stats screens.

What am I doing wrong?

(https://i.imgur.com/MVcvmRi.png)(https://i.imgur.com/qMaZJD7.png)

Also, looks like we are missing a bunch of the soldier stats language strings.

Edit:  Found them in the Common Language folder from the nightly:
Code: [Select]
  STR_DIARY: "DIARY"
  STR_KILLED: "KILLED"
  STR_STUNNED: "STUNNED"
  STR_PANICKED: "PANICKED"
  STR_MINDCONTROLLED: "CONTROLLED"
  STR_REGION_UNKNOWN: "Undisclosed"
  STR_WEAPON_UNKNOWN: "Improvisation"
  STR_UNKNOWN: "Unknown"
  STR_VICTORY: "Victory"
  STR_DEFEAT: "Defeat"
  STR_NO_RECORD: "No record"
  STR_HUMAN: "Human"
  STR_FRIENDLY: "Friendly"
  STR_HOSTILE: "Hostile"
  STR_NEUTRAL: "Neutral"
  STR_RATING_UC: "RATING"
  STR_LOCATION: "LOCATION> {ALT}{0}"
  STR_DAYLIGHT_TYPE: "TIME> {ALT}{0}"
  STR_RACE_TYPE: "RACE> {ALT}{0}"
  STR_DAY: "Day"
  STR_NIGHT: "Night"
  STR_DAYS_WOUNDED: "DAYS WOUNDED> {ALT}{0}"
  STR_COMBAT: "COMBAT"
  STR_PERFORMANCE: "PERFORMANCE"
  STR_NEUTRALIZATIONS_BY_RACE: "NEUTRALIZATIONS BY RACE"
  STR_NEUTRALIZATIONS_BY_RANK: "NEUTRALIZATIONS BY RANK"
  STR_NEUTRALIZATIONS_BY_WEAPON: "NEUTRALIZATIONS BY WEAPON"
  STR_MISSIONS_BY_LOCATION: "MISSIONS BY LOCATION"
  STR_MISSIONS_BY_TYPE: "MISSIONS BY TYPE"
  STR_MISSIONS_BY_UFO: "MISSIONS BY UFO"
  STR_SCORE_VALUE: "SCORE> {ALT}{0}"
  STR_WINS: "WINS> {ALT}{0}"
  STR_STUNS: "STUNS> {ALT}{0}"
  STR_PANICKS: "PANICKS> {ALT}{0}"
  STR_MINDCONTROLS: "CONTROLS> {ALT}{0}"
  STR_AWARDS: "AWARDS"
  STR_COMMENDATIONS_UC: "COMMENDATIONS"
  STR_COMMENDATIONS: "Commendations"
  STR_MEDALS: "MEDALS"
  STR_LOST_IN_SERVICE: "LOST IN SERVICE"
  STR_MEDAL_NAME: "Medal Name"
  STR_MEDAL_AWARD_LEVEL: "Award Level"
  STR_MEDAL_DECOR_LEVEL: "Decoration Level"
  STR_AWARD_0: "First award"
  STR_AWARD_1: "Second award"
  STR_AWARD_2: "Third award"
  STR_AWARD_3: "Fourth award"
  STR_AWARD_4: "Fifth award"
  STR_AWARD_5: "Sixth award"
  STR_AWARD_6: "Seventh award"
  STR_AWARD_7: "Eighth award"
  STR_AWARD_8: "Ninth award"
  STR_AWARD_9: "Tenth award"
  STR_AWARD_DECOR_0: "None"
  STR_AWARD_DECOR_1: "First bronze pin"
  STR_AWARD_DECOR_2: "Second bronze pin"
  STR_AWARD_DECOR_3: "Third bronze pin"
  STR_AWARD_DECOR_4: "First silver pin"
  STR_AWARD_DECOR_5: "Second silver pin"
  STR_AWARD_DECOR_6: "Third silver pin"
  STR_AWARD_DECOR_7: "First gold pin"
  STR_AWARD_DECOR_8: "Second gold pin"
  STR_AWARD_DECOR_9: "Third gold pin"
  STR_KILLED_IN_ACTION: "KILLED IN ACTION"
  STR_MISSING_IN_ACTION: "MISSING IN ACTION"
  STR_MISSIONS: "MISSIONS"
  STR_AVERAGE_MONTHLY_RATING: "Average monthly rating"
  STR_TOTAL_INCOME: "Total income"
  STR_TOTAL_EXPENDITURE: "Total expenditure"
  STR_MISSIONS_WON: "Missions accomplished"
  STR_MISSIONS_LOST: "Missions failed"
  STR_NIGHT_MISSIONS: "Night missions"
  STR_BEST_RATING: "Best mission rating"
  STR_WORST_RATING: "Worst mission rating"
  STR_ALIEN_KILLS: "Aliens killed"
  STR_ALIEN_CAPTURES: "Aliens captured"
  STR_FRIENDLY_KILLS: "Friendly fire incidents"
  STR_AVERAGE_ACCURACY: "Average accuracy"
  STR_WEAPON_MOST_KILLS: "Most effective weapon"
  STR_ALIEN_MOST_KILLS: "Deadliest alien"
  STR_LONGEST_SERVICE: "Longest months in service"
  STR_TOTAL_DAYS_WOUNDED: "Sick days"
  STR_COUNTRIES_LOST: "Countries infiltrated"
  STR_TOTAL_TERROR_SITES: "Terror attacks"
  STR_TOTAL_BASES: "Bases built"
  STR_TOTAL_CRAFT: "Craft owned"
  STR_TOTAL_SCIENTISTS: "Scientists hired"
  STR_TOTAL_ENGINEERS: "Engineers hired"
  STR_TOTAL_RESEARCH: "Research completed"
  STR_DIARY_ACCURACY: "ACCURACY> {ALT}{0}%"
  STR_STATISTICS: "Statistics"

Edit 2:  I have added a .rul file for the Diaries strings (in proper Piratez parlance ( ie Brainers for Scientists, etc)) at this post in the PirateZ Commendations thread:  https://openxcom.org/forum/index.php?topic=4734.msg66876#msg66876  .  I'd imagine that Dioxine will pull these into the main Piratez.lang file at some point.  Maybe on his next update.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on July 06, 2016, 02:25:32 am
I suspect lack of proper "interfaces"->"elements".
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on July 06, 2016, 09:11:38 am
Just took out the 3.0 .exe for a test drive.  :)
I got the bad colors at the end of missions awards screen (from commendations mod) as well as all the Soldier Stats screens.
Also, looks like we are missing a bunch of the soldier stats language strings.

What am I doing wrong?

When upgrading to 3.0 for the first time, you need to upgrade the ruleset and resources too, not just the EXE.

The full archive (2016-07-05-OpenXcomExPlus30-full.zip) is also in the first post... download it and replace the whole "common" and "standard" subfolders with the content from this archive.

... or wait for new PirateZ version, which will do it for you.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on July 06, 2016, 02:08:43 pm
So the result would be:
1/ no modifier - walk, stop on contact
2/ shift - walk, don't stop on contact
3/ ctrl - run, don't stop on contact
4/ shift+ctrl - run, don't stop on contact, i.e. same as option 3/

If so, I like it, and can change it for the next version.

Yeah, so we can get rid of #4 altogether (and resulting keybinding troubles).

I'll try to do a new release over the weekend. Theme will be magical girls (read: new fun weapons) so Meridian won't get bored by his Plasma Rifles ;) Ofc the focus is on bugfixes mainly.

Also pls, try to find any critical bugs in 3.0 before I make that release, guys :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on July 06, 2016, 03:52:15 pm
When upgrading to 3.0 for the first time, you need to upgrade the ruleset and resources too, not just the EXE.

The full archive (2016-07-05-OpenXcomExPlus30-full.zip) is also in the first post... download it and replace the whole "common" and "standard" subfolders with the content from this archive.

Thanks! I must have missed those instructions somewhere.  I'll try it the recommended way!
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on July 06, 2016, 05:32:12 pm
Thanks! I must have missed those instructions somewhere.  I'll try it the recommended way!

Besides that, I got the same error right now too... so there are probably still some glitches to expect... I remember SupSuper and Shoes were fixing that several times... let's wait until we're in synch with master.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on July 06, 2016, 07:53:38 pm
I'll try to do a new release over the weekend. Theme will be magical girls (read: new fun weapons) so Meridian won't get bored by his Plasma Rifles ;) Ofc the focus is on bugfixes mainly.

Also pls, try to find any critical bugs in 3.0 before I make that release, guys :)

I played about 2 hours in total (I know, not much), but I couldn't find any more criticals.

New version is out, changelog:
v2016-07-06
  + Ufopedia.org about a medal in a soldier's diary can now be accessed directly (just click on a medal name)
  + Ufopedia.org about weapon in hand is now accessible via middle-click, same as in the inventory (not right-click)
  + Soldiers ignore enemies when running (i.e. they don't stop on mutual surprise), when walking this can also be activated by holding SHIFT

Download in the first post. EXE only this time... so don't forget the data files from full package when creating a new release :)

PS: I will be mostly offline from Thursday to Monday.

EDIT: the ignoring of spotted enemies doesn't work very well on 3.0 :( I tested it only on 2.9... I will have a look, see if I can find a quick fix today
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on July 06, 2016, 08:14:16 pm
Download in the first post. EXE only this time... so don't forget the data files from full package when creating a new release :)

Hehe, sure... got burned by this a few times :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: karadoc on July 07, 2016, 05:59:58 am
So the result would be:
1/ no modifier - walk, stop on contact
2/ shift - walk, don't stop on contact
3/ ctrl - run, don't stop on contact
4/ shift+ctrl - run, don't stop on contact, i.e. same as option 3/

If so, I like it, and can change it for the next version.
I'm not certain it's a good idea to make running always ignore enemies. It probably will make people walk more when scouting; but it might also cause players to do a lot of micro-managed two-step runs (or even 1-step runs with right-click cancelling). The change wouldn't prevent people from scouting with run, it would just make it tedious and annoying to scout with run. And so if scouting with run is something the player really wants to do, then the change will have had a negative effect on the game.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on July 07, 2016, 09:48:38 am
Nothing can save players from excessive micromanaging, and Piratez is sure a micromanager's hell in general (still easy-peasy compared to, say, Aurora). I didn't want the 'ignore enemies' option in the first place, but once it's in, let's make it a part of the game, instead of being a 'cheat'... It sure makes the game less annoying, especially if you charge a lot. It does remove the unpredictability of a charge, that's the loss I'm willing to accept.
Also using 2-tile-run won't save you if you fail the reactions check anyway. It will cause some hilarious deaths though, and will hammer the message in, that can later save your own life (don't run when there's snipers around) ;)
Idk, maybe it's a wrong idea, nothing's perfect... If there's a general disapproval, I might change my mind.

PS.
There's a little bug that bothers me, and the post in the other thread (about the Fireball launcher) reminded me of it. It is possible to exceed the max range of a weapon by force-firing in a certain way, since the projectile isn't removed at max range; the engine only disallows you targetting outside of the max range. Would it be possible for the engine to remove the projectile, say, 1 tile past the max range (that 1 extra tile is for sanity reasons...)?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: karadoc on July 07, 2016, 11:44:43 am
Fair enough about the running stuff. I don't have a strong opinion about it; but I do think there will be people out there who won't like the change. I guess feel and flavour must sometimes be preferenced over convenience.
PS.
There's a little bug that bothers me, and the post in the other thread (about the Fireball launcher) reminded me of it. It is possible to exceed the max range of a weapon by force-firing in a certain way, since the projectile isn't removed at max range; the engine only disallows you targetting outside of the max range. Would it be possible for the engine to remove the projectile, say, 1 tile past the max range (that 1 extra tile is for sanity reasons...)?
I haven't looked into this specifically, but I do remember seeing that projectiles already have maximum flying distances. So I'm sure what you are asking for could be done without a lot of trouble. At a guess, the only complication might be a mismatch between how targeting distance is measured and how actual flight distance is measured. (For example, is maximum targeting range measured in 2D, or 3D?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on July 07, 2016, 01:41:03 pm
One way to fix shooting outside today is made that damage it will do be close to zero:
Code: [Select]
  powerRangeThreshold: 10
  powerRangeReduction: 40 #after 10 tiles each another tile will reduce power by 40


Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on July 07, 2016, 02:49:06 pm
One way to fix shooting outside today is made that damage it will do be close to zero:
Code: [Select]
  powerRangeThreshold: 10
  powerRangeReduction: 40 #after 10 tiles each another tile will reduce power by 40

Does it modify the damage smoothly tile by tile, or in 10 tile intervals?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on July 07, 2016, 03:22:52 pm
threshold mean how far need bullet fly to start applying reduction.
From tile 1 to 10 damage is without changes.
in tile 11 damage is reduced by 40
in tile 12 damage is reduced by 80
etc.

btw distance is listed in tiles but calculation is done in vexels. If you shoot diagonal or hit "fat" object reduction could be e.g. 23 because bullet do not fly full tile distance.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on July 07, 2016, 03:31:47 pm
threshold mean how far need bullet fly to start applying reduction.
From tile 1 to 10 damage is without changes.
in tile 11 damage is reduced by 40
in tile 12 damage is reduced by 80
etc.

btw distance is listed in tiles but calculation is done in vexels. If you shoot diagonal or hit "fat" object reduction could be e.g. 23 because bullet do not fly full tile distance.

Right, thanks for the clarification.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on July 07, 2016, 06:00:39 pm
Besides that, I got the same error right now too... so there are probably still some glitches to expect... I remember SupSuper and Shoes were fixing that several times... let's wait until we're in synch with master.

Just chiming in here to confirm that with the latest .exe, I got weird colors on the post mission briefing screen, but the Diaries pages were fine.  And yeah, I saw the bug fix mentions by SupSuper in the Commendations thread too, but I don't know what PR fixed them.  I can look if you like, or we can see if Yankes 3.1 when you pull it in fixes it.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on July 07, 2016, 06:14:04 pm
3.1 will be on the same version of nightly. Right now bug is only in post mission briefing? If its bug in code I could try find commit that fix it.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on July 07, 2016, 07:04:30 pm
About that power reduction with range... what happens if the power drops into negatives?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: legionof1 on July 07, 2016, 07:21:02 pm
Can you increase power with distance? Being able to manipulate dmg like this opens up some cool weapons modeling.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on July 07, 2016, 07:33:29 pm
About that power reduction with range... what happens if the power drops into negatives?
Nothing special. Before any calculations power is test if its greater than zero. Simply if test not pass it will do nothing.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on July 07, 2016, 08:51:56 pm
3.1 will be on the same version of nightly. Right now bug is only in post mission briefing? If its bug in code I could try find commit that fix it.

I looked through the Stats Tracking Thread to see where SupSuper said it was fixed.  His post is from Dec 3, 2015 says he'll look into it. https://openxcom.org/forum/index.php/topic,1718.msg55481.html#msg55481 .

He didn't chime back into that thread anywhere afterward to say it was fixed or not.  I tried browsing his commits in the month of December but couldn't find anything that looked like it fixed that issue.

My best guess is that it may be something in the \standard\xcom1\Interfaces.rul file that doesn't set a palette correctly.

Edit:
Look at this commit:  https://github.com/SupSuper/OpenXcom/commit/4a6b67655dbdfa4228d388e4d867d3b20bbaac8d
this may have something to do with it.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: R1dO on July 08, 2016, 12:07:22 am
Edit:
Look at this commit:  https://github.com/SupSuper/OpenXcom/commit/4a6b67655dbdfa4228d388e4d867d3b20bbaac8d
this may have something to do with it.

If it happens randomly you could be right. The main reason for that commit (at least the ruleset part) was that "elements" was defined twice for the "-type: commendations" causing the garbled screen error at random occasions.
It happens randomly since yaml isn't forced (if that is even possible) to read those nodes in a specific order.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on July 08, 2016, 12:26:25 am
Yeah, I removed the second "elements" definition, and it worked like a charm through two mission debriefs.

\standard\xcom1\Interfaces.rul 

: Remove line 531

Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on July 08, 2016, 12:43:24 pm
New version is up... upgraded to OXCE 3.1... download in the first post... including new data files.

PS: the bug with running is fixed too
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on July 08, 2016, 01:06:44 pm
New version is up... upgraded to OXCE 3.1... download in the first post... including new data files.

PS: the bug with running is fixed too

Great!
Maybe I'll finally get back to modding this weekend. Thanks for the incentive.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: karadoc on July 08, 2016, 02:19:58 pm
I see that you haven't yet included my parabolic collisions fix. Is there some reason not to?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on July 08, 2016, 02:32:42 pm
This fix should go to master branch first. This isn't critical bug that need be included directly to Extended or Extended+.
After that in next big merge it will be included to Extended.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: karadoc on July 08, 2016, 03:02:32 pm
Understood.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Searmay on July 09, 2016, 03:02:20 pm
I can't get the latest version to build.

First, cmake fails because it can't find src/Mod/ModScript.cpp - which makes sense, because it's not on github (https://github.com/MeridianOXC/OpenXcom/blob/oxce3.0-plus-proto/src/Mod/ModScript.cpp). So I removed the reference from src/CMakeLists.txt (line 507) and tried again. It builds for a while, but chokes at the end. I get 134k of errors starting with:

Code: [Select]
CMakeFiles/openxcom.dir/Mod/Armor.cpp.o: In function `OpenXcom::Armor::load(YAML::Node const&, OpenXcom::ModScript const&)':

Given that other people can build it I have to guess I'm doing something wrong with cmake. The commands I used were:

Code: [Select]
git clone https://github.com/MeridianOXC/OpenXcom.git -b oxce3.0-plus-proto
mkdir OpenXcom/build
cd OpenXcom/build
sed -i "/ModScript.cpp/d" ../src/CMakeLists.txt
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j9  && mv bin/openxcom ~/bin/openxcom-new

For the record: I'm using Arch and the Ubuntu binary doesn't work for me. Also the 2.9 branch works fine.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on July 09, 2016, 03:14:08 pm
`ModScript.cpp` is bug, only `ModScript.h` exists.
And for another bug, could you post more? This line don't say any thing useful, only that something happens in that function.
What error exactly is there?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Searmay on July 09, 2016, 04:03:49 pm
Okay, this should be the stderr from make.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on July 09, 2016, 04:20:29 pm
To fix it you need add `Engine/Script.cpp` to cmake.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Searmay on July 09, 2016, 06:03:16 pm
The bad news: it still failed. The good news: extrapolating and adding more files did. I added the following to src/CMakeLists.txt
Code: [Select]
Battlescape/ItemSprite.cpp
Battlescape.ItemSprite.h
Geoscape/AllocateTrainingState.cpp
Geoscape/AllocateTrainingState.h
Geoscape/TrainingState.cpp
Geoscape/TrainingState.h

Thanks for your help.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on July 09, 2016, 06:39:35 pm
Sh***, my bad, I do not include all needed files to it :/ I thought that cmake is more up to date.
I will fix it in next version.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on July 14, 2016, 08:03:29 pm
New version is up.

v2016-07-14
  + Fixed merge issue (various issues with the Inventory UI)
  + Ufopedia.org about a medal can be also directly accessed from Debriefing (Medals UI and Lost In Service UI)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on July 17, 2016, 01:20:32 am
New version is up.

v2016-07-16
  + Fixed CTD (reported in bugs thread, Cacodemon could not render)
  + Fixed issues with overkill
  + Fixed issue with building custom base

Download: https://drive.google.com/open?id=0B8itkFQbhj-Ya1NyclM5UHliY0U
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: alinare on July 17, 2016, 02:48:14 pm
Hello:
When I run the latest version of exe (OpenxcomExPlus32.exe, I get this error.
Any idea?

Thanks in advance.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on July 17, 2016, 03:28:00 pm
Any idea?
We could have idea if you say when it exactly happened.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: alinare on July 17, 2016, 03:43:34 pm

Hi, sorry for not giving more details. Basically, I run the exe, the game seems to start, but a drop to desktop occurs, displaying the message I put into the picture. It may be due to some of the mods, I have installed, but that none of them had bugs in version 2.9. All other versions, the 3.0, the 3.1, have also given me the same problem. Other times, it happens during the game, to change the month, or in combat, barely two shifts, or when shooting at an enemy, and kill him. CTD also occurs during customizadas battles. In addition, the exe, remains as frozen, showing an error message saying that stopped working.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on July 17, 2016, 04:02:57 pm
Have you updated the OXCOM rulesets along with the .exe?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on July 17, 2016, 08:54:40 pm
Have you updated the OXCOM rulesets along with the .exe?

There was no change from 3.1 to 3.2... take the data from 3.1

EDIT: Oh, I guess that wasn't a question for me :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Roxis231 on July 18, 2016, 01:48:36 am
Upgraded to 3.2 last night - but ran into a small problem.

When I looked at the comendations/missions section of the Gal's stats - there were things like STR_LOC_ACADEMY_OUTPOST_COLD, STR_LOC_CHURCH_OUTPOS_JUNGLE and STR_TERROR_MISSION_NO_PENALTY in the list.

After snooping throught the rule files, I came up with a little patch that gives actual names like "Artic Academy Outpost", "Jungle Temple Raid" and "POGROM" rarther than undefined string names.

I put this together in less than 5min so if you can think of better names please post them.

I've included the code for those who want it.

extraStrings:
  - type: en-US
    strings:
      STR_LOC_ACADEMY_OUTPOST_COLD: "Artic Academy Outpost"
      STR_LOC_ACADEMY_OUTPOST_DESERT: "Desert Academy Outpost"
      STR_LOC_ACADEMY_OUTPOST_JUNGLE: "Jungle Academy Outpost"
      STR_LOC_ACADEMY_OUTPOST_TEMPARATE: "Academy Outpost"
      STR_LOC_CHURCH_OUTPOST_COLD: "Icy Temple Raid"
      STR_LOC_CHURCH_OUTPOST_DESERT: "Desert Temple Raid"
      STR_LOC_CHURCH_OUTPOST_JUNGLE: "Jungle Temple Raid"
      STR_LOC_CHURCH_OUTPOST_TEMPERATE: "Temple Raid"
      STR_LOC_GUILD_OUTPOST_COLD: "Icy Warehouse"
      STR_LOC_GUILD_OUTPOST_DESERT: "Isolated Warehouse"
      STR_LOC_GUILD_OUTPOST_JUNGLE: "Jungle Warehouse"
      STR_LOC_GUILD_OUTPOST_TEMPERATE: "Guild Warehouse"
      STR_TERROR_MISSION_NO_PENALTY: "POGROM"
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on July 18, 2016, 02:49:04 am
Already fixed, but it might help someone who doesn't want to wait for my release :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on July 20, 2016, 08:16:07 pm
A plea to fix an age-old deficiency...
Could the Pedia read accuracyMelee and melee TU Cost from Battletype: 3 items (melee weapon) and display them, like it displays accuracies and and TU costs for ranged weapons? It would save a lot of writing for modders and a lot of reading small letters for the players... :)

@Dioxine: I have on my todo list the same for medikits and psiamps... probably came from you, but I can't find it anymore...

1/ can you check the medikits in attachment, if it's OK like that?
2/ do you want it for psiamps too? if yes, do you have also some psiamp-like weapon that has also "Use" besides "Panic" and "Mindcontrol"?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on July 20, 2016, 10:38:31 pm
Hmm this takes too many space... and yes, I do have Psi amps with 'use'. Maybe it should list all TU costs in the upper window? With this, descriptions won't fit...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on July 20, 2016, 10:40:58 pm
Hmm this takes too many space... and yes, I do have Psi amps with 'use'. Maybe it should list all TU costs in the upper window? With this, descriptions won't fit...

Ehm, moving TU cost will not help, unless I am missing something. It will still be three rows max and descriptions begin only after the table.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on July 21, 2016, 11:25:35 am
New version is up.

v2016-07-20
  + Upgraded to OXCE 3.2
  + Added fix for missing bows under certain angles, more info here: https://openxcom.org/forum/index.php/topic,4726.msg66754.html#msg66754
  + Can't sell prisoners in the Debriefing/Loot/Sell window anymore... only later from the Prison
  + CTRL+cancel in "UFO Detected" window will put this UFO on ignore list (=will not be re-detected again, resp. will not pop up again)
  + CTRL+sort in "Equip Crew" and "Soldiers" windows will only show the stat in a dynamic column, without actually sorting the soldiers
  + Physical training stat caps and training speed now moddable, more info: https://openxcom.org/forum/index.php/topic,4581.msg67433.html#msg67433
  + Improved quick search in Inventory (by Stian), now it looks into categories and ammo too, more info: https://openxcom.org/forum/index.php/topic,4520.msg67432.html#msg67432

Please help testing the bows... so that we can ask DEVs to fix it in master too.

Download: https://drive.google.com/open?id=0B8itkFQbhj-YODZtOFJTVExXMzQ
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on July 21, 2016, 03:40:18 pm
  + Can't sell prisoners in the Debriefing/Loot/Sell window anymore... only later from the Prison

^^
Any chance you can make this an option that could be turned on or off?  Its added back a small bit of micro: enter the base screen, enter the prison, deal with prisoners, that I've been quite happily skipping for quite a while now.  It really shines once you have exhausted prisoner research.  It made chasing down and soloing civilian ships with plate armor, just that bit less onerous. :) "Sell everything, done"
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Starving Poet on July 21, 2016, 03:45:59 pm
Within the lore of the game, you could ransom them for less in the debrief (50% ransom value?):  "Give me everything you have on you, and I'll let you go; otherwise you're coming home with us."
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on July 21, 2016, 03:50:29 pm
The reason I did this was that when your prison is constantly full (like mine is), you will always get that warning "Not enough free capacity in the prison"... even if you already sold them in the Sell window just a second ago.

The check if the message should come or not is done before the selling... and it is not trivial to move it (although it may look like the easiest of things).

I don't like the idea of having this as option... I will try to think harder how can I allow selling and get rid of that stupid message at the same time... hopefully with next version it will be back, because your use case does make perfect sense.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on July 21, 2016, 04:05:34 pm
Yeah, I agree that it's annoying if you are being asked for selling something that was already sold... But then again, it's up to you as a player to deal with this. Prisons are cheap, so it's not terribly hard to have two at least. But if it's about UI, then the player can hardly do something about it.
Still, I agree with you Meridian that being asked about someone you no longer have is pretty bad. Actually I think it deserves to be called a bug, and not really acceptable. So... well, it would be great if you could do something about it.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on July 21, 2016, 04:14:19 pm
Well, from my point of view, removing the prisoners from the sell window isn't a good idea - sometimes I sell them from this window, sometimes I'd rather wait for the 'prison is full' message, sometimes I enter the prison and sell them manually. This 'upgrade' removes one of these three options, which is bad. The best would be disabling the 'prison is full' window if you sell enough hostages (stuff is moved to temp 'storage' -> loot sell window -> only then check base capacities). But if it's not possible, I'd rather have stingy players who constantly run at near-100% prison capacity annoyed, than the rest of us bereft of an useful option. Moreover, it makes tracking prison overcrowding much harder to keep, as instead of naturally selling off needless captives immediately, you have to enter the prison manually and check all the stuff by yourself (I'm talking as a player who always aims to have at least 6-7 free space in prison). So players who try to keep prisons half-empty are effectively penalized for their foresight and planning.
Besides, removing prisoners from the initial sell list is very misleading IMO - the player might get confused whom, if any, did he catch.

PS
My designing aim has always been to make building additional prisons a viable option (unlike the OG, where the alien containment you were starting with was enough for the whole game). Annoyed by the constant lack of prison space, build one or two more.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on July 21, 2016, 04:20:05 pm
Yeah, I agree that it's annoying if you are being asked for selling something that was already sold... But then again, it's up to you as a player to deal with this. Prisons are cheap, so it's not terribly hard to have two at least. But if it's about UI, then the player can hardly do something about it.
Still, I agree with you Meridian that being asked about someone you no longer have is pretty bad. Actually I think it deserves to be called a bug, and not really acceptable. So... well, it would be great if you could do something about it.

Prisons are cheap, but building space is very limited.
I really have no more space in my main base to afford another prison.
Two hangars, 3 barracks, one scientific building each + 5 extra study rooms, radar, prison and two big stores.
Unless I resort to slavery -- and I swear by Cthulhu I never will -- I have no more options.


Well, from my point of view, removing the prisoners from the sell window isn't a good idea - sometimes I sell them from this window, sometimes I'd rather wait for the 'prison is full' message, sometimes I enter the prison and sell them manually. This 'upgrade' removes one of these three options, which is bad. The best would be disabling the 'prison is full' window if you sell enough hostages (stuff is moved to temp 'storage' -> loot sell window -> only then check base capacities). But if it's not possible, I'd rather have stingy players who constantly run at near-100% prison capacity annoyed, than the rest of us bereft of an useful option. Moreover, it makes tracking prison overcrowding much harder to keep, as instead of naturally selling off needless captives immediately, you have to enter the prison manually and check all the stuff by yourself (I'm talking as a player who always aims to have at least 6-7 free space in prison). So players who try to keep prisons half-empty are effectively penalized for their foresight and planning.
Besides, removing prisoners from the initial sell list is very misleading IMO - the player might get confused whom, if any, did he catch.

Yes, I will fix it somehow.
Btw. you can still see who has been captured in the Loot window.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on July 21, 2016, 04:24:44 pm
Prisons are cheap, but building space is very limited.
I really have no more space in my main base to afford another prison.
Two hangars, 3 barracks, one scientific building each + 5 extra study rooms, radar, prison and two big stores.
Unless I resort to slavery -- and I swear by Cthulhu I never will -- I have no more options.

You can move a lot of your manufacturing and  scientific capacity to other bases, and keep a tighter hoarding policy. Slavery is an easy way out for hoarders, but not the only way out. You WILL face choices in 'what to build'. Or, even more 'radical' solution, make an interception/loot base with nothing but crew quarters, hangars and stores.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on July 21, 2016, 05:14:17 pm
You can move a lot of your manufacturing and  scientific capacity to other bases, and keep a tighter hoarding policy. Slavery is an easy way out for hoarders, but not the only way out. You WILL face choices in 'what to build'. Or, even more 'radical' solution, make an interception/loot base with nothing but crew quarters, hangars and stores.

Yeah, I find this is the most effective way to campaign in Piratez too.  I do employ slavery, (love the option, actually), but understand that it is perfectly viable to avoid this. The key problem is that one single base is never really enough to effectively "do it all."

Your starter base is your HQ, and should be. Your best research facility is here, you can intercept from here, and can build up some manufacturing capability here.

My next bases are planned with global coverage in mind, and the first is placed to allow the airbus some more visibility in its limited range, before the Pachyderm allows me to place according to global activity as visible in the charts. 

I tend to make that first base my recon base as well, building out hangars for Pigeons & Zepps for better coverage.  I also build a second prison (for holding interesting captives I want to research/break later), and enough stores to hold my good back load of loot.  I'll say this here too:  I never use the large facilities (stores or barracks).  The future single tile versions are far more efficient, and I'll just upgrade my normal vaults to armored vaults, and regular barracks to luxury barracks when the opportunity presents itself.

After my Stores/Recon base, I start working on building my first Manufacturing base.  This gets more workshops and barracks as I have resources, and is mainly for financial support.  Works on X-Grog, then Lingerie until I can get a Mint up, then counterfeiting becomes a full time operation here.  It has the capacity to grind through ore hauls and loads of apples for faster cash if the materials are available, and also provides greater manufacturing that the HQ (which basically processes loot and makes battlefield equipment like weapons, ammo and armor) to do some special runs of equipment production.  This is also a good place to build craft (so it needs a hangar too).

About the same time I get a grog line up in the Manufacturing base, I start my Lab base.  This can start with just a library and a single brainer.  I put in a prison or two and it becomes my main interrogation base.  There is some micro to move prisoners from the intercept base, but that base has higher brainer capacity and can work on figuring out all the stuff we've captured.  I build this base up as resources allow, with Study Rooms being a key tech to allow me to start plopping down facilities for 2 brainers at a time.  I like early combinations of 4 brainers assigned to research projects as it feels pretty efficient.  Later techs become more demanding and I assign 10 or more at time for more difficult techs.  Eventually this base can outstrip the HQ in research capacity (as in my current campaign, 1.3 years in, I have 20 in my Lab base, and 17 at the HQ).

I've also taken to dedicating a base to crew training as Meridian has done in his series.  This is a great second intercept base for keeping the Pachyderm around once you get the Bonny up, if you so desire.  I feel like 20-40 hands here is a good reserve, and start building out this capacity when Dojos and Voodoo schools start becoming available.  I'll rotate wounded troops out to here when they have long recovery times, and otherwise use this to screen Voodoo, and train rookies into Vets.

All of this is solid infrastructure for the mid-game, but for the end-game, One more base needs to be set up: The Industrial Base designed to handle construction of the Conqueror.  This is will become a huge cash cow when Defense Contracting becomes a thing, and we'll just churn out Battle Tanks and fuel cells while waiting to get all the keys necessary. 

Because of the huge Plastasteel and Hellerium requirements of some of these end game items, converting one or two of the last recon bases into huge storage networks has a certain amount of appeal.  I've not played the endgame, so I don't know how often these might be lost in Crackdowns, and how crippling their losses might be.  The cost-benefit of multiple shrouds becomes an interesting question in these instances.

Edit: Blarg.  Just realized I was thinking I was writing this in the main PirateZ thread.  It kinda feels off topic here. Sorry bout that.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on July 21, 2016, 05:39:34 pm
You can easily defend storage bases with an outfit of 25 hands and a host of tanks/auxiliaries (you need a lot of troops to contain enemies on all 3 main levels), provided you have the guns, the patience and 1 space for barracks :) 2 Shrouds are easier to manage but not 100% proof (although crackdown interceptions plus 2-3 good defensive buildings allow to achieve near-100% safety).
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: legionof1 on July 21, 2016, 07:10:38 pm
Base loses are sorta inevitable on bases that can't prevent the landing with defense fire. There are a few spawns of stargods ,ie all true stargods, that are impossible to stop because of invisible+ multiple floors. On the other hand past a certain point everything is expendable so long as you are willing to pay the time.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: alinare on July 24, 2016, 12:53:42 pm
Hello:
A few days ago, I raised a question, because my mods, did not work with version 3.2 exe Meridian. Whether it is solved. It was my fault, of the silliest, ;D when trying to start the exe, no more. I turned off all the mods, and I returned to turn them one by one, -are near nine hundred- and it works. Thank you very much, everyone, for your patience.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Surrealistik on July 25, 2016, 02:15:04 am
Mininukes do wonders on base defense; every base should have them, + a defensive trap room partitioning the hangars and access lift.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on July 27, 2016, 06:48:38 pm
I would appreciate some help with debugging... Here's a link to my latest (unofficial) build:
https://www.mediafire.com/download/50ej5hnkqk3u55i/OpenXcom_XPiratez_0_99A.rar
There are 2 saves in there. Both crash upon ending the mission. I suspect there is something wrong with my Commendations. I can provide additional details if needed, but ATM I'm at loss.

BTW. where to get OXCom debugging tools from?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on July 27, 2016, 07:44:21 pm
I would appreciate some help with debugging... Here's a link to my latest (unofficial) build:
https://www.mediafire.com/download/50ej5hnkqk3u55i/OpenXcom_XPiratez_0_99A.rar
There are 2 saves in there. Both crash upon ending the mission. I suspect there is something wrong with my Commendations. I can provide additional details if needed, but ATM I'm at loss.

BTW. where to get OXCom debugging tools from?

Which version of Commendations are you running?  I don't see it in the /mods/ folder in the archive.

Edit: Also, please don't issue the old version of Alternate Corpses with the archive when you distribute it. :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on July 27, 2016, 07:45:21 pm
Which version of Commendations are you running?  I don't see it in the /mods/ folder in the archive.

It's integrated with the main mod.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on July 27, 2016, 07:51:35 pm
>,<

Yeah, thats gonna make the trouble shooting a pita.

I've probably got more experience troubleshooting commendations rulesets than anyone but Shoes.  I'll try digging these out.
... and probably stop the work I was going to do to creating more graphics.  (btw, the new 'pedia screens are great!)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on July 27, 2016, 08:07:06 pm
Edit: Also, please don't issue the old version of Alternate Corpses with the archive when you distribute it. :)

It's an unofficial build, I will upgrade just prior to shipping an official one to have the latest alt corpses possible :)
Also, commendations are in 2 parts: declarations and pedia in piratez.rul, and the criteria in piratez_planet.rul. The selection is maybe slim atm, but I wanted to test a minimum build first.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on July 27, 2016, 08:09:49 pm
Slim is better!!

I've answered your edit in the commendations thread, and will start digging through your criteria to look for things beyond Original 8 bug.

(Edit: Original8 was the bug)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on July 28, 2016, 08:17:35 pm
@Meridian: since the physical training doesn't work if a soldier is wounded (afaik), how about a function which automatically takes any wounded soldiers off training after a mission ends? I see no need to agonize on it manually.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on July 29, 2016, 10:34:44 am
I would appreciate some help with debugging... Here's a link to my latest (unofficial) build:
https://www.mediafire.com/download/50ej5hnkqk3u55i/OpenXcom_XPiratez_0_99A.rar
There are 2 saves in there. Both crash upon ending the mission. I suspect there is something wrong with my Commendations. I can provide additional details if needed, but ATM I'm at loss.

Problem is with the original 8 award... endless loop (award is getting endless decorations)... I didn't try to fix it, it's quite convoluted code; maybe worth reporting to Shoes.

BTW. where to get OXCom debugging tools from?

Visual Studio 2015 Community edition: https://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx
GIT: https://git-scm.com/download/win

Howto: https://www.ufopaedia.org/index.php/Compiling_with_Microsoft_Visual_C%2B%2B_(OpenXcom)
2015 addition: https://openxcom.org/forum/index.php/topic,3937.msg56803.html#msg56803

@Meridian: since the physical training doesn't work if a soldier is wounded (afaik), how about a function which automatically takes any wounded soldiers off training after a mission ends? I see no need to agonize on it manually.

I don't have a problem with that, I have enough training space :)
I can do this, but only as a user option (default off)... for me it would be very inconvenient, because I would have to remember to manually put them back on training after they recover... which is much harder to track.

But if you (or anyone else) have some more ideas how to optimize the process (other than increasing the dojo capacity), I will gladly implement it.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on July 29, 2016, 05:34:50 pm
Training facilities automation ideas.

I don't really mind the idea of setting up a training base.  It works well, and is not too difficult.  The semi-regular maintenance of the training roster is not a massive chore either.  About once a month, I rebalance the training assignments, bringing up gals who have less than others.  The trait I use as a lazy Guiderule is TUs, as I want everyone to have 100 eventually.

Train the Rookies.  - The routine would find the least experienced soldiers and focus on leveling them up. Maybe the routine runs at end of month with the other maintenance there (or maybe at every Geoscape auto save which is every ten days for me).  At "evaluation time" it would check soldier training again, maybe using a total of all training points and start from the bottom and fill up the training roster again.  Maybe this should be the default option.
Train a Cadre. - In this instance, you would want to train a group of gals up to the highest level. I'm not sure on how to single say, 20 gals out of 40 for this treatment.  Maybe train cadre opens another UI that allows you to "select" which gals are part of the cadre, similar to the one used to assign them to a vessel, or even the armor assignment list.  Otherwise this would be similar to train the rookies.  If you had 20 gals assign to the cadre but only 10 training space, it would level out the progress by ensuring that the least trained ones would always be catching up to their peers.  A simple approach would be to only select enough cadre for your current training capacity.
Sick Leave.  The routine would identify a wounded soldier and check to see if they were in training.  If so, it would assign them to "sick leave" ( add a marker in the save game) and then select a different soldier from the pool according to the setting (rookie/cadre/etc) and assign them to training.  Once the convalescence period is over, at the next evaluation period it would release the substitute student and put the recovered soldier back in.

I suppose that with Smart Training facilities like this (Maybe they are an upgrade?) you could forgo the "Training Base" and just include a facility or two in your operational bases, but that may vary with play style.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on July 29, 2016, 06:35:45 pm
Thanks for everything, my commendations are working now.

I don't have a problem with that, I have enough training space :)
I can do this, but only as a user option (default off)... for me it would be very inconvenient, because I would have to remember to manually put them back on training after they recover... which is much harder to track.

Haha, I knew you'd say that. Usually you have no such luxury as Dojos being added when you're already swimming in cash :) But sure, it should be an option, since you'd want it on early game, but off later, when you don't care about wasted time.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on July 29, 2016, 09:30:21 pm
New version is up.

v2016-07-29
 + Fixed "not enough space in alien containment" message
 + Fixed endless loop when destroying base defense hangars (by SupSuper)
 + Option to show all or only awarded commendations in ufopedia (by default only awarded)
 + Added salaries and maintenance for "Items", more info here: https://openxcom.org/forum/index.php/topic,4774.0.html

As bonus there is a "Piratez Employment" mod:
- many low-level traders, mutants and humans can now be turned into employees, which give +10 storage space, but cost $5'000 per month
- prerequisites: Slavery, Academy, Trader's Guild, The Church, Human Citizens, Raiders
- download: https://openxcom.org/forum/index.php/topic,4774.0.html

Download: https://drive.google.com/open?id=0B8itkFQbhj-YUjZ4TE9IX2JQaVE
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on July 31, 2016, 07:47:11 pm
New version is up.

v2016-07-31
  + Added manufacture dependency viewer
  + Added Ctrl+A shortcut in geoscape debug mode to reset all soldiers' diaries

Download is first post.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on August 02, 2016, 12:35:57 am
Meridian, I have a problem with my X-Com Files mod: if I add battleType: 9 (like the Psi-Amp) to the alien deployment, it is ignored by the game and doesn't appear.
Is there a legitimate reason for this? If no, can it be changed? (I have an item that is a variant of the Psi-Amp and I need some enemies to carry it, even if they can't use it.)

PS. I can't see the search bar. STR_SHOW_QUICK_SEARCH is enabled. What am I doing wrong?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on August 02, 2016, 12:56:32 pm
Try pressing Q? It toggles the search bar on and off.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on August 02, 2016, 01:37:19 pm
Try pressing Q? It toggles the search bar on and off.

Since when? :o
But thanks...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on August 02, 2016, 02:09:00 pm
Since when? :o
But thanks...

Since the beginning.

If STR_SHOW_QUICK_SEARCH = true, then the search box is by default shown, otherwise by default hidden.
In both cases, pressing Q will toggle it.

Meridian, I have a problem with my X-Com Files mod: if I add battleType: 9 (like the Psi-Amp) to the alien deployment, it is ignored by the game and doesn't appear.
Is there a legitimate reason for this? If no, can it be changed? (I have an item that is a variant of the Psi-Amp and I need some enemies to carry it, even if they can't use it.)

I am not around my PC these days, I'll have a look today in the evening (maybe), or on Thursday.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on August 02, 2016, 03:00:10 pm
Since the beginning.

Oh, okay. :)
I never needed to know this, since I prefer to just leave it on.

If STR_SHOW_QUICK_SEARCH = true, then the search box is by default shown, otherwise by default hidden.

Yeah, that's the thing... The window stays hidden regardless of setting.

I am not around my PC these days, I'll have a look today in the evening (maybe), or on Thursday.

Much appreciated!
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on August 03, 2016, 08:05:35 pm
Meridian, since you already worked on the training stuff, would there be a possibility to make the training cap relative to the soldier's starting stats?

I'm thinking of this especially for Psi training. I usually use it, since I hate sorting through piles of soldiers and firing the ones with low psi and/or low reactions. Training facilities help that, but then, especially with Psi on long campaigns like Piratez, you end up with everyone at the cap, which isn't really proper either.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on August 03, 2016, 08:44:33 pm
a possibility to make the training cap relative to the soldier's starting stats?

While this notion is interesting modding-wise, I won't ever make it a part of an official build. Soldiers Marked With Suck (except with Psi Power, because it's magic) have no place here.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on August 03, 2016, 09:27:51 pm
Yes, I am particularly interested in it for psi, as I mentioned. Either you just go through a mindless sorting step (and frustrating firing of half your early crew) or you train and with the time allowed, end up with everyone at maxed voodoo..

I guess setting a training cap for psi strength lower than the max stat would do the trick, actually.. I'll have to look if that's possible with psi training. Then I can set that to.. 45? Recover my psi weaklings after a few months training and get rid of screening..
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on August 03, 2016, 09:42:34 pm
Oh, so you mean playing with psi strength training on? Idk, I don't particularly like that setting and never use it, since I feel  the variety is lost that way (I don't sack the old crew, I might only move them to secondary posts - also, the original 6 pirates are guaranteed to have at least 40 Psi Str now). But yeah, the ability to set training cap on psi str would be consistent with the rest.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on August 03, 2016, 10:12:45 pm
Yes, as I said, I like that option and enabled it in this playthrough as I do usually in normal XCom. Since in vanilla you can start stupid low, it goes all the way to 100 and a campaign is generally less than a year, I've never had balance issues with it. My psi-weak soldiers never really catch up with the good ones, at the very least not to the point where they become worthy psi-users themselves.

In Piratez, I've had voodoo schools for more than a year, so the training has added up, to the point where my weakest psi-soldiers are now at the cap like everyone else. I don't encounter psi enemies much (just got my 2nd esper so I can break one in late 2602, haven't seen a provost yet) and can't use it much (no witch outfit :/) so I never noticed, then yesterday when sorting troops to take on the academy pogrom, I realized this had gotten all screwy. Gotta edit my save to bring the psi power training down a notch.

Thinking back, a relative cap isn't necessary, although it could be interesting (defined as a %? like str: 1.5 means you can add 50% to your starting strength, then rest you need to train in the field for). But for psi, the ability to define a cap is all that's really "needed" for me. Something like 40 str, 10 skill, and the rest needs to be trained in the field. This gives a further reason to have wands and odd voodoo outfits, which I have overlooked until now.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Surrealistik on August 04, 2016, 01:58:51 am
Wands are actually quite good since the recent buff; ranged high probability/guaranteed hit stun, armour ignoring bleed inducing damage (disabled and captured a heavily armoured Guildmaster in this way) and fire spam are all solid (I've only had experience with the first tier).

Would like to see more of them though (say healing, smoke generation, breaching, explosive, maybe even short range teleportation? wands) , and apparently they're coming.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on August 04, 2016, 03:20:31 am
Teleportation is interesting, but no code support for it atm.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on August 04, 2016, 12:24:12 pm
Meridian, I have a problem with my X-Com Files mod: if I add battleType: 9 (like the Psi-Amp) to the alien deployment, it is ignored by the game and doesn't appear.
Is there a legitimate reason for this? If no, can it be changed? (I have an item that is a variant of the Psi-Amp and I need some enemies to carry it, even if they can't use it.)

If I read the code correctly, hostiles can carry battleType=9 items only in their hands (and if both are already full, it's just ignored):
 https://github.com/MeridianOXC/OpenXcom/blob/oxce3.0-plus-proto/src/Savegame/SavedBattleGame.cpp#L1300

This behavior was added by Yankes on December 6th 2014:
 https://github.com/Yankes/OpenXcom/commit/2df6b7cc454583444d058c465634785a246e7683

Maybe ask him why?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on August 04, 2016, 12:54:46 pm
Many thanks. I've asked Yankes.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on August 07, 2016, 09:11:52 pm
New version is up.

v2016-08-07
  + Added possibility to manufacture scientists, engineers and soldiers
  + Workaround for Commendations CTD (not a fix, just skipping part which would crash)

Download: https://drive.google.com/open?id=0B8itkFQbhj-YNEZ6S1ZCeFI0RTA


Added attributes "spawnedPersonType" and "spawnedPersonName" for manufacture projects.
Cannot use auto-sell button for such projects.
Each project reserves 1 living space.

Examples:

Code: [Select]
    spawnedPersonType: STR_ENGINEER # puts 1 engineer in the base directly, no transfer time
    spawnedPersonName: STR_OPTIONAL # optional

    spawnedPersonType: STR_SCIENTIST # puts 1 scientist in the base directly, no transfer time
    spawnedPersonName: STR_OPTIONAL # optional

    spawnedPersonType: STR_SOLDIER_S # creates a transfer (same as with buying), soldier (of the given type) will arrive after some time
    spawnedPersonName: STR_TEST_NAME # optional, e.g. John McClane

Translations:

Code: [Select]
      STR_PERSON_JOINING: "Person Joining"
      STR_NOT_ENOUGH_LIVING_SPACE_AT_BASE: "Not enough living space to accomodate{NEWLINE}{0}{NEWLINE}at{NEWLINE}{1}"

      STR_TEST_NAME: "John McClane" # example of custom name for soldier manufacturing
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on August 07, 2016, 09:44:31 pm
Me gusta.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: niculinux on August 07, 2016, 09:53:46 pm
Cyborgs?! :o  ;D ;D hey, hope that would not make game too easy, since they're not likely to earn a salary? ;)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on August 07, 2016, 11:56:01 pm
Cyborgs?! :o  ;D ;D hey, hope that would not make game too easy, since they're not likely to earn a salary? ;)

Dude, that was racist.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: alinare on August 08, 2016, 01:22:20 am

Hello:
I created one for my mod. He has a cannon, and hits punches.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on August 08, 2016, 01:30:27 am
Pure gritty beauty. Is he from Chaos Engine?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: alinare on August 08, 2016, 01:32:22 am
You are right. I forgot to mention. :-*
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on August 09, 2016, 10:45:08 am
New version is up.

v2016-08-08
  + Added active camouflage and anti-camouflage, more info: https://openxcom.org/forum/index.php/topic,4822.0.html

Download: https://drive.google.com/open?id=0B8itkFQbhj-YSEdOOWJScjlmdkE

EDIT: I found a rather serious bug in there... will upload a new version in 1 hour.
EDIT2: Uploaded a fixed version.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on August 11, 2016, 03:12:31 pm
New version is up.

v2016-08-11
  + Allowed camouflage on ALL units (i.e. friendly and neutral too)
  + Fixed/support for turretType for builtInWeapons
  + Global equipment layouts, more info: https://openxcom.org/forum/index.php/topic,4747.msg69139.html#msg69139

Download: https://drive.google.com/open?id=0B8itkFQbhj-YanoxNzFwT0FrbDQ
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Surrealistik on August 11, 2016, 09:58:09 pm
Do I need to do anything else besides run the latest version through the provided executable in order to get the mod features?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on August 11, 2016, 10:03:49 pm
Do I need to do anything else besides run the latest version through the provided executable in order to get the mod features?

Just replace your current EXE with this new EXE.

Breaking changes are introduced only when we increase the version number (i.e. from 2.9 to 3.0). If the version number stays (you can check that in the first post), it's safe to update.

PS: You might want to add missing translations, which I usually provide in dedicated posts, if you don't want to wait for Dioxine to do it for you.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on August 12, 2016, 03:14:11 pm
Question: If I have 2 training facilities, each one with a different training efficiency (one, say, 0.8, another one, 0.4), what is the real training efficiency of my soldiers?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on August 12, 2016, 03:28:56 pm
Question: If I have 2 training facilities, each one with a different training efficiency (one, say, 0.8, another one, 0.4), what is the real training efficiency of my soldiers?

If you're referring to "customTrainingFactor"... that's a global parameter (there's only 1).
I am not aware of any parameter on the facility itself.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on August 12, 2016, 06:28:52 pm
Ah, thanks. I thought it was facility-specific.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on August 13, 2016, 03:47:16 pm
New version is up.

v2016-08-13
  + Added support for max number of facilities (of given type) per base, more info: https://openxcom.org/forum/index.php/topic,4830.msg69302.html#msg69302
  + Added support for sick bays, more info: https://openxcom.org/forum/index.php/topic,4830.msg69294.html#msg69294
  + Option to automatically remove wounded soldiers from training
  + Ability to exclude a soldier type from the promotion system, more info: https://openxcom.org/forum/index.php/topic,4830.msg69242.html#msg69242
  + Added support for randomized item lists in map block ruleset, more info: https://openxcom.org/forum/index.php/topic,4830.msg69240.html#msg69240
  + Fixed AI melee bug (by Yankes)

Recent translation strings:

Code: [Select]
      STR_PERSON_JOINING: "Person Joining"
      STR_NOT_ENOUGH_LIVING_SPACE_AT_BASE: "Not enough living space to accomodate{NEWLINE}{0}{NEWLINE}at{NEWLINE}{1}"
      STR_EMPTY_SLOT_N: "Empty slot {0}"
      STR_UNNAMED_SLOT_N: "Unnamed slot {0}"
      STR_LOAD_EQUIPMENT_TEMPLATE: "LOAD EQUIPMENT TEMPLATE"
      STR_SAVE_EQUIPMENT_TEMPLATE: "SAVE EQUIPMENT TEMPLATE"
      STR_SAVE_UC: "SAVE"
      STR_RANK_NONE: "-"
      STR_NO_WOUNDED: "-"
      STR_CANNOT_BUILD_MORE_OF_THIS_FACILITY_TYPE_AT_BASE: "The maximum allowed number of facilities of this type in this base has been reached!"

Download: https://drive.google.com/open?id=0B8itkFQbhj-YMEN4cV9kNGRqSVE
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: niculinux on August 15, 2016, 05:53:57 pm
New version is up.

v2016-08-13
[...]

There's a tiny bug, as in screenshot. Maby replace the .exe?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on August 15, 2016, 06:18:04 pm
There's a tiny bug, as in screenshot. Maby replace the .exe?

Translations are NOT part of the EXE... and please note that I repeat this to you niculinux for the 3rd time now. Goldfish memory?

Either add the translation yourself, or wait for Dioxine to do it for you with next release.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: niculinux on August 15, 2016, 07:42:26 pm
Translations are NOT part of the EXE... and please note that I repeat this to you niculinux for the 3rd time now. Goldfish memory?

Either add the translation yourself, or wait for Dioxine to do it for you with next release.

Ah i thought it was not translation depending...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on August 15, 2016, 09:38:12 pm
New version is up.

2016-08-15
  + Added Craft Pilots GUI
  + Rebalanced pilot bonuses
  + Pilot approach/disengage speed bonus (based on bravery)
  + Pilot dodge bonus (based on reactions)
  + Pilot accuracy bonus (based on firing accuracy)
  + Ability to exclude a soldier type from piloting a craft
  + Craft can now require pilots

More info:
- https://openxcom.org/forum/index.php/topic,4830.msg69353.html#msg69353
- https://openxcom.org/forum/index.php/topic,4830.msg69387.html#msg69387

Download: https://drive.google.com/open?id=0B8itkFQbhj-YSTNxVk04R194WFU

New ruleset:

Code: [Select]
crafts:
  - type: STR_VENTURA
    soldiers: 18
    pilots: 2 # requires 2 pilots to take off (pilots are taken from crew, from the bottom)
    vehicles: 2
soldiers:
  - type: STR_DOG
    allowPromotion: false
    allowPiloting: false # cannot be a pilot

New translation:

Code: [Select]
      STR_NOT_ENOUGH_PILOTS: "Not enough pilots!{NEWLINE}Minimum: {0}"
      STR_PILOTS: "PILOTS"
      STR_PILOTS_FOR_CRAFT: "Pilot(s) for {0}"
      STR_PILOTS_REQUIRED: "Pilot(s) required: {ALT}{0}"
      STR_HINT: "Hint: pilots are the last members of your crew."
      STR_ACCURACY_BONUS: "Accuracy bonus:"
      STR_DODGE_BONUS: "Dodge bonus:"
      STR_APPROACH_SPEED: "Approach speed:"
      STR_COWARDLY: "Cowardly (-50%)"
      STR_NORMAL: "Normal"
      STR_BOLD: "Bold (+50%)"
      STR_VERY_BOLD: "Very bold (+100%)"

(https://openxcom.org/forum/index.php?action=dlattach;topic=4830.0;attach=23407)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on August 17, 2016, 11:56:34 pm
New version is up.

2016-08-17
  + Added new type of shotgun behavior (by ohartenstein23), more info: https://openxcom.org/forum/index.php/topic,4520.msg69616.html#msg69616
  + Added ability to select pilots from crew manually

Download: https://drive.google.com/open?id=0B8itkFQbhj-YMjA5eGtyZjBjclE

(https://openxcom.org/forum/index.php?action=dlattach;topic=4830.0;attach=23454;image)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on August 18, 2016, 07:33:09 am
So Solar has his own wish list.  When I thought of something today I wondered if you had looked into it, so I thought I'd ask here.

I had a crackdown earlier, and had many defenses fire and hit the Cruiser that was assaulting.  Of course they weren't enough, so straight into the hideout defense battle.  I chose not to fight this with three gals there and reloaded to prep for it.

But what I got to thinking was, "Has Meridian taken a look at the ability to apply damages on an assaulting craft to minimize the number of assaulters?"

I remember that there have been discussions with the devs on this, and my take away was that it seemingly was too hard to do.  This may be the case, I'm not sure.

I'd like to ask how "damaged UFOs" spawn dead enemy units, and wonder if this same process could be applied to the assaulting party. 

One thought is reduce it by the same percentage of damage inflicted on it.

Anyway, thought I'd ask if you have looked at it.  Sorry if you did and I don't remember.  Feel free to tell me that its just too hard to do. :) 
Thanks for all the amazing improvements you have made for this game on top of being such an entertaining video producer and excellent player!
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on August 18, 2016, 10:25:10 am
So Solar has his own wish list.

You've more than deserved the right for your own wishlist too btw.

When I thought of something today I wondered if you had looked into it, so I thought I'd ask here.

I had a crackdown earlier, and had many defenses fire and hit the Cruiser that was assaulting.  Of course they weren't enough, so straight into the hideout defense battle.  I chose not to fight this with three gals there and reloaded to prep for it.

But what I got to thinking was, "Has Meridian taken a look at the ability to apply damages on an assaulting craft to minimize the number of assaulters?"

No, Meridian doesn't implement features that are a disadvantage to the poor aliens... unless specifically asked for.

I remember that there have been discussions with the devs on this, and my take away was that it seemingly was too hard to do.  This may be the case, I'm not sure.

I'd like to ask how "damaged UFOs" spawn dead enemy units, and wonder if this same process could be applied to the assaulting party. 

That's pretty easy. All enemy units are first spawned alive (remember, game would crash, if you just spawned a corpse). When a UFO crashes, there is a 75% chance for each power source to explode violently. These explosions are the cause of all pre-battle deaths.

One thought is reduce it by the same percentage of damage inflicted on it.

Anyway, thought I'd ask if you have looked at it.  Sorry if you did and I don't remember.  Feel free to tell me that its just too hard to do. :) 

It's not hard to implement, actually it is pretty easy. But deep inside you too want aliens to have a fair chance :) Your troops are also not killed, even if your craft survives with just 1%.

Thanks for all the amazing improvements you have made for this game on top of being such an entertaining video producer and excellent player!

Oh you! Now I'm blushing like a 13-year old before the first kiss.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on August 18, 2016, 11:04:03 am
Yes, I fully agree with Meridian: crew losses on assault would not only depower the enemy, but would do so in a bad way. In early game you have very little AA power, so there wouldn't be much losses; on the other hand, later in the game, hideout defences would become easier, because even if you don't destroy the UFO, you reduce its crew. I don't think it's good difficulty curve.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: legionof1 on August 18, 2016, 11:14:15 am
Difficulty curvatures aside don't mess with the one the best battles in the game. Base defense is one of the few times the tactical aspect feels like more like a battle and not a multiple hour chess match with a retard. Good play is still rewarding but the AI dosen't lose 50% of its forces without contest. Also pressure is on not to fuck up so you feel each mistake more.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on August 18, 2016, 11:58:09 am
But what I got to thinking was, "Has Meridian taken a look at the ability to apply damages on an assaulting craft to minimize the number of assaulters?"

I remember that there have been discussions with the devs on this, and my take away was that it seemingly was too hard to do.  This may be the case, I'm not sure.

This wouldn't be very realistic. Either the landing craft survives the barrage and lands with little losses (accounted for by the RNG unless you play Jack Sparrow which isn't a very fair diff level), or it does crash and cannot complete the mission.
I went through major pains to make this whole affair more fun for the player, hence multiple types of attacking craft (so light defences can stop some of them), various small bonuses for building defences etc. Not saying it's a reason to stop innovation, but I don't like this particular solution. To make defences matter more, I'd rather see them capable of engaging enemy crafts mid-air, instead of serving as point-defence only.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Surrealistik on August 18, 2016, 12:09:19 pm
Difficulty curvatures aside don't mess with the one the best battles in the game. Base defense is one of the few times the tactical aspect feels like more like a battle and not a multiple hour chess match with a retard. Good play is still rewarding but the AI dosen't lose 50% of its forces without contest. Also pressure is on not to fuck up so you feel each mistake more.

Really?

Between a flame pit choke and hyperwave facing said choke (prevents them from routing through the ventilation system and gives you a door to peekaboo a rotation of snipers/bombardiers out from at the main level), plus small launchers + mininukes/fireball launchers/misc aoe weapon + landmines + smoke + any high powered sniping weapon with an accurate aimed shot, I never found it to be a real source of casualties when prepared with proper armaments.

I normally have my dudes destroy all the access lift doors in their LoF so they can shoot AoEs past that into the Hangar while behind an oppressive death curtain of mines, fire, smoke and reaction fire.

Invading the hangar when the dust has settled is probably the most dangerous thing, but as long as you don't overextend, all is well. The worst parts are when you're forced to rely on reaction fire during the approach, because even after you've laid waste and made a friend of horror and mortal terror (https://youtu.be/o6tV1yfEPTk?t=60), sometimes the RNG just doesn't work out and they conquer their fear to come at you bro.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on August 18, 2016, 12:25:29 pm
It's also about how you (want to) play.
Blowing everything up is a solution... but not everyone finds it enjoyable.

Reading through your post, you'd probably enjoy hellrazor's Hardmode more than Piratez... give it a try if you haven't already.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on August 18, 2016, 01:48:27 pm
  + Added ability to select pilots from crew manually

And what of my carefully prepared deployment maps? Now pilots will spawn in completely random places instead of the cockpit :(
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on August 18, 2016, 01:56:03 pm
And what of my carefully prepared deployment maps? Now pilots will spawn in completely random places instead of the cockpit :(

I will put my pilots on the bottom of the list  8)
The lore-haters and constant-whiners can have them in the middle.

EDIT: or I can make it a user option... I guess people (incl. me) will get sick of manual assignment eventually
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on August 18, 2016, 02:22:35 pm
EDIT: or I can make it a user option... I guess people (incl. me) will get sick of manual assignment eventually

I'm already sick of it :) No, it's a good option, but auto-filling was much quicker. And allowed to use sorting tools on the crew list. Anyway... for the players, it's mostly a story for the next mod update :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on August 19, 2016, 09:05:23 pm
A quick request: When sorting, it sorts with the highest stat at the bottom. That works well if you want rookies out first and vets out last, but in Piratez I like to have high reactions out first (the reaction balance in Piratez favors the gals and you can actually step out without getting reaction shots with good gals).

So I was wondering if it would be possible implement something like:
Select a sorting for the first time -> sort with highest stat at the bottom
Select the same sorting again -> sort with highest stat up top
Select the same sorting a 3rd time -> flip again, etc
Select another sorting for the first time -> sort with highest stat at the bottom
Select that one again -> flp, etc

Thanks! And for all the other cool features :D
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: The Think Tank on August 20, 2016, 01:08:49 am
So, pardon my ignorance Meridian, but for downloading these additions do I just go to the source code and download it from there (and hopefully follow some instructions on how to integrate it into my game) or am I missing something?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on August 20, 2016, 09:59:47 am
A quick request: When sorting, it sorts with the highest stat at the bottom. That works well if you want rookies out first and vets out last, but in Piratez I like to have high reactions out first (the reaction balance in Piratez favors the gals and you can actually step out without getting reaction shots with good gals).

How about:
1. click = sort ASC
2. shift+click = sort DESC
3. ctrl+click = don't sort, just show the stats... I use this one a lot lately

So, pardon my ignorance Meridian, but for downloading these additions do I just go to the source code and download it from there (and hopefully follow some instructions on how to integrate it into my game) or am I missing something?

No pardon needed, I'm always happy when someone new shows interest.

Can I ask two questions first, so that I don't have to write a really long answer?

1. are you using windows or linux? or something else?

2. what do you want to play with OXCE+?
a/ x-piratez
b/ x-com files
c/ vanilla xcom (with a few small mods)
d/ vanilla tftd
e/ a bigger vanilla-based mod (e.g. Hardmode, Area 51, XOps's mod, robin's mod, ...)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on August 20, 2016, 06:50:31 pm
How about:
1. click = sort ASC
2. shift+click = sort DESC
3. ctrl+click = don't sort, just show the stats... I use this one a lot
What? That's already in? My god! It's like a treasure hunt :D thanks!
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on August 20, 2016, 09:02:13 pm
I just tried and the ctrl-click works, but not the shift-click.

I guess you were suggesting an alternative way to implement it? Yes, that'd work too! :D
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: khade on August 21, 2016, 01:29:22 am
I guess this could be a good time to ask how well OXCE+ is with the base games, and any requirements for that.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Starving Poet on August 21, 2016, 06:10:43 am
I'm using it in my TFTD playthrough - some of the colors are off, but it otherwise works fine. 
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on August 21, 2016, 09:56:27 am
I guess this could be a good time to ask how well OXCE+ is with the base games, and any requirements for that.

Although I have never played UFO/TFTD with OXCE+ I can say it should be 99.9% compatible.

The only issues you should encounter are:
- missing translations (both UFO and TFTD), you can add them manually, I posted most of them on the forum
- weird colors sometimes, since the early changes have them hardcoded (in TFTD only)
I'll fix both eventually.
- TFTD ufopedia articles are probably missing new stuff (since they are not shared with UFO)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on August 21, 2016, 10:57:14 am
I think an OXCE+ version for vanilla X-Com, not a mod, could become extremely popular. I mean just new versions of rulesets that make use of the new options.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on August 21, 2016, 12:20:23 pm
New version is up.

2016-08-21
  + Shift+click to sort descending (using sort comboboxes)
  + Added cockpit capacity to Craft Pedia articles
  + Cosmetic change in Manufacture Overview (added one pixel to allocated runts)
  + Added support for different prison types, more info: https://openxcom.org/forum/index.php/topic,4830.msg69933.html#msg69933
  + Added support for heat vision and psi vision, more info: https://openxcom.org/forum/index.php/topic,4830.msg69871.html#msg69871
  + Added option to auto-assign pilots

Download: https://drive.google.com/open?id=0B8itkFQbhj-YNTNtYnUwWkk3d0U

@Solarius: the different prison types should be properly tested... I didn't have enough data/time to test all cases

Translations:

Code: [Select]
#new
      STR_PILOTS_HINT: "Hint: pilots are the last members of your crew."
      STR_COCKPIT_CAPACITY: "PILOTS>{ALT}{0}{ALT}"
#to be fixed by dioxine
      STR_MISSIONS: "MISSIONS> {ALT}{0}"
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on August 23, 2016, 08:31:37 pm
Is heatVision: 0 the default OXCom behaviour?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on August 23, 2016, 08:48:39 pm
Is heatVision: 0 the default OXCom behaviour?

Yes.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Moon_Dew on August 25, 2016, 04:17:58 am
Aren't these mods and resources already in X-PirateZ by default?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ohartenstein23 on August 25, 2016, 04:54:02 am
Yes; this thread is for the version of the OXC executable that Meridian writes with the intention of these features being used by Dioxine in X-Piratez.  It can be used for other mod's or a vanilla game, but most of the new features are implemented for X-Piratez.  The X-Com Files also uses this code too, so you'll find Solarius Scorch often weighing in here too.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on August 25, 2016, 11:20:50 pm
New version is up.

2016-08-25
  + Added support for environmental conditions, more info: https://openxcom.org/forum/index.php/topic,4830.msg70353.html#msg70353
  + Starting conditions by terrain, more info: https://openxcom.org/forum/index.php/topic,4830.msg70509.html#msg70509
  + Small LoF fix (by karadoc), more info here: https://openxcom.org/forum/index.php/topic,4706.msg70254.html#msg70254
  + Added missing includes

Download: https://drive.google.com/open?id=0B8itkFQbhj-YVDhrd2xIN1kxM1E

PS: environmental conditions will require a lot of testing...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on August 26, 2016, 09:24:04 pm
New version...

2016-08-26
  + Pilots can gain experience from dogfights, info: https://openxcom.org/forum/index.php/topic,4830.msg70566.html#msg70566
  + Showing number of shots for autoshot in Ufopedia, info: https://openxcom.org/forum/index.php/topic,4830.msg70536.html#msg70536

Download: https://drive.google.com/open?id=0B8itkFQbhj-YdkhMclJBNkZHXzA
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Starving Poet on August 27, 2016, 03:15:37 am
I might have missed this from before, but is there a reason why the custom loadouts can't be used during mission briefing?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on August 27, 2016, 09:14:10 am
I might have missed this from before, but is there a reason why the custom loadouts can't be used during mission briefing?

Probably a bug.

- direct hotkeys work only in base or during briefing, not during mission; same for load GUI
- save GUI works always, i.e. also during mission

EDIT: fixed, will be available in next update
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Starving Poet on August 30, 2016, 08:00:59 am
I was messing around with some of the features in TFTD and found that coup de grace causes a crash due to a missing sound file.

Code: [Select]
[29-08-2016 23:56:45] [ERROR] Sound 4294967295 in BATTLE2.CAT not found
[29-08-2016 23:56:45] [FATAL] A fatal error has occurred: code 0xc0000005
[29-08-2016 23:56:45] [FATAL] SymFromAddr failed: 487
[29-08-2016 23:56:45] [FATAL] SymFromAddr failed: 487
[29-08-2016 23:56:45] [FATAL] SymFromAddr failed: 487
[29-08-2016 23:56:45] [FATAL] 0xb1bdd0 SDL_FreeWAV (SymGetLineFromAddr64 failed: 487)
[29-08-2016 23:56:45] [FATAL] SymFromAddr failed: 487
[29-08-2016 23:56:45] [FATAL] SymFromAddr failed: 487
[29-08-2016 23:56:45] [FATAL] SymFromAddr failed: 487
[29-08-2016 23:56:45] [FATAL] SymFromAddr failed: 487
[29-08-2016 23:56:45] [FATAL] SymFromAddr failed: 487
[29-08-2016 23:56:45] [FATAL] SymFromAddr failed: 487
[29-08-2016 23:56:45] [FATAL] 0x742138d0 BaseThreadInitThunk (SymGetLineFromAddr64 failed: 487)
[29-08-2016 23:56:45] [FATAL] 0x77505b90 RtlUnicodeStringToInteger (SymGetLineFromAddr64 failed: 487)
[29-08-2016 23:56:45] [FATAL] 0x77505b90 RtlUnicodeStringToInteger (SymGetLineFromAddr64 failed: 487)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on August 30, 2016, 04:31:48 pm
Afaik it plays melee weapon hitsound, and vanilla UFO & TFTD melee weapons lack any (there's only swing sound), due to flat 100% hit chance. Should work if you mod said sounds in.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on August 30, 2016, 05:00:16 pm
I was messing around with some of the features in TFTD and found that coup de grace causes a crash due to a missing sound file.

Afaik it plays melee weapon hitsound, and vanilla UFO & TFTD melee weapons lack any (there's only swing sound), due to flat 100% hit chance. Should work if you mod said sounds in.

Btw. I will be removing the whole 'coup de grace' feature eventually. I haven't used it once.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on August 30, 2016, 05:06:58 pm
I used it once when it was new, then didn't need it either.. normally I execute things by autoshoting at the tile where their body lays, that feature of oxc is quite nice. Maybe since melee might be able to destroy terrain, it could also work on corpses? (If there's no walls or object, target corpse)

The TU cost associated with picking up, executing and dropping is just too high compared to the shooting option. (Snapshot from a power mace or hammer also works really well, hence my asking if melee could also do it this way with the new terrain damage implementation)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on August 30, 2016, 06:52:55 pm
I've never seen the usefulness of this option, beside sheer sadism (unconscious enemies are a boon, not a problem), but I guess it makes sense that such an option exists, also, whatever floats Meridian's boat - without him, there would be no Piratez as we know them now :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Starving Poet on August 30, 2016, 07:47:32 pm
I've never seen the usefulness of this option, beside sheer sadism (unconscious enemies are a boon, not a problem), but I guess it makes sense that such an option exists, also, whatever floats Meridian's boat - without him, there would be no Piratez as we know them now :)

In my defense it was an Artifact Site with 10 unconscious tentaculats  ;D
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on August 30, 2016, 07:51:29 pm
In the case of Tentaculats, I'd use the biggest explosive I have on each of these muthas, no expense spared :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Surrealistik on August 30, 2016, 07:53:15 pm
I like the Coup De Grace feature.

I only really use it during Mansion runs when I'm murdering people early to start a panic after TK projectors KO them while clearing terrain, but it's useful to me nonetheless.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on August 30, 2016, 08:05:39 pm
I like the Coup De Grace feature.

Of course you do, that's no-brainer ;)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: UnholyAngel on August 31, 2016, 01:43:37 pm
I found Coup De Grace feature useful to deal with Cyclops, since they are tend to survive fairly often no matter what you to at them.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on August 31, 2016, 04:38:12 pm
You should capture them. They're useful with the right tech.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Starving Poet on September 01, 2016, 01:08:11 am
Meridian, how difficult would it be to save loadouts for items on a ship?  Not like ship weapons, but the stuff your gals can carry around.

I often find myself with multiple transports all with nearly identical loadouts just so I can have a couple teams in the air.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on September 01, 2016, 01:13:53 am
Meridian, how difficult would it be to save loadouts for items on a ship?  Not like ship weapons, but the stuff your gals can carry around.

I often find myself with multiple transports all with nearly identical loadouts just so I can have a couple teams in the air.

On a scale from easy to difficult?
Easy.

I have it on my todo list, in section "nice to have" for a few months now... let me bump the prio a little bit.
Anyone else interested in this?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on September 01, 2016, 01:36:25 am
You mean like having a "Bonny-Raiding" and a "Bonny-Mansion" equipment list, so you can easily swap between your normal equipment and what you take to mansions? It never occurred to me that I needed it, but now that I know it could exist, I'd use that! ;)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on September 01, 2016, 02:20:01 am
Oh yes! And it would also be useful for changing vehicles!
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on September 01, 2016, 02:24:45 am
Yeah, upgrading ship is a hassle now, all needs to be manually moved and restored...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on September 02, 2016, 11:54:35 pm
New version is up.

2016-09-02
 + Improve pilots' morale by +10
 + Added night vision (by Stoddard), more info: https://openxcom.org/forum/index.php/topic,4819.msg71243.html#msg71243
 + Fixed merge issue (inventory text border)
 + Revert "Bow miss fix" (because it was causing unwanted side effects), more info: https://openxcom.org/forum/index.php/topic,4058.msg71057.html#msg71057
 + Global equipment layouts fix (it can now be used during mission briefing too)

Download: https://drive.google.com/open?id=0B8itkFQbhj-YUGRKeTNXZm45MTg

2016-09-03
 + Added option for global/local night vision

Download: https://drive.google.com/open?id=0B8itkFQbhj-YenEyYUVVVVBnZFk
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on September 03, 2016, 02:02:50 pm
+ Revert "Bow miss fix" (because it was causing unwanted side effects), more info: https://openxcom.org/forum/index.php/topic,4058.msg71057.html#msg71057

Not sure it was a good idea... the weird behaviour reported was much, much rarer and not even 10% as annoying due to being obvious, not hidden like the bow bug is.

Should I wait till it's fixed? Or release the game with re-crappified bows?

EDIT: also what does STR_FULL_NIGHT_VISION option do?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on September 03, 2016, 02:54:18 pm
Not sure it was a good idea... the weird behaviour reported was much, much rarer and not even 10% as annoying due to being obvious, not hidden like the bow bug is.
Should I wait till it's fixed? Or release the game with re-crappified bows?

The problem is, it might have side effects we don't know about.
I tried debugging it, but it will take some time until I understand all different scenarios... and even more to test them.
Unless karadoc fixes it soon, I'd recommend releasing the version with re-crappified bows.

EDIT: also what does STR_FULL_NIGHT_VISION option do?

With option ON... it is the original behavior by Stoddard (global night vision across the map),
with option OFF... the night vision is only applied around your units... if something is not in their night vision range, it will remain dark.

I left the option for people to play with initially... but I will most likely remove the option and leave the OFF option only... to me it seems a lot better and more intuitive.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on September 03, 2016, 03:26:11 pm
Thx. Makes sense.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Stoddard on September 03, 2016, 07:44:27 pm
With option ON... it is the original behavior by Stoddard (global night vision across the map),
with option OFF... the night vision is only applied around your units... if something is not in their night vision range, it will remain dark.

I left the option for people to play with initially... but I will most likely remove the option and leave the OFF option only... to me it seems a lot better and more intuitive.

Nice.

I went and replaced the squared-distance comparison with
Code: [Select]
(*i)->hasVisibleTile(tile)
Result is that you have some idea what your unit's field of vision is IF there are no light sources in the way.

Side effect of both variants is that other lighted areas stay lighted, with FOVs it looks plain ugly.

(https://s4.postimg.org/61bjeiq19/ugliness.png) (https://postimg.org/image/uhtp8zqrt/)image upload (https://postimage.org/)

But this all runs contary to solving the original problem - that you don't see the terrain that you discovered and thus lack information to plan, while you have that information at day.

I think the global night vision should stay as it is, and there be some separate means to see the fields of view, or not.

Edit: I must say that local night vision is great.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: niculinux on September 04, 2016, 01:13:39 pm
This thread must go sticky please :) Any wiil?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on September 04, 2016, 01:56:07 pm
But this all runs contary to solving the original problem - that you don't see the terrain that you discovered and thus lack information to plan, while you have that information at day.

That's really not a problem. With how it works now (especially on localized vision setting - total vision looks way worse), it's like driving a ferrari. Night missions are suddenly fun to play.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Stoddard on September 04, 2016, 02:39:25 pm
That's really not a problem. With how it works now (especially on localized vision setting - total vision looks way worse), it's like driving a ferrari. Night missions are suddenly fun to play.

Yes, I came to exactly the  same opinion after all.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Eddie on September 07, 2016, 06:12:26 pm
I have a small request concerning getting experience when using shotguns. I just played a mission where my two shotgun gals got no experience at all, despite killing lots of stuff. One had three kills and the other had two. There was probably some bad luck involved, but 5 kills with no experience is just not right.

Could there be a mechanism that counts kills as battle participation so the gals can at least get secondary stat increases? This would also reward indirect kills by shooting exploding barrels, which I think don't give experience right now. Stangely, the diary counted one of the shotgun kills as indirect, but there was no exploding stuff involved.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on September 07, 2016, 06:25:45 pm
I have a small request concerning getting experience when using shotguns. I just played a mission where my two shotgun gals got no experience at all, despite killing lots of stuff. One had three kills and the other had two. There was probably some bad luck involved, but 5 kills with no experience is just not right.

Could there be a mechanism that counts kills as battle participation so the gals can at least get secondary stat increases? This would also reward indirect kills by shooting exploding barrels, which I think don't give experience right now. Stangely, the diary counted one of the shotgun kills as indirect, but there was no exploding stuff involved.

It already works like that.

If you have between 1 and 2 experience points/kills, you can get either +0 or +1 to stats.
If you have between 3 and 5 experience points/kills, you can get either +1 +2 or +3 to stats.

Considering both of your gals had 2 kills (as diary says), it is pretty possible to roll 2 times +0 stats (chance of that is exactly 25%).
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on September 07, 2016, 06:47:14 pm
Is the roll to all stats at once (either you improve or you don't) or for each specific stat (maybe you improve TUs but not STR, etc.)? Because that affects the odds of "no improvement whatsoever" significantly.

I also remember something where only the first pellet of a shotgun multiple pellet shot awarded experience points, to avoid getting 7 experience points at once when hitting with all 7 pellets. If the 1st one misses, it is quite possible for the others to hit and kill their victim but award no xp. A better implementation might be to treat all pellets equally xp wise, but cap the awarded xp at 1/shot (ie track h = number of pellet hits, if h > 0, award 1 xp).
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Starving Poet on September 07, 2016, 06:48:58 pm
I'm not sure if this is an OXCE+ or OXCE bug - but it seems to take an inordinate amount of TU to close certain types of doors.

See attached image.
Door 1 opens and closes as expected.  Door 2 can only be closed by walking through it.  Right Clicking results in a not enough TU warning.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on September 07, 2016, 06:58:51 pm
Is the roll to all stats at once (either you improve or you don't) or for each specific stat (maybe you improve TUs but not STR, etc.)? Because that affects the odds of "no improvement whatsoever" significantly.

I also remember something where only the first pellet of a shotgun multiple pellet shot awarded experience points, to avoid getting 7 experience points at once when hitting with all 7 pellets. If the 1st one misses, it is quite possible for the others to hit and kill their victim but award no xp. A better implementation might be to treat all pellets equally xp wise, but cap the awarded xp at 1/shot (ie track h = number of pellet hits, if h > 0, award 1 xp).

Each stat rolls separately.

As for pellets, maybe test it and let me know? I don't use shotguns... save would be nice as well.

I'm not sure if this is an OXCE+ or OXCE bug - but it seems to take an inordinate amount of TU to close certain types of doors.

See attached image.
Door 1 opens and closes as expected.  Door 2 can only be closed by walking through it.  Right Clicking results in a not enough TU warning.

A save please.
But yeah, I noticed that several times too... not sure if OXC or OXCE or OXCE+ or feature :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on September 07, 2016, 08:13:27 pm
Each stat rolls separately.

As for pellets, maybe test it and let me know? I don't use shotguns... save would be nice as well.

If each stat rolls separately, the odds of not getting anything on 2 soldiers (even assuming 50% odds per stat) is pretty low. TU/Stam/Strength/Acc for 2 soldiers is 8 rolls, .5^8 = 0.4%

I am not sure how to test this. Shoot at an enemy repeatedly with a shotgun and see how likely you are to get nothing even after multiple hits?

I'll cook a save for Piratez, something like a personal armor dude with no weapon to shotgun repeatedly safely.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Starving Poet on September 07, 2016, 08:15:26 pm
Sure thing - I tested this in OXC, it doesn't replicate the bug and this is just the default port attack tileset.

Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Starving Poet on September 07, 2016, 08:17:29 pm
I am not sure how to test this. Shoot at an enemy repeatedly with a shotgun and see how likely you are to get nothing even after multiple hits?


If the logic hasn't changed - you need to get 11 successful actions / PSI attempts to guarantee a stat increase.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on September 07, 2016, 08:37:34 pm
A save please.
But yeah, I noticed that several times too... not sure if OXC or OXCE or OXCE+ or feature :)
I already fixed it. Problems is TFTD doors that have opened version with 0 close cost. This cause couple problems in code.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on September 07, 2016, 08:53:14 pm
I've noticed these borked doors. Well, it is always possible to modify door tiles to conform to UFO standards...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Eddie on September 07, 2016, 10:48:22 pm
It already works like that.

If you have between 0 and 2 experience points/kills, you can get either +0 or +1 to stats.
If you have between 3 and 5 experience points/kills, you can get either +1 +2 or +3 to stats.

Considering both of your gals had 2 kills (as diary says), it is pretty possible to roll 2 times +0 stats (chance of that is exactly 25%).

I have some doubts that what you are saying is correct.
- One of the girls had three kills. Diary says two by shotgun, one indirect.
- I have a save just before I knock the last enemy down. I reloaded it several times, to see if I had bad luck with the rolls. I see the stat increases for the other girls changing, but the shotgun girls never get anything. Save is attached so you can see yourself.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on September 07, 2016, 11:03:17 pm
I remember Warboy saying the xp from shotgun blasts only counts if the "first" projectile hits. It might be worth investigating. Also, Commendations are obviously unable to attribute some types of kills properly (like grenade kills, for example), which might also be a factor.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on September 08, 2016, 11:54:54 am
I have some doubts that what you are saying is correct.
- One of the girls had three kills. Diary says two by shotgun, one indirect.
- I have a save just before I knock the last enemy down. I reloaded it several times, to see if I had bad luck with the rolls. I see the stat increases for the other girls changing, but the shotgun girls never get anything. Save is attached so you can see yourself.

Moonlight Saker and Living Blade got exactly zero experience from the mission (see attached)... so also all improvements were +0.

I'll have a look at the weapons they used, if there's anything wrong with them.

EDIT:
- so, only the "first" bullet counts, other bullets don't give any experience
- the issue is however even deeper, because the "first" bullet is actually calculated as first, but drawn and processed as last... and if the other pellets kill the target already (which is very likely is this case), the first bullet processed as last will hit an already dead target and won't give any experience either

Not sure how to fix it... I could allow experience from shotguns also when hitting already dead units... but dead units on the ground would count too... which is just not right.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on September 08, 2016, 02:15:13 pm
Sure thing - I tested this in OXC, it doesn't replicate the bug and this is just the default port attack tileset.

I've cherry-picked Yankes' fix, should be OK now.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Eddie on September 08, 2016, 02:45:59 pm
Thank you for looking into the shotgun problem Meridian.

Regarding the problematic bow fix: would it be possible to have an on/off toggle in the options? Then we can choose the lesser evil until an actual fix is in.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on September 08, 2016, 03:03:17 pm
Regarding the problematic bow fix: would it be possible to have an on/off toggle in the options? Then we can choose the lesser evil until an actual fix is in.

I have a fix almost ready. Today or tomorrow I will release it.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: khade on September 09, 2016, 03:41:19 am
There was a suggested shotgun fix that might work, where if any of the shots hit, you get one exp, but no more.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on September 09, 2016, 09:19:26 pm
New version is up.

206-09-09
  + TechTreeViewer can be opened by Q hotkey from geoscape directly
  + Show research progress in TechTreeViewer
  + Fix for end mission confirmation
  + Bow miss fix (by karadoc), with less side effects
  + Fix bug with TFTD doors (by Yankes)
  + More middle-clicks open Ufopaedia articles directly
    - facility info in Base view
    - craft weapon info in Craft > Craft Weapon GUI
    - item info in Craft > Equipment GUI
    - armor info in Craft > Armors GUI
    - craft info in Intercept window
    - ufo info in UFO Tracker (only if detected by Hyperwave decoder)
  + Ability to buy items with negative size (e.g. workers)

Download: https://drive.google.com/open?id=0B8itkFQbhj-YcDEwejE0MUhGVGM

Translation:

Code: [Select]
extraStrings:
  - type: en-US
    strings:
      STR_RESEARCH_PROGRESS: "Progress>{ALT} {0}%"
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on September 10, 2016, 02:43:39 am
Thanks! Great update!
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Petethegoat on September 10, 2016, 05:00:44 pm
Is it possible to avoid the 'new manufacture available' pop ups for robbing and hiring people when repeatedly interrogating them? Once you've already got those options, I mean.

I wouldn't mind trying to fix that myself, but I've spent a while browsing through the source and I still haven't really got a feel for it. Any ideas where I should be looking?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on September 12, 2016, 12:03:15 pm
Is it possible to avoid the 'new manufacture available' pop ups for robbing and hiring people when repeatedly interrogating them? Once you've already got those options, I mean.

I wouldn't mind trying to fix that myself, but I've spent a while browsing through the source and I still haven't really got a feel for it. Any ideas where I should be looking?

Here's the related code: https://github.com/SupSuper/OpenXcom/blob/master/src/Savegame/SavedGame.cpp#L1368

And here a possible fix: https://github.com/MeridianOXC/OpenXcom/commit/c321f1a2d27547f9f692e8e3754697897cc2794d
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on September 16, 2016, 12:04:21 am
New version is up.

2016-09-15
 + Switch for endless or one-cycle infiltrations (see below)
 + Recovered items now shown in Debriefing also for base defense missions
 + Small fix for shotgun not giving any experience (still only first bullet counts, but if it hits it will give experience every time; experience != improvement)
 + Don't show previously unlocked (and seen!) manufacturing topics in the "We can now manufacture..." window

Code: [Select]
  - type: STR_MISSION_SWAY_GOVT
    points: 0
    objective: 1
    endlessInfiltration: false # default is true; if set to false, mission will end after the first pact/base
    spawnZone: 4

This is just a simple switch to solve the immediate issue, I'll have to think more about more generic options...

Download: https://drive.google.com/open?id=0B8itkFQbhj-YY0Nzdmg3YnBIZDQ

PS: please help test the "Loot" screen in Debriefing, I had to change a lot to support also base defense missions....
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Eddie on September 16, 2016, 03:31:03 pm
In case you need an idea for a shotgun fix:
The clean method to do it (count all bullet hits, but give just one xp no matter the number of hits) is apparently not that easy or you would have already done it. Is a statistical solution easier? Count all pellet hits, each pellet has a chance of "1 / (number of pellets)" to give xp.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on September 16, 2016, 03:52:54 pm
All of them are "unpleasant" to implement.
The first bullet handling and other bullets handling are disconnected.

I could implement both ideas, but I would have to change a lot of the code structure... which I don't want to do... because I would make it very hard for me to merge future changes from vanilla later.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on September 21, 2016, 09:11:54 pm
New version is up.

2016-09-21
 + Fixed experience from medikits (merge issue)
 + Stun and wound indicators for corpses, more info: https://openxcom.org/forum/index.php/topic,4424.msg72219.html#msg72219
 + Fix for TechTreeViewer CTD
 + Configurable map background color (per starting condition)
 + EXPERIMENTAL: added support for custom (global) palettes, more info: https://openxcom.org/forum/index.php/topic,4935.msg72007.html#msg72007
 + Added option to transfer prisoners instead of just removing them (after the mission)

Download: https://drive.google.com/open?id=0B8itkFQbhj-YcmVqRE1xYWpUY3c

@Ivan/Dioxine: sample mod attached.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Ridаn on September 23, 2016, 10:53:56 am
Hello, Id like to request something if possible.
Can you make a numerical stat display appear in rightmost column in an Armor screen after sorting is done, just like it appears in a Crew screen?
It not that big of a deal, as I can see those stats in a different screen and equip armour through inventory, but all those extra clicks add up quickly and contribute to micromanagement fatigue. And having both screens sorting function work visually same would be aesthetically nice, I think. Also, consistency between screens and sameish functions.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on September 23, 2016, 10:58:35 am
Hello, Id like to request something if possible.
Can you make a numerical stat display appear in rightmost column in an Armor screen after sorting is done, just like it appears in a Crew screen?
It not that big of a deal, as I can see those stats in a different screen and equip armour through inventory, but all those extra clicks add up quickly and contribute to micromanagement fatigue. And having both screens sorting function work visually same would be aesthetically nice, I think. Also, consistency between screens and sameish functions.

Yes, I am missing it there too.
The problem is just the space on the screen, the armor names would be cut off a bit...
... but I found a "text overflow" option in textbox recently... I'll have a look if that helps.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on September 23, 2016, 12:42:48 pm
I'm already limiting armor names to circa 10 letters. Cutting this any more would be ridiculous and force modders to come up with stupider names. Maybe the screen could be completely rearranged, or something. However I'm barely using the Armor tab anymore (assigning armors in equip screen is so much more convenient).
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on September 23, 2016, 01:01:12 pm
I'm already limiting armor names to circa 10 letters. Cutting this any more would be ridiculous and force modders to come up with stupider names. Maybe the screen could be completely rearranged, or something. However I'm barely using the Armor tab anymore (assigning armors in equip screen is so much more convenient).

No worries, I won't decrease the size (I would do that long ago if I was willing to).

PS: I didn't find the taste for armor equipping in Inventory screen... it doesn't show me the position of the soldier in the craft.
At the moment, Armor tab is the only way to go for me.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Ridаn on September 23, 2016, 01:55:28 pm
Yeah, while I do use the function of equipping armour through Equipment screen, I find it best suited for custom tailored loadouts. Does not really work for crews containing over 12-14 people for me. I also cannot see Stamina and TUs in there (relevant for cumbersome armours), so I have to go into another screen and then go back, and keep those numbers in my mind (in addition to a hell lot of other stuff most of the time). Generally I combine both - assign armours and positions in Armor screen, then go to equipment and apply maxxed loadouts based on a resulting paperdoll and stats, and ctrl-drop the stuff that goes over weight limit.
While alternative has the sameish amount of clicks - I can plainly see the numbers at a glance (assign Heavy Suit only to gals with over 100Stamina for example), and not changing screens back and forth is easier on the eyes and as a result is a more psychologically smooth experience. Its helping with micromanagement fatigue and delaying the burnout.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on September 23, 2016, 04:44:54 pm
A crazy request: Do you think it would be possible to make an object which has a different floorob depending on deployment? The idea would be to have a few of these on various mapblocks, to better tie the map to the enemy encountered. This is especially relevant for Solarius' XCom files, where say, giant spiders infestations could have spiderwebs everywhere, but for zombies it'd be puddles of blood and corpses. (Not real corpses! Just an item which looks like one).
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on September 23, 2016, 05:27:26 pm
It's already doable, without much extra work (on mapping, setting spawns does take time), since games' cumbersome map-mission script practically neccessitates making new terrains for every single one non-UFO-crash/landing mission (unless they're carbon-copies, with only the alien race changed); and items are spawned by terrain.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Nord on September 23, 2016, 07:27:28 pm
Meridian, have you thinked about that improvement?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on September 23, 2016, 10:32:08 pm
Meridian, have you thinked about that improvement?

You mean more than 8 bases?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: karadoc on September 24, 2016, 03:35:50 am
I think the 8 base maximum is plenty for this game... unless we also add special bases of some kind. eg. bases with smaller builder area than normal, or fixed features such as undiggable squares or unique buildings (like the lab, but less awesome, and in a secondary smaller bases).
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Nord on September 24, 2016, 08:49:18 am
You mean more than 8 bases?
Yes.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Stoddard on September 25, 2016, 01:20:43 am
Yes.

Go try the playmix (https://openxcom.org/forum/index.php/topic,4912.0.html). It has 16 and it isn't as much fun as it seems.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ohartenstein23 on September 25, 2016, 07:09:04 am
Hey Meridian, I've noticed that when using the new shotgun code to fire against a wall adjacent to your soldier/gal, a pellet or two may fire 'backwards', behind you. (I don't have a save, but just try using new battle and try to breach a wall from right next to it, like in farm terrain in an enclosed space - it's likely you'll see a hit drawn on the opposite wall from which you're breaching.) I think this is due to how I wrote the finding of the first pellet's trajectory. In order to prevent getting 'no line of fire's errors when searching for trajectories for the subsequent pellets, I choose the 'target' for those pellets as the hit location of the first minus two voxels along the firing line, as I had seen in the vanilla code for drawing the hit location.  However, when coupled with short ranges between the origin voxel and the pellet spread, this may end up with firing a projectile or two behind your soldier. I think the fix might be in using the code for forcing a shot with no line of fire, like ctrl+fire to shoot through an obstacle.  I haven't been able to find that in the vanilla code - do you know where it is, so I could come up with a potential fix for this issue?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ohartenstein23 on September 26, 2016, 08:43:16 pm
Never mind, I found it - the unfortunate bit is that it would either require rewriting calculateTrajectory in Projectile.cpp to accept another variable to force-fire without holding CTRL just for this condition, or making a duplicate method, either in Projectile.cpp or ProjectileFlyBState.cpp... and that feels like a very kludgy fix.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on October 01, 2016, 04:09:51 pm
New version is up.

2016-09-30
 + Fixed medikit experience training
 + More space (modOffset) for bigger mods (by Yankes), more info: https://github.com/Yankes/OpenXcom/commit/5d62e26e1341f0f4f22969fe40f5d5312ab8150e
 + Option for auto-sell in debriefing (by Stoddard)
 + Support for custom palettes (local) in Ufopedia, more info: https://openxcom.org/forum/index.php/topic,4957.0.html
 + Fix for generating default armor out of nothing

Download: https://drive.google.com/open?id=0B8itkFQbhj-YZDdkZlJrMEphODg
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on October 06, 2016, 10:09:28 pm
New version is up.

2016-10-06
 + Updated to OXCE 3.3

Download: https://drive.google.com/open?id=0B8itkFQbhj-YSVhuMFRNdW94dms

PS: data files are the same as for OXCE 3.2
PS2: https://github.com/MeridianOXC/OpenXcom/commits/oxce3.3-plus-proto
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on October 07, 2016, 02:37:20 pm
Is there any practical reason to upgrade to 3.3? I kinda got loss in Yankes' explanations, the only thing I've understood is performance loss.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on October 07, 2016, 02:54:47 pm
Here's the summary from Yankes.

Small recap what is possible with new visibility scripts:
a) Some unit can be visible only to some other units, something like A can see B, C can see D but A cant see D and C cant see B.
b) Items in hands can affect visibility of units, you can add NV googles that need be held in hands to allow see in darkens or masking device that will cloaking you.
c) Effectiveness of visibility is stored as integer value. Greater than zero mean that other unit is visible. This allow gun scope that add value to that number increasing effective sight radius of unit. Alternative you can subtract to recreate some camouflage. As IR visibility should not be affected by scopes or normal camouflage, I added option for distinguish between different visibility modes. Normal visibility (in visible light lengths) is defined by empty value `null` other types can be defined by new tag in `BattleUnitVisibility`.
d) You have access to raw data of smoke and fire density, this allow you to change how smoke affect visibility or allow fire to prevent use of IR.
e) You can add penalty for NV googles if target is in bright spot, or simply add bonus/penates based on relative lighting level of tiles where units stand (current and target) to simulate that you can't see thing in shadow.
f) All units stats can contribute to visibility. You can made cloaking device that will fall or reduce it effectiveness when unit lose hp (or current TU).

What I understood is that you can now script various visibility modes, including things like the camouflage, counter-camouflage and heat vision from OXCE+... but with greater control over it (you can use more variables for calculation and even consider items in hands). You can't do psi-vision-like scripts yet. So, if you want more than what I "hardcoded" in OXCE+, this gives you the tools to do it.

Performance loss is not confirmed yet.
There is inevitably some (like with every new feature), but we don't know how big it is until we try it out.

EDIT: and there is also the "mod size" feature... which gives you possibility to use IDs bigger than 1000 without conflicts... which I strongly suggest using instead of IDs > 100000 used at the moment.

EDIT2: also I think light doesn't go through solid objects (like walls) anymore... but I haven't really played yet, so that's just what I saw in some demo video
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on October 07, 2016, 03:10:46 pm
OK, so mod size (useful) and realistic lighting (confirmed, looks really cool!). As for scripting, well... I have no idea what to do with it. Learning "Yankes C" is a major commitment and I won't do that unless there is some critical gain in sight.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on October 07, 2016, 03:57:50 pm
As for scripting, well... I have no idea what to do with it. Learning "Yankes C" is a major commitment and I won't do that unless there is some critical gain in sight.

Yeah, I also have no idea how powerful it is or how to use it...
... best would be: if you have a new idea which involves visibility, first ask Yankes if it can be done by a script ... if yes, he'll help with the script itself... if not, raise a change request with me, him, or whomever is willing to listen :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on October 07, 2016, 07:04:09 pm
OK, so mod size (useful) and realistic lighting (confirmed, looks really cool!). As for scripting, well... I have no idea what to do with it. Learning "Yankes C" is a major commitment and I won't do that unless there is some critical gain in sight.

Yeah, I also have no idea how powerful it is or how to use it...
... best would be: if you have a new idea which involves visibility, first ask Yankes if it can be done by a script ... if yes, he'll help with the script itself... if not, raise a change request with me, him, or whomever is willing to listen :)
This, I will eagerly help with firsts scripts. Example of usage that could affect gameplay without lot of changes is made that today invisible units could be see by units holding mindprobes.
Dioxine what behavior would you like to have in case of visibility?

Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on October 07, 2016, 09:15:45 pm
1. How to make hand-held night vision goggles?

2. How to make a silenced pistol which grants bonus to reactions when fired?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on October 07, 2016, 10:38:21 pm
1. How to make hand-held night vision goggles?

2. How to make a silenced pistol which grants bonus to reactions when fired?

1:
Code: [Select]
extended:
  tags:
    RuleItem:
      XPIRATEZ_NV_GOGGLES: int
   
  scripts:
    visibilityUnit:
      - offset: 3
        code: |
          var int itemA;
          var int itemB;
          var int targetShade;
          var ptr BattleItem item;
          var ptr RuleItem type;
         
          if eq visibility_mode null;
            #get info about left hand item
            observer_unit.getLeftHandWeapon item;
            item.getRuleItem type;
            type.getTag itemA Tag.XPIRATEZ_NV_GOGGLES;
           
            #get info about right hand item
            observer_unit.getRightHandWeapon item;
            item.getRuleItem type;
            type.getTag itemB Tag.XPIRATEZ_NV_GOGGLES;
           
            #if left or rigth item have NV bonus
            if or eq itemA 1 eq itemB 1;
              target_unit.getTileShade targetShade;
              if le targetShade 9;
                add current_visibility 64; #16*4 = 4 tiles better visibility in dark
              end;
            end;
          end;
         
          return current_visibility visibility_mode;

items:
  - type: STR_SOME_GOGGLES
    tags:
      XPIRATEZ_NV_GOGGLES: 1
With that item in hands unit will see 4 tiles further in dark.


2:
Code: [Select]
extended:
  tags:
    RuleItem:
      XPIRATEZ_STEALTH_GUN: int
   
  scripts:
    reactionWeaponAction:
      - offset: 1
        code: |
          var int temp;
          var int reaction_attacer;
          var int reaction_viewer;
          var ptr RuleItem gun_type;
         
          weapon.getRuleItem gun_type;
          gun_type.getTag temp Tag.XPIRATEZ_STEALTH_GUN;
          if neq temp 1;
            #not stelf weapon, we quit with defualt value
            return reaction_chance;
          end;
         
          #reaction score of unit that react to action done by `action_unit`
          reaction_unit.geReactionScore reaction_viewer;
         
          #reaction score of shooter
          action_unit.geReactionScore reaction_attacer;
         
          #we buff attacker reaction score
          mul reaction_attacer 2;
         
          if lt reaction_viewer reaction_attacer;
            set reaction_chance 0; #set 0% chance to react
          end;
          return reaction_chance;

items:
  - type: STR_SOME_WEAPON
    tags:
      XPIRATEZ_STEALTH_GUN: 1
When shooting this weapon shooter will have effective 2 time more Reaction stats in case of calculating of other unit reactions.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on October 08, 2016, 02:17:21 pm
Nice, thanks! This doesn't look too scary - as long as one has a list of possible operators...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on October 08, 2016, 03:21:15 pm
Nice, thanks! This doesn't look too scary - as long as one has a list of possible operators...
This is all dumped in log if you run exe with verbose log. I did that to not bother with updating documentation each time I add something.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on October 08, 2016, 03:23:57 pm
Yankes, can you use this script to make a gun with night vision? I'm thinking a hi-tech rifle with NV sights. (Redundant if you have NV armour, but otherwise could help.)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on October 08, 2016, 04:45:32 pm
Yankes, can you use this script to make a gun with night vision? I'm thinking a hi-tech rifle with NV sights. (Redundant if you have NV armour, but otherwise could help.)
NV will work with any item that have "XPIRATEZ_NV_GOGGLES" (you can rename it to something else :)), weapons too. Right now only part about "Redundant" will be hard because Maridain mod pars are not jet exposed to script and you can't know easy if armor have NV (but you can add redundant information that script can read).
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on October 09, 2016, 08:15:19 pm
I've tried adding that script for NV item, but it doesn't seem to work...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on October 10, 2016, 01:04:13 am
I will check it out tomorrow.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on October 10, 2016, 02:18:54 am
Meridian, how hard would it be to add prerequisites for getOneFree items?

Example: Red Dawn Ganger in X-Com Files currently has the following getOneFree items: STR_BASEBALL_BAT, STR_WOODEN_CLUB, STR_STAFF_001, STR_STAFF_002, STR_STAFF_007. I would like to add also STR_STAFF_009 to this list, but it would only be chosen if you have STR_CHIEF_ENGINEER_CONTACT researched, because the article is something that the Chief Engineer says and therefore he must already have been recruited before.

If you don't have the prerequisite, some other item on the list is chosen instead (one with no prerequisites or prerequisites which are already fulfilled).
If there are no other viable items left, you get nothing and you shouldn't even see STR_ZSRR_GANGER on the research projects list. If you research the prerequisite later, you can research STR_ZSRR_GANGER again.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on October 11, 2016, 12:41:48 am
I've tried adding that script for NV item, but it doesn't seem to work...
Ok I made small mistaken, instead of NV I give DayVision :D

Line
Code: [Select]
if le targetShade 9;should be
Code: [Select]
if gt targetShade 9;
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on October 12, 2016, 12:21:41 am
Okay it works now - however, it doesn't show up in the night display offered by OXCE+ (you spot enemies from desired range, but they're displayed as if were in the dark) - which makes it look bad...

Maybe the night display could be pulled into your OXCE? It doesn't interfere in any way with vanilla xcom, after all...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on October 12, 2016, 01:16:00 am
I will think how best solve this, right now I think that best solution could be special commit for OXCE+ because simply pulling it to OXCE will not fix it without new code.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on October 14, 2016, 05:48:43 pm
If there are no other viable items left, you get nothing and you shouldn't even see STR_ZSRR_GANGER on the research projects list. If you research the prerequisite later, you can research STR_ZSRR_GANGER again.

This is bad game design, it should not work like this.

As alternative, maybe replace the whole idea with a dedicated project for STR_STAFF_009, which unlocks when both STR_ZSSR_GANGER and STR_CHIEF_ENGINEER_CONTACT are researched?

Meridian, how hard would it be to add prerequisites for getOneFree items?

Example: Red Dawn Ganger in X-Com Files currently has the following getOneFree items: STR_BASEBALL_BAT, STR_WOODEN_CLUB, STR_STAFF_001, STR_STAFF_002, STR_STAFF_007. I would like to add also STR_STAFF_009 to this list, but it would only be chosen if you have STR_CHIEF_ENGINEER_CONTACT researched, because the article is something that the Chief Engineer says and therefore he must already have been recruited before.

If you don't have the prerequisite, some other item on the list is chosen instead (one with no prerequisites or prerequisites which are already fulfilled).

Probably not very hard. But...

1/ As I said above a topic should not disappear and then reappear, people would just keep selling STR_ZSSR_GANGER, because they know (at least to their best knowledge) it can't tell them anything new.

2/ As a modder you probably know that the whole research-related ruleset is really buggy (probably the last place in OpenXcom with serious known bugs). "Requires" doesn't work at all, "getOneFree" works only sometimes and "Dependencies" and "Unlocks" has some funny effects too. If I would touch it, I would probably rewrite it completely. And that would break all non-trivial mods, which use all sorts of workarounds and hacks to achieve desired functionality (because I would of course not support hacks and workarounds, or at least not in the same form). We are in a deadlock situation here...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on October 14, 2016, 10:46:39 pm
This is bad game design, it should not work like this.

As alternative, maybe replace the whole idea with a dedicated project for STR_STAFF_009, which unlocks when both STR_ZSSR_GANGER and STR_CHIEF_ENGINEER_CONTACT are researched?

Because it's an item on a long getOneFree list you get from an enemy (in this case, STR_ZSSR_GANGER). It's not supposed to be researched in any orderly way. The STR_STAFF_XXX line are worthless, (supposedly) humorous articles that make it harder to get the important stuff and to give you a reason to interrogate low-level enemies. And every STR_STAFF_XXX is a report/gossip from a member of your staff, and some members are recruited later, so I can't make STR_STAFF_XXX with these people because they could appear before you even meet them.

By the way, can you elaborate why it's bad game design? I sort of feel the same, but I can't define it properly.

Probably not very hard. But...

1/ As I said above a topic should not disappear and then reappear, people would just keep selling STR_ZSSR_GANGER, because they know (at least to their best knowledge) it can't tell them anything new.

It shouldn't be a problem, because you can get these things from many enemies, including later ones. So it doesn't matter if you sell early game enemies, unless you research completely all the enemies in the game and then some new Ufopedia article appears. So, not an issue.

2/ As a modder you probably know that the whole research-related ruleset is really buggy (probably the last place in OpenXcom with serious known bugs). "Requires" doesn't work at all, "getOneFree" works only sometimes and "Dependencies" and "Unlocks" has some funny effects too. If I would touch it, I would probably rewrite it completely. And that would break all non-trivial mods, which use all sorts of workarounds and hacks to achieve desired functionality (because I would of course not support hacks and workarounds, or at least not in the same form). We are in a deadlock situation here...

Well, I understand... If the system can be rewritten better, then I personally think it's worth to update mods for it, but it's not a subject for now. So, if this doesn't happen, it's perfectly understendable, for many reasons. But I'm hoping for a hack here, too. :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on October 22, 2016, 12:56:36 pm
New version is up.

2016-10-22
 + Added item flag, which says if the item can be equipped in base defense
 + TechTreeViewer now shows also the number of required items for manufacturing topics
 + Small fix for stun/wound indicator
2016-10-06
 + Upgraded to OXCE 3.3

Download: https://drive.google.com/open?id=0B8itkFQbhj-YVzBwVE01dS1NYVU

Example usage of the new flag
(so that you don't have 5000 chips slowing your engine during base defense)

Code: [Select]
items:
  - type: STR_CREDIT_CHIP_C
    ignoreInBaseDefense: true
  - type: STR_CREDIT_CHIP_D
    ignoreInBaseDefense: true
  - type: STR_CREDIT_CHIP_M
    ignoreInBaseDefense: true
  - type: STR_CREDIT_CHIP_00
    ignoreInBaseDefense: true
  - type: STR_CREDIT_CHIP_01
    ignoreInBaseDefense: true
  - type: STR_CREDIT_CHIP_02
    ignoreInBaseDefense: true
  - type: STR_CREDIT_CHIP_03
    ignoreInBaseDefense: true
  - type: STR_MEDICAL_SUPPLIES
    ignoreInBaseDefense: true
  - type: STR_LONGEVITY_SERUM
    ignoreInBaseDefense: true
  - type: STR_LINGERIE
    ignoreInBaseDefense: true
  - type: STR_MEDALLION
    ignoreInBaseDefense: true
  - type: STR_GOLD_BAR
    ignoreInBaseDefense: true
  - type: STR_YELLOW_GEM
    ignoreInBaseDefense: true
  - type: STR_BLUE_GEM
    ignoreInBaseDefense: true
  - type: STR_GREEN_GEM
    ignoreInBaseDefense: true
  - type: STR_RED_GEM
    ignoreInBaseDefense: true
  - type: STR_DIAMOND
    ignoreInBaseDefense: true
  - type: STR_MONEY_PURSE
    ignoreInBaseDefense: true
  - type: STR_CASH_BAG
    ignoreInBaseDefense: true
  - type: STR_TREASURE_CHEST
    ignoreInBaseDefense: true
  - type: STR_NUCLEAR_MATERIALS
    ignoreInBaseDefense: true
  - type: STR_BRIEFCASE
    ignoreInBaseDefense: true
  - type: STR_PORN
    ignoreInBaseDefense: true
  - type: STR_LIBER_OCCULTIS
    ignoreInBaseDefense: true
  - type: STR_DATA_DISK
    ignoreInBaseDefense: true
  - type: STR_GUNS_N_AMMO
    ignoreInBaseDefense: true
  - type: STR_GENERIC_CRATE
    ignoreInBaseDefense: true
  - type: STR_GOLDEN_CRATE
    ignoreInBaseDefense: true
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on October 22, 2016, 05:56:19 pm
Could we have the "disableEquip" flag activated/deactivated by game options? These all items are basically useless in battle, but were deliberately left equippable for roleplay reasons, and/or for the possibility of transporting them through craft (eg. ten thousand chips are far cheaper to transport by an actual craft than by Transfer menu). With such an option, we could have the best of both worlds.

EDIT: I'm stupid, I can simply make this into an optional mod.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on October 22, 2016, 06:11:38 pm
Meridian, any progress on the "inventory template" for crafts? It would be a very convenient feature, even as just a "quick save/load" and no actual writing of the templates in the saves for the longer term.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on October 22, 2016, 11:06:38 pm
Could we have the "disableEquip" flag activated/deactivated by game options? These all items are basically useless in battle, but were deliberately left equippable for roleplay reasons, and/or for the possibility of transporting them through craft (eg. ten thousand chips are far cheaper to transport by an actual craft than by Transfer menu). With such an option, we could have the best of both worlds.

EDIT: I'm stupid, I can simply make this into an optional mod.

I can probably also change it to apply to base defense only... I don't mind equipping that stuff on craft.

Meridian, any progress on the "inventory template" for crafts? It would be a very convenient feature, even as just a "quick save/load" and no actual writing of the templates in the saves for the longer term.

It just got a bit higher on the list :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on October 23, 2016, 07:14:38 am
Awesome! It's not as needed for Piratez but in XCom Files with all the small teams and equipment changing all the time it'd be very convenient. Your multiple soldier inventory also was super useful for that as each small team needs one of each roles and they rotate often because of losses.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on October 25, 2016, 06:19:53 pm
Noticed a bug when watching Poet's LP; commendations aren't unlocked in the Pedia if they were awarded posthumously. https://www.youtube.com/watch?v=IOk-MzKpD-s&index=10&list=PLnh8c5HMxAXsMHn64sjtX4Aa--tJ_iJPo, about 53:40.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on October 25, 2016, 06:22:23 pm
Noticed a bug when watching Poet's LP; commendations aren't unlocked in the Pedia if they were awarded posthumously. https://www.youtube.com/watch?v=IOk-MzKpD-s&index=10&list=PLnh8c5HMxAXsMHn64sjtX4Aa--tJ_iJPo, about 53:40.

I noticed that too :)
Good to know you're watching as well...

EDIT: fixed
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on October 25, 2016, 09:43:25 pm
New version is up.

2016-10-25
 + Door visibility bugfix (by Yankes)
 + EXPERIMENTAL: surrender support, more info: https://openxcom.org/forum/index.php/topic,4997.msg73272.html#msg73272
 + Ability to disable irrelevant items in base defense (e.g. chips)
 + Inventory is now accessible from Soldiers UI via hotkey (no need for a craft in base)

@Dioxine: the "disableEquip" has been renamed to "ignoreInBaseDefense" and applies only for base defense

Download: https://drive.google.com/open?id=0B8itkFQbhj-YYmJ3Y3lPeG9Iekk
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on October 27, 2016, 11:54:44 pm
New version is up.

2016-10-27
 + Bug-hunt mode support, more info: https://openxcom.org/forum/index.php/topic,4997.msg73330.html#msg73330
 + More options for surrender mode, more info: https://openxcom.org/forum/index.php/topic,4997.msg73308.html#msg73308
 + Added minShade and maxShade to alien deployments, more info: https://openxcom.org/forum/index.php/topic,4830.msg73290.html#msg73290
 + Considering also medals awarded to dead soldiers

Download: https://drive.google.com/open?id=0B8itkFQbhj-YOW5ETzJsaHl3eUU

PS: it is recommended to upgrade when you are in the Geoscape, not during a battle.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on October 28, 2016, 09:20:58 pm
Thanks! I can't wait to try it out.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on October 31, 2016, 07:36:20 pm
New version is up.

2016-10-31
 + Items can now be limited to certain inventory slots only, more info: https://openxcom.org/forum/index.php/topic,5011.msg73480.html#msg73480
 + Fixed 2 major bugs in surrender mode

Download: https://drive.google.com/open?id=0B8itkFQbhj-YTC1xeFRobFNvR3M
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Eddie on October 31, 2016, 09:21:20 pm
I have a small request: Can the magnitude of bonuses the pilots give be made changeable through the ruleset file? I'd like to lower the dodge and accuracy on my pilots a little. Like max dodge bonus right now is 27, and I want to lower it to 20 or something.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on October 31, 2016, 09:26:12 pm
Easy solution is just to take less skilled pilots  :P

But I'll have a look, if it can be externalized easily...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on November 01, 2016, 12:08:03 am
Minor request: adding a pop-up window that the enemies have surrendered would be less confusing than sudden end-mission I think.

Another one: the current  activeCamouflage is less than perfect.

Namely, the negative numbers. For example, giving someone -5 gives them a huge advantage in night conditions, but negligible at day. On the other hand, positive numbers are irrelevant for night vision unless they're really low (below 20).
Can we have it broken into 2 separate parameters that can work together? Eg. passiveCamouflage 35 and activeCamouflage 3 would reduce day visibility to 32, and night visibility by 3.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Eddie on November 01, 2016, 11:20:47 pm
Maybe the camouflage should be changed to a percentage instead? So 13% camo would reduce a 40 day vision to 35 and a 16 night vision to 14. Of course there could also be seperate values for night and day, so that night ops outfit gets no day bonus.

Having percentage values would not cripple low night vision enemies as much at higher camouflage values. But it's up to you to decide against which type of enemies camouflage should be most useful.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on November 01, 2016, 11:54:06 pm
Minor request: adding a pop-up window that the enemies have surrendered would be less confusing than sudden end-mission I think.

Another one: the current  activeCamouflage is less than perfect.

1/ not sure if so easy, will check

2/ yes, I saw your fight with the ruleset, I will try to come up with something better and post a proposal in a few days
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on November 02, 2016, 12:55:33 am
Much appreciated. I plan to release another bugfix version after the camo is handled better. I think in simplest terms it boils down to night camo and day camo, both modifying enemy's vision range, not being set values - these aren't too good. The set value camo can stay too, for enemies which can be seen only from a very close range, like star gods.

Percentage is another idea, might be good as it doesn't need to separate night and day in the ruleset. But again it might fall on these Star Gods if it's only a single value.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on November 02, 2016, 02:35:05 pm
https://volutar.myds.me/patches.html I think OXCE would greatly benefit from those :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Starving Poet on November 02, 2016, 04:04:00 pm
oh man, that no LoF indicator would be amazing.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on November 02, 2016, 08:25:32 pm
https://volutar.myds.me/patches.html I think OXCE would greatly benefit from those :)

I wish it was that easy... unfortunately it's not :(
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: robin on November 02, 2016, 10:33:34 pm
https://volutar.myds.me/patches.html I think OXCE would greatly benefit from those :)
shouldn't this stuff be ideally added to vanilla OXC?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ohartenstein23 on November 02, 2016, 11:19:28 pm
Hey Meridian, I've got some tweaks for the interception window, detailed here (https://openxcom.org/forum/index.php/topic,5019.msg73600.html#msg73600).  I'm creating a pull request to 3.3-plus-proto on GitHub if you want to take a look at it.

Edit: Is this the way you prefer to get code suggestions, or should I do it differently?  I don't have much experience contributing to a shared repository, so I don't want these things to be just an annoyance.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on November 03, 2016, 12:14:28 am
A link to a commit in your repo is enough... I will most probably want to make a few changes, even if just cosmetic myself, so PR is probably not gonna go in 1:1.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on November 05, 2016, 02:03:03 pm
New version is up.

2016-11-05
 + Added animated inventory wound indicator, more info: https://openxcom.org/forum/index.php/topic,4424.msg73771.html#msg73771
 + Don't react with 0% accuracy or from out of range, more info: https://openxcom.org/forum/index.php/topic,4830.msg73772.html#msg73772
 + Different camouflage at dark and at day/light, more info: https://openxcom.org/forum/index.php/topic,4822.msg73774.html#msg73774
 + Small ufopedia CTD fix/workaround, info: https://openxcom.org/forum/index.php/topic,4058.msg73753.html#msg73753

Download: https://drive.google.com/open?id=0B8itkFQbhj-YTWtuOU1jWDI5akE

@dioxine/solarius/etc: New camouflage was not tested at all... please help.

Also players are advised to wait for next Piratez release, since the new camouflage ruleset is not backwards-compatible.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on November 05, 2016, 02:04:59 pm
Great! I'm not sure if I can do much testing this weekend, but I'll try. Gladly :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: alinare on November 05, 2016, 03:53:07 pm
Hello Meridian:
I do not know if this is possible, or be asking too much, to xcom.  :)
Would it be possible, add something, like hacking xcom 2, for a particular object, for example, a computer affects a determined enemy? It would be something like the psychic control of Xcom, restricted to a particular class of opponent.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on November 05, 2016, 04:59:04 pm
Hello alinare

Yes, hacking in one form or another, can be implemented.

1/ I don't have a good imagination, so I would need more description of how exactly the weapon/object should work, what enemies it can affect and how, etc. ...
2/ Also, I am not the mod owner (or even a modder), so you would need to ask Dioxine to add it into the game (before I develop the support for it... I generally don't do stuff without modders having interest in it)

Once these two pre-requisites are satisfied, I'll put it on my todo list.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on November 05, 2016, 05:20:00 pm
I don't have any interest in it for the foreseeable future.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on November 05, 2016, 07:45:35 pm
HWP and stationary turrets that are vulnerable to TU drain, panic (firing randomly) or MC by a special hacking attack since they are immune to psi attacks?

Really this would just be defining different classes of units and then making the current psi mechanic be restricted to certain categories of targets.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on November 06, 2016, 02:28:34 am
There are non-psi weapons which can drain TU or panic normally immune units; MC is impossible that way, yes.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: khade on November 06, 2016, 02:49:07 am
I'd like the ability to turn off the lights, specifically in UFOs. Murder in the dark is really fun... when you're not the one being hunted, at least.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on November 06, 2016, 06:49:57 am
There's is already an ability for that. It's called explosives. I haven't put these lights there without a reason.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on November 06, 2016, 10:06:13 pm
New version is up.

2016-11-06
 + OXCE 3.3 visible distance bug workaround
 + Dogfight improvements (by ohartenstein23), info: https://openxcom.org/forum/index.php/topic,5019.msg73600.html#msg73600

Download: https://drive.google.com/open?id=0B8itkFQbhj-YYmJHT0JGNE51Z0E

Code: [Select]
extraSounds:
  - type: GEO.CAT
    files:
      100: Resources/Sounds/myfire.wav
ufos:
  - type: STR_MY_UFO
    fireSound: 100
extraStrings:
  - type: en-US
    strings:
      STR_UFO_HIT_NO_DAMAGE: "BOUNCED OFF THE HULL!"
      STR_UFO_HIT_GLANCING: "GLANCING HIT!"
ufoGlancingHitThreshold: 0   #default
ufoBeamWidthParameter: 1000  #default
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ohartenstein23 on November 07, 2016, 06:36:27 pm
The numbers I'd suggest for using these tweaks in Piratez are:
Code: [Select]
ufoGlancingHitThreshold: 5
ufoBeamWidthParameter: 51

That sets the threshold for seeing "Glancing Hit!" at 5% the damage it takes to shoot down a craft, and the beam width separates the shippings into almsot a set of classes by damage:
0-50: Light damage - Freighters, Gunboat/Light Gunboat, Cutter, Runabout, etc.
51 - 101: Medium damage - Fighters up through Heavy Gunships
102 - 152: Heavy damage - Corvettes and Cruisers
153 - 203: Even more damage - Gov't Cruisers, Bombers
204 - 254: Seriously?! damage - Battleships

It might also work around 30 or so to further differentiate between the military ships, but the beams start to look really ridiculous if it's set too low.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on November 07, 2016, 07:54:23 pm
Almost identically as me - I gave 5% glancing threshold and beam 50 - Heavy Gunships are something quite else than Gunships, and they do 100 damage. I've also added a special puny sound for <30 damage UFOs (those that can't one-shot even your flimsiest craft), and a special sound for 100+ damage.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ohartenstein23 on November 07, 2016, 09:21:45 pm
Any special sound for the Battleship?  That 200+ is something else entirely :P

@Meridian:  Here's a more formal report than Poet's stream for what I found out with the shotgun bug so far.  When you target a north or west wall, i.e., a wall in the same tile that your is standing in, and the wall is destroyed by one of the pellets, the rest tend to go wildly off in random directions.  I think it has to do with the trajectory calculation targeting the unit's tile once the object is destroyed, I'm working on tracking it down a bit more explicitly.

Edit:  Okay, here's the issue; once the wall is hit by the first pellet, this position, stored as firstPelletImpact is the same as originVoxel - so calculateTrajectory is trying to draw a line between a voxel and that same voxel.  I'm going to try to make a special case to handle this problem, something like setting firstPelletImpact as the clicked-on tile instead if ever originVoxel and _targetVoxel are equal.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ohartenstein23 on November 07, 2016, 10:07:09 pm
I've got a fix that seems to be working for me - I added a check for every pellet to see if its _targetVoxel is the same voxel as _origin, and if it is, switch _targetVoxel back to the first tile you clicked on.  See commit here (https://github.com/ohartenstein23/OpenXcom/commit/46e05aa7e8b8e59801d48420942e063537394288).
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: khade on November 08, 2016, 02:15:52 am
I got that bug, in xcom-files, killed the agent 5 squares south of the shooter.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Starving Poet on November 11, 2016, 05:37:32 pm
Is there any reason the the sorting option "First Letter" isn't fully alphabetical?  I mean, it's REALLY close, but not quite. 

"I have approximate knowledge of many things"
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on November 12, 2016, 04:16:29 am
Would it be possible to add 'move sound' as armor property? This can become useful with soldier types being dogs, drones etc., but also critical for 2x2 soldier armors. Or maybe this can added using Yankes' scripts?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on November 13, 2016, 02:14:42 am
Enviromental damage, if set to lethal, causes the game to crash when someone dies. Possibly it's a problem with Commendations, which demand to know the killer :)

Code: [Select]
startingConditions:
  - type: STR_ENVIRO_NASDAC
    environmentalConditions:
      STR_FRIENDLY:
        chancePerTurn: 100
        firstTurn: 2
        lastTurn: 1000
        message: "STR_NASDAC_TXT"
        color: 205
        weaponOrAmmo: "STR_LASER_CARBINE"
        side: -1
        bodyPart: -1
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: khade on November 13, 2016, 02:41:22 am
Can you set the killer as God?  As in act of God?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on November 13, 2016, 02:49:28 am
Commendations do not believe in God.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on November 13, 2016, 03:22:06 am
Commendations do not believe in God.
We need to fix it!
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on November 13, 2016, 10:08:22 am
OK, I'll have a look.
If it's indeed commendations-related, it will probably have to wait until 3.5 upgrade.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on November 13, 2016, 11:46:51 am
Turns out it was my mistake after all; human error :) Sorry!
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on November 17, 2016, 10:10:21 am
New version is up.

2016-11-17
 + Fix for shotguns firing backwards at 1-tile distances
 + Upgraded to OXCE 3.5 -- compatible with latest nightly (from November 9th 2016)

Download (exe): https://drive.google.com/open?id=0B8itkFQbhj-YZU92T0hlcUdPYjQ
Download (data files): in Yankes' OXCE thread, first post

WARNING: This version is not compatible with PirateZ yet!! Please wait until a compatible release.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ohartenstein23 on November 17, 2016, 02:44:57 pm
Hurray! The great merge is finished!
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on November 17, 2016, 02:48:02 pm
(https://49.media.tumblr.com/8ac1ef519822067f81b315324494835e/tumblr_n45f7fLcgl1scr19zo1_500.gif)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on November 17, 2016, 04:27:17 pm
Huge Kudos to Yankes and Meridian for the Merge!! You guys are awesome!  I'm looking forward to the time some of these awesome new features start being back ported into the main branch. (No pressure).  ;)  But yeah, I was just doing a little mod checking in New Battle on an August Nightly and was already frustrated missing some of the features like quickly applying armor in with a right click.   Really, the playability improvements practically make this branch a must.  Cheers!
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on November 17, 2016, 04:41:44 pm
Thanks Ivan!

A bit unfortunate example tho :) Right-click armor change was in vanilla since ages :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ivandogovich on November 17, 2016, 05:01:31 pm
 :-[

Heh.  Ok, well I'll take your word for it.  I can vouch for the solid Impression on my part that I was dealing with a Poorer playing experience due to being spoiled by this branch.  "Perception is Reality!" ;)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Zharkov on November 17, 2016, 05:32:30 pm

In case I haven't said this before: I am very impressed by your work!

New version is up.

2016-11-17
 + Fix for shotguns firing backwards at 1-tile distances
 + Upgraded to OXCE 3.5 -- compatible with latest nightly (from November 9th 2016)

Download (exe): https://drive.google.com/open?id=0B8itkFQbhj-YZU92T0hlcUdPYjQ
Download (data files): in Yankes' OXCE thread, first post

WARNING: This version is not compatible with PirateZ yet!! Please wait until a compatible release.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: BTAxis on November 17, 2016, 06:47:01 pm
Hi Meridian,
OXC allows you to re-order soldiers in the craft crew menu by using the mouse wheel on the up/down buttons. OXCE+ adds the same buttons to the main soldiers menu, but the mouse wheel does not work on these. Is it possible to add that functonality?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: khade on November 17, 2016, 09:59:23 pm
I'm pretty sure that's already possible, it's in the settings.  But I could be wrong.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: BTAxis on November 17, 2016, 10:10:02 pm
There is a setting, but it doesn't affect the buttons in the soldiers menu.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on November 18, 2016, 02:39:46 am
Hi Meridian,
OXC allows you to re-order soldiers in the craft crew menu by using the mouse wheel on the up/down buttons. OXCE+ adds the same buttons to the main soldiers menu, but the mouse wheel does not work on these. Is it possible to add that functonality?

I didn't even know this was possible in OXC. I will add it...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on November 18, 2016, 06:56:07 am
Another humble request:
Could we get hotkey in most screens to open the ufopaedia. "u" isn't bound to much on many screens (buy/sell, for example) and it'd be nice sometimes to be able to consult it. The middle click giving a list of item use on the sell screen is great, btw.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: BTAxis on November 18, 2016, 11:53:41 am
Another humble request:
Could we get hotkey in most screens to open the ufopaedia. "u" isn't bound to much on many screens (buy/sell, for example) and it'd be nice sometimes to be able to consult it. The middle click giving a list of item use on the sell screen is great, btw.
Speaking of which, middle click on items in the stores menu (accessed from the base overview) currently does nothing. I think there's an opportunity there also.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: bladum on November 18, 2016, 05:06:17 pm
@Meridian

i tried to compile your fork with VS2015 64 bit Release using your deps and latests YAML libs (5.3) yet still have errors.

What is latests manual to compile OXCE+ ?

Thanks
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on November 18, 2016, 06:19:20 pm
It's still the same. Deps are 32bit, so better switch to 32bit Release.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: bladum on November 19, 2016, 04:08:21 pm
thanks its working now.

Any Chance to have OXCE+ related strings added to download seperatly, not just bundled with Piratez mod ? Thanks
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on November 20, 2016, 09:56:50 am
Any Chance to have OXCE+ related strings added to download seperatly, not just bundled with Piratez mod ? Thanks

Yes, anybody can do that... we just need a volunteer.

Many of them are already in this thread, many can be found via "more info" links, and the rest is in the log file.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: CaptainCorkscrew on November 20, 2016, 01:00:40 pm
I think I encountered a bug with the night vision. When I hold space, the game switches to night vision mode but also cycles to the next soldier.
This is a bit odd already.
In addition, if I press the next soldier button while keeping space pressed then it cycles through the soldiers but leaves some out (even though they have full TUs).

This is with latest OXCE+ 3.3 from git.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ohartenstein23 on November 20, 2016, 03:21:29 pm
Not a bug, it's that space is bound to both next soldier and the NV mode; rebind the key for one or the other in options.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Eddie on November 20, 2016, 04:18:38 pm
We should probably change the default key of nightvision or next soldier.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: clownagent on November 20, 2016, 06:51:06 pm
The sleep and wounded indicators on unconscious units are very useful.

Is it possible to define a 'burning indicator'?

I think I had a few unconscious units who burned to death, because I had no indicator.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on November 20, 2016, 07:30:00 pm
I think I had a few unconscious units who burned to death, because I had no indicator.

Good point.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on November 20, 2016, 08:24:39 pm
Can someone try if fire extinguisher even works on unconscious units?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: clownagent on November 20, 2016, 08:59:25 pm
Can someone try if fire extinguisher even works on unconscious units?

I tested it. Fire extinguisher works.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: RSSwizard on November 21, 2016, 12:40:12 am
Questions:
for DamageAlter does "toTile" affect damage to all terrain and scenery or just the ground tiles specifically?

For the respective "costAimed" modifiers it said in the documentation it can be represented as a flat rate or percentage, so that means I can have one fire mode as flat rate and another that isnt (ie, dont need to use flatrate=true anymore)?

For example:
Code: [Select]
costAimed:
  Time: 60%
costSnap:
  Time: 15
#always takes a long time to aim, but the faster you are the more snap shots you get
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on November 21, 2016, 10:19:38 am
You can't do it. FlatUse is the thing that tells the game to have all attacks use fixed TU instead of %. It can only be set separately for Melee, Throw and Prime.
Code: [Select]
    flatUse:
      #change how cost of all attacks and use work (flat or percent values).
      time: true      #time units cost is flat or %. Alias of `flatRate`.
      energy: true    #energy unit cost is flat or %. Default `true`.
      morale: true    #morale cost is flat or reduced by bravery. Default `true`.
      health: true    #health points cost is flat or %. Default `true`.
      stun: false     #stun damage applied by atack is flat or % of max health. Default `true`.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: RSSwizard on November 22, 2016, 12:33:30 am
guess it proves there's always room for improvement eh?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on November 22, 2016, 01:26:54 am
guess it proves there's always room for improvement eh?
it not to hard to add this.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on November 22, 2016, 01:55:59 am
The question is, what for...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on November 24, 2016, 12:48:02 am
Another easy but convenient feature request: In gyms, would it be possible to write in red the stats for gals that are at or past the training maximum?

This would enable us to see at a glance who wouldn't benefit from being assigned.

Ex.: A gal is past the cap in TUs, but not in Melee, so her TUs number is written in red, but her
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on November 24, 2016, 12:56:30 am
Another easy but convenient feature request: In gyms, would it be possible to write in red the stats for gals that are at or past the training maximum?

God dammit, that's exactly what I've discussed with Dioxine 2 hours ago.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on November 24, 2016, 02:53:46 am
So that's +2 on my idea?  8)

Hopefully that'll make it happen even sooner!
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: BTAxis on November 24, 2016, 11:10:47 pm
Meridian, I noticed that after a mission, if the live containment facilities are full you get the option to transfer the excess captives to another base, but the same is not true if your stores are full. Perhaps this could be added? I think it would be a useful addition especially in light of the fact that when containment is full you get to transfer captives AND equipment.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on November 24, 2016, 11:15:47 pm
Added to todo list.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: BTAxis on November 24, 2016, 11:34:51 pm
There's something else I wanted to ask, I often find myself hitting ESC when I enabled the quick search field and decide against quicksearching after all, but this does nothing. It would improve usability (at least for me) by quite a bit if ESC canceled the quicksearch immediately.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on November 24, 2016, 11:43:39 pm
Yes! Very much that (ESC on quicksearch!) I've yet to train my fingers to press "enter" then "q" to cancel the search instead of just going for ESC.

Also, items transfer is a good idea for when you have too much loot. +1!
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on November 26, 2016, 12:33:42 am
New version is up.

2016-11-25
 + CTD fix (bad nodes in RMP)
 + CTD fix (mission sites, merge issue)

Download: https://drive.google.com/open?id=0B8itkFQbhj-YRll1RFJMV0lIY2s

@Dioxine: changes needed to upgrade (found so far, there may be more):
  - new data files from OXCE 3.5
  - update Amiga font to new format
  - blaster launcher "waypoints" is now integer, not boolean (also note the plural)
  - remove "KneelButton"... there is already one in vanilla
  - "destroyItem: true" needs to be added where appropriate
  - STR_MAP_GEN_ERROR translation
  - missing trajectory, see below

Code: [Select]
ufoTrajectories:
  - id: CA_SPAWN
    groundTimer: 0
    waypoints:
      - [0, 0, 0]

WARNING: this version is NOT compatible with current version of PirateZ yet! Please wait for new PirateZ release...

Not a bug, it's that space is bound to both next soldier and the NV mode; rebind the key for one or the other in options.

We should probably change the default key of nightvision or next soldier.

Default for "Next soldier" is not space, default is empty (i.e. disabled).
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on November 26, 2016, 10:30:07 pm
Meridian, what would happen if I set heatVision at more than normal vision? For example:
Code: [Select]
    heatVision: 80
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on November 26, 2016, 10:42:51 pm
Isn't heat vision a %? As in % of smoke that's ignored?

There are heat vision definitions in Piratez that are well above ~40, which is the vision range (up to 100 for chryssalids).
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on November 26, 2016, 10:52:19 pm
Isn't heat vision a %? As in % of smoke that's ignored?

There are heat vision definitions in Piratez that are well above ~40, which is the vision range (up to 100 for chryssalids).

Damn... I completely forgot about the change.

Sorry, I'm an idiot. Please move along.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Starving Poet on November 30, 2016, 03:26:55 pm
Default may not be space for OXC, but it is default with the config shipped with Piratez.  So, for pretty much 99% of people using OXCE+, that's all that matters.



Code: [Select]
keyBattleDeselectUnit: 32
...
keyNightVisionHold: 32

Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on November 30, 2016, 06:14:27 pm
I am gonna repeat myself but... the config file is a user config file... and should NOT be shipped with the mod.
It messes up all settings and people have real problems when upgrading.
That's all I have to say.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on November 30, 2016, 06:30:18 pm
I am gonna repeat myself but... the config file is a user config file... and should NOT be shipped with the mod.
It messes up all settings and people have real problems when upgrading.
That's all I have to say.

I really don't like it, either. I know it's to ensure that options like Extender Accuracy are enabled, but it's a dirty way to do so. Still, this is the only way.
Meridian, do you think this could be done via ruleset instead? I mean Extender Accuracy. (And if it could, it would have to be a global value, since adding extenderAccuracy: true to every weapon just don't do in such a big mod.)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on November 30, 2016, 06:38:01 pm
I have a feature on my todo list, to allow modders to override (and make read-only) some of the user settings... mostly in the Advanced tab. So that UI settings like video/audio/shortcuts/etc. can be still changed, but game mechanics like extender accuracy or storage limitations would be enforced.

Other than that, I don't have any good suggestions.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on November 30, 2016, 06:45:32 pm
I have a feature on my todo list, to allow modders to override (and make read-only) some of the user settings... mostly in the Advanced tab. So that UI settings like video/audio/shortcuts/etc. can be still changed, but game mechanics like extender accuracy or storage limitations would be enforced.

Other than that, I don't have any good suggestions.

Well, that would be ideal. Until then, I think Dioxine won't stop distributing the file. :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on November 30, 2016, 06:46:16 pm
I have a feature on my todo list, to allow modders to override (and make read-only) some of the user settings... mostly in the Advanced tab. So that UI settings like video/audio/shortcuts/etc. can be still changed, but game mechanics like extender accuracy or storage limitations would be enforced.

Other than that, I don't have any good suggestions.

That would be much nicer than shipping configs indeed, but I disagree with "read only". What's the point? If someone decides to play Piratez without Extender Accuracy, that's their problem. It's a 1 player game after all. And making the option unchangeable in game doesn't even change much since you can either edit the mod ruleset or make a mod to Piratez that turns off the unwanted options. If you are stupid/are crazy/think you know better/just don't want to bother, you should be able to play how you like.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on November 30, 2016, 07:00:50 pm
That would be much nicer than shipping configs indeed, but I disagree with "read only". What's the point? If someone decides to play Piratez without Extender Accuracy, that's their problem. It's a 1 player game after all. And making the option unchangeable in game doesn't even change much since you can either edit the mod ruleset or make a mod to Piratez that turns off the unwanted options. If you are stupid/are crazy/think you know better/just don't want to bother, you should be able to play how you like.

That's not really so simple. People almost never do things right, not because they don't want to, but because they don't read manuals, don't know how the game works, and there are a lot of chaotic elements resulting. I used to think the same as you, but then I've seen how it really is. So now I support the claim that at least some of the necessary options should be enforced initially.
Or, to rephrase it: I have no problem with people changing options, or rulesets, but the correct ones should be enabled by default.
Perhaps it would be best to change the .exe to make these options enabled at install - after all, who would play with vanilla accuracy? And even then, this person could change the option to fit their perverse desires. Of course it would be a gangbang committed on vanilla-ness, but you know what? I don't care.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on November 30, 2016, 07:09:53 pm
My idea was that "MUST HAVE"s and "MUST NOT HAVE"s would be fixed by modder and unchangeable... and "SHOULD HAVE"s and "SHOULD NOT HAVE"s would be just highlighted in red maybe if different than suggested, but changeable.

Also, the "Reset to defaults" button would reset both... i.e. nothing would be red after reset.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: BTAxis on November 30, 2016, 07:26:42 pm
Or, to rephrase it: I have no problem with people changing options, or rulesets, but the correct ones should be enabled by default.

So basically just supply a config file as per currently, except it's a "defaults" config that gets used if a user config doesn't exist.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ohartenstein23 on November 30, 2016, 07:31:10 pm
Perhaps add support for using two configs - one that's the user's config with all their keybindings and such, then a partial config file that the mod uses to enable certain extended options and built-in mods like extender accuracy?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on November 30, 2016, 08:00:01 pm
My solution would be:
- Ruleset comes with a list of "if a moron installs this, this is what they need" config stuff in it.
- This changes the default values of these options whenever that mod is active.
- Upon a new activation of the mod (from the mod page, not when starting the game and looking in the config to see what mods should be loaded on startup), it also changes the active values to the defaults.

Nothing is enforced, but when starting to use a new mod, the "reboot the game to load mod" also sets the active options to what is needed. This makes a complete transition from [ vanilla with vanilla background and vanilla config ] to [ Piratez with Piratez homescreen and Piratez config ]. If the user then reviews those options, and decides that, no, Extender is crap and they don't want to use it, then they can turn it OFF. And next time they start the game, it will still be OFF because it's not a fresh start. But it was ON at the start, like it should be and ensuring that most users use the mod as intended.

Then video, audio, keybindings, debug mode (which has caused issues in the past when the config had it active and suddenly people couldn't quick save/load) and other such options can be left entirely for the user to decide on.

This is how I would do it. But honestly, I just go fish the mod from the user/mods folder of the zip file and put that into my install of OXCE+ (which runs both XPiratez and XComFiles by swapping data, user and config directories), so this is academic. Since I don't want the great (striving and arguing about what's the best way to do things) becoming the enemy of the good (doing something better than shipping configs), that's my last post on this.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: CaptainCorkscrew on December 01, 2016, 12:33:18 pm
Not quite ideal Arthanor, as it would reset the options on mod loading. This would make switching between mods a PITA.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on December 01, 2016, 06:01:32 pm
Well.. I did say I wouldn't take about this more, but since you're calling me out specifically...

Yes, you activate XComFiles after playing Piratez and boom, the proper XCF options are loaded. You then decide you want to play Piratez some more, activate it and bam, proper Piratez files. How is that not convenient for like... 99% of users? The only one left would be activate vanilla and vanilla options are reset, maybe, but vanilla options are kind of bad so...

If you load a mod that doesn't have special options (say.. one that adds an extra gun and nothing else) then nothing happens. If you load a big mod with important options, the act of enabling it changes your options only the first time you enable it only. That's pretty unintrusive to me.

Especially since, if you play two big mods, the proper way to change between then is by changing user/data/config folders, not swapping in the mod page (which makes you wait to load mods twice), so the options reset would only happen once: when you start using a new mod, unlike what I described above if you are well organized.

And honestly, if you don't want to use the options a mod creator created their mod for, I think the effort should be yours to break it. It should be as easy as possible to play with the proper options, since that's the right way to play. You want to change things? Fine, but do some work yourself.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on December 01, 2016, 07:26:24 pm
Not quite ideal Arthanor, as it would reset the options on mod loading. This would make switching between mods a PITA.

Aren't you keeping a separate OXC install for each major mod you're using??? Strange.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on December 01, 2016, 07:31:25 pm
Aren't you keeping a separate OXC install for each major mod you're using??? Strange.

I know some people don't (like Arthanor), and that's all right, but I also consider it a kind of an extreme sport. :P In other words, there's no need to consider it a mainstream issue - it's 2016, so sacrificing 50 or 100 MB on your hard drive for an extra copy of openxcom is not an issue for anyone.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ohartenstein23 on December 01, 2016, 07:39:02 pm
I have a series of scripts to tell the executable to use a different options.cfg for every major mod, and keep a vanilla copy of options.cfg with all my keybindings and video settings as a base for starting a new mod.  That's why the command line options for OXC were added, no?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on December 01, 2016, 08:30:27 pm
I guess, as Solarius pointed out, compiling on Linux and running with bash scripts to get the user/data/config folder you want for a given executable is considered extreme. Most people with Windows will just have different folders with different installs, like an XComFiles folder which comes pre-packaged with its exe, and XPiratez folder with its own exe as well, etc. Then they make shortcuts to the different exe, instead of soft links to the different scripts that launch the same exe with different folders.

It's less efficient, but indeed, what's 100MB in 2016? And what's that efficiency thing? Or those "script" and "command line" things? It's 2016! Everything comes pre-packaged and pre-arranged so all you have to do is stick your finger onto your (touch)screen, then magic happens! If it doesn't work, tell them computer wizards they're stupid because it doesn't work, then they'll fix it.  ::)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: CaptainCorkscrew on December 03, 2016, 10:44:57 am
I have just played vanilla X-COM for comparison purposes without major issues (a bunch of missing strings due to OXCE+) and am playing Terror from the deep now for the same reason (same thing plus it does not go well with some of Meridians custom colors in for example the production screen).

Why have a mod selection screen at all if you're not supposed to use it?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on December 03, 2016, 01:16:00 pm
Who said you're not supposed to use it?
I am playing xcom with oxce+ myself, and I have seen a few people using oxce+ for TFTD too.

The strings can easily be added, I think someone even posted them somewhere on this forum.
TFTD support (mostly just colors) will be added in early 2017.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: BTAxis on December 03, 2016, 07:27:01 pm
The strings can easily be added, I think someone even posted them somewhere on this forum.
TFTD support (mostly just colors) will be added in early 2017.

It would definitely help if you had some boilerplate rule for that in the OP though. "Somewhere on this forum" is not such a great resource.

Also, I have to say OXCE+ is remarkably hard to find - it took me pretty long to figure out what the difference between OXCE and OXCE+ was when I first arrived on the OXC modding scene. OXCE+ is mentioned in the OXCE mod, but then searching for it yields nothing - because it's hidden in here, in a thread vaguely called "resources and mods for X-PirateZ". Personally I think this thread should be called something including "OpenXcom Extended Plus", and it belongs in the general modding forum alongside OXCE, as it's not really specific to PirateZ.

Bottom line, OXCE+ could stand to be a little more high-profile.

It's up to you though. I'm just voicing my view on the matter.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Arthanor on December 03, 2016, 07:47:55 pm
Fully agree, although this started as just a way to share mods and music and stuff from the LP, it has grown to be so much more. OXCE+ totally deserves a thread in the modding/experiment section, so others can learn more easily of it and more people can use it (I wouldn't even play vanilla UFO or TftD without it, honestly..). Furthermore, now that XComFiles also uses it, it isn't really a Piratez thing either.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on December 03, 2016, 08:10:54 pm
It would definitely help if you had some boilerplate rule for that in the OP though. "Somewhere on this forum" is not such a great resource.

You know, I have to search for it too, just like you or anyone else.
Here you go: https://openxcom.org/forum/index.php/topic,5022.msg74118.html#msg74118

Maybe, there is even a better resource, Solarius' XFiles will have strings much more compatible with vanilla.
Let's see if he sees this and can provide his compilation.

Bottom line, OXCE+ could stand to be a little more high-profile.

OXCE+ is still a prototype and is missing exactly the things you are looking for (strings, colors, etc.).
That's why I don't advertise it much... because I don't want people complaining about it.

Good news is that it is at about 90% finished and soon I will create a non-prototype branch, with all the resources necessary.
Q1/2017.

Fully agree, although this started as just a way to share mods and music and stuff from the LP, it has grown to be so much more. OXCE+ totally deserves a thread in the modding/experiment section, so others can learn more easily of it and more people can use it (I wouldn't even play vanilla UFO or TftD without it, honestly..). Furthermore, now that XComFiles also uses it, it isn't really a Piratez thing either.

When time comes, I will ask for a separate "child board" like piratez or area 51... and put all info, resources and documentation into one place.
Q2/2017.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on December 03, 2016, 10:18:41 pm
Here's the less-piratey version of the strings.

I omitted all Piratez-specific stuff, since this is supposed to be vanilla.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: clownagent on December 04, 2016, 02:17:11 pm
I have a small feature suggestion for Ufopedia:

Currently you can use the "rect_text" command to place text anywhere on the screen. However, this works only for CRAFT entries.

It would be useful to enable the   "rect_text" command also for "type_id 7" ufopedia pages (text + background image) to make nice looking entries.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Dioxine on December 04, 2016, 02:32:08 pm
+1
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on December 04, 2016, 02:47:00 pm
OK, should be no problem.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ohartenstein23 on December 05, 2016, 08:07:06 pm
Hey, got a CTD when using OXCE+ 3.5 to play a vanilla campaign.  In the attached save, use the selected soldier to kill the reaper with AC-I auto shot.  (The mods I'm using are to fill in some of the OXCE+ strings and improved handobs, so I don't think it's one of those)  I also noticed this on a TFTD when killing 2x2 terror units sometimes, but it doesn't always happen.  You can see this in my save by hitting the reaper with a single HC-HE shot, then auto shot with the AC.

I'm posting here first to make sure it's not just an OXCE+ thing before reporting as an OXC bug.

Edit: Even more weirdness - have one of the soldiers still on the skyranger with a HC kill the reaper that's farther away, then you can safely kill the close-up reaper with AC-I without CTD.

More Edit:  Another terror mission, a bit more testing - it seems like if I get the kill with indirect fire or a near miss with explosives, it doesn't crash, but grenades do cause the crash.  Could this be a commendations thing?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on December 06, 2016, 12:32:28 am
Hey, got a CTD when using OXCE+ 3.5 to play a vanilla campaign.  In the attached save, use the selected soldier to kill the reaper with AC-I auto shot.  (The mods I'm using are to fill in some of the OXCE+ strings and improved handobs, so I don't think it's one of those)  I also noticed this on a TFTD when killing 2x2 terror units sometimes, but it doesn't always happen.  You can see this in my save by hitting the reaper with a single HC-HE shot, then auto shot with the AC.

I'm posting here first to make sure it's not just an OXCE+ thing before reporting as an OXC bug.

Edit: Even more weirdness - have one of the soldiers still on the skyranger with a HC kill the reaper that's farther away, then you can safely kill the close-up reaper with AC-I without CTD.

More Edit:  Another terror mission, a bit more testing - it seems like if I get the kill with indirect fire or a near miss with explosives, it doesn't crash, but grenades do cause the crash.  Could this be a commendations thing?

OXC ... OK
OXCE ... crash
OXCE+ ... crash

I'll report to Yankes.

To reproduce, just take Thomas Muller, go down the ramp and snap shot the Reaper closer to you.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Yankes on December 09, 2016, 12:47:31 am
OXC ... OK
OXCE ... crash
OXCE+ ... crash

I'll report to Yankes.

To reproduce, just take Thomas Muller, go down the ramp and snap shot the Reaper closer to you.
quick fix is add `&& !unit->isOut()` at line `TileEngine.cpp:3256`:
Code: [Select]

if (unit != 0 && !unit->isOut() && unit != excludeUnit && (!excludeAllBut || unit == excludeAllBut) && (!onlyVisible || unit->getVisible() ) )
{
Position tilepos;
Position unitpos = unit->getPosition();
`voxelCheck` calc catch dying unit in moment when is partially removed from map. This cause error in calculation of body part used by `getLoftemps`.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Stoddard on December 10, 2016, 09:10:39 am
---=== Branch 3.5+ ===---

Source code: https://github.com/MeridianOXC/OpenXcom/tree/oxce3.5-plus-proto

Download:
  - Executable(s) for Linux: FIXME


The linux build farm config has been updated to the 3.5 branch, executables are being built and will be available at the usual (https://lxnt.wtf/oxem/) place shortly. Sorry the the lag. If it would be possible to fix some kind of branch, tag or something to point to the latest release in the repository, this would not happen again.

EDIT: Also please don't hesitate to PM me if there's some problem with the builds I failed to notice.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on December 10, 2016, 11:47:13 am

The linux build farm config has been updated to the 3.5 branch, executables are being built and will be available at the usual (https://lxnt.wtf/oxem/) place shortly. Sorry the the lag. If it would be possible to fix some kind of branch, tag or something to point to the latest release in the repository, this would not happen again.

Thanks.
3.5 is the last prototype branch... I will create one more later in Q1/2017, which should become the permanent reference point (or maybe even use master).

quick fix is add `&& !unit->isOut()` at line `TileEngine.cpp:3256`:

Thank you.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on December 13, 2016, 12:43:58 pm
OXCE+ missing strings are now available for download here: https://openxcom.org/forum/index.php/topic,5130.0.html
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on December 13, 2016, 08:24:55 pm
Would it be possible to add 'move sound' as armor property? This can become useful with soldier types being dogs, drones etc., but also critical for 2x2 soldier armors. Or maybe this can added using Yankes' scripts?

By default, the move sound depends on:
- movement type (if walking, play different sound depending on the surface (=tile/map data) being walked on... there are always two sounds played on different movement phases; if flying, just play default flying sound)
- unit's move sound override (doesn't work for xcom soldiers as they are not "units"... if bigger than -1, play sound with that id... e.g. tanks, floaters or snakemen)

I have added moveSound to armor entries too, which will override the unit's move sound.

Code: [Select]
armors:
  - type: STR_DEFENDER_UC
    moveSound: 0 # snakeman

Question: Do you want to override default moving sound for soldiers (based on tile surface) by a single armor move sound as well?
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: ohartenstein23 on December 15, 2016, 06:14:11 pm
Hey Meridian, got another CTD, with map generation this time.  Playing a TFTD game, wait for Trition-1 to trail the small USO target to its landing site, then CTD on confirm landing site.  The log says there was at least 1 node culled in the Triton map, so could this be related to the node issues I've been hearing about?

Edit: Using OXCE+ v3.5, with Yankes' fix for the 2x2 unit bug
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on December 15, 2016, 07:38:17 pm
FYI: I don't get any CTD.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: clownagent on December 18, 2016, 12:00:05 pm
I have feature suggestion regarding globe labels:
- If the labels get a bit long they are cut on both ends (see screen shot). It would be good if there were unlimited space for text or at least a bit more.


- It would be even better if we could set extra labels anywhere on the globe for naming geological formations or anything else.
For earth like planets this is not needed, because everybody can recognize, for example, Africa by its shape. However for new fictional planets it would be useful. For example one could put labels with "Himalaya or Shieldwall" on a rock formation or "Eternal Wastes" on ice formations.

Code could look like:

Code: [Select]
globeLabels:
   -[x-coordinate, y-coordinate, "label-text", font color, zoomlevel]

 
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on December 18, 2016, 01:48:28 pm
I have feature suggestion regarding globe labels:
- If the labels get a bit long they are cut on both ends (see screen shot). It would be good if there were unlimited space for text or at least a bit more.

I have increased it by 20%.
Also made it 2-lines capable.

Code: [Select]
extraStrings:
  - type: en-US
    strings:
      STR_WINDGAP_COUNTRY: "Windgap\n(Southern Mesa)"

Love the country name "Meridian" :)
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on December 18, 2016, 02:47:19 pm
I have a small feature suggestion for Ufopedia:
Currently you can use the "rect_text" command to place text anywhere on the screen. However, this works only for CRAFT entries.
It would be useful to enable the   "rect_text" command also for "type_id 7" ufopedia pages (text + background image) to make nice looking entries.

+1

If text_width = 0 (or is not specified at all), rect_text will be used.

Code: [Select]
  - id: STR_SURRENDER
    type_id: 7
    section: STR_ALIEN_RESEARCH_UC
    image_id: BIG_SURRENDER
    text: STR_SURRENDER_UFOPEDIA
    text_width: 0 # was 180
    rect_text:
      x: 95
      y: 130
      width: 145
      height: 60
    listOrder: 29005

#      STR_SURRENDER_UFOPEDIA: "{NEWLINE}{NEWLINE}{NEWLINE}{NEWLINE}{NEWLINE}{NEWLINE}{NEWLINE}{NEWLINE}{NEWLINE}{NEWLINE}{NEWLINE}{NEWLINE}{NEWLINE}Sensible enemies can surrender, if their morale was broken. Units which have panicked or were stunned at least once count as broken. Insensible enemies are often good to eat."
      STR_SURRENDER_UFOPEDIA: "Sensible enemies can surrender, if their morale was broken. Units which have panicked or were stunned at least once count as broken. Insensible enemies are often good to eat."
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Solarius Scorch on December 18, 2016, 04:01:05 pm
It looks really good!
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on December 18, 2016, 04:43:33 pm
New version is up.

2016-12-18
---------------
features:
 - support for custom text placement in image+text pedia type: https://openxcom.org/forum/index.php/topic,4187.msg76221.html#msg76221
 - increased country labels from 100px to 120px, possible to use 2 lines too
 - moving sound override per armor: https://openxcom.org/forum/index.php/topic,4187.msg74184.html#msg74184
fixes:
 - fix default number of avatars (8 for vanilla)
 - fix CTD with audio feedback on coup de grace
 - fix for auto-sell storage space calc: https://openxcom.org/forum/index.php/topic,4058.msg76019.html#msg76019
from vanilla:
 - fix scrolling in manufacturing table
 - fix for not finding a correct pedia article by ID: https://openxcom.org/forum/index.php/topic,5047.msg76215.html#msg76215
from OXCE:
 - fix 2x2 unit lighting
 - fix CTD at map resize
 - fix 2x2 dying unit CTD
 - fix 2x2 unit animation bug

EDIT: Download: https://drive.google.com/open?id=0B8itkFQbhj-YczRoWDY5UDE2R3M
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: clownagent on December 18, 2016, 09:08:53 pm
If text_width = 0 (or is not specified at all), rect_text will be used.

Code: [Select]
  - id: STR_SURRENDER
    type_id: 7
    section: STR_ALIEN_RESEARCH_UC
    image_id: BIG_SURRENDER
    text: STR_SURRENDER_UFOPEDIA
    text_width: 0 # was 180
    rect_text:
      x: 95
      y: 130
      width: 145
      height: 60
    listOrder: 29005


Looks good. However, in your example the title is missing.

I tried to make a ufopedia page with this code myself and also lost the title.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on December 18, 2016, 09:27:26 pm
Yeah, my bad, title was also using the text_width parameter... I just made it 310px wide now (5px padding left and right)... I don't see a reason to limit the title width.

Will upload a fixed version in cca 1 hour.

EDIT: also, in your example, you don't have Type = 7 (imageText)...that's armor entry (Type = 5) if I see correctly... or not?
EDIT2: I guess not, just imageText with a custom palette? The buttons confused me...
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: clownagent on December 18, 2016, 09:46:45 pm
EDIT2: I guess not, just imageText with a custom palette? The buttons confused me...

Exactly.
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on December 18, 2016, 09:59:09 pm
New download: https://drive.google.com/open?id=0B8itkFQbhj-YczRoWDY5UDE2R3M
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: clownagent on December 19, 2016, 10:25:52 am
Yeah, my bad, title was also using the text_width parameter... I just made it 310px wide now (5px padding left and right)... I don't see a reason to limit the title width.


This handling of title width is reasonable.

If you want to keep campatibility to vanilla, be aware that at least for one ufopedia entry there was a linebreak in the title (see screenshot), which is now overlaying the image.
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: Meridian on December 19, 2016, 10:27:32 am
ok, suggestions?

EDIT: ok, changed back... the rect_text info is now applied only when rect_text.width > 0... otherwise all vanilla
Title: Re: Meridian's resources and mods for X-PirateZ
Post by: Meridian on December 20, 2016, 11:59:44 am
The sleep and wounded indicators on unconscious units are very useful.
Is it possible to define a 'burning indicator'?
I think I had a few unconscious units who burned to death, because I had no indicator.

Added support for unit-burning indicator.

Code: [Select]
  - type: BigStunIndicator
    singleImage: true
    files:
      0: Resources/UnitUI/Zzz.png
  - type: BigWoundIndicator
    singleImage: true
    files:
      0: Resources/UnitUI/Bleed.png
  - type: BigBurnIndicator
    singleImage: true
    files:
      0: Resources/UnitUI/burning.gif
  - type: FloorStunIndicator
    singleImage: true
    files:
      0: Resources/UnitUI/Zzz.png
  - type: FloorWoundIndicator
    singleImage: true
    files:
      0: Resources/UnitUI/Bleed.png
  - type: FloorBurnIndicator
    singleImage: true
    files:
      0: Resources/UnitUI/burning.gif
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: Solarius Scorch on December 20, 2016, 12:40:12 pm
This was actually quite needed, thank you.
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: CaptainCorkscrew on December 20, 2016, 04:22:47 pm
I think the fire is a bit odd, especially with the thick black outline. Not having access to the flame I have created a new one. Use it if you like it.
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: Meridian on December 20, 2016, 04:43:15 pm
New version is up.

2016-12-20
 - unhardcoded minimum accuracy to trigger reaction fire: https://openxcom.org/forum/index.php/topic,4830.msg76356.html#msg76356
 - added unit-on-fire indicator: https://openxcom.org/forum/index.php/topic,4187.msg76347.html#msg76347
 - hotkey to move all remaining ground inventory items from craft to base: https://openxcom.org/forum/index.php/topic,5120.msg76289.html#msg76289
 - manual soldier demote: https://openxcom.org/forum/index.php/topic,5059.msg76277.html#msg76277
 - fixed pedia title width, as discussed above...

Download: https://drive.google.com/open?id=0B8itkFQbhj-YM1hnVGtKVTR0ejQ

WARNING: please note this is still not compatible with newest piratez to date (0.99e3). A compatible version of piratez will be released mid-january, if all goes well

GOOD NEWS: on the other hand, it's already compatible with XcomFiles (0.5 or higher), Dune/LandsOfSand (0.21 or higher) and all vanilla-based mods (FMP, Area51, Hardmode, etc.)
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: clownagent on December 22, 2016, 11:24:56 am
I tried to use a linebreak in the country-names  as introduced in the last version.

The funding and graphing screens look a bit weird (see screenshot)

Possible solution:
Use only 1st line of country-name for these screens.
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: Meridian on December 24, 2016, 03:54:49 pm
Possible solution:
Use only 1st line of country-name for these screens.

Nah, that's really ugly code-wise.
Why do you even need to put the continent name after the country name? Does it have any purpose?

I guess I'll return the country name size to the original again... and put a second label just below it.
And add a possibility to specify the second line like this:
Code: [Select]
  STR_GERMANY = "Germany"
  STR_GERMANY_2 = "(Europe)" # this would be used only on the globe
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: clownagent on December 24, 2016, 07:24:53 pm
Why do you even need to put the continent name after the country name? Does it have any purpose?

It is the only way to let the player know, where a certain region is.

In vanilla you do not have to put a label on Africa, because everyone knows where Africa is.

On the desert planet you have to put in region labels, to show the player where the region is. Sadly region labels do not exist, so I have to use the country labels.
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: Meridian on December 24, 2016, 07:34:15 pm
It is the only way to let the player know, where a certain region is.
In vanilla you do not have to put a label on Africa, because everyone knows where Africa is.
On the desert planet you have to put in region labels, to show the player where the region is. Sadly region labels do not exist, so I have to use the country labels.

So, if there were region labels, how would they differ from country labels?
Different color?
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: Dioxine on December 24, 2016, 07:44:02 pm
Labels won't do you much good since there is no way of telling where are its' borders. Using countries as regions makes more sense on a custom planet IMO...
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: clownagent on December 24, 2016, 09:55:21 pm
So, if there were region labels, how would they differ from country labels?
Different color?

Yes different color. Maybe also different zoom level (but this is not so important).

As I mentioned above, the most flexible would be:
It would be even better if we could set extra labels anywhere on the globe for naming geological formations or anything else.
 For example one could put labels with "Himalaya or Shieldwall" on a rock formation or "Eternal Wastes" on ice formations.

Code could look like:
Code: [Select]
globeLabels:
   -[x-coordinate, y-coordinate, "label-text", font color, zoomlevel]



Labels won't do you much good since there is no way of telling where are its' borders. Using countries as regions makes more sense on a custom planet IMO...

I may use polylines for the borders. Polylines are independet of country and region definitions.
Using countries as regions is not so easy, since alien missions are defined only by regions and the regions also appear in the graph screen.
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: Meridian on December 25, 2016, 01:56:38 pm
Yes different color. Maybe also different zoom level (but this is not so important).

I have reverted all changes to countries and added new extra globe labels.
Extra globe labels can span 2 lines if separated by "\n".

Example:

Code: [Select]
extraGlobeLabels:
  - type: STR_TEST_ME
    labelLon: 260
    labelLat: -40
    labelColor: 10 # blinding red-yellow
    zoomLevel: 0 # no zoom
extraStrings:
  - type: en-US
    strings:
      STR_TEST_ME: "'MURICA"

As a bonus, countries can also use the labelColor attribute. They ignore zoomLevel attribute tho.

(https://openxcom.org/forum/index.php?action=dlattach;topic=4187.0;attach=25562)
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: Solarius Scorch on December 25, 2016, 02:53:10 pm
(https://cdn.meme.am/cache/instances/folder620/49810620.jpg)
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: Meridian on December 25, 2016, 04:27:23 pm
Meridian, I noticed that after a mission, if the live containment facilities are full you get the option to transfer the excess captives to another base, but the same is not true if your stores are full. Perhaps this could be added? I think it would be a useful addition especially in light of the fact that when containment is full you get to transfer captives AND equipment.

Done.
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: BTAxis on December 25, 2016, 08:21:31 pm
And there was much rejoicing.
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: Meridian on December 26, 2016, 04:29:25 pm
1/ Projectile-weapon basic damage preview... activated by holding ALT key... displayed on crosshair cursor

Damage displayed considers:
a/ base weapon power
b/ power bonus based on soldier's stats
c/ power reduction based on distance
d/ damage distribution (e.g. 0-200%, 50-150% and so on)

It does NOT consider:
- armor of the enemy
- resistances of the enemy
- many secondary OXCE effects (armor effectiveness, immunities, non-heath damage, etc.)

2/ Melee-weapon damage preview... activated by CTRL+M... displayed in a pop-up

Considers weapon's power, power bonus and damage distribution.
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: Absalom on December 26, 2016, 10:33:02 pm
1/ Projectile-weapon basic damage preview... activated by holding ALT key... displayed on crosshair cursor

Damage displayed considers:
a/ base weapon power
b/ power bonus based on soldier's stats
c/ power reduction based on distance
d/ damage distribution (e.g. 0-200%, 50-150% and so on)

It does NOT consider:
- armor of the enemy
- resistances of the enemy
- many secondary OXCE effects (armor effectiveness, immunities, non-heath damage, etc.)

2/ Melee-weapon damage preview... activated by CTRL+M... displayed in a pop-up

Considers weapon's power, power bonus and damage distribution.

That would be immensely useful.  Does it work with unresearched weapons?  Would make the early game more varied since you could see if a weapon was good before researching it, at which point you generally have something better.

It looks similar to the hit log, which is sadly under featured.
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: Meridian on December 26, 2016, 11:20:23 pm
That would be immensely useful.  Does it work with unresearched weapons?

It does now... but it shouldn't... I'll change that.
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: Meridian on December 26, 2016, 11:36:36 pm
New version is up.

2016-12-26
 - added UFO and craft shields and more (by ohartenstein23): https://openxcom.org/forum/index.php/topic,5077.0.html
 - basic damage info for projectile and melee weapons: https://openxcom.org/forum/index.php/topic,4187.msg76715.html#msg76715
 - ability to transfer stuff instead of having to sell it after mission: https://openxcom.org/forum/index.php/topic,4187.msg76674.html#msg76674
 - added support for extra globe labels: https://openxcom.org/forum/index.php/topic,4187.msg76666.html#msg76666
 - night vision color is now a user option
 - two-handed indicator in the inventory: https://openxcom.org/forum/index.php/topic,5153.msg76648.html#msg76648
 - removed showQuickSearch user option (only toggle is available now)
 - fixed score for enemy surrender after aborting a base defense: https://openxcom.org/forum/index.php/topic,4058.msg76376.html#msg76376
 - fixed CTD after aborting base defense/losing a base

Download: https://drive.google.com/open?id=0B8itkFQbhj-YS1V4ZEllM05UUGs
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: legionof1 on December 27, 2016, 12:24:32 am
Here's hoping i dont have to abandon another save due to air combat changes.

Also woot NV in something other then eye stabbing yellow.
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: Dioxine on December 27, 2016, 12:35:19 am
Nobody likes orange NV. You people are so boring.
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: Solarius Scorch on December 27, 2016, 12:43:14 am
Sorry for cluttering the thread... But I think I finally know why orange!

Just look at this:

(https://i.imgur.com/BJLwvE6.jpg?1)

Darth Vader apparently uses the same visual tech... Or he's just so rad that his vision mode was pirated too!
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: Dioxine on December 27, 2016, 12:58:25 am
Cool people use orange NV, yes.
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: Cristao on December 27, 2016, 01:42:08 am
New version is up.

2016-12-26
 - added UFO and craft shields and more (by ohartenstein23): https://openxcom.org/forum/index.php/topic,5077.0.html
 - basic damage info for projectile and melee weapons: https://openxcom.org/forum/index.php/topic,4187.msg76715.html#msg76715
 - ability to transfer stuff instead of having to sell it after mission: https://openxcom.org/forum/index.php/topic,4187.msg76674.html#msg76674
 - added support for extra globe labels: https://openxcom.org/forum/index.php/topic,4187.msg76666.html#msg76666
 - night vision color is now a user option
 - two-handed indicator in the inventory: https://openxcom.org/forum/index.php/topic,5153.msg76648.html#msg76648
 - removed showQuickSearch user option (only toggle is available now)
 - fixed score for enemy surrender after aborting a base defense: https://openxcom.org/forum/index.php/topic,4058.msg76376.html#msg76376
 - fixed CTD after aborting base defense/losing a base

Download: https://drive.google.com/open?id=0B8itkFQbhj-YS1V4ZEllM05UUGs

Compatible with XPiratez?
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: Solarius Scorch on December 27, 2016, 01:49:21 am
Compatible with XPiratez?

Nope. We have to wait for the new Piratez version.
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: Absalom on December 27, 2016, 05:42:15 am
Nobody likes orange NV. You people are so boring.

I do like it but would like the option to change for variety's sake
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: KateMicucci on December 28, 2016, 05:08:13 pm
Weapon damage preview is cool. Will it be visible in the inventory screen too?
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: Solarius Scorch on December 28, 2016, 07:33:16 pm
Yes, I also came here specifically to thank you for damage values. I haven't had this much fun since introduction of Ctrl+H ;)
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: Ragshak on December 28, 2016, 11:20:52 pm
Is it possible to add hotkey to show Enemy vision range or mark our units that are in vision range of the enemy? For sake of Camo, raids durning nigth and smoke granades.
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: Meridian on December 28, 2016, 11:53:45 pm
Is it possible to add hotkey to show Enemy vision range or mark our units that are in vision range of the enemy? For sake of Camo, raids durning nigth and smoke granades.

Without considering smoke and custom visibility scripts, maybe.

But it's definitely not something I would like to see in this game. I can recommend a game called Commandos, if you're into that kind of stuff.
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: BTAxis on December 29, 2016, 01:23:48 am
Maybe some way to see if a unit is considered illuminated or in darkness, though? In Piratez this can be very hard to tell because there are some really weak light sources (looking at you, Boomfruit), yet for spotting purposes the engine only distinguishes between "fully illuminated" and "in complete darkness".
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: ohartenstein23 on December 29, 2016, 02:35:23 am
There is a simple indicator - did you get shot while standing there? ;)
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: Dioxine on December 29, 2016, 05:12:13 am
Yeah that'd be too much info as well. Need to play it carefully, don't take risks and get some experience. Build your skill up. I'm all for playing aides, but not to the point where the game tells you everything (like Meridian said, it's not the Commandoes).

Eg. I wouldn't mind an option to see enemy paperdoll and the weapons he's holding (but not his inventory) when selecting him (m-click?). I know the handobs by heart, but it could help many players in threat assesment (and add an opportunity to see them paperdolls outside of MC). The enemy could also have a bleeding icon on them if they're bleeding. I'm assuming just that your soldiers should be easily able to see all these things.
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: legionof1 on December 29, 2016, 05:41:07 am
Seeing enemy paperdoll would be interesting. Though i don't see much value in knowing if a standing foe is bleeding/wounded.
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: Dioxine on December 29, 2016, 05:49:23 am
Possibly there isn't much value to it, in most cases. However such damage effect should be logically visible.
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: KateMicucci on December 29, 2016, 05:57:54 am
More useful would be an indicator of whether a hit did any damage or not. But there's the advisor for that.
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: Absalom on December 29, 2016, 10:02:09 am
Yeah that'd be too much info as well. Need to play it carefully, don't take risks and get some experience. Build your skill up. I'm all for playing aides, but not to the point where the game tells you everything (like Meridian said, it's not the Commandoes).

Eg. I wouldn't mind an option to see enemy paperdoll and the weapons he's holding (but not his inventory) when selecting him (m-click?). I know the handobs by heart, but it could help many players in threat assesment (and add an opportunity to see them paperdolls outside of MC). The enemy could also have a bleeding icon on them if they're bleeding. I'm assuming just that your soldiers should be easily able to see all these things.

Seeing enemy paperdoll would be interesting. Though i don't see much value in knowing if a standing foe is bleeding/wounded.

Usually you can make out whether an enemy is holding shotgun, pistol, big gun, w/e but occasionally it's block by terrain hiding the unit sprite.  In such cases, it would be extremely useful.
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: CaptainCorkscrew on December 29, 2016, 04:20:19 pm
More useful would be an indicator of whether a hit did any damage or not. But there's the advisor for that.

The current hit indicator (CTRL+H) is useless half of the time, some improvement would indeed be good.
Main issue: reaction fire overwrites your fire.
I think there are some edge cases as well.
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: Meridian on December 29, 2016, 05:07:28 pm
The current hit indicator (CTRL+H) is useless half of the time, some improvement would indeed be good.
Main issue: reaction fire overwrites your fire.
I think there are some edge cases as well.

The idea behind the hit log was:
1/ to find out if you hit or missed... in some cases it is hard to see visually (e.g. bows)
2/ to find out if a particular weapon is doing any damage at all to a particular enemy (mostly when you're seeing a new enemy and/or using a weapon for the first time)

I never meant hit log to be a way of counting how much damage has been done to the enemy already... that can be considered cheating and is discouraged.
Normal usage of hit log is maybe a few times per mission (or less)... definitely not after each shot.

Yeah that'd be too much info as well. Need to play it carefully, don't take risks and get some experience. Build your skill up. I'm all for playing aides, but not to the point where the game tells you everything (like Meridian said, it's not the Commandoes).

Eg. I wouldn't mind an option to see enemy paperdoll and the weapons he's holding (but not his inventory) when selecting him (m-click?). I know the handobs by heart, but it could help many players in threat assesment (and add an opportunity to see them paperdolls outside of MC). The enemy could also have a bleeding icon on them if they're bleeding. I'm assuming just that your soldiers should be easily able to see all these things.

Voila.

M-click to open.
Works only on visible units (i.e. no black clicking) or in debug mode.

L-click or R-click to close.
M-click on weapon to show Bootypedia.

Background is configurable, sprite name "AlienInventory".

EDIT: bleeding indicator is the same as for inventory big obs

EDIT2: after some discussion, added the name as well... it's spoiled on other places anyway, no big deal
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: ivandogovich on December 29, 2016, 05:29:05 pm
Voila.

M-click to open.
Works only on visible units (i.e. no black clicking) or in debug mode.

L-click or R-click to close.
M-click on weapon to show Bootypedia.

Background is configurable, sprite name "AlienInventory".

Amagerd!!  I want to have your Children!! <3 <3
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: clownagent on December 29, 2016, 05:29:31 pm
The current hit indicator (CTRL+H) is useless half of the time, some improvement would indeed be good.
Main issue: reaction fire overwrites your fire.
I think there are some edge cases as well.

Yes, (CTRL+H) should omit enemy reaction fire.
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: Meridian on December 29, 2016, 05:41:23 pm
Yes, (CTRL+H) should omit enemy reaction fire.

Anyone (besides me) who finds it useful to log reaction fire, speak now (24h from post timestamp)... otherwise I'll submit to group pressure.
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: Absalom on December 29, 2016, 07:34:09 pm
The idea behind the hit log was:
1/ to find out if you hit or missed... in some cases it is hard to see visually (e.g. bows)
2/ to find out if a particular weapon is doing any damage at all to a particular enemy (mostly when you're seeing a new enemy and/or using a weapon for the first time)

I never meant hit log to be a way of counting how much damage has been done to the enemy already... that can be considered cheating and is discouraged.
Normal usage of hit log is maybe a few times per mission (or less)... definitely not after each shot.

Voila.

M-click to open.
Works only on visible units (i.e. no black clicking) or in debug mode.

L-click or R-click to close.
M-click on weapon to show Bootypedia.

Background is configurable, sprite name "AlienInventory".

EDIT: bleeding indicator is the same as for inventory big obs
Bravo!  Looks fantastic....  Do brigands (or highwaymen, can't recall) have a chance to spawn with a self charging laspistol?  Referring to your picture.  Because one game I got really lucky in the early game and looted one but can't remember where.

Anyone (besides me) who finds it useful to log reaction fire, speak now (24h from post timestamp)... otherwise I'll submit to group pressure.

I do.  Why can't the log keep past messages it has already outputted?
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: BTAxis on December 29, 2016, 08:24:42 pm
I never meant hit log to be a way of counting how much damage has been done to the enemy already... that can be considered cheating and is discouraged.
Normal usage of hit log is maybe a few times per mission (or less)... definitely not after each shot.

I do use it way more than that. Not after each and every shot (if an enemy dies there's no need), but definitely to check if I'm doing damage at all with my weapons. Also to count how many targets I hit with AoE attacks.
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: Meridian on December 29, 2016, 08:42:01 pm
I can't do anything against it, so enjoy it, if you find it ok.

For me, it's like counting cards in a casino... and I won't be supporting such unintended usage by extending the functionality of the hit log even more.
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: BTAxis on December 29, 2016, 09:00:29 pm
I dunno, to me it feels pretty similar to using the geoscape info graphs to figure out where the UFOs are. The information is there, so why not make use of it?

That said I'm not that attached to it - if you were to remove the whole log at some point, I'd just shrug and move on.
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ
Post by: KateMicucci on December 29, 2016, 09:13:15 pm
Do brigands (or highwaymen, can't recall) have a chance to spawn with a self charging laspistol?  Referring to your picture.  Because one game I got really lucky in the early game and looted one but can't remember where.
Savvy gals on the blue ferry ships sometimes have them.
Title: Re: [OXCE+] Meridian's resources and mods for (not only) X-PirateZ<