1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. The raddest synthwave tracks were chosen - Check out our Music Contest #12 - Results and congratulate the winners!
    Dismiss Notice
  4. The poll for Hive's 12th Concept Art Contest is up! Go cast your vote for your favourite genie!
    Dismiss Notice
  5. Travel to distant realms and encounter scenes unknown to the common folk. The Greatest of Adventures is upon us with the 8th Cinematic Contest. Join in on a fun ride.
    Dismiss Notice
  6. The 18th Icon Contest is ON! Choose any ingame unit and give him/her Hero abilities. Good luck to all.
    Dismiss Notice
  7. Contestants are to create a scene set in the Stone Age. Come and see what you can come up with. We wish you the best of luck!
    Dismiss Notice
  8. Colour outside the lines! Techtree Contest #13 is a go. The contest is optionally paired.
    Dismiss Notice
  9. Greetings cerebrates, our Swarm needs new spawners that will have numerous children. Join the HIVE's 31st Modeling Contest - Spawners and Spawned! The contest is optionally paired.
    Dismiss Notice
  10. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

[General] Is there any way to completely add/edit/remove object data by codes?

Discussion in 'World Editor Help Zone' started by yxq1122, Mar 17, 2019.

  1. yxq1122

    yxq1122

    Joined:
    Jun 5, 2018
    Messages:
    97
    Resources:
    0
    Resources:
    0
    I have been wondering that it could be very promissing and useful if there is a world editor addon (perhaps JassHelper or Grimex) that can completely support the object data editing (add/remove/edit).

    Things may be done like what Grimex behaves.
    Code (vJASS):
    //! external ObjectMerger my_abilities.w3a D:\war3\more_abilities.w3a even_more_abilities.w3a
    //! external ObjectMerger objects\units.w3u
    However, Grimex's functionalities seem to be limited (FileImporter, ObjectMerger, and PathMapper). If one wants to add an ability by copying one of original abilities and then modify the data items of this ability and add it to a hero, these operations now must be done by object editor as far as I know. Therefore, if someone can update Grimex or develop a new tool for world editor to handle these operations by codes, this would be great.
     
  2. Chaosy

    Chaosy

    Joined:
    Jun 9, 2011
    Messages:
    10,609
    Resources:
    18
    Maps:
    1
    Spells:
    11
    Tutorials:
    6
    Resources:
    18
    Wurst has this feature. You could use it exclusively for object generating if you'd like.

    WurstScript • Home
     
  3. iSkyi

    iSkyi

    Joined:
    Feb 25, 2019
    Messages:
    35
    Resources:
    0
    Resources:
    0
    So does that mean you could create an item entirely in code using Wurst?
     
  4. Chaosy

    Chaosy

    Joined:
    Jun 9, 2011
    Messages:
    10,609
    Resources:
    18
    Maps:
    1
    Spells:
    11
    Tutorials:
    6
    Resources:
    18
    Yup.

    However, it cannot generate items during the game. But you can write code to generate items when you save the map.