-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🎮 Converted editor scripts to gadgets.
This should make the mature tools (script editor, road editor) a lot more accessible and advertised via TopMenubar/Tools menu/[Browse gadgets...] button. Most of the scripts are alpha prototypes (previously example_*.as scripts), but they're something to show anyway. The 'gadget_description' directive was updated: it can now be used multiple times to create multiline description (not possible before because linebreaks in string are illegal).
- Loading branch information
Showing
27 changed files
with
149 additions
and
3 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
; This is a .gadget mod - basically a script wrapped as a modcache entry. | ||
; The .gadget file must be present (even if empty) to get recognized. | ||
; The script must have same base filename, i.e. 'foo.gadget' -> 'foo.as' | ||
; Any extra include scripts or other resources can be bundled. | ||
; ----------------------------------------------------------------------- | ||
|
||
; Name to display in Selector UI. | ||
gadget_name "Engine Tool (alpha)" | ||
|
||
; Authors (Syntax: <credit>, <forumID>, <name>, [<email>]) - multiple authors can be given. | ||
gadget_author "base script" 351 ohlidalp | ||
|
||
; Description to display in Selector UI. | ||
gadget_description "In-game engine diag and adjustment." | ||
|
||
; Category for Selector UI (300 = Generic gadgets, 301 = Actor gadgets, 302 = Terrain gadgets). | ||
gadget_category 301 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
; This is a .gadget mod - basically a script wrapped as a modcache entry. | ||
; The .gadget file must be present (even if empty) to get recognized. | ||
; The script must have same base filename, i.e. 'foo.gadget' -> 'foo.as' | ||
; Any extra include scripts or other resources can be bundled. | ||
; ----------------------------------------------------------------------- | ||
|
||
; Name to display in Selector UI. | ||
gadget_name "ODEF browser (alpha)" | ||
|
||
; Authors (Syntax: <credit>, <forumID>, <name>, [<email>]) - multiple authors can be given. | ||
gadget_author "base script" 351 ohlidalp | ||
|
||
; Description to display in Selector UI. | ||
gadget_description "Lists .odef files from 'resources/meshes.zip' and sorts/displays/spawns/deletes them." | ||
|
||
; Category for Selector UI (300 = Generic gadgets, 301 = Actor gadgets, 302 = Terrain gadgets). | ||
gadget_category 302 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
; This is a .gadget mod - basically a script wrapped as a modcache entry. | ||
; The .gadget file must be present (even if empty) to get recognized. | ||
; The script must have same base filename, i.e. 'foo.gadget' -> 'foo.as' | ||
; Any extra include scripts or other resources can be bundled. | ||
; ----------------------------------------------------------------------- | ||
|
||
; Name to display in Selector UI. | ||
gadget_name "Overlay editor (alpha)" | ||
|
||
; Authors (Syntax: <credit>, <forumID>, <name>, [<email>]) - multiple authors can be given. | ||
gadget_author "base script" 351 ohlidalp | ||
|
||
; Description to display in Selector UI. | ||
gadget_description "Shows how OGRE overlays can be created dynamically." | ||
|
||
; Category for Selector UI (300 = Generic gadgets, 301 = Actor gadgets, 302 = Terrain gadgets). | ||
gadget_category 300 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
; This is a .gadget mod - basically a script wrapped as a modcache entry. | ||
; The .gadget file must be present (even if empty) to get recognized. | ||
; The script must have same base filename, i.e. 'foo.gadget' -> 'foo.as' | ||
; Any extra include scripts or other resources can be bundled. | ||
; ----------------------------------------------------------------------- | ||
|
||
; Name to display in Selector UI. | ||
gadget_name "Rig editor (alpha)" | ||
|
||
; Authors (Syntax: <credit>, <forumID>, <name>, [<email>]) - multiple authors can be given. | ||
gadget_author "base script" 351 ohlidalp | ||
|
||
; Description to display in Selector UI. | ||
gadget_description "In-game editing of rig definition (aka truck) files." | ||
|
||
; Category for Selector UI (300 = Generic gadgets, 301 = Actor gadgets, 302 = Terrain gadgets). | ||
gadget_category 301 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
; This is a .gadget mod - basically a script wrapped as a modcache entry. | ||
; The .gadget file must be present (even if empty) to get recognized. | ||
; The script must have same base filename, i.e. 'foo.gadget' -> 'foo.as' | ||
; Any extra include scripts or other resources can be bundled. | ||
; ----------------------------------------------------------------------- | ||
|
||
; Name to display in Selector UI. | ||
gadget_name "Road editor" | ||
|
||
; Authors (Syntax: <credit>, <forumID>, <name>, [<email>]) - multiple authors can be given. | ||
gadget_author "base script" 351 ohlidalp | ||
|
||
; Description to display in Selector UI - use repeatedly for multiline description (note the Loader UI only displays top 3 lines). | ||
gadget_description "Interactive editor of procedural roads." | ||
gadget_description "You must enter editor mode (Ctrl+Y) to use it." | ||
|
||
; Category for Selector UI (300 = Generic gadgets, 301 = Actor gadgets, 302 = Terrain gadgets). | ||
gadget_category 302 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
; This is a .gadget mod - basically a script wrapped as a modcache entry. | ||
; The .gadget file must be present (even if empty) to get recognized. | ||
; The script must have same base filename, i.e. 'foo.gadget' -> 'foo.as' | ||
; Any extra include scripts or other resources can be bundled. | ||
; ----------------------------------------------------------------------- | ||
|
||
; Name to display in Selector UI. | ||
gadget_name "Script editor" | ||
|
||
; Authors (Syntax: <credit>, <forumID>, <name>, [<email>]) - multiple authors can be given. | ||
gadget_author "base script" 351 ohlidalp | ||
|
||
; Description to display in Selector UI. | ||
gadget_description "Handy text editor with error highlighting, code folding, examples, tutorial." | ||
|
||
; Category for Selector UI (300 = Generic gadgets, 301 = Actor gadgets, 302 = Terrain gadgets). | ||
gadget_category 300 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
; This is a .gadget mod - basically a script wrapped as a modcache entry. | ||
; The .gadget file must be present (even if empty) to get recognized. | ||
; The script must have same base filename, i.e. 'foo.gadget' -> 'foo.as' | ||
; Any extra include scripts or other resources can be bundled. | ||
; ----------------------------------------------------------------------- | ||
|
||
; Name to display in Selector UI. | ||
gadget_name "Shock Tool (alpha)" | ||
|
||
; Authors (Syntax: <credit>, <forumID>, <name>, [<email>]) - multiple authors can be given. | ||
gadget_author "base script" 351 ohlidalp | ||
|
||
; Description to display in Selector UI. | ||
gadget_description "Shows spring/damp of shocks as adjustable graphs" | ||
|
||
; Category for Selector UI (300 = Generic gadgets, 301 = Actor gadgets, 302 = Terrain gadgets). | ||
gadget_category 301 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
; This is a .gadget mod - basically a script wrapped as a modcache entry. | ||
; The .gadget file must be present (even if empty) to get recognized. | ||
; The script must have same base filename, i.e. 'foo.gadget' -> 'foo.as' | ||
; Any extra include scripts or other resources can be bundled. | ||
; ----------------------------------------------------------------------- | ||
|
||
; Name to display in Selector UI. | ||
gadget_name "TerrnBatcher (alpha)" | ||
|
||
; Authors (Syntax: <credit>, <forumID>, <name>, [<email>]) - multiple authors can be given. | ||
gadget_author "base script" 351 ohlidalp | ||
|
||
; Description to display in Selector UI - use repeatedly for multiline description (note the Loader UI only displays top 3 lines). | ||
gadget_description "Tool to merge static meshes & materials for FPS boost." | ||
gadget_description "PROTOTYPE: displays UI, implements selection but not the batching yet." | ||
|
||
; Category for Selector UI (300 = Generic gadgets, 301 = Actor gadgets, 302 = Terrain gadgets). | ||
gadget_category 302 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters