Search Unity

[RELEASED] uConstruct - Fully generic, socket based runtime construction system

Discussion in 'Assets and Asset Store' started by ElroyUnity, Oct 17, 2015.

  1. Mooselicious

    Mooselicious

    Joined:
    Nov 20, 2019
    Posts:
    3
    Hello again

    Thank you for the tip Elroy, GetLastWriteTime is something I haven't used before & looks better than system linq. However I am struggling getting it to work within the existing uconstruct save framework. Do you have any rough examples? Sorry if I am being a pain, the only thing I haven't been able to change within Uconstruct is the save load order to most recent. The documentation was perfect for everything else.
     
    ElroyUnity likes this.
  2. ElroyUnity

    ElroyUnity

    Joined:
    May 20, 2015
    Posts:
    1,588
    Not on a computer for the next week or so :/ but basically if you save the game into an physical file on your disk, your os also saves certain data for the file, like when you last written into the file etc. So just access that using the example above :) if you still can't get it to work, send me a pm and I will try to get near a computer
     
  3. Mooselicious

    Mooselicious

    Joined:
    Nov 20, 2019
    Posts:
    3
    Got it to work thanks!

    Changed get levels to this.

    Code (CSharp):
    1. filesInOrder = new DirectoryInfo(UCSavingManager.folderPath).GetFiles("*." + UCSavingManager.fileFormat).OrderByDescending(f => f.LastWriteTime).Select(f => f.Name).ToArray();
     
  4. ElroyUnity

    ElroyUnity

    Joined:
    May 20, 2015
    Posts:
    1,588
    Awesome! :D happy you got it working :)
     
  5. DissociatedGames

    DissociatedGames

    Joined:
    Oct 10, 2015
    Posts:
    2
    Decided to pick this up today, and for anyone wondering it works fine on 2019.3.8f1, it does get stuck importing 'UConstructPrefabsDatabase.asset', but i closed/reopen unity and all seems to work fine.

    Created a test cube foundation asset, added sockets and ground check in a few minutes and loving it so far, the destruction works as I would expect.

    The only problem I'm noticing so far is on the ground checking. no matter the shape of the structure, if I destroy the original block the entire thing will collapse, even if it is connecting to the ground on other pieces.

    Does anyone know a fix for that? If I can get that part figured out this will be the perfect asset for what I want to do.
     
  6. gearedgeek

    gearedgeek

    Joined:
    Jun 19, 2015
    Posts:
    231
    @ElroyUnity any news about updating the asset to support the latest version of Opsive character controllers?
     
  7. Recon03

    Recon03

    Joined:
    Aug 5, 2013
    Posts:
    679
    I know Elroy was in the service in his country, its possible he is away.... (can't confirm, but been awhile since I talk to him.
     
  8. ElroyUnity

    ElroyUnity

    Joined:
    May 20, 2015
    Posts:
    1,588
    Hey guys, as @Recon03 mentioned I wasn't around lately and me losing access to this account's mail didn't help either :)

    Not able to update the system at the moment but will be able to soon. If anyone is having problems with the asset feel free to send me a mail to my support mail/ to this account and I will help solve the problem!
     
    julianr likes this.
  9. KingLlama

    KingLlama

    Joined:
    Jul 18, 2015
    Posts:
    190
    Do you happen to know if that is something you would like to add?
     
  10. ElroyUnity

    ElroyUnity

    Joined:
    May 20, 2015
    Posts:
    1,588
    Most likely no, not for this version at least :) sorry!
     
  11. tredpro

    tredpro

    Joined:
    Nov 18, 2013
    Posts:
    488
    Could you explain why I should use yours and not ubs please? I own both
     
  12. ewr

    ewr

    Joined:
    Jan 24, 2014
    Posts:
    6
    You removed the asset from the store :(
    I was hoping to buy it someday, I still use Unity5, so I had an eye on this asset for years :(
    is there anyway i can still buy it ?
     
  13. Recon03

    Recon03

    Joined:
    Aug 5, 2013
    Posts:
    679
    I used it on and off for years, but now a days, mine is mainly custom code now over the years... I would DM him, I know he was in the military, and never had any time anymore for his assets. So I understand that. So best would be to contact him. I used to talk to him alot back in the day, but he has been away, on and off. that is your best bet.
     
unityunity