Search Unity

Antares Project (Open Source) : 1.5.5 Coming soon

Discussion in 'Assets and Asset Store' started by Neodrop, Apr 30, 2010.

  1. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Be my guest. I always care of my users. ;)
     
  2. juanelo

    juanelo

    Joined:
    Jan 28, 2011
    Posts:
    46
    what was the bug in curveImproved?
     
  3. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Was problems with selecting any object in scene after you create Improved Curve points. Fixed now.
     
  4. Demostenes

    Demostenes

    Joined:
    Sep 10, 2010
    Posts:
    1,106
    How can I randomize rotation of objects in brush? It works when I click randomize, but I have to do it manually, before each placement. It would be good to have some key shortcut on it, or to do it automatically. Other good option would be scale. So it would randomize between scale values (fox example 60-120 percent) and rotation. It would be perfect for stones and similar kind of decoration.
     
  5. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Yes, I understood, but currently it's not realised.
    You can try to manually change the Brush code in AntaresGameObjectCustom.cs inside OnSceneGUI to apply random rotation.
     
  6. juanelo

    juanelo

    Joined:
    Jan 28, 2011
    Posts:
    46
    Hi Neo -- I took the liberty of tweaking a couple of your scripts to implement drawing walls, as well as roads, using your curveImproved scripts.

    http://www.supadupacool.com/access/AntaresCurvedWallEditor.cs
    http://www.supadupacool.com/access/CurvedWall.cs

    These scripts should go in the same folders as AntaresCurvedRoadEditor.cs and CurvedRoad.cs respectively.

    Just add the components the same way you would add the CurvedRoad Component.

    In addition to all of the standard road parameters:
    --you can adjust the "Wall Height".
    --you can adjust the "Wall Offset X" to push the wall off of the curve.
    --you can adjust the "Wall Skew X" to skew the wall towards or away from the curve.
    --you can "Reverse Normals" to change which side the wall is facing

    Thanks for the fantastic tools, Neo! I hope this helps a bit!
     
    Last edited: Sep 8, 2011
  7. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Thank you for your contribution.
     
  8. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Will be added in next build (soon)

    $AntaresWall.jpg
     
    Last edited: Sep 10, 2011
  9. sh0v0r

    sh0v0r

    Joined:
    Nov 29, 2010
    Posts:
    325
    Hi Neo,

    Thankyou for making such a great set of tools available for free!

    Is there an already existing way to distribute a game object along the path before runtime.

    Imagine you want to use it to create all the power poles along the side of a road evenly spaced apart.
     
  10. macoy

    macoy

    Joined:
    Nov 3, 2011
    Posts:
    4
    i installed 1.5.6 for 3.0, but it doesn't seem to work. there are compilation errors, and there is only one "hide and freez" item in antares menu. I am using unity pro 3.4.1
     
  11. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    1. Try to reimport Antares folder
    2. Let me see your .log file or console message if step 1 don't help you.

    In general, there is no errors or incompatability with latest Unity build (except beta 3.5, but I have fixed it already in my working version)
     
  12. macoy

    macoy

    Joined:
    Nov 3, 2011
    Posts:
    4
    Assets/Antares/Editor/AntaresEdWindow.cs(85,0): error CS1010: Newline in constant
    Assets/Antares/Editor/AntaresEdWindow.cs(85,33): error CS1525: Unexpected symbol `search'
    Assets/Antares/Editor/AntaresEdWindow.cs(95,35): error CS1525: Unexpected symbol `Textures'

    i got all sorts of these erros, sorry I am new to unity and couldn't find a way to copy all the error messages in pc, so I just pick three of them.
    maybe it's because my system locale is set to Chinese? I am running unity pro 3.4.1 x86 on windows7 x64 with chinese system locale
     
  13. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Hm.. It's seems to me, I remember some troubles with chinese codepage before.
    Can you add any Cyrillic codepage to your OS ?
    As I see, your problems here. Your code editor converted some cyrillic words in "abra-kadabra" lines with some system symbols. It's the reason of compilation errors.
     
  14. macoy

    macoy

    Joined:
    Nov 3, 2011
    Posts:
    4
    I changed my system locale to english and now everything works! however, I was thinking if its possible to convert all the scripts to unicode and avoid such problems? I know notepad++ can do that, but one file at a time....
     
  15. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Look in Console for files with errors and convert it. Their should not to be much.
     
  16. ivanzu

    ivanzu

    Joined:
    Nov 25, 2010
    Posts:
    2,065
    Wow!This is very nice I don't know where i was so I didn't see this thread I think this should been built-in unity!
     
  17. macoy

    macoy

    Joined:
    Nov 3, 2011
    Posts:
    4
    actually there are dozens of them....
     
  18. Costy

    Costy

    Joined:
    Sep 27, 2011
    Posts:
    65
    Super!
     
  19. Musadag

    Musadag

    Joined:
    Dec 21, 2011
    Posts:
    1
    Hi
    how can Use This Tools to create Curve at Run-time By Mouse Click and attach This Curve to Object at Run-time
    please Help me
     
  20. alewinn

    alewinn

    Joined:
    Nov 8, 2009
    Posts:
    185
    Hi,

    Just giving a bump to have some more precisions about the status of this ;
    - Is this maintained for unity 3.5 ?
    (Y) -> Where can we download it ?
    (N) -> Why ?
     
  21. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
  22. alewinn

    alewinn

    Joined:
    Nov 8, 2009
    Posts:
    185
    :') <3

    Thanks !
     
  23. alewinn

    alewinn

    Joined:
    Nov 8, 2009
    Posts:
    185
    mmm...
    Gives some bunch of exceptions (from what i've tested so far) particularly using the bezier curve editor (don't work, spams log).
    Sometimes removing old monobehaviours on prefabs (ones which loses their links) raises a null reference.
     
  24. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Let me know, how can I reproduce it.
     
  25. alewinn

    alewinn

    Joined:
    Nov 8, 2009
    Posts:
    185
    Here is what i've encontred for now :

    Browser :
    * The names in the file list are truncated (seems to be hidden by the interface) when you deploy a subdir. Same for the assets previsualisation icon.

    GameObject > Add Interpolator :
    raises error :
    Code (csharp):
    1. You cannot call GetLast immediately after beginning a group.
    2. UnityEngine.GUILayoutUtility:GetLastRect()
    3. Antares.Routines:DrawHeader(String) (at Assets/Antares/Editor/AntaresGameObjectCustom.cs:806)
    4. InterpolatorEditor:OnInspectorGUI() (at Assets/Antares/Editor/InterpolatorEditor.cs:62)
    5. UnityEditor.DockArea:OnGUI()
    Curves :
    Raises error :
    - Curves improved :
    Code (csharp):
    1. You cannot call GetLast immediately after beginning a group.
    2. UnityEngine.GUILayoutUtility:GetLastRect()
    3. Antares.Routines:DrawHeader(String) (at Assets/Antares/Editor/AntaresGameObjectCustom.cs:806)
    4. BezierCurveEditor:OnInspectorGUI() (at Assets/Antares/Scripts/Bezier/Curves Improved/Editor/BezierCurveEditor.cs:42)
    5. UnityEditor.DockArea:OnGUI()
    6.  
    When you select the "New Curve Improved" game object inside the scene/ hierarchy

    - Curves
    Code (csharp):
    1. You cannot call GetLast immediately after beginning a group.
    2. UnityEngine.GUILayoutUtility:GetLastRect()
    3. Antares.Routines:DrawHeader(String) (at Assets/Antares/Editor/AntaresGameObjectCustom.cs:806)
    4. AntaresCurveEditor:OnInspectorGUI() (at Assets/Antares/Editor/AntaresCurveEditor.cs:26)
    5. UnityEditor.DockArea:OnGUI()
    (same)

    - Duplicator :
    Don't seems to work (drag'n droping anything don't shows nothing)

    - Clouds :
    Clouds (the one with multiples clouds) raises
    Code (csharp):
    1. You cannot call GetLast immediately after beginning a group.
    2. UnityEngine.GUILayoutUtility:GetLastRect()
    3. Antares.Routines:DrawHeader(String) (at Assets/Antares/Editor/AntaresGameObjectCustom.cs:806)
    4. CloudVolumeControllerEditor:OnInspectorGUI() (at Assets/Antares/Clouds/Scripts/Editor/CloudVolumeControllerEditor.cs:23)
    5. UnityEditor.DockArea:OnGUI()
    - "Make a brush" Option from the inspector create strange behaviours (the object hierarchy is "flying" as the mouse mouve)/ test made with a brush crated from 3 cylinders parented to a empty (the empty created the brush).

    Nothing really bad but annoying.
    I could'nt reproduce the null exception from removing a monobehaviour (i tested inside an empty project for the moment).
     
    Last edited: Mar 13, 2012
  26. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Reloaded. But I'm not looking for Browser. Many time I don't use it and now have no time to fix it quickly. In general it's obsolete feature I think.
     
  27. alewinn

    alewinn

    Joined:
    Nov 8, 2009
    Posts:
    185
    Yep i think so. Replaced by the unity browser.
    I'll continue to test it and let you know if some problems raises.
     
  28. alewinn

    alewinn

    Joined:
    Nov 8, 2009
    Posts:
    185
    Had just another error With the "Create Curve" tool :

    Code (csharp):
    1. You cannot call GetLast immediately after beginning a group.
    2. UnityEngine.GUILayoutUtility:GetLastRect()
    3. AntaresCurvePointEditor:OnInspectorGUI() (at Assets/Antares/Editor/AntaresCurvePointEditor.cs:18)
    4. UnityEditor.DockArea:OnGUI()
    Also, for this tool, then Antares Bezier Controller part of the tool inside the inspector (while selecting the parent node of the curve) appears Grayed, but (fortunately) let access to parameters.

    Will give a shot to the biped module as soon as i have time
     
  29. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Fixed and Reloaded.
     
  30. alewinn

    alewinn

    Joined:
    Nov 8, 2009
    Posts:
    185
    Yep Tested everything seems to work ok now.
    althought even i didn't test every feature one by one i find it's stable enough to include it in my project.
    I'll give feedbacks here if i encounter problems using it.

    anyway very good job Neodrop !
    Thanks !

    Edit : Even if it's not very annoying you should maybe rename
    Download Antares 1.5.6. for Unity 3.0
    in
    Download Antares 1.5.6. for Unity 3.5
    ;)
     
    Last edited: Mar 17, 2012
  31. samafshar

    samafshar

    Joined:
    Sep 9, 2011
    Posts:
    15
    Hello Neodrop.
    I was using Antares curves in unity 3.4 and everything was okay. But since I transferred my project into unity 3.5, once I add a curve to my map and run the project, everything gets frozen. I don't know exactly why but I've found that the problem depends on old curves.
     
  32. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Can you create any small reproduce project ?
    Did you download last version of the addon ?
     
  33. samafshar

    samafshar

    Joined:
    Sep 9, 2011
    Posts:
    15
    Yes I did. It's really strange. I tried improved curves, and it has the same problem too.
    The funny thing is that when I save my project, restart unity and just play the game, game runs correctly. But once I change my view-port position or rotation, I mean just moving camera in editor, game gets frozen on playing. And it happens when I have curves in my map. It seems to be a GUI problem and I didn't have this problem in unity 3.4.
    It looks like an infinite "for" or "while" loop.
     
  34. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    How can I reproduce it?
     
  35. samafshar

    samafshar

    Joined:
    Sep 9, 2011
    Posts:
    15
    Hello again.
    I've made a new project in unity (version: 3.5.0f5) and add Antares to it. Now when I play the project, it runs. But after adding some curves to map and selecting one of them and playing the project, project loading time lasts too long. Sometimes forever.
    I tried playing project without selecting curves. It runs most of time but loading time differs in each run. Sometimes 1 second, Sometimes 5 seconds, and so on.
    I'll attach the project to this post. View attachment $Antares Test.rar
     
  36. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
  37. samafshar

    samafshar

    Joined:
    Sep 9, 2011
    Posts:
    15
    It's working! Thank you very much. :)
    But I have another problem. Using improved curves dramatically slows editor's fps. Could you please do something about it. :)
     
    Last edited: Apr 16, 2012
  38. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    If you have a lot of curves or many curve points, switch off "show gizmos" checkbox. May be it will help you quickly.
     
    Last edited: Apr 16, 2012
  39. samafshar

    samafshar

    Joined:
    Sep 9, 2011
    Posts:
    15
    Thank you. :)
     
  40. juanelo

    juanelo

    Joined:
    Jan 28, 2011
    Posts:
    46
    Hi,
    After upgrading unity, I'm getting:

    System.IndexOutOfRangeException: Array index is out of range.
    at WizardAntaresMultiComponentsSetting.OnGUI ()

    when trying to drop anything into the Dublicator
     
  41. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Fixed and Reloaded. Also, added ability to create the vertical walls from curves. For example, it can be used for creating the forest or mountains around the scene.
     
    Last edited: Aug 8, 2012
  42. mboog12

    mboog12

    Joined:
    Oct 4, 2011
    Posts:
    91
    Hello, when I try the Antares Browser the names of the script are not visible (clipped) and I get the following error in Console : GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced (type:7)
    UnityEngine.GUIUtility:EndGUI(Int32, Int32, IDList)
     
  43. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Thank you. I'm in vacation now and will looking for it after 09.05
     
  44. mboog12

    mboog12

    Joined:
    Oct 4, 2011
    Posts:
    91
    ok :). Have a nice vacation!

    EDIT: i have 'fixed' the clipping of the script names by commenting GUILayout.Space(-80); in AntaresEdMainWindow : 178 .
    Dunno if that's the best solution, but for now it works.
    I still have the GUI Error though.
     
    Last edited: Aug 27, 2012
  45. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Reloaded
     
  46. Ullukai

    Ullukai

    Joined:
    Aug 24, 2010
    Posts:
    746
    Does the Antares Addon work on 4.1.2 ?
     
  47. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    yes, sure
     
  48. l0cke

    l0cke

    Joined:
    Apr 15, 2012
    Posts:
    438
    I ve received lots of errors in 4.x unity during import...
     
  49. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Ok, I will looking for it. May be something changed in UnityEditor classes again.
     
  50. Ullukai

    Ullukai

    Joined:
    Aug 24, 2010
    Posts:
    746
    I got these errors trying it on 4.2 :

    $7s0t.jpg

    any idea on how I can fix them ? Thanks