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. We have recently started the 16th edition of the Mini Mapping Contest. The theme is mini RPG. Do check it out and have fun.
    Dismiss Notice
  4. Dismiss Notice
  5. The Highway to Hell has been laid open. Come along and participate in the 5th Special Effect Contest.
    Dismiss Notice
  6. 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.

Fade cube model/doodad and custom script do not work with each other (?)

Discussion in 'World Editor Help Zone' started by Ardenian, Jun 18, 2015.

  1. Fade cube model/doodad and custom script do not work together (?)

    Hello,

    I have a serious problem concerning the terrain of my map:

    In my map, I use the FadeCube.mdx shared by Veritas 117 which can be found in this thread.
    Additionally, I use the custom script:
    • Custom Script: call SetDayNightModels("","")


    The problem is, the FadeCube, which is used to simulate an abyss, is not visible in-game at all ( due to the script, I suppose).

    Is there any way to solve this issue without removing the script ?
    ( Adding black (0,0,0) Omni light does not solve the issue for some reason)

    EDIT:
    The first screenshot in the first post was made in the editor, the second is in-game with no vision ( no black mask, no fog of war).
    Screen with custom light source in post #4.
     
    Last edited by a moderator: May 24, 2016
  2. Chaosy

    Chaosy

    Joined:
    Jun 9, 2011
    Messages:
    10,658
    Resources:
    18
    Maps:
    1
    Spells:
    11
    Tutorials:
    6
    Resources:
    18
  3. Arad MNK

    Arad MNK

    Joined:
    Dec 11, 2014
    Messages:
    1,887
    Resources:
    3
    Maps:
    2
    Spells:
    1
    Resources:
    3
    I think you should ask veritas himself.
     
  4. @Arad MNK: Of course, I already did, but he doesn't know either.

    @Chaosy: Sadly, as I said in the first post, it does not work, it looks like in the screenie in this post.

    I placed the light into the abyss.
     
    Last edited by a moderator: May 24, 2016
  5. Chaosy

    Chaosy

    Joined:
    Jun 9, 2011
    Messages:
    10,658
    Resources:
    18
    Maps:
    1
    Spells:
    11
    Tutorials:
    6
    Resources:
    18
    But you do have vision there now at least xD

    Seriously though, you can change the height of the light models and it might give visions without removing the black part.
     
  6. No, sadly this doesn't work either :(

    The problem is not to give vision, I would like the black to appear, the abyss shadow.
     
  7. Arad MNK

    Arad MNK

    Joined:
    Dec 11, 2014
    Messages:
    1,887
    Resources:
    3
    Maps:
    2
    Spells:
    1
    Resources:
    3
    Wow the abyss is awkward...
    Does the Model show up in WE? (Or any other editor you use?)
     
  8. The first screenshot in the first post was made in the editor, the second is in-game with no vision ( no black mask, no fog of war).
     
  9. Veritas 117

    Veritas 117

    Joined:
    Nov 17, 2010
    Messages:
    1,174
    Resources:
    0
    Resources:
    0
    NOTE: This is not actually my model. I just happened to have it and shared it with him. I'll see if I can find the author. Maybe they can help
     
  10. Alright, edited the first post.
     
  11. rulerofiron99

    rulerofiron99

    Joined:
    Jul 10, 2006
    Messages:
    3,129
    Resources:
    14
    Maps:
    4
    Spells:
    9
    Tutorials:
    1
    Resources:
    14
    What exactly are you trying to do?

    If you just want the black abyss effect, there are other ways to do it:
    - Fog
    - Water: replace the water texture and remove particles
    - A new model which is just ~10 layers of semi-transparent black

    EDIT: You can use this model: https://www.hiveworkshop.com/posts/2253985/
     
  12. Basically, I want to add to create an atmosphere of a black, deep abyss.
    Therefore I used the model Veritas117 shared with me, as it looks perfect.

    The problem is, as shown in the screenies in the first posts, the doodad is not shown when there is no custom light, and if there is one, it turns into an oddly pink ( as shown in post #4).

    Thank you for your suggestion, but it does not work either. I did not bother to take a screenie, but it is the same problem/ same result as with the FadeCube.

    No light source = not shown
    custom light source = turns pink
     
  13. jopi

    jopi

    Joined:
    Aug 30, 2007
    Messages:
    267
    Resources:
    0
    Resources:
    0
    maybe try the WaterPlane.mdx and make it RGB to 0/0/0 so it's black? It should have the same effect. Any additional effecs you put inside it, tend so show up a bit strange.
     
  14. How do I get the WaterPlane.mdx ?
     
  15. Dr Super Good

    Dr Super Good

    Spell Reviewer

    Joined:
    Jan 18, 2005
    Messages:
    25,727
    Resources:
    3
    Maps:
    1
    Spells:
    2
    Resources:
    3
    Why are you removing the day night models? Without them the entire world will be black as they are the default light source. Have you tried not removing the day night models?
     
  16. No, but I think it is obvious this would solve the problem.

    The reason why I do not do so it that the removal of these models creates an atmosphere of underground which is essential in my map.
    Removing the custom script would create a new problem, the problem how to simulate a strong, dark underground feeling.
    There is a thread for the underground feeling issue.

    I simply don't know how I could create such an atmosphere without the custom script.
     
  17. jopi

    jopi

    Joined:
    Aug 30, 2007
    Messages:
    267
    Resources:
    0
    Resources:
    0
    the WaterPlane.mdx should be in every UTM map I think. Otherwise look for it at Wc3c
     
  18. Dr Super Good

    Dr Super Good

    Spell Reviewer

    Joined:
    Jan 18, 2005
    Messages:
    25,727
    Resources:
    3
    Maps:
    1
    Spells:
    2
    Resources:
    3
    The line of custom script sets the day and night environment models to none. This means there is no light at all (all lighting has to be created artificially). From personal experience the WC3 engine can have problems with too many light sources overlapping so you need to be careful.
     
  19. @jopi Thank you, I am going to search for it!

    @Dr Super Good Oh, okay. But there is no solution so I can use the custom script AND the abyss fade model ?
     
  20. Dr Super Good

    Dr Super Good

    Spell Reviewer

    Joined:
    Jan 18, 2005
    Messages:
    25,727
    Resources:
    3
    Maps:
    1
    Spells:
    2
    Resources:
    3
    If the abyss fade model has in-built lighting then it should work fine. Otherwise you need to add other light sources since after all the colour "black" is the absence of light.