ok, i've tested out, but the thing... when you do slow motion cam follow, it is not slow motion... NPCs move with normal speed.
Just some quick questions for NullPoint.
When you lock on to an npc or whatever, is it dynamic? Does the curve re-align itself for the NPC's motions or an objects motion?
Is the slow mo mode actually slow mo?
Can you make the bullet laser trail thing more subtle?
[QUOTE=uberjaypee;20013864]Just some quick questions for NullPoint.
When you lock on to an npc or whatever, is it dynamic? Does the curve re-align itself for the NPC's motions or an objects motion?
Is the slow mo mode actually slow mo?
Can you make the bullet laser trail thing more subtle?[/QUOTE]
You don't lock on to a target (It isn't dynamic).
The slow motion sets phys_timescale to 0.24 (I think), some NPCs may not be affected. It doesn't go into slow motion if you are not on singleplayer.
I can, I will upload a replacement particle affect a bit later.
This is pretty epic, I might be able to help you with the effect, because I think we can all agree it looks kinda cheesy :v:
[QUOTE=Dlaor;20020319]This is pretty epic, I might be able to help you with the effect, because I think we can all agree it looks kinda cheesy :v:[/QUOTE]
If you know how to get a refract texture to work as a particle effect, that would be great. I am pretty proficient at making particle effects, I just felt that this effect wasn't really important. I guess I was wrong.
[QUOTE=NullPoint;20020333]If you know how to get a refract texture to work as a particle effect, that would be great. I am pretty proficient at making particle effects, I just felt that this effect wasn't really important. I guess I was wrong.[/QUOTE]
I recommend using lua particles, particle effects can't be reloaded at runtime. (every time you update the effect, you need to restart the game, while lua effects can just be reloaded by typing "retry" in the console)
[QUOTE=Dlaor;20020416]I recommend using lua particles, particle effects can't be reloaded at runtime. (every time you update the effect, you need to restart the game, while lua effects can just be reloaded by typing "retry" in the console)[/QUOTE]
Orange Box particle effects are updated at runtime...
[QUOTE=NullPoint;20020453]Orange Box particle effects are updated at runtime...[/QUOTE]
Huh, I thought that they aren't... going to look this up.
They can be modified during runtime, but they can't be added/altered without using the editor.
E.G. downloading a new effect to a client, the client can't see it until he restarts gmod.
[QUOTE=Empty_Shadow;20020848]They can be modified during runtime, but they can't be added/altered without using the editor.
E.G. downloading a new effect to a client, the client can't see it until he restarts gmod.[/QUOTE]
That's what confused me, thanks :buddy:
[QUOTE=alexojm;20007077]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.[/QUOTE]
You haven't put curves.lua into lua/includes/extensions/.
[editline]11:06AM[/editline]
[lua]function math.QuadraticBezier(p1, p2, p3)
return function(t)
t = math.Clamp(t, 0, 1);
return (1-t)*(1-t)*p1
+ 2*(1-t)*t*p2
+ t*t*p3;
end
end
function math.QuadraticBezier3D(p1, p2, p3)
local x = math.QuadraticBezier(p1.x, p2.x, p3.x);
local y = math.QuadraticBezier(p1.y, p2.y, p3.y);
local z = math.QuadraticBezier(p1.z, p2.z, p3.z);
return function(t)
return Vector(x(t), y(t), z(t));
end
end
function math.QuadraticBezierDerivative(p1, p2, p3)
return function(t)
t = math.Clamp(t, 0, 1);
return 2*(p1*(t-1)
+ p2*(1-(2*t))
+ t*p3);
end
end
function math.QuadraticBezierDerivative3D(p1, p2, p3)
local x = math.QuadraticBezierDerivative(p1.x, p2.x, p3.x);
local y = math.QuadraticBezierDerivative(p1.y, p2.y, p3.y);
local z = math.QuadraticBezierDerivative(p1.z, p2.z, p3.z);
return function(t)
return Vector(x(t), y(t), z(t));
end
end[/lua]
If you want a quick fix, copy this into a shared autorun Lua file.
[editline]11:10AM[/editline]
You also haven't put the particle effect into garrysmod/particles
I do not know how to do any of what you have put above.
I konw nothing about lua. I don't konw how to put that into a shared autorun lua file ?
What file do i need to put into the garrysmod paricles
[editline]04:23PM[/editline]
and I dont even see a curves.lua any where.
What I uploaded to garrysmod.org should contain 3 folders:
- addons
- lua
- particles
All three of those should just be put straight into your garrysmod folder.
It is great. Just needs a bit of time after you hit the person in slow motion. When I do slow motion it goes back to normal instantly. Can you make it so it the camera stays at the person a little longer so we can watch them die in slow mo.
[QUOTE=Mixmaster1190;20027212]It is great. Just needs a bit of time after you hit the person in slow motion. When I do slow motion it goes back to normal instantly. Can you make it so it the camera stays at the person a little longer so we can watch them die in slow mo.[/QUOTE]
I may do this in a while, but right now I am pretty preoccupied with University work and other projects.
Also, I'm not getting the bullet cam. Only when I die, it activates the bullet cam.
It might be this: [url]http://www.garrysmod.org/downloads/?a=view&id=15504[/url]
If not, then I have no idea. I don't have very many addons at all. Maybe 9 or 10.
It probably is that. Try temporarily removing that addon and see if it works.
NullPoint, If Facepunch still had it, I'd LUA god you. I tried it in SP, works great!
[QUOTE=uberjaypee;20028098]Also, I'm not getting the bullet cam. Only when I die, it activates the bullet cam.
It might be this: [url]http://www.garrysmod.org/downloads/?a=view&id=15504[/url]
If not, then I have no idea. I don't have very many addons at all. Maybe 9 or 10.[/QUOTE]
No not this , I dont have it
NullPoint (sorry for the bump) But this is awesome. I love it, you should continue to work on.. please :swoon:
[QUOTE=Mixmaster1190;20027212]It is great. Just needs a bit of time after you hit the person in slow motion. When I do slow motion it goes back to normal instantly. Can you make it so it the camera stays at the person a little longer so we can watch them die in slow mo.[/QUOTE]
I have just finished this, I will upload it in a minute.
Why don't you make it so the line is only visible to the shooter?
Or is it?
[QUOTE=vBullshit;20080536]Why don't you make it so the line is only visible to the shooter?
Or is it?[/QUOTE]
The red line that shows the curve of the bullet is only visible to the shooter.
[editline]03:25PM[/editline]
[media]http://www.youtube.com/watch?v=r0S_JozdRlc[/media]
You can change the amount of time that the bullet cam freezes for with the convar curve_watchtime.
[url=http://www.garrysmod.org/downloads/?a=view&id=90410][img]http://www.garrysmod.org/img/?t=dll&id=90410[/img][/url]
Great, Can you take a look at my whistle request?
[QUOTE=Ratzz;20095437]Great, Can you take a look at my whistle request?[/QUOTE]
I've had a look but I can't make it without a model.
I am going to download this one and just go on hope that it works :0
[editline]05:56PM[/editline]
for if this does work. Can you make this for a sniper.
[editline]05:57PM[/editline]
Allso if it was for a sniper can I recomend you aim at the target and when you click the first time it just fires it with the bullet cam kinda like you fire and you go threw the scope into the bullet cam.
[QUOTE=alexojm;20102076]I am going to download this one and just go on hope that it works :0
[editline]05:56PM[/editline]
for if this does work. Can you make this for a sniper.
[editline]05:57PM[/editline]
Allso if it was for a sniper can I recomend you aim at the target and when you click the first time it just fires it with the bullet cam kinda like you fire and you go threw the scope into the bullet cam.[/QUOTE]
So basically this without the curving.
Oh yeah didn't think about that. Well make it the same but with a sniper because then it is easyer to get your target from long distasance.
It now works for me but I do not follow the bullet and it is hard to noclip after the slo-mo bullet.
I'm listing all my addons to see what conflicts with the slow-mo viewing issue.
Adv Duplicator
Air Vehicles
Bailout
Buoyancy Tool
Curve SWEP
gmod+
NPC AI
NPC BattleCleanupMod
PHX
propcannons
Realistic Minigun
SCars
Smartsnap
smartwelding
Stereo Cam
Waterizer
WeightSTool
Have you got the new version of SCars, the old version broke CalcView, which would cause this to break.
Sorry, you need to Log In to post a reply to this thread.