Lua king is an old rating from before Facepunch when to shit.
[QUOTE=NullPoint;19974833][media]http://www.youtube.com/watch?v=AtJPOfnsW_8[/media]
[editline]03:05PM[/editline]
Pretty soon.[/QUOTE]
That is awesome. Can't wait till it is released
But I have to fix gmod first :(
[url]http://answers.yahoo.com/question/index?qid=20100201125659AAfxeYF[/url]
I would release it right now, but I can't get the effect right.
Make sure your administrator?
I am,
You mean the smoke effect from the bullet?
I think you should change the bullet model...
Homing bullet, perhaps?
So whats up?
[editline]01:33PM[/editline]
btw, wanted to ask, if it's possible to make another script that allows you to go super slow mo and watch bullet pass the camera like here at the beginning?
[media]http://www.youtube.com/watch?v=8qj8mLv9um8[/media]
[QUOTE=ProSkater;19991286]So whats up?
[editline]01:33PM[/editline]
btw, wanted to ask, if it's possible to make another script that allows you to go super slow mo and watch bullet pass the camera like here at the beginning?
[media]http://www.youtube.com/watch?v=8qj8mLv9um8[/media][/QUOTE]
RunConsoleCommand("phys_timescale", "0.01")
Btw, I have a question. I asume you're changing constantly the force of bullet to make it run in the Quadratic curve. In a slow processor, and fast bullet (the example seems so slow), it won't tunnel thin objets? There is not traceCurve function to test items in the path of the bullet?
[QUOTE=lilezek;19993216]RunConsoleCommand("phys_timescale", "0.01")
Btw, I have a question. I asume you're changing constantly the force of bullet to make it run in the Quadratic curve. In a slow processor, and fast bullet (the example seems so slow), it won't tunnel thin objets? There is not traceCurve function to test items in the path of the bullet?[/QUOTE]
That isn't how I am doing this.
I am creating a quadratic bezier curve and getting it's derivative. Every physics update I am tracing from the bullets current position to where it will move to along the curve, if it hits then apply damage etc. If it doesn't hit, then move the bullet to that position. I am also setting the angle of the bullet to the derivative of the curve. I have testing this with the bullet going extremely fast (no restriction because it isn't actually setting the velocity) and so far it hasn't tunnelled any objects.
[editline]03:40PM[/editline]
Although, my laptops processor is fairly good.
[QUOTE=NullPoint;19993727]
[editline]03:40PM[/editline]
Although, my laptops processor is fairly good.[/QUOTE]
Yup, but look, you shot one bullet, and it didn't tunneled entities with a good processor. If you shoot more bullets, or the server have any kind of lag, this could happen:
Don't hit items that should.
[img]http://img85.imageshack.us/img85/3668/slowpc.png[/img]
Or hit items that shouldn't.
[img]http://img341.imageshack.us/img341/7964/slowpc2.png[/img]
[url=http://www.garrysmod.org/downloads/?a=view&id=89997][img]http://www.garrysmod.org/img/?t=dll&id=89997[/img][/url]
It may have a few bugs still and the particle effect is the same as it is in the video, but I can't seem to get the matrix one to look right. Enjoy.
[editline]06:00PM[/editline]
I also haven't tidied the code up like I usually do when I finish something, so it may be a bit messy.
[editline]06:02PM[/editline]
I forgot to mention in the description on garrysmod.org that you can exit out of the "bullet cam" by pressing Reload (you may have to press it more than once).
[editline]06:30PM[/editline]
I fixed a little bug, if you have downloaded it already, you may need to redownload.
I have downloaded it and its great.
But i have not the line that show me the curve and when i shoot thru the Stargate the games crash :D
But its cool to shoot the curve :D
Thank you for that great mod.Hope you make updates.Effects and Bugfixes.
I just fixed a bug again, So i have re-uploaded .. again.
[url=http://www.garrysmod.org/downloads/?a=view&id=89997][img]http://www.garrysmod.org/img/?t=dll&id=89997[/img][/url]
Nevermind he reuploaded it :D
Someone put it on gmod.com ! Awesome
Dude I fucking love you in a none gay way.
Downloading tomorrow after I get back home.
[editline]10:44PM[/editline]
If you want I can try to make a wanted styled video for this.
[QUOTE=NullPoint;19993727]Although, my laptops processor is fairly good.[/QUOTE]
Can't beat my i7 laptop :wink:
Very nice though.
[QUOTE=alexojm;20000271]If you want I can try to make a wanted styled video for this.[/QUOTE]
Do what you like with it.
Nice SWEP but when i right click theres no camera following the bullet :(
[QUOTE=John Fisher;20004511]Nice SWEP but when i right click theres no camera following the bullet :([/QUOTE]
Do you have any addons that may be preventing a CalcView hook from running?
Camera doesnt work for me too , but when im killed i can see it
Is anyone else having this problem?
Nope i have the Bulletcam.
But the game crash when i shoot thru the stargate :D
But the rest works great.
[QUOTE=NullPoint;20004542]Do you have any addons that may be preventing a CalcView hook from running?[/QUOTE]
Do you know any addons that prevents it? i have tons of addons.
I am about to download this now I will tell you if the camera works for me. I hope it does because that is the best part.
[QUOTE=John Fisher;20005384]Do you know any addons that prevents it? i have tons of addons.[/QUOTE]
I have no idea. It would be a great help if you could take out addons until the bullet cam works, and tell me what addon caused it.
It did not work at all for me. I click once and i see no thing for the path. second click a bunch of errors come up and never go away just keep on making more. If i walk back abit I can see a bullet just floating there. I will get you a picture of the error when i am next on gmod.
That is strange, I have tested this on single player and on a listen server, both of which worked fine.
I will get you a picture of the error within tomorrow.
It is probably another addond conflicting but I dono.
[editline]07:20PM[/editline]
Ok so when I left click first it says this:
Attempting to create unknown particle system 'bullet_curve_trail'
And when I left click/right click again it will do this and never stop
entities/ent_curve_bullet/init.lua:24: attempt to call field 'QuadraticBezierDerivative3D' (a nil value)
entities/ent_curve_bullet/init.lua:24: attempt to call field 'QuadraticBezierDerivative3D' (a nil value)
entities/ent_curve_bullet/init.lua:24: attempt to call field 'QuadraticBezierDerivative3D' (a nil value)
entities/ent_curve_bullet/init.lua:24: attempt to call field 'QuadraticBezierDerivative3D' (a nil value)
entities/ent_curve_bullet/init.lua:24: attempt to call field 'QuadraticBezierDerivative3D' (a nil value)
entities/ent_curve_bullet/init.lua:24: attempt to call field 'QuadraticBezierDerivative3D' (a nil value)
entities/ent_curve_bullet/init.lua:24: attempt to call field 'QuadraticBezierDerivative3D' (a nil value)
It is realy enoying because I realy want to use this and It does not work just make errors the same as above.
Sorry, you need to Log In to post a reply to this thread.