Jump to content

===[BETA]=== C# actor editor for Windows users.


Stan`
 Share

Recommended Posts

Hey guys,

As you may already know I made my own version of the actor editor. I have now come with a beta version.
If you guys wanna test it out here is a zip file :)

Capture.PNG


Known bugs

When using the browse for options you'll have to remove the absolute path beginning (ie : "E:\0AD\binaries\data\mods\public\art\variants\" to only \variants\)

Installation.

You need to edit the config file to point to the material folder of 0ad, else the dropdown won't work. The file is called app.config and located near the executable

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
  </configSections>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.1" />
  </startup>
  <appSettings>
    <add key="material_path" value="E:\\materials\\" />
  </appSettings>
</configuration>

Just replace

E:\\materials\\

 

by something like

E:\\0AD\\Binaries\\Data\\Mods\\Public\\Art\\Materials

(Double backslash are important)
Then just run ActorEditor.exe
 

    Current Features

    • Actor Edition
    • Variant Edition
    • Dark Mode
    • Actor Creation
    • Variant Creation

    Features to come

    • Particle Edition Support
    • SoundGroup Edition Support
    • Material Edition Support

     

    Release.zip

    • Like 5
    • Thanks 2
    Link to comment
    Share on other sites

    Here is an update :)

    What's new in 1.1:

    • Support for double click on browsable fields. (Note that you might have to tick the line for the change to take effect, it's counterintuitive, haven't found a fix yet marking the lines as selected is tricky when fields are editable)
    • Mod.json support (Dependencies still have to be added manually in the file)
    • Menu to set the material's path. 
    • A popup will appear at the first launch to browse for the material folder and use that.
    • The header will give some insights as to what  the windows is for.

    Fixes:

    • Path gathered are now converted to unit paths automatically
    • Shouldn't be any error when cancellation dialog
    • XML files generated have now a final whiteline for Unix users.

    Features to come:

    • Particle Edition Support
    • SoundGroup Edition Support
    • Material Edition Support

    Release.zip

    • Like 3
    • Thanks 1
    Link to comment
    Share on other sites

    33 minutes ago, Loki1950 said:

    This might also be ported to Linux using Mono though it tends to lag M$ C# be several versions just a suggestion as maintaining both would no doubt be a headache ;)

    Enjoy the Choice :)

    Model is split from the view thought some logic is in the wrong place. So someone motivated could do it. For formation purposes I will turn it into MVVM which will make transition easier. 

    The model and test are Linux compatible (.Netcore and .Net Standard) just not WPF.

    One could use Electron too

    • Thanks 1
    Link to comment
    Share on other sites

    • 2 months later...
    • Stan` pinned this topic

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Reply to this topic...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

     Share

    ×
    ×
    • Create New...