[QUOTE=Dlaor;20988883]Is it really necessary to show how easy this is to do in E2? My version is stand alone, what if someone wants this addon but doesn't have/want to install Wiremod?[/QUOTE]
No it's not necessary to show how easy it is to do in E2, but I did it anyway. I never said your Lua version was completely useless, and if someone who doesn't like or doesn't have wiremod wants something like this, then nothing is stopping them from using yours.
Edit: And an E2 is more agile in the way that you can bring it to any server that has E2 Derma and prop core and it'll work. You can even remove the derma part and it will work with only prop core.
While your lua code requires the server owner to install it seperately, most servers already have Wiremod (and several have prop core, and a few have E2 derma).
Anyway, this doesn't need to turn into a flame war. I'm not saying either of them is better. They're just good in different ways.
[QUOTE=Divran;20990267]No it's not necessary to show how easy it is to do in E2, but I did it anyway. I never said your Lua version was completely useless, and if someone who doesn't like or doesn't have wiremod wants something like this, then nothing is stopping them from using yours.
Edit: And an E2 is more agile in the way that you can bring it to any server that has E2 Derma and prop core and it'll work. You can even remove the derma part and it will work with only prop core.
While your lua code requires the server owner to install it seperately, most servers already have Wiremod (and several have prop core, and a few have E2 derma).
Anyway, this doesn't need to turn into a flame war. I'm not saying either of them is better. They're just good in different ways.[/QUOTE]
Lua version is better .
/thread
[QUOTE=MakeR;20990546]Lua version is better .
/thread[/QUOTE]
I'd rather have one addon that can do lots of shit, than one that can only do this.
However, I get your point.
[QUOTE=Dlaor;20933458]They will clip through everything. You should watch the video.
And I'm afraid I lack the trigonometric knowledge to make them into a sphere...
[editline]09:42AM[/editline]
You can edit the lua file for now, but I'll add this in the next version![/QUOTE]
You should see orbs tutorial for trig, its really good, and easy to follow.
[url]http://revver.com/video/399565/-orb-wire-mod-tut-26/[/url]
Color changing and model changing is implemented now. Together with stabilizing the shields so it stops physics stuff better (but still glitchy). Will post a picture of the new Shielder menu soon. Now I have to figure out how to make them into a sphere... Wish me luck.
[editline]07:44PM[/editline]
Here we go!
[img]http://filesmelt.com/dl/newshielder.png[/img]
As you can see, I wrote a cute model select thingy with rotating models in them :v:
Are they destructible? If not, it would be lovely if you made them so.
[QUOTE=Dlaor;20994836]Now I have to figure out how to make them into a sphere... Wish me luck.[/QUOTE]
Something like
[code]local Pos = Vector(Distance,0,0):Rotate(Angle(SomeNumber,0,0))[/code]
But Sakarias already mentioned that: [QUOTE=Sakarias88;20933539]Putting them in a sphere shouldn't be too hard but a problem might be visibility.
You can use Vector:Rotate( Angle ) to fix that sphere shield[/QUOTE]
Edit:
Dlaor, why are you re-defining the CalcShield* functions a gazillion times?
[code]hook.Add( "Think", "Shields", function()
local time = ( CurTime() * 180 )
function CalcShieldPos( ang, shields )
local dist = 11 * shields
return Vector( math.sin( math.rad( ang + time ) ) * dist, math.cos( math.rad( ang + time ) ) * dist, 0 )
end
function CalcShieldAng( i, shields )
local divide = 360 / shields
return Angle( 0, i * -divide + 180 - time, 90 )
end
...
[/code]
Can't you just do
[code] function CalcShieldPos( ang, shields )
local dist = 11 * shields
return Vector( math.sin( math.rad( ang + time ) ) * dist, math.cos( math.rad( ang + time ) ) * dist, 0 )
end
function CalcShieldAng( i, shields )
local divide = 360 / shields
return Angle( 0, i * -divide + 180 - time, 90 )
end
hook.Add( "Think", "Shields", function()
....[/code]
Or am I missing something...
I love the new model selector.
I noticed it interfered with your first pussy-thrown nade.
The bad thing about a good defense is the bad offense.
Also, wouldn't it also interfere with if you were building something?
Yep, that's why you can turn it off.
Oh boy! Exploding barrels, now THAT'S a shield!
I did find it funny that the original shield was made out of wood. An old timey solution for a modern day problem.
Make them either a sphere, destructible, or both, and I shall insta-download. I don't want to be invulnerable.
Here's a video of the new version.
[media]http://www.youtube.com/watch?v=l7R74fKGdEM[/media]
It isn't processed yet, but I'm going to bed now. I can't wait any longer :mad:
[QUOTE=JSK-Fox;21039647]Make them either a sphere, destructible, or both, and I shall insta-download. I don't want to be invulnerable.[/QUOTE]
I believe the wood boards are already destructible, but you can regenerate them.
Add swords, axes, metal weapons, etc. rotating around you at a fast pace, leaving behind trail of glow...
Then expand on it... Make it possible to attack remotely with those weapons!
Metal Shields would help too, and maybe they all have stats, like durability on damage taken...
Btw, the way they rotate would be completely different, so you do NOT have a 100% shield of weaponry, it's just fast enough to "deflect" bullets by chance.
Cool if you can turn it into a "skill" swep, having swords, axes, and knives be summoned around you in a cool motion, spinning rapidly doing damage per second to enemies in range, then disappearing over the course of time, or if the weapons themselves gets destroyed.
Maybe multiple layers of "items" to shield you, rotating in different speeds, radius, and range.
This will make the shield look far more cooler and makes other players think your psychic and can control weapons remotely...
How to implement the swep?
Equipping it won't summon it yet, but...
Mouse 1 - Summon weapons (one by one, per click)
Mouse 2 - Weapon attack! (The weapon in front of you is sent flying outward, then back like a boomerang, loses durability when it comes in contact with things)
Reload - Special Weapon attack! (Unleashes all weapons around you, but they don't come back). AoE attack.
Hmm, how to explain the sequence...
3 Layers:
Outer Layer = Swords (Furthest aim range)
Inner Layer = Axes (More powerful)
Last Layer = Shields (deflects bullets)
Swords do 8~14 damage, Axes do 12~20 damage, shields deals no damage to enemies but can handle up to 50 points of damage.
In conclusion, this SWEP (If made into a swep) would be very interesting in a gamemode, if you add Action RPG elements to it...
[QUOTE=Dlaor;21040898]Here's a video of the new version.
[media]http://www.youtube.com/watch?v=l7R74fKGdEM[/media]
It isn't processed yet, but I'm going to bed now. I can't wait any longer :mad:[/QUOTE]
Looks great!
New version online! Download here!
[url]http://www.garrysmod.org/downloads/?a=view&id=95021[/url]
Protip: Do NOT set off a nuke with the pallets as the shield. Makes a ton of gibs everywhere, lags like hell. Also, with fire, the pallets made a chaintrain of igniting and breaking. However, seeing as there's new shield types, this shouldn't be too much of a concern.
[QUOTE=rctfanatic;21056822]Protip: Do NOT set off a nuke with the pallets as the shield. Makes a ton of gibs everywhere, lags like hell. Also, with fire, the pallets made a chaintrain of igniting and breaking. However, seeing as there's new shield types, this shouldn't be too much of a concern.[/QUOTE]
Do you really expect wooden pellets to protect you from radiation? :v:
Hey Dlaor. I really like the add-on.
I'm sure this is stuff you're already thinking about implementing or have heard elsewhere as suggestions, but I'd like to see the following stuff in a new version:
-Edit: Herp derp! Nevermind, I just realized you added the material changing thing. My bad, I'm an idiot.
-Height offset. I'm sure most people won't find a use for this, but I thought it would be quite simple to code in a height offset so that you can make the shield a bit higher if you need it to be for whatever reason your little heart desires.
Good job though, keep it up. We need more unique add-ons like this. First add-on since RagMorph to impress me and provide me with hilarity playing with my buddies.
you should make an option so the shield can stay at one place instead of following you.
Sorry, you need to Log In to post a reply to this thread.