Haydee 2
评价数不足
Widget Guide
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
117.969 KB
2021 年 10 月 8 日 上午 7:58
2021 年 10 月 8 日 上午 10:27
2 项改动说明 ( 查看 )

订阅以下载
Widget Guide

描述
Blue Fox commented on a video of mine asking for a tutorial on how Widgets work.

The good news is its pretty easy.

I uploaded a workshop file to show the interactions between them.

Part 1. Actor
  1. Spawn a template of a Player.templ, this is a vanilla asset.
  2. Go to "Damage [Damage]"
  3. Add a new Gauge, example TestGauge
  4. Give it a name
    https://i.imgur.com/YugdwM9.png
Part 2. Directors
  1. Open the Director (Press G)
  2. Go to Haydee 2\Widgets
  3. Select Avatar.dir
  4. Create WidgetTune, pLocate and pObject
  5. Link the previous WidgetTune to the newly create WidgetTune
  6. Attach pLocateto WidgetTune's pWidget
  7. Attach pObject to WidgetTune's pTarget
  8. Rename pLocate's name and target to your newly created Actor's Gauge, example TestGauge
    https://i.imgur.com/gR7lk4J.png
Part 3. Widget
  1. Open the Director (Press G)
  2. Go to Haydee 2\Widgets
  3. Select Avatar.widget
  4. Create Gauge (Common/Gauge) (Or CTRL+C and CTRL+V on Health)
  5. Move this Gauge above Health
  6. Rename his new Gauge to your Actor's Gauge, example TestGauge.
  7. Add your Actor's Gauge to the Gauge, change colours if you wish.
    https://i.imgur.com/Ze1UrsA.png
Part 4. Double check your spell
Double check your spelling in all three spots
Actor, Director and Widget.

If you wish to reference a different widget, this is changed in Directors/Haydee/PawnBase.dir. CTRL+F and type in ScreenCall.

That's it
2 条留言
Tunddruff  [作者] 2021 年 10 月 8 日 下午 2:36 
Glad to help!
Blue Fox 2021 年 10 月 8 日 下午 1:50 
Thank you. Very detailed and clear explanation. Will save me a lot of time