Garry's Mod

Garry's Mod

Titanfall Smart Pistol MK5 (Edited)
42 kommentarer
Teniente Coronel  [ophavsmand] 4. maj kl. 12:40 
You are totally welcome, if there is a bug regarding the fuctional aspect please let me know!
KauaFelipe 3. maj kl. 14:31 
I understand, thanks for your attention, anyway, I'll still keep using the mod ;).
Teniente Coronel  [ophavsmand] 28. apr. kl. 17:17 
Greetings KauaFelipe, hope you are doing well,

The weapong being invisible is a common issue with other scripts causing the "active weapon" to be switched quickly (bsmod, quick knives, etc) and as the "active weapon" returns to the original (the smart pistol), the viewmodel bugs visually and requires you to re-equip the weapon entirelly. Sadly this bug is extremelly random and cannot be fixed within the SWEP (to my basic lua understanding).
Asides from the previous concern, the viewmodel as a whole was not made by me, all the 3d assets are from the Titanfall game and ported by the original creator, because of this detail, I was limited to using the weapon with the "fake pilot suit" as part of the weapon in first person.
If you want the weapon to be exclusive to your playermodel, I highly recommend using a third person camera to later adjust the position to be inside the player´s head. Furthermore you will have the additional "fix".
KauaFelipe 25. apr. kl. 18:59 
Hello, Lieutenant Colonel. The smart pistol is one of my favorite mods from Garry's Mod, but when I use it with the "bsmod killmove" mod after using a killmove, the pistol becomes invisible. Could you fix this bug? I would be very grateful. And would it be possible to use other playermodels while using it?
MORN1NG_ST4R 25. nov. 2024 kl. 17:34 
I would love an addon that just has the hud element from this, with the box in the center and the line to the target, just separate from the weapon. It'd be a nice futuristic addition to other HUD elements.
Teniente Coronel  [ophavsmand] 28. juni 2024 kl. 20:00 
+howthrowgernade does it appear on the weapons tab? Or is it something else?
Yugure 28. juni 2024 kl. 17:33 
idk why but it doesnt work, i tried restarting it also doesnt work...
Aristotle Flandre's Denial 3. juni 2024 kl. 2:34 
awesome
We go together 10. aug. 2023 kl. 8:12 
And then also think of all the possible ammo types with TFA... Here's just some of my suggestions and ideas:
GIB (Classic Bullet), .22LR (Smallest round, sacrafices damage for extreme ammo in the mag), 5mm (More ammo in the mag), 10mm (Basic, holds less than 5mm), 13mm ANTI-FREAK (Pierces Armor and can nearly one shot anything at the cost of only holding 6 rounds), SEEKER-12 (12 bullets fired for the price of one that seek everything in the reticle), SEEKER-66 (Fires 66 bullets for the price of one that seek everything in the reticle, like a SAM launcher that fires bullets), SMART Rocket (Fires miniature anti vehicle rockets that once locked onto an enemy do not need guidance), and finally 72X32CZ (Anti Tank rifle single round breach action. This is the equivalent to a Tank Shell with one main purpose: destroying any armored vehicle. This ammo was popularized in the show Hellsing Ultimate from the Harkonnen Cannon, which is basically a rifle taken STRAIGHT off a tank.)
We go together 10. aug. 2023 kl. 8:12 
when you graduate I know you'll do great things to this addon.

Maybe even make a TFA version? In TFA, I have recoil disabled or at least mitigated to near zero. Imagine it having several smart modes based on TFA scripting?

Only weakpoints, Only Headshots, Only Torso Shots, Only Left Leg, Only Right Leg, Only Right Leg, Only left arm, Only Right arm.
(Continued in part 2)
Teniente Coronel  [ophavsmand] 7. nov. 2022 kl. 3:24 
Greetings Carlos,

