English (American)  中文(简体)
This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Spt] Tutorial: Animation / Frames' duration
#3
(14-12-2023, 07:01 AM)ice guard Wrote: Hello, I want to know how to change the duration of items, such as the flame left by heater. I want it to exist all the time without disappearing.

Hello, you want to edit the file 185: Data.Global_itemSpt. Look for the actionGroup 42, with the name property having the value "gfire". Then edit the property ite_lifeTime. If you set the value to 0 it will last forever. Some lifetimes are 0 but not forever (such as yellowcol) because of the fspec: -1 in their last frame. Thanks to @不饿白帝BEBD for teaching.
"42": {
    "__AMF0_OBJECT_CLASSNAME__": "Data.ActionGroup",
    "action": {
        "__AMF0_ARRAY_ASSOCIATIVE_COUNT__": 4,
        "0": {
            "__AMF0_ARRAY_ASSOCIATIVE_COUNT__": 6,
            "0": null,
            "1": null,
            "2": null,
            "3": null,
            "4": null,
            "5": null
        },
        "1": {
            "__AMF0_ARRAY_ASSOCIATIVE_COUNT__": 0
        },
        "2": {
            "__AMF0_ARRAY_ASSOCIATIVE_COUNT__": 0
        },
        "3": {
            "__AMF0_ARRAY_ASSOCIATIVE_COUNT__": 0
        }
    },
    "ite_dura": 12.0,
    "piece": {
        "__AMF0_ARRAY_ASSOCIATIVE_COUNT__": 0
    },
    "ite_duraD": 12.0,
    "shield1": 0.0,
    "ite_screen": false,
    "ite_landBreak": false,
    "ite_atkName1": "gfire",
    "ite_standable": false,
    "name": "gfire",
    "ite_weight": 1.0,
    "ite_sfx2": 77.0,
    "index": 42.0,
    "actionIndex": {
        "__AMF0_ARRAY_ASSOCIATIVE_COUNT__": 4,
        "0": {
            "__AMF0_ARRAY_ASSOCIATIVE_COUNT__": 6,
            "0": 96.0,
            "1": 96.0,
            "2": 95.0,
            "3": -1.0,
            "4": -1.0,
            "5": -1.0
        },
        "1": {
            "__AMF0_ARRAY_ASSOCIATIVE_COUNT__": 0
        },
        "2": {
            "__AMF0_ARRAY_ASSOCIATIVE_COUNT__": 0
        },
        "3": {
            "__AMF0_ARRAY_ASSOCIATIVE_COUNT__": 0
        }
    },
    "ite_obstacle": false,
    "type": 250.0,
    "keyTriggerRef": null,
    "speedYRate": 1.0,
    "ite_lifeTime": 50.0,
    "ite_sfx1": 77.0,
    "ite_blastBreak": true,
    "ite_atkName2": "gfire",
    "keyTriggerRefIndex": -1.0,
    "ite_hitable": false,
    "ite_atk2": 116.0,
    "mpBurn": 0.0,
    "speedXRate": 1.0,
    "ite_gr": 0.0,
    "shield0": 0.0,
    "ite_lo": 0.0,
    "ite_vo": 0.0,
    "ite_reboundable": false,
    "keyTrigger": {
        "__AMF0_ARRAY_ASSOCIATIVE_COUNT__": 0
    },
    "ite_atk1": 116.0
},
[Image: random.php?pic=random]
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
The meaning of life is to give life a meaning.
Stop existing. Start living.
The following 2 users say Thank You to MangaD for this post:
  • ice guard, Julian
Reply
  


Messages In This Thread
RE: Tutorial: Animation / Frames' duration - by MangaD - 24-12-2023, 11:53 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)