|
2026-03-18 02:41
조회: 23
추천: 0
형님들 스크립트 중에 "$"는 어디서 땡겨오는 변수인거야?아래는 아이템사전 모드의 메모장 편집 화면중에 하나인데, 아이템 사전에 글씨, 이미지 등이 제대로 안나와서 지금 해결해보려고 하고 있는데요. 근데 아무래도 여기서 children 함수 안에 style 함수를 정하는 지점에서 "$StyleDictionary***" 이런 스타일 변수들이 있는데 이걸 못 불러와서 그런거 같아. 저걸 바꾸면 제대로 나오더라고요. 근데 저거 다 바꾸려니 너무 노가다라 "$StyleDictionary***" 라는 변수들을 일괄 지정? 적용? 할 수 있나요? 참고로 프로그래밍언어는 모르고, 다른 게임에서 모드쓸 때 간단히 스크립트 내가 쓰고싶도록 변경하는 정도밖에안돼.... 문제되는 부분은 아래 빨간색 진한 글씨로 표시해뒀어 { "type": "VideoOptionsPanel", "name": "ItemDictionaryRunewordPanelKor3", "fields": { "priority": 9003, "rect": "$OptionsPanelRect", "anchor": { "x": 0.5 }, "applySettingsImmediately": false }, "children": [ { "type": "ImageWidget", "name": "ScrollBarBackground", "fields": { "rect": "$OptionsScrollBarBackgroundRect", "anchor": { "x": 1.0 }, "filename": "PauseMenu\VerticalScroll" }, "children": [ { "type": "ScrollControllerWidget", "name": "ScrollController", "fields": { "rect": "$OptionsScrollBarRect", "anchor": { "x": 1.0 }, "upArrowFilepath": "FrontEnd\HD\Final\FrontEnd_ScrollUpBtn", "downArrowFilepath": "FrontEnd\HD\Final\FrontEnd_ScrollDownBtn", "barFilepath": "PauseMenu\VerticalIndicator", "viewName": "ScrollView", "wheelScrollSound": "cursor_scroll_hd", "buttonScrollSound": "cursor_scroll_hd" } } ] }, { "type": "ScrollViewWidget", "name": "ScrollView", "fields": { "fitToParent": true, "scrollControllerName": "ScrollController" }, "children": [ { "type": "TableWidget", "name": "OptionsTable", "fields": { "columns": [ { "width": 640, "alignment": { "h": "fit", "v": "fit" } }, { "width": 800, "alignment": { "h": "fit", "v": "fit" } }, { "width": 320, "alignment": { "h": "fit", "v": "fit" } } ], "rowHeight": "$OptionsTableRowHeight" }, "children": [ { "type": "TableRowWidget", "name": "Row RunewordDescription", "children": [ { "type": "LayoutItemWidget", "name": "UniqueTextWrapper", "fields": { "marginTop": 24, "marginBottom": 12 }, "children": [ { "type": "TextBoxWidget", "name": "BaseItemLevelReq", "fields": { "fitToText": true, "text": "- 룬워드 재료의 철퇴*에는 곤봉, 망치, 홀(셉터) 종류의 아이템이 포함되지 않음.", "style": "$StyleDictionaryNotice" } } ] } ] }, { "type": "TableRowWidget", "name": "Row Gameplay Options", "children": [ { "type": "ImageWidget", "name": "Divider", "fields": { "rect": "$OptionsDividerRect", "filename": "PauseMenu\Divider" } } ] }, { "type": "TableRowWidget", "name": "Row ItemNameDisplayMode", "children": [ { "type": "LayoutItemWidget", "name": "RunewordTextWrapper", "fields": { "marginTop": 12, "marginBottom": 12 }, "children": [ { "type": "TextBoxWidget", "name": "Runewordname", "fields": { "fitToText": true, "text": "고대인의서약", // @Runeword1 "style": "$StyleDictionaryCategory" } }, { "type": "ButtonWidget", "name": "RecipeImg", "fields": { "rect": { "x": 300, "y": -10 }, "filename": "items/armor/shield/kite_shield", "pressedFrame": 0 } } ] }, { "type": "LayoutItemWidget", "name": "RunewordTextWrapper", "fields": { "marginTop": 88 }, "children": [ { "type": "TextBoxWidget", "name": "ItemType", "fields": { "fitToText": true, "text": "@r08L + @r09L + @r07L", "style": "$StyleDictionaryRunewordRune" } }, { "type": "ButtonWidget", "name": "RecipeImg", "fields": { "rect": { "x": -20, "y": 150 }, "filename": "items/misc/rune/ral_rune", "tooltipString": "@r08", "pressedFrame": 0 } }, { "type": "ButtonWidget", "name": "RecipeImg", "fields": { "rect": { "x": 100, "y": 150 }, "filename": "items/misc/rune/ort_rune", "tooltipString": "@r09", "pressedFrame": 0 } }, { "type": "ButtonWidget", "name": "RecipeImg", "fields": { "rect": { "x": 220, "y": 150 }, "filename": "items/misc/rune/tal_rune", "tooltipString": "@r07", "pressedFrame": 0 } } ] }, { "type": "LayoutItemWidget", "name": "GammaCalibration", "fields": { "marginTop": 48, "marginBottom": 12 }, "children": [ { "type": "ButtonWidget", "name": "optionimg", "fields": { "rect": { "scale": 0.75 }, "filename": "$DictionaryOptionScrollImage", "tooltipString": "@dictGold@Runeword1nn@dictBlue 방어력 +50% 증가n냉기 저항 +43%n번개 저항 +48%n화염 저항 +48%n독 저항 +48%n받는 피해의 +10%만큼 마나 회복", "pressedFrame": 0 } } ] } ] },
EXP
160
(60%)
/ 201
|
G라시