1. Post #81
    Gold Member
    LimEJET's Avatar
    November 2007
    1,697 Posts
    Yes, this is a rather glaring problem that i have yet to fix. I would encourage server admins and responsible players to be on the lookout for this sort of behaviour until i manage to get rid of the problem.
    No-colliding shouldn't be one of the constraints that the addon checks, since it doesn't actually constrain anything. What I would worry about, though, is Advanced Ballsockets. Or maybe there's some way of checking if "Free Movement" is on or not?

    Alternatively, you can check of the object is in range of the other entities. That would also give the nice side-effect of "shield-sharing".
    Reply With Quote Edit / Delete Reply Sweden Show Events Agree Agree x 1 (list)

  2. Post #82
    Weatherman64's Avatar
    August 2009
    132 Posts
    For those still following this project (A few of you, it seems. I'm rather surprised i got this much attention!)
    Are you kidding? We all want a better damage system and better shields than are available right now...
    Reply With Quote Edit / Delete Reply Czech Republic Show Events Agree Agree x 6 (list)

  3. Post #83
    Pass along
    commander204's Avatar
    May 2008
    4,065 Posts
    "Yes, this is a rather glaring problem that i have yet to fix. I would encourage server admins and responsible players to be on the lookout for this sort of behaviour until i manage to get rid of the problem."
    You can avoid this by doing a distance check proportional to the Size of the Entity. (So 2 big models which centers are completely on the opposite will still be counted together.)

  4. Post #84
    Gold Member
    Datsun's Avatar
    January 2008
    1,876 Posts
    I can't wait for this to come out. So far there has not been a Damage System (from my memory) that takes into account the entire contraption and rather than each prop separately.

    What kind of server options are there going to be? Say like weapon restrictions, turning the Damage On/Off or certain parts of it, etc.

    Also is it going to be an SVN? Just wondering because it would help keep everything in one piece and you don't have to re-upload different versions.
    Reply With Quote Edit / Delete Reply United States Show Events Agree Agree x 2 (list)

  5. Post #85
    Gold Member
    Mooee's Avatar
    June 2008
    1,131 Posts
    About the splash damage thing, is there anyway to make it dynamic? Like, more or less, having it wrap around said shield or object; basically enabling you to build a containment unit (or something of the sort, maybe a large concave wall, Iunno) to nearly manipulate the blast.
    Again, just wondering if its even possible, practibitly wise.

  6. Post #86
    Gold Member
    Datsun's Avatar
    January 2008
    1,876 Posts
    About the splash damage thing, is there anyway to make it dynamic? Like, more or less, having it wrap around said shield or object; basically enabling you to build a containment unit (or something of the sort, maybe a large concave wall, Iunno) to nearly manipulate the blast.
    Again, just wondering if its even possible, practibitly wise.
    Unfortunately that is impossible to make. It is like trying to make a sub where there is no water in the inside when it submerges. Can't change physics.
    Reply With Quote Edit / Delete Reply United States Show Events Informative Informative x 1 (list)

  7. Post #87
    Gold Member
    esalaka's Avatar
    July 2007
    10,130 Posts
    Unfortunately that is impossible to make. It is like trying to make a sub where there is no water in the inside when it submerges. Can't change physics.
    Actually, it would kinda be possible by firing a shitload of traces and using custom effects instead of actual explosions.

  8. Post #88
    Gold Member
    tuusita's Avatar
    June 2005
    214 Posts
    ... possible by firing a shitload of traces ...
    ... thus bringing the server to a grinding halt every time such an explosion occurred, no? :I
    Reply With Quote Edit / Delete Reply Finland Show Events Agree Agree x 4 (list)

  9. Post #89
    Gold Member
    CaMpEr_DoOd's Avatar
    December 2006
    4,611 Posts
    Would still be nice to have a shield than can contain explosions.

    So if a nuke went off the shield would wrap round it and absorb it into nothing.
    Reply With Quote Edit / Delete Reply United Kingdom Show Events Agree Agree x 2 (list)

  10. Post #90
    Gold Member
    robowurmz's Avatar
    April 2007
    2,245 Posts
    So if a nuke went off the shield would wrap round it and absorb it into nothing.
    This could be achieved by trickery. Shield looks for nuke entity in its area, and if it finds one, replaces it with an entity that, when it goes off, produces an effect and some muffled sounds so that it LOOKS like it contained the nuke, but in reality replaced the entity itself with one pre-destined to go voip.

  11. Post #91
    Gold Member
    1live's Avatar
    September 2006
    244 Posts
    Arania’s Contraption Damage Engine

    This has been my pet project for the better part of a year, and I believe it may finally be time that I show of the fruits of a near 12 months worth of poking Gmod with a very sharp stick

    What is it?
    The Contraption Damage Engine (CDE or CoDE) is my solution to what I considered to be a critical flaw in currently-available damage engines: You build contraptions in Garry’s Mod, from large spaceships to small automated drones, and yet both CDS and GCombat use weapons that apply damage on a per-entity basis.

    CDE does the exact opposite: damage from weapons is applied to an entire contraption, and it is only destroyed once its cumulative health reaches zero, allowing for more extended firefights which can last for minutes at a time, instead of mere seconds. Larger contraptions tend towards being more durable, instead of the existing model of only being as strong as their weakest part.

    Primarily, CDE is designed to be as simple and streamlined as possible for players, allowing them to focus on contraption building and combat rather than fiddly combat mechanics, while providing maximum functionality to developers through a modular design allowing them to easily make their own weapons and damage types, or even tie the addon into a gamemode!

    Features
    [list][*]Damage applied to entire contraption, rather than individual components (can be toggled off for a more Gcombat-like feel)[*]Destroying a contraption will leave wreckage, which then fades out over time (Wreckage settings can be modified via convar)[*]Cinematic death explosions that can take more than 5 minutes to complete for large contraptions, such as space stations (Can be toggled off for a more fast-paced combat style)[*]Shielding that covers an entire contraption, along with more conventional spherical shields that cover an area[*]Shield spheres overlap properly, producing the impression of a large shield ‘blister’ instead of a bundle of disparate bubbles[*]Modular damage system allows custom entity and damage types to be added easily (such as anti-missile or anti-shield damage types, for example)[*]Works with Gcombat and CDS weapons (See posts below)[/list]
    Media
    Pics:

    Before, During and After shots of a Wi-Fi hotspot getting destroyed-


    Shield Dome Exterior Shots-


    Overlapping Shields, Interior and Exterior Shots-


    Contraption-Conforming Shields on an SBMP Ship. Unshielded and Shielded Shots-


    Videos:
    Coming as soon as my cameraman gets sick of me poking him


    When will it be released?
    I’m hoping that I will have a version stable enough for public beta by the end of the year, provided people express interest in the idea!

    Questions are very welcome
    It's impressive, But yet so useless for GMod.


    Let me rephraise that. Your idea is good, not really that orginal but it's well done. But in gmod you don't really have any use for this kind of work. It doesn't fit anywhere. What you should have done was create a gamemode and then add the cool functions to it. Now you did it otherway and it turned out that it's not really something people want to use. Which basically makes it useless.

    The only way for you to fix this situation is to make something which can use this code of yours.
    Reply With Quote Edit / Delete Reply Finland Show Events Disagree Disagree x 32Dumb Dumb x 8 (list)

  12. Post #92
    Gold Member
    Xion21's Avatar
    May 2007
    1,158 Posts
    I don't believe you are correct with that. I respect your opinion and I'm not going to blindly yell at you, but I see no proof that this isn't useful, A Gamemode may be on the way eventually, but I would rather have this as just an addon so it can be used anytime, in any Sandbox or Spacebuild.
    Reply With Quote Edit / Delete Reply United States Show Events Agree Agree x 5 (list)

  13. Post #93
    Gold Member
    LimEJET's Avatar
    November 2007
    1,697 Posts
    It's impressive, But yet so useless for GMod.


    Let me rephraise that. Your idea is good, not really that orginal but it's well done. But in gmod you don't really have any use for this kind of work. It doesn't fit anywhere. What you should have done was create a gamemode and then add the cool functions to it. Now you did it otherway and it turned out that it's not really something people want to use. Which basically makes it useless.

    The only way for you to fix this situation is to make something which can use this code of yours.
    What.
    So what you are basically saying is that nobody wanted CDS and GCombat either?
    Reply With Quote Edit / Delete Reply Sweden Show Events Useful Useful x 2Agree Agree x 2 (list)

  14. Post #94
    Gold Member
    esalaka's Avatar
    July 2007
    10,130 Posts
    ... thus bringing the server to a grinding halt every time such an explosion occurred, no? :I
    Indeed! This is what I meant :D

  15. Post #95
    LokiSan's Avatar
    July 2008
    795 Posts
    It's impressive, But yet so useless for GMod.

    Let me rephraise that. Your idea is good, not really that orginal but it's well done. But in gmod you don't really have any use for this kind of work. It doesn't fit anywhere. What you should have done was create a gamemode and then add the cool functions to it. Now you did it otherway and it turned out that it's not really something people want to use. Which basically makes it useless.

    The only way for you to fix this situation is to make something which can use this code of yours.
    Ok, I don't care how long you have been here, let me introduce you to the SBEP, which is used to add more stuff into Spacebuild - which is more or less the exact mode he would have to create to make best use of this anyway.

    Then apply the shite (but not actually that shite) we have had to use with it for years. Oh and CDS, which is now defunct.

    We DO want it, and we will use it loads in Spacebuild, war servers etc - as is indicated by all the replies here (cept yours) and many replies in the SBEP thread after this was announced.

    Now, your head. Take it out from under that rock. Thanks.

    I appreciate this was argumentative but lets fucking face it, did 1live even read the damn thread?
    Reply With Quote Edit / Delete Reply United Kingdom Show Events Agree Agree x 9Friendly Friendly x 3 (list)

  16. Post #96
    Gold Member
    Datsun's Avatar
    January 2008
    1,876 Posts
    What you should have done was create a gamemode and then add the cool functions to it.
    That would take much more time and effort to get a GM going. Then having to always load the GM for single player, or go to certain servers that are running the GM. I think that is too much hassle.

    Plus think of the stupid criticism. "Durr, it is another Sandbox GM, how imaginative....", etc. It is way better off as an addon than a GM.
    Reply With Quote Edit / Delete Reply United States Show Events Optimistic Optimistic x 1 (list)

  17. Post #97
    Weatherman64's Avatar
    August 2009
    132 Posts
    Don't let that guy put you off, most of us want this as an addon...
    Reply With Quote Edit / Delete Reply Czech Republic Show Events Agree Agree x 4 (list)

  18. Post #98
    DVD Player's Avatar
    May 2008
    172 Posts
    It's impressive, But yet so useless for GMod.


    Let me rephraise that. Your idea is good, not really that orginal but it's well done. But in gmod you don't really have any use for this kind of work. It doesn't fit anywhere. What you should have done was create a gamemode and then add the cool functions to it. Now you did it otherway and it turned out that it's not really something people want to use. Which basically makes it useless.

    The only way for you to fix this situation is to make something which can use this code of yours.

    Reply With Quote Edit / Delete Reply Canada Show Events Funny Funny x 12Agree Agree x 8 (list)

  19. Post #99
    Arania's Avatar
    November 2007
    57 Posts
    No-colliding shouldn't be one of the constraints that the addon checks, since it doesn't actually constrain anything. What I would worry about, though, is Advanced Ballsockets. Or maybe there's some way of checking if "Free Movement" is on or not?
    You can avoid this by doing a distance check proportional to the Size of the Entity. (So 2 big models which centers are completely on the opposite will still be counted together.)
    I'm planning on writing a function to 'filter' certain constraints to remove the issue, so no-collides and certain other constraints won't be used to find a contraption. (I think i mentioned that somewhere...)


    I can't wait for this to come out. So far there has not been a Damage System (from my memory) that takes into account the entire contraption and rather than each prop separately.

    What kind of server options are there going to be? Say like weapon restrictions, turning the Damage On/Off or certain parts of it, etc.

    Also is it going to be an SVN? Just wondering because it would help keep everything in one piece and you don't have to re-upload different versions.
    There will be the standard limit on weapons controllable via a convar, along with the following:
    [list][*]Whether or not wreckage is left behind, how long it takes the wreckage to fade out, and how solidly the wreckage is constrained to other wreckage from the same contraption[*]How violent contraption death is, whether contraptions shatter instead of leaving constrained wrecks when they are destroyed, and if the contraption death is 'cinematic' (basically delaying the final death explosion and causing secondaries to pop off all over it)[*]Entity health multipliers and max health[*]Whether or not the engine overrides CDS and GCombat damage calls[*]Whether or not the weapons use energy[/list]
    And yes, there WILL be a public SVN that i will be hosting the public release on, which will be updated periodically as I add stuff


    About the splash damage thing, is there anyway to make it dynamic? Like, more or less, having it wrap around said shield or object; basically enabling you to build a containment unit (or something of the sort, maybe a large concave wall, Iunno) to nearly manipulate the blast.
    Again, just wondering if its even possible, practibitly wise.
    This IS basically what i want to do, but, as mentioned by others, it is incredibly tricky to do.


    It's impressive, But yet so useless for GMod.


    Let me rephraise that. Your idea is good, not really that orginal but it's well done. But in gmod you don't really have any use for this kind of work. It doesn't fit anywhere. What you should have done was create a gamemode and then add the cool functions to it. Now you did it otherway and it turned out that it's not really something people want to use. Which basically makes it useless.

    The only way for you to fix this situation is to make something which can use this code of yours.
    ...Excuse me?

    Unless i'm really misinterpreting the general consensus of people who have posted thus far, it seems as though people DO want to use it! In fact, there are three pages worth of people saying that they're interested! Not only that, but the main reason I started this project was becaue I wanted it, I sat down, and instead of trying to make something gimmicky or 'cool', i tried to make someting that people would find useful.

    And i HIGHLY disagree with your opinion on that this should have been made as a Gamemode. Gamemodes are designed to add or change significant functionality of gmod, to entirely change the feel of the game (As an example, DarkRP is ENTIRELY different to Melonracer, they feel different and play different). You wouldn't expect something like Wire, the SBEP, or Avon's Stargates to be built as an indipendent gamemode, because they're supposed to be used alongside EXISTING gamemodes. they don't CHANGE gameplay, they ADD to it! (anyone who has played GMStranded with Stargates knows what i mean). As this system is meant to be used with existing content from other gamemodes (like sandbox and Spacebuild), i fail to see what benefit I would gain by releasing CoDE as a gamemode rather than an addon.

    Also: Unoriginal? I realise i have used a few ideas and mechanics from other games, but this is hardly an unoriginal idea as far as Gmod is concerned. Please, if someone else has done this before, please point them out


    Don't let that guy put you off, most of us want this as an addon...
    It's getting released, don't worry. All that's left is a few minor bugs i need to hunt down.


    ...
    That, sir, is one of the single funniest things i have seen...
    ...ever...

    You win a cookie.
    Reply With Quote Edit / Delete Reply Australia Show Events Friendly Friendly x 4Agree Agree x 4Dumb Dumb x 1Informative Informative x 1 (list)

  20. Post #100
    Gold Member
    Sodisna's Avatar
    May 2007
    2,919 Posts
    ...
    That, sir, is one of the single funniest things i have seen...
    ...ever...

    You win a cookie.
    I chuckled.

    But, 1Live, what everyone has said is basically true.
    Reply With Quote Edit / Delete Reply United States Show Events Agree Agree x 1 (list)

  21. Post #101
    Gold Member
    Mooee's Avatar
    June 2008
    1,131 Posts
    people posted:
    <words of wisdom>
    Thanks for the feed back!

  22. Post #102
    DVD Player's Avatar
    May 2008
    172 Posts
    I eagerly anticipate a progress report and/or release.
    Reply With Quote Edit / Delete Reply Canada Show Events Agree Agree x 7 (list)

  23. Post #103
    Gold Member
    cbale2000's Avatar
    May 2007
    574 Posts
    I eagerly anticipate a progress report and/or release.
    Heck yes! 3 days and no posts on this topic?!? Something must be done! >:D
    Reply With Quote Edit / Delete Reply United States Show Events Agree Agree x 2 (list)

  24. Post #104
    Arania's Avatar
    November 2007
    57 Posts
    Heck yes! 3 days and no posts on this topic?!? Something must be done! >:D
    oh you people and your demands! :P

    Progress report: Still got 4 or so bugs to nail down (fairly minor, but i still want to get them fixed), and then it should be ready for release. I've also been pestering my cameraman/video guy to actually MAKE the damn demo video, so hopefully there'll be a video out soon (and by 'soon i mean 'before the actual addon release')

    For those who want an exact date, I'm aiming to have it all ready by December 30th.


    Additionally: Since this IS going to be a beta release, i'm looking for interested server operators/admins willing to host CoDE and send me bug reports and updates once it's released (I don't need many, 2-3 would do. Obviously, War and Spacebuild servers with regular players would be preferred so that any post-release bugs can be quickly discovered and fixed). Send me a PM if you're interested.
    Reply With Quote Edit / Delete Reply Australia Show Events Friendly Friendly x 2Informative Informative x 1Funny Funny x 1 (list)

  25. Post #105
    DVD Player's Avatar
    May 2008
    172 Posts
    I don't have a server, probably never will, but the way I play single player it is just as effective!
    I'll let you know if I find anything.

  26. Post #106
    Gold Member
    Mooee's Avatar
    June 2008
    1,131 Posts
    Looking forward to this! Good luck with those bugs!

  27. Post #107
    Gold Member
    Xion21's Avatar
    May 2007
    1,158 Posts
    Oh yeah, this should be super nice to have. I can just imagine people making things for this, it seems quite flexible!

  28. Post #108
    Arania's Avatar
    November 2007
    57 Posts
    I have posted two demo videos on the front page of the thread, along with pictures of a submarine armed with CoDE weapons that was used during testing. Enjoy!
    Reply With Quote Edit / Delete Reply Australia Show Events Friendly Friendly x 1 (list)

  29. Post #109
    DVD Player's Avatar
    May 2008
    172 Posts
    Methinks you need some epic sounds for this pack!
    Reply With Quote Edit / Delete Reply Canada Show Events Agree Agree x 5 (list)

  30. Post #110
    Gold Member
    Mooee's Avatar
    June 2008
    1,131 Posts
    Videos:
    Are those SBEP models I see? Wewt.
    Looks great man, nice and clean too.
    Do the weapons automaticly home in or is that a bit of wire trickery?
    Reminds me of sex.
    Love the Sub and Missles.

  31. Post #111
    Gold Member
    Xion21's Avatar
    May 2007
    1,158 Posts
    I think Arania made the best decision ever by keeping this as an addon, a part of Gmod itself, and not as a gamemode. I love this man. :3: (Not in a creepy way, promise.)
    Reply With Quote Edit / Delete Reply United States Show Events Agree Agree x 1 (list)

  32. Post #112
    Gold Member
    Datsun's Avatar
    January 2008
    1,876 Posts
    Very nice job with the addon. Those videos look fun. One question, I don't need some of the spacebuild models for the weapons right? It comes with them?

  33. Post #113
    Gold Member
    Sodisna's Avatar
    May 2007
    2,919 Posts
    I just don't like how it destroys the whole contraption, or can you change that?
    Reply With Quote Edit / Delete Reply United States Show Events Agree Agree x 1 (list)

  34. Post #114
    DVD Player's Avatar
    May 2008
    172 Posts
    I just don't like how it destroys the whole contraption, or can you change that?
    Why not? I mean, it's not like it's gonna be useable once it's destroyed anyways.
    Reply With Quote Edit / Delete Reply Canada Show Events Agree Agree x 2Disagree Disagree x 1 (list)

  35. Post #115
    Exitus's Avatar
    January 2005
    56 Posts
    I just don't like how it destroys the whole contraption, or can you change that?
    Err, don't use the addon then?

    I mean, that's the whole point of the addon, right?
    Reply With Quote Edit / Delete Reply Show Events Agree Agree x 1 (list)

  36. Post #116
    Gold Member
    Sodisna's Avatar
    May 2007
    2,919 Posts
    I mean I would like for it to destroy a part of it. There's really isn't damage system that doesn't very well. GCombat does it, but you can't set the health of the props.

  37. Post #117
    Hates Ayn Rand
    1239the's Avatar
    December 2005
    824 Posts
    I mean I would like for it to destroy a part of it. There's really isn't damage system that doesn't very well. GCombat does it, but you can't set the health of the props.
    Original Post posted:
    Damage applied to entire contraption, rather than individual components (can be toggled off for a more Gcombat-like feel)
    Derp.
    Reply With Quote Edit / Delete Reply Australia Show Events Optimistic Optimistic x 1Informative Informative x 1Agree Agree x 1 (list)

  38. Post #118
    Pass along
    commander204's Avatar
    May 2008
    4,065 Posts
    Or instead of making it explode All at once, make it explode from the Tail to the Front or something would look alot better!

  39. Post #119
    Gold Member
    Killer_Steel's Avatar
    October 2007
    1,362 Posts
    I think we have our next best prop damage system :O, this looks abso-fuckin-lutely AWESOME! Incredible work, and the warp effect on the missile firing gives it a sci-fi kinda feel :D. Agreed though, this needs some awesome sounds to go with it.

    Very nice work, can't wait for the beta :3.
    Reply With Quote Edit / Delete Reply Canada Show Events Agree Agree x 2 (list)

  40. Post #120
    1337_R0xx0r's Avatar
    October 2007
    11 Posts
    I always wanted to make my own Weapons, i actually did them, but i have problems to make them Combatible with Shields (Stargate pack). What's the way you coded your projectiles? I have tried multiple ways.
    - Bullets (work with shields, but suck because they are instant and non synchronous with effects)
    - Entities with SetPos (the way Gcombat does it). Sucks because the don't work with shields
    - SetPos with Stargate-mod traces, works with shield but sucks because can't damage shields automatically and i would have to manipulate the Shield generators values.
    - Deriving from aVoNs Staff Weapon, great but his code is so complicated, it works, but it's too hard to change some things because i don't fully understand how this works.

    So what's the way to make weapons compatible with your shields?