[PLUGIN] Custom Properties Helper for AGS

Started by helios123, Sat 25/12/2010 18:52:07

Previous topic - Next topic

helios123

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.


Download from here
That's all for now,
helios123

Knox

This seems pretty nice...Im going to try it as soon as I get home tonight.
--All that is necessary for evil to triumph is for good men to do nothing.

Knox

--All that is necessary for evil to triumph is for good men to do nothing.


SMF spam blocked by CleanTalk