Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

uSurvival Official Thread - Unity Multiplayer Survival Asset

Discussion in 'Assets and Asset Store' started by vis2k, May 14, 2018.

  1. vis2k

    vis2k

    Joined:
    Sep 4, 2015
    Posts:
    3,214
    Runs on just about all Unity platforms. So standalone works fine. WebGL too.
     
  2. socialsumate

    socialsumate

    Joined:
    Apr 29, 2018
    Posts:
    18
    I bought this asset two days ago, I must say that I am impressed with the entire organization that exists within it. I would like to ask and highlight some things that I could see.
    1-It would be very important that we could see the names of the players on top of them.
    2-Add another object that allows you to create other recipes different from those shown in the main crafting UI.
    3-It will be possible to add a password to the doors or a key system for the door. Currently if you build a hut there is no way that someone does not steal your things. (This I think is the most important of all)
    4-Could add any option for when a player disconnects leave any reference. For example, if you're in a battle and you just do not want to lose things in your inventory, you're disconnected and that's it. The other player can not kill you. It would be great that even if you are disconnected you can be murdered, then when you are murdered you expel things from your inventory.
     
    digiross likes this.
  3. vis2k

    vis2k

    Joined:
    Sep 4, 2015
    Posts:
    3,214
    1. Just add a TextMesh on top of them. I do this in uMMORPG too.
    2. You can create recipes by right clicking in the project area and then select uSurvival Recipe. You can also inherit from ScriptableRecipe to do other things.
    3. I won't add a password, this seems too game specific. But feel free to add it yourself, that's why you get all the code :)
    4. Will have to think about it. Good point.
     
  4. socialsumate

    socialsumate

    Joined:
    Apr 29, 2018
    Posts:
    18
    @vis2k Thank you for responding, I would appreciate it if you could add at least see the name, it may be something easy for many here, I am still learning and I do not think I can do it without spoiling anything. I already wrote my review, the truth is that I am delighted with this asset.
     
    Last edited: Nov 8, 2018
  5. vis2k

    vis2k

    Joined:
    Sep 4, 2015
    Posts:
    3,214
    Thanks. I won't add it though, I am more going into the DayZ direction with this asset, sorry.
    It should be Unity basics though. If you learn how to use TextMesh then it will be doable with about 1 line of code (textMesh.text = player.name);
     
  6. ddoine

    ddoine

    Joined:
    Apr 19, 2018
    Posts:
    4
    "If you want a game like DayZ, then go with uSurvival. If you want a game like World of Warcraft, go with uMMORPG."

    What if I want a game like 7 days to die? I am assuming Usurvival should do the trick
     
  7. CrandellWS

    CrandellWS

    Joined:
    Oct 31, 2015
    Posts:
    90
    Are any improvements planed for the build system?
     

    Attached Files:

  8. socialsumate

    socialsumate

    Joined:
    Apr 29, 2018
    Posts:
    18
    It would be great to add a system for placing objects, for example a table, a lamp or a vneilador.La idea is to add objects to the ground or on a foundation.It is very difficult with the current system of construction, for example if I add a crafting table, the current construction system would allow me to place this table in the air.
     
  9. vis2k

    vis2k

    Joined:
    Sep 4, 2015
    Posts:
    3,214
    I would use uSurvival for that yes.

    You mean gravity?

    You could add rigidbodies to your constructions so that they stick to the ground. I am not 100% sure about the perfect solution there yet.
     
  10. CrandellWS

    CrandellWS

    Joined:
    Oct 31, 2015
    Posts:
    90
    @vis2k gravity would nice...I don't like that the pallet can float...

    Beyond this what is planned on your end?
     
  11. vis2k

    vis2k

    Joined:
    Sep 4, 2015
    Posts:
    3,214
    Working on smaller fixes and improvements at the moment
     
  12. 99thmonkey

    99thmonkey

    Joined:
    Aug 10, 2012
    Posts:
    521
    WebGL from the Asset Store page doesn't seem to work past the login. I just want to test it out to see what it's all about
     
  13. vis2k

    vis2k

    Joined:
    Sep 4, 2015
    Posts:
    3,214
    Thanks for letting me know. Not sure why that happened, but I uploaded the older demo again. That should work.
     
  14. 99thmonkey

    99thmonkey

    Joined:
    Aug 10, 2012
    Posts:
    521
    okay, i will try it again soon. I just want to see what it's all about. Would love to have some of these features in uMMORPG.
     
  15. 99thmonkey

    99thmonkey

    Joined:
    Aug 10, 2012
    Posts:
    521
    Doesn't seem to finish loading for me. Not sure why.


    An error occurred running the Unity content on this page. See your browser JavaScript console for more info. The error was:
    too much recursion
     
    Last edited: Nov 15, 2018
  16. vis2k

    vis2k

    Joined:
    Sep 4, 2015
    Posts:
    3,214
    Sorry about that. I get the same issue here. The webgl demo that I uploaded worked fine a month ago, something odd seems to happen. Might be the webhost or the latest firefox version, not sure yet.
     
  17. vis2k

    vis2k

    Joined:
    Sep 4, 2015
    Posts:
    3,214
    Looks like the heartbeat sound caused it to fail in latest Firefox versions. Removed it in the WebGL demo, try again please.
     
    Last edited: Nov 16, 2018
  18. 99thmonkey

    99thmonkey

    Joined:
    Aug 10, 2012
    Posts:
    521
    An error occurred running the Unity content on this page. See your browser JavaScript console for more info. The error was:
    too much recursion

    If you had a place to download an exe, I'd try that :)
     
  19. vis2k

    vis2k

    Joined:
    Sep 4, 2015
    Posts:
    3,214
    You can contact me in our Discord for an exe.
    But try deleting your cache. The new version: https://noobtuts.com/_builds/unity-uSURVIVAL/ works in Firefox 63.0.1 and in Safari at least.
     
  20. cwxxc3

    cwxxc3

    Joined:
    Feb 1, 2017
    Posts:
    17
    Can you add grenades as a feature? It's in both Dayz and fortnite, and would be fun to have
     
  21. vis2k

    vis2k

    Joined:
    Sep 4, 2015
    Posts:
    3,214
    Will put it on my list, that would be fun yes!
     
  22. vis2k

    vis2k

    Joined:
    Sep 4, 2015
    Posts:
    3,214
    Progress: V1.27 pending review:
    • Interaction Raycasts fixed. Own animations don't block them anymore.
    • Climbing direction is now relative to ladder rotation, so it works for rotated ladders too
    • UIEquipmentSlot overlays raycast targets disabled so drag and drop is easier
    • Unity Essentials/Blacksmith/Features removed
    • Fixed application identifier
     
  23. socialsumate

    socialsumate

    Joined:
    Apr 29, 2018
    Posts:
    18
    Hi Visk, there are two points I wanted to comment on.

    -The construction system is a bit difficult, really build a shelter with this system is very uncomfortable.I add concrete but I am not allowed to put it on the ground.For example if I try to build a house, using walls, floor and ceiling, the walls it should only be possible to put them on a cement floor, and in turn the roof can only be placed if there is a wall.

    -Will there exist at some point a map and minimap system?

    Thanks greetings

    I use a translator, I apologize if something in this message comes to offend someone. Everyone has a good day.
     
  24. CrandellWS

    CrandellWS

    Joined:
    Oct 31, 2015
    Posts:
    90

    It is a rudimentary setup I hope that someone might integrate something more like

    https://assetstore.unity.com/packages/tools/physics/uconstruct-runtime-building-system-51881

    depending on coding skills this may be more of what you want...

    note that vis keeps things somewhat simple... providing more options and keeping it simple will simply takes time...but he is very good about regular updates and is reliable for communicating with.
     
    socialsumate and vis2k like this.
  25. vis2k

    vis2k

    Joined:
    Sep 4, 2015
    Posts:
    3,214
    I agree, it's not perfect yet. As Crandell said, the first goal was to have a very simple construction system in there. More improvements will come :)
     
    CrandellWS and socialsumate like this.
  26. socialsumate

    socialsumate

    Joined:
    Apr 29, 2018
    Posts:
    18
    Thank you very much, I am having a lot of fun using this asset. regards
     
    vis2k likes this.
  27. UDN_449900de-7c34-4a67-83eb-fa8501bf0413

    UDN_449900de-7c34-4a67-83eb-fa8501bf0413

    Joined:
    Jun 16, 2017
    Posts:
    16
    Sugestion: Campfire, Furnace and craftingtable workstations could be awesome.
     
  28. vis2k

    vis2k

    Joined:
    Sep 4, 2015
    Posts:
    3,214
    Crafting at campfire is on my list, will be added soon!
     
    CrandellWS likes this.
  29. Aleksey8310pes

    Aleksey8310pes

    Joined:
    Feb 27, 2017
    Posts:
    15
    I bought this asset, a powerful tool !! but as for me, the games of this genre here are critically lacking the cycle of day and night and quests, it would be nice to add in the future! =) I think about these ideas I will be supported by many people....good luck in development!=)
     
  30. vis2k

    vis2k

    Joined:
    Sep 4, 2015
    Posts:
    3,214
    I won't add quests to uSurvival because I want to focus on the core survival features, and not make it unnecessarily complicated.

    But it's a template, so add whatever you need for your game project!
     
  31. Aleksey8310pes

    Aleksey8310pes

    Joined:
    Feb 27, 2017
    Posts:
    15
    the cycle of day and night?=)
     
  32. bruno-cpor

    bruno-cpor

    Joined:
    Sep 15, 2017
    Posts:
    1
    Hi, can I have your doubts, please?
    The first person, and real or is a third person zoom? like demo.
     
  33. vis2k

    vis2k

    Joined:
    Sep 4, 2015
    Posts:
    3,214
    News: uSurvival is on Unity's Cyber Week mega sale today, grab it while you can!

    Progress:
    V1.28 submitted for review!
    • Removed unused assets in project
    • ScriptableRecipe var replaced with actual type
    • Documentation updated (Script Events added)
    • PlayerStorageCommands renamed to PlayerStorageUsage for consistency
    • WeaponModel renamed to WeaponDetails so it's more obvious
    • Fixed ground panel flickering by moving one of the ground elements a bit higher
    • UIProgressBar code simplified
    • Utils.Raycast/Linecast/SpherecastWithout layerMask parameter added
    • Standing in shallow water instead of swimming as soon as we touch water
    • Climbing fixed: climb-exit is now checked via !Intersects instead of OnTriggerExit; rotation is now also reset when exiting rotated ladders
    • UIChat.singleton to avoid FindObjectOfType calls

    Probably won't add day & night either, sorry. This is too game specific and is rather easy to do anyway (just use NetworkTime.time instead of Time.time to bind the sky on).

    There is first and third person. What you see in the demo is exactly what you get.
    (Sorry I don't fully understand your question)
     
    WeedBurger likes this.
  34. johnlanz

    johnlanz

    Joined:
    Sep 2, 2016
    Posts:
    37
    Can you point me in the right direction how to use this with invector controller. I've already have a working multiplayer using Mirror with invector but its just for syncing animation.
     
  35. vis2k

    vis2k

    Joined:
    Sep 4, 2015
    Posts:
    3,214
    I never tried invector myself, I am not sure
     
  36. Player7

    Player7

    Joined:
    Oct 21, 2015
    Posts:
    1,383
    Hey Vis2k did you get around to implementing this ?

     
  37. vis2k

    vis2k

    Joined:
    Sep 4, 2015
    Posts:
    3,214
    Not yet, sorry.
     
  38. iLawn

    iLawn

    Joined:
    Apr 16, 2013
    Posts:
    13
    vis2k, what about player teleport ? how to correct make it for uSur?
    saw it in uMMORPG, may be possible in uSurviv
     
  39. cwxxc3

    cwxxc3

    Joined:
    Feb 1, 2017
    Posts:
    17
    Why do you want higher quality models and animations in a template? You're supposed to replace them with your own. Otherwise it just becomes too easy to asset flip
     
  40. Player7

    Player7

    Joined:
    Oct 21, 2015
    Posts:
    1,383
    I don't I like a simple framework with prefabs and clear direction of what can be ripped out and replaced without so much heavy intanglement of demo code features + other stuff. My reply I had written early was actually along the lines of clear up the demo scene it's a damn mess. However that issue of the character model leaving no shadow for the head while leaving geometry that is near the head showing a shadow just looks messy, and the solution to it that vis proposed earlier of a using layers was good and i wanted to see it implemented for my own guidance on doing the same.
     
  41. vis2k

    vis2k

    Joined:
    Sep 4, 2015
    Posts:
    3,214
    Just change transform.position!

    It's definitely a visual bug that needs to be fixed
     
  42. mindfulmx

    mindfulmx

    Joined:
    Mar 21, 2017
    Posts:
    31
    Hello,
    Will this asset include Melee & Ranged Weapons?
    Thanks!
     
  43. vis2k

    vis2k

    Joined:
    Sep 4, 2015
    Posts:
    3,214
    It already does!
     
    mindfulmx likes this.
  44. johny256

    johny256

    Joined:
    Mar 3, 2015
    Posts:
    186
    animation reload?
    animation swicht weapon?
    integration weapon and animation first person or third person?
     
  45. vis2k

    vis2k

    Joined:
    Sep 4, 2015
    Posts:
    3,214
    I have no reload or weapon switch animations yet, sorry.
     
  46. Davood_Kharmanzar

    Davood_Kharmanzar

    Joined:
    Sep 20, 2017
    Posts:
    249
    @vis2k

    hi,
    thanks for your incredible product ... good job :]

    my scripting knowledge is poor :[

    1- how i can switch to First Person mode in demo? does exists any hotkey? [Unity 2018.2.18]
    2- is it possible to starting new game without create and select an character? i mean directly start ...
    3- can i change the default hotkeys? or assign twice hotkeys to the specific task ...
    4- is it possible to automatic adding of picked weapons to the armor list? and auto charging of weapons when picking up cartridges?
    5- and switch between weapons via mouse scroll?
     
    Last edited: Dec 4, 2018
  47. nathanjams

    nathanjams

    Joined:
    Jul 27, 2016
    Posts:
    170
    Hi,

    In the recent release, there is the message

    Code (CSharp):
    1.  
    2. uSurvival works best with Unity 2018.2.15f1 LTS! Download: https://unity3d.com/unity/qa/lts-releases
    3. UnityEngine.Debug:LogWarning(Object)
    4. UnityVersionCheck:Awake() (at Assets/VSSurvival/Scripts/UnityVersionCheck.cs:11)
    5.  
    But if you got to that link the most recent is version is 2017.4.16f1
    is there a recommended build for USurvival?

    Thanks,
    Nathan
     
  48. Andrey_Kiselev

    Andrey_Kiselev

    Joined:
    Jun 25, 2014
    Posts:
    9
    Good day! Is it possible to apply a peer to peer network scheme and limit the number of players? Or is it necessary to create a separate server at the hardware level? Thank You!
     
  49. vis2k

    vis2k

    Joined:
    Sep 4, 2015
    Posts:
    3,214
    Thanks!
    1) Zoom in with the mouse wheel
    2) You could modify the NetworkManagerSurvival script for that yes
    3) The components have 'public KeyCode hotKey' fields for most actions
    4) It's possible but you'd have to do that yourself at the moment
    5) Possible too, but I won't add it because I use the mouse wheel to zoom

    The latest 2017.4 LTS is fine. They were all very stable so far.

    Peer to peer is usually a bad idea for multiplayer games because there is no way to avoid cheating then.
     
  50. Player7

    Player7

    Joined:
    Oct 21, 2015
    Posts:
    1,383
    Honestly mousehweel should on it's own be specifically for weapon switching, itemslot switching etc..

    While a ctrl/alt modifier + mousewheel could be used for camera zoom.
     
    Cybit and socialsumate like this.