• Combine Ball Rifle
    16 replies, posted
I wanted to make a rifle that rapidly fired combine balls (AR2 secondary), but It wouldn't work. Could someone make this for me?
I could do that for you, but you'd have to accept that the combine balls wouldn't look like they normally do. I'm not sure if you've experienced the event when you try to create a combine ball directly from coding or something like the duplicator, but the ball itself visually shrinks to something almost too small to see.
I always wondered why it does that lol
Internally, us developers can change the size of the combine ball. If you've ever seen mods like SMOD, which uses the combine ball, and modified variants of it, you can see that it can be resized dynamically. In Garry's Mod, we do not have access to the function in C++ which allows us to resize the entity.
[QUOTE=andrewmcwatters;18518836]Internally, us developers can change the size of the combine ball. If you've ever seen mods like SMOD, which uses the combine ball, and modified variants of it, you can see that it can be resized dynamically. In Garry's Mod, we do not have access to the function in C++ which allows us to resize the entity.[/QUOTE] I don't mind how it looks, as long as it can do it's job I'm fine.
Doesn't it use animations?
It actually renders a sprite where the entity is, from what I understand, unless the entity has a flag noting that it's been picked up by a gravgun, but even then, the entity only changes from rendering a sprite to a model for only that one person. [editline]02:33PM[/editline] [QUOTE=DrunkenGMan;18530959]I don't mind how it looks, as long as it can do it's job I'm fine.[/QUOTE] I'll do it right now then, brb.
make it shoot a prop that vaporizes things when it touches it. make the prop look like a combine ball. i don't know if it possible but it would be cool
I actually may have a way to make the combine ball visible, but it's hacky. I'll attempt this for you, but the entity itself will not act like a standard combine ball. [editline]02:45PM[/editline] Overwatch Military Issue Dark Energy Rifle [editline]02:46PM[/editline] AR3? :lol: [editline]02:49PM[/editline] Just a heads up, this should only take me like 5-15 minutes to write, and package and all that for it to look professionally done.
[QUOTE=andrewmcwatters;18532740]I actually may have a way to make the combine ball visible, but it's hacky. I'll attempt this for you, but the entity itself will not act like a standard combine ball. [editline]02:45PM[/editline] Overwatch Military Issue Dark Energy Rifle [editline]02:46PM[/editline] AR3? :lol: [editline]02:49PM[/editline] Just a heads up, this should only take me like 5-15 minutes to write, and package and all that for it to look professionally done.[/QUOTE] Sounds good. Can't wait to try it. :xd:
Actually, it works nearly perfect now, I just need it to force the combine balls forward, and give you the kill for them. I'm removing the secondary altogether. The combine balls surprisingly work just like the normal AR2 ones, too. So I may have to recode parts of The SWEP Bases Project to adopt this coding. You've contributed to a major project without knowing.
[QUOTE=andrewmcwatters;18533429]Actually, it works nearly perfect now, I just need it to force the combine balls forward, and give you the kill for them. I'm removing the secondary altogether. The combine balls surprisingly work just like the normal AR2 ones, too. So I may have to recode parts of The SWEP Bases Project to adopt this coding. You've contributed to a major project without knowing.[/QUOTE] I feel so special.
Just needs a menu icon and I can package it for download. One moment. [editline]03:53PM[/editline] Ew, found a nasty bug when you shoot near the ground. I'll have to implement a safeguard for that, unfortunately, this means you won't be able to shoot toward your feet, but that shouldn't be a problem.
[QUOTE=andrewmcwatters;18533942]Just needs a menu icon and I can package it for download. One moment. [editline]03:53PM[/editline] Ew, found a nasty bug when you shoot near the ground. I'll have to implement a safeguard for that, unfortunately, this means you won't be able to shoot toward your feet, but that shouldn't be a problem.[/QUOTE] Hmm? It was shooting trough the world? Can't you just have the ball start higher in those cases?
This is becoming very frustrating. I've created a system which works, but the simple fact of the combine balls not automatically being assigned any velocity or an attacker completely ruins the weapon; you can shoot out a clip and a majority of the combine balls would shoot out and carry a forward velocity, but maybe one stays afloat. If you aim downward, the positioning of the launcher (which is fine theoretically at the ShootPos) ruins the projection of the entities. (You can have up to the whole clip's worth of entities sitting at your feet. [editline]05:07PM[/editline] Worst weapon I've ever made with SWEP Bases. Pathetic. I'll release it anyway, hope it makes you happy. Give me a bit, I'm packaging the icons now. I switched over from projecting the better looking combine ball to just the shitty tiny rendered one. [editline]05:16PM[/editline] [url=http://www.garrysmod.org/downloads/?a=view&id=84172]Overwatch Military Issue Dark Energy Rifle[/url] Enjoy. :eng99: I'm sorry I couldn't have done better for you.
[QUOTE=andrewmcwatters;18535121]This is becoming very frustrating. I've created a system which works, but the simple fact of the combine balls not automatically being assigned any velocity or an attacker completely ruins the weapon; you can shoot out a clip and a majority of the combine balls would shoot out and carry a forward velocity, but maybe one stays afloat. If you aim downward, the positioning of the launcher (which is fine theoretically at the ShootPos) ruins the projection of the entities. (You can have up to the whole clip's worth of entities sitting at your feet. [editline]05:07PM[/editline] Worst weapon I've ever made with SWEP Bases. Pathetic. I'll release it anyway, hope it makes you happy. Give me a bit, I'm packaging the icons now. I switched over from projecting the better looking combine ball to just the shitty tiny rendered one. [editline]05:16PM[/editline] [url=http://www.garrysmod.org/downloads/?a=view&id=84172]Overwatch Military Issue Dark Energy Rifle[/url] Enjoy. :eng99: I'm sorry I couldn't have done better for you.[/QUOTE] It's OK. It works just great.
I'll try to refine it today for you.
Sorry, you need to Log In to post a reply to this thread.