English (American)  中文(简体)

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.

```json
"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.

Reply
  


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

Forum Jump:


Users browsing this thread: 2 Guest(s)