[ian-reeds-games] Re: Tactical Battle 2.0 dev 5

  • From: "Craig Brett" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "craigbrett17@xxxxxxx" for DMARC)
  • To: ian-reeds-games@xxxxxxxxxxxxx
  • Date: Sat, 28 Mar 2015 11:06:18 +0000

I was hoping someone would have ideas for the team things! I look forward to seeing them.


Good luck with the homework

On 28/03/2015 03:07, Victorious wrote:
Thanks for the update Craig! Am already thinking of new script flags to
leverage team access. If only someone would do my homework for me...

-----Original Message-----
From: ian-reeds-games-bounce@xxxxxxxxxxxxx
[mailto:ian-reeds-games-bounce@xxxxxxxxxxxxx] On Behalf Of Craig Brett
(Redacted sender "craigbrett17@xxxxxxx" for DMARC)
Sent: Friday, March 27, 2015 9:31 PM
To: ian-reeds-games@xxxxxxxxxxxxx
Subject: [ian-reeds-games] Tactical Battle 2.0 dev 5

Hi all,

A new dev version of Tactical Battle is fresh from the forging furnaces and is
ready for your map making and playing pleasure. It should be available from
the auto updater by hitting the update option in your TB dev version's main
menu.

New in this release:

1. Added equip_add_skills and equip_remove_skills to items, which allow skills
to be added or removed as an item is equipped.
2. Fixed a bug that caused a crash whenever someone attempted to add or a
remove a skill from the same unit using a hotkey.
3. Implemented a shared.CreateItem function for scripters, so they can create
new items before putting them in unit or tile inventories.
4. Documented Inventory and Item objects in the scripting documentation, as I
noticed it hadn't been yet.
5. Made it so that hidden effects are not announced on tiles when the review
cursor is moved over them in the battle map.
6. Exposed the Map.Teams hash to scripters.
7. Documented Map.CurrentTeam and Map.PlayerTeam for scripters. Were already
exposed, but worth mentioning.
8. Exposed the following team properties to scripters: Number, Name, Friends
and Enemies.

I've also included the latest version of Victorious's scripts in with this
release, as well as an update to my scripts which takes advantage of (and
helped me develop) one of the changes in the main client.

New in Craig Brett's scripts:

1. Added a drops_item flag with a supporting chance flag to give greater
control over what a unit drops item wise after they die.
2. Added a drops_rare_item flag with a supporting chance flag to allow for
scenarios where we want a much smaller chance of a rare item being dropped.

I'd better give an example, to help.

Unit
10
|flags
... // flaggy flagness
|script_flags
drops_item healing_potion // will normally drop healing potions
drops_item_chance 80% // will drop items 80% of the time drops_rare_item
hyper_healing_potion drops_rare_item_chance 20% // 20% of those 80% of drops
will be hyper healing potions

3. Fixed up transformations so that transformations and reversions will move
all effects across, except when the transformation is a result of death, as
that is an effect itself. Death is a new lease of life, er, as it were.

I hope you all like the changes.

Happy mapping!

Craig



Other related posts: