User Tag List

Results 1 to 3 of 3

Thread: Not enough Alterable Values...

  1. #1
    No Products Registered

    Join Date
    Jan 2007
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Not enough Alterable Values...

    Hi all,

    I'm in the middle of designing a game. It's a turn-based space strategy game which each side has little ships.

    The problem is, each little ship has a LOT of stats.

    Each ship has 6 shield vectors, several different weapons and other ship stats. There is far more variables than the 26 max AV each object is allowed.

    So... I got creative. Each Active Object also has 10 Alterable Strings, so I figure why not stuff a bunch of stats into each string and then when I need the stat return the Index of the position of the stat I need in a specific string for that object.

    But... using this method accessing data (using the Tolken object) is relativly easy. But SETTING the data in this manner is not.

    So I divided up my ship stats into dynamic and static variables, and the dynamic variables use the Alterable Values.

    But I'm out of Alterable Values... Does anyone have a solution for me? I like using AV because I can directly reference data for a specific object... but there's not enough AV. I could put the ship data into some sort of data object, but then how do I (easily) access the data and have it refer to a specific ship instance?

    Ideas?

    JT

  2. #2
    Clicker Multimedia Fusion 2
    SEELE's Avatar
    Join Date
    Jul 2007
    Location
    Terra australis incognito
    Posts
    1,916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Not enough Alterable Values...

    hmm, there are ALOT of ways, one way is rather then use the string tolkeniser use the string parser... this allos you to dirrectly set a specific element/value.

    you cauld also use a 2d array with x going up to 99999 and y to how ever many values you need.\

    Then when setting a value set an array value at x=object fixed value and y to value index eg. (2= shield)...

    ...and the same for reading values.

    Best of luck.

  3. #3
    No Products Registered

    Join Date
    Apr 2008
    Location
    Miami, Florida
    Posts
    116
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Not enough Alterable Values...

    There is an extension called value add which adds an unlimited number of alterable values to an object. You can download it here: http://ext.neatwares.ath.cx/ext/ValueAdd

    I hope this solves your problem.

Similar Threads

  1. Global Values & Alterable Values with same names
    By Gustav in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 7th November 2012, 06:15 PM
  2. Alterable Strings as Alterable Values?
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 27th March 2012, 07:14 PM
  3. Display values on screen from Alterable Values
    By mikeh in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 13th May 2008, 01:59 PM
  4. Alterable Strings and Alterable Values limit :(
    By Pedro Almeida in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 13th October 2006, 06:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •