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:
- 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
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.