Jibble

Author Topic: [PLUGIN] Custom Properties Helper for AGS  (Read 2634 times)

[PLUGIN] Custom Properties Helper for AGS
« on: 25 Dec 2010, 18:52 »
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

  • Storm Behind The Badge
Re: [PLUGIN] Custom Properties Helper for AGS
« Reply #1 on: 18 Feb 2011, 22:45 »
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

  • Storm Behind The Badge
Re: [PLUGIN] Custom Properties Helper for AGS
« Reply #2 on: 21 Feb 2011, 21:15 »
This is awesome...works perfect!
--All that is necessary for evil to triumph is for good men to do nothing.