Adventure Game Studio

AGS Support => Modules, Plugins & Tools => Topic started by: helios123 on Sat 25/12/2010 18:52:07

Title: [PLUGIN] Custom Properties Helper for AGS
Post by: helios123 on Sat 25/12/2010 18:52:07
Hi all,

This is a small plugin which allows you to set custom properties for Rooms, Characters, Objects, Inventory Items and Hotspots.

Inspiration:
I had always wanted runtime manipulation of user defined (custom) properties
in AGS. This plugin started out as an attempt to try to achieve that.

The idea of modifying the AGS editor for merging script headers (link below) also came
to me while developing this plugin.


Working:
The plugin modifies the existing GetProperty/GetTextProperty methods and adds
SetProperty/SetTextProperty and ResetProperty/ResetTextProperty methods.

The corresponding values for Room, Object and Hotspot properties will be reset
whenever ResetRoom function is called.
i.e. ResetRoom(1), will remove all Room/Object/Hotspot properties related to
room number 1, in addition to AGS's default processing.

IMPORTANT: Rooms with room number above 300 do not store state. The same
is true for the properties set by SetProperty/SetTextProperty methods
for Rooms, Hotspots and Objects.

This DOES NOT APPLY to Character and InventoryItem objects.

More details in the included readme.

IMPORTANT:
There are two versions of this plugin in the archive provided for download, one for use with the normal editor,
and another for use with a modified editor, the details of which are posted here (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=42445.0).


Download from here (http://www.mediafire.com/?5r44rz8ohcaop)
Title: Re: [PLUGIN] Custom Properties Helper for AGS
Post by: Knox on Fri 18/02/2011 22:45:15
This seems pretty nice...Im going to try it as soon as I get home tonight.
Title: Re: [PLUGIN] Custom Properties Helper for AGS
Post by: Knox on Mon 21/02/2011 21:15:48
This is awesome...works perfect!
Title: Re: [PLUGIN] Custom Properties Helper for AGS
Post by: Eggie on Tue 22/02/2011 00:55:32
Amazing! :D