I wish I could spend more time on this small addon, however, due to college I was not able to do so. Besides for small patches fixing possible errors or broken features, I do not plan to further update the addon.
For creating the menu, a few consecutive hours need to be spent into studying the respective Lua code, and the a few more hours in order to test the results.
I am more than displeased to even comment the addon status to be pseudo-abandoned.
Please do note the if you know how to create those additions and properly (or at least try) coding them, feel free to use the GMA as ypu desire (for uploading purposes I recommend crediting the original author of the smart pistol, as seen in the description).
If I could help in any other way, please let me know.

Yours truly. IMP.
stukZ 6. nov. 2022 kl. 16:55 
You should make a settings menu for the pistol like mw sweps with some option like: multi target (max 4), fov for the locking system like you could put to lock on your entire screen but the reticle stays the same way, etc (if possible/you want release or update the model of the smart pistol mk5 to the smart pistol mk6)
Teniente Coronel  [ophavsmand] 9. sep. 2022 kl. 6:19 
Pleased to hear that.
highlander4life 8. sep. 2022 kl. 15:41 
Oh it fixed itself the old one was trying to override it but I just needed to restart my game works fine now
Teniente Coronel  [ophavsmand] 8. sep. 2022 kl. 7:10 
Greetings @highlander4life, there is no problem indeed, if you do have any doubts regarding the addon either working unexpetedly, or not working at all, just send me the lua error, or describe the issue as detailed as posiible.
In this case, if you have any further questions, feel free to ask them.
Best regards, IMP.
highlander4life 7. sep. 2022 kl. 18:51 
just had to restart works now
highlander4life 7. sep. 2022 kl. 18:28 
hi sorry if it was said before as i didn't see it if so but i cant find the newer version i turned off the old one but it still acts like it
Teniente Coronel  [ophavsmand] 11. aug. 2022 kl. 6:16 
Really afraids me that I do not posses any reference to this concern, moreover the testing I have previously done, showed zero instances of this inconvenience.
If there is anything I can do, comment me without any problem.
I do hope you enjoy the addon, even with this issue.
Yours truly, IMP.
野生T-34/85 10. aug. 2022 kl. 19:17 
This problem will also occur when this mod is used alone, and it will also occur for some original NPCs . But this problem does not affect the game, so don't worry (maybe I am the only one who has this problem)
Teniente Coronel  [ophavsmand] 10. aug. 2022 kl. 10:43 
That is a reare occurrence indeed, as I have performed several tests and never showed, which NPC are you intending to shoot with the wespon?, maybe that can be the cause (try using it against HL2 zombies, combine, etc and tell me if the error occurs).
From my perspective, the code does not reckon this error, nor the game itself.
If the issue still persists, then I would highly reccomend you to uninstall other addons and try using only this one, conflicts are usually the cause of many Lua realted Errors.
I implore to keep me posted on this matter, as I am quite interested in perfecting code and fixing what I can.
野生T-34/85 10. aug. 2022 kl. 8:58 
[Titanfall Smart Pistol MK5 (Edited)] lua/weapons/mp_weapon_smart_pistol.lua:237: attempt to call method 'TakeDamageInfo' (a nil value)
1. unknown - lua/weapons/mp_weapon_smart_pistol.lua:237
Teniente Coronel  [ophavsmand] 10. aug. 2022 kl. 7:25 
Regarding the aim functon, I purpously removed due to the more dynamic movement qith the wepon (being able to do parkour with some addons and still firing it), Now for the (most possibly) Lua Error on the upper left corner, can you please copy it in the chat?
I did no t know about the appearance this error before.
野生T-34/85 9. aug. 2022 kl. 20:38 
Thank you, it can be used normally now, but still can't aim, and there will be an error (in the upper left corner) after killing the NPC , but this does not affect this perfect mod, thank you again:steamhappy:
Teniente Coronel  [ophavsmand] 9. aug. 2022 kl. 12:13 
The reloading function should work properly now, please tell me if either this, or another error persists within the addon.
Huge thanks in advance.
Teniente Coronel  [ophavsmand] 9. aug. 2022 kl. 11:26 
The reload I shall see, however, the zoom function has been removed in order to mantain a better aspect of the weapon being fired from the "hip" when running even.
I shall fix the reload the sooner.
野生T-34/85 9. aug. 2022 kl. 0:46 
Thanks for the reply, the previous problem is now solved. But now there is a bug that cannot reload and aim:lunar2019laughingpig:
Teniente Coronel  [ophavsmand] 8. aug. 2022 kl. 8:46 
One solution if this problem still persists, uninstall several addons that you posses, and then try redownloading this one again, it has been proven taht the original addon conflicts with my version.
And as well, try to bind 0 slot99 (for instance) to access this weapon (now shall be fixed but still, if it occurs once again in the future)
Teniente Coronel  [ophavsmand] 8. aug. 2022 kl. 8:24 
@野生T-34/85 now the issue shall be fixed, please, report if it is still present
Teniente Coronel  [ophavsmand] 8. aug. 2022 kl. 8:13 
That is indeed new, the only thing I can relate to it, is that I am using another addon to "select" the wepons (to simulate a power up basically), and I might have uploaded said version.
The conflict might be related to the slots, I shall fix it the soonner.
My sincerest appologies and tahnks for reporting the error.
野生T-34/85 8. aug. 2022 kl. 6:47 
I have a problem, this gun cannot be seen or selected in the weapons slot after picking it up:lunar2019crylaughingpig:
Teniente Coronel  [ophavsmand] 8. nov. 2021 kl. 20:03 
@Big Crumb, that is certainly new, to be honest the only way to fix it that it occurs to me is to revalue the FOV number when the weapon zooms in.
If you have extracted gma files earlier it would be similar to do this, however if you do not know, there are guides in the gmod steam page that would serve as an introduction, even to lua itself.
Big Crumb |HM| 8. nov. 2021 kl. 18:46 
When I right click the yellow ironsight blocks my entire view how can I fix this
✞ Larry ✞ 7. nov. 2021 kl. 4:33 
this is cool i like it
Spectre Pilot-301 20. okt. 2021 kl. 22:26 
Interesting, I'll keep that in mind thanks
Teniente Coronel  [ophavsmand] 20. okt. 2021 kl. 9:50 
Well that is a nice plan, try looking on the code of this addon and compare throughout the others alike. I can tell that Lua is an intuitive language that could be manipulated by anyone. Just for clarifying the limitations that I have seen (at least on the weapons packs from this same author) is that he codes functions that use " KeyDown(IN_SPRINT) " for holstering the weapon.
If you remove it carefully without breaking anything else, you have officially removed those limitations and made the weapon more dynamic.
Spectre Pilot-301 20. okt. 2021 kl. 7:26 
Not yet, but I planned to when I got a new PC. The old weapon packs for Titanfall seemed way to restrictive for combat, I just didn't know how I'd go about fixing those
Teniente Coronel  [ophavsmand] 20. okt. 2021 kl. 3:30 
Basically changing parameters and deleting a few lines of code that check when you are sprinting. As there are many packs, maybe changing one and copy and paste part of the code to the rest, have you ever extracted .gma files and manually edited addons?
Spectre Pilot-301 19. okt. 2021 kl. 20:23 
Oh yeah no, I wouldn't expect a texture rework from the old packs. Just minor fixes with ADS, damage ect. The old packs felt limited with movement and shooting when you tried to do fast movements I'd what I'm getting at
Teniente Coronel  [ophavsmand] 18. okt. 2021 kl. 8:51 
I do appreciate your comment, sadly my Lua knowledge is quite simplistic, so if the rework happens to be editing the code, I would gladly see if there is any probability to modify it. However models, textures, and animations (beyond code) are not of my intervention, as I do not have any sort of a basic idea to manipulate those features. As for the rest, just star a Discussion and I would do my best.
Spectre Pilot-301 16. okt. 2021 kl. 14:34 
I feel like more of the Titanfall add-ons need to be reworked like this.
Teniente Coronel  [ophavsmand] 12. okt. 2021 kl. 12:07 
@Orifan1 it is an addon that made Weathley, called Mass Effect Biothics.
Orifan1 12. okt. 2021 kl. 10:20 
whats that in the top left of your HUD?