Garry's Mod

Garry's Mod

105 ratings
Drivable prop_vehicle_apc
2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Vehicle
Addon Tags: Roleplay, Realism
File Size
Posted
Updated
76.591 KB
27 Jul, 2021 @ 1:37am
15 Nov, 2023 @ 1:42am
12 Change Notes ( view )

Subscribe to download
Drivable prop_vehicle_apc

Description
Inferior version of a drivable APC, superior version available at https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=118997241

This is a fix for prop_vehicle_apc entity that allows players to enter the vehicle properly. Normally, players would never be able to enter this vehicle and get stuck inside without being able to drive it. This simply uses ply:EnterVehicle function to make player drive the vehicle.

Besides, you can press R button to randomly pick a target for your rockets to fly towards. You can use SHIFT button to pick a target nearest to your APC. Those will target only those NPCs that are hostile towards you, or players that aren't in the same team with you.

This also puts a prop_vehicle_apc into your "Vehicles" spawn tab so you can easily spawn one.

Additional console variables:

sk_apc_machinegun_damage
sk_apc_ply_machinegun_clipsize
sk_apc_ply_machinegun_reloaddelay
sk_apc_ply_rocket_clipsize

No further implementations will be made to this addon, such as a VGUI, an indicator about ammo status or APC health. This only allows players to drive the vehicle.

Please report bugs below.
Popular Discussions View All (3)
15
22 Oct, 2023 @ 6:22pm
A Call for a supplementary addon.
Gordon, GORDAN!
2
14 Oct, 2023 @ 7:44pm
Please help
Nebunu La Jokuri 77777
1
16 Apr, 2024 @ 10:27pm
camera bug
Windows XP (Miney)
82 Comments
kwaHliveD  [author] 3 Jan @ 2:40am 
i don't know how to fix it because there are many camera bugs that occured later after some time.

sometimes the player view gets limited to weird angles
sometimes the target view position is cauculated as nan on the client, thus blanking the player's view screen.

sometimes none of these happen.

all of them happen mostly because of the lack of enter / exit anims and a proper view position.

overriding the combine_apc.mdl with required attachments and anims fixes the problems above, but i don't want to override default models.
张他妈 2 Jan @ 9:51pm 
Can you fix the camera bug when player drive this vehicle?
Gordon, GORDAN! 3 Aug, 2024 @ 7:40pm 
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3290744524&searchtext=Combine+Flatline

I wonder if you could give the other APC addon your console commands?
ellen61788 16 Apr, 2024 @ 10:26pm 
camera
fix pls
:steamthumbsdown:
nicowavv 16 Dec, 2023 @ 1:43am 
can anyone help me? ive been trying to find an addon of a combine apc. it could shoot repetitevely, be first-person, and the mounted turret would be very accurate (it could shoot rockets). i will be very thankful.
kwaHliveD  [author] 15 Dec, 2023 @ 1:18am 
5-) this also exists, but it isn't easy to access it. create an npc_apcdriver while you are inside the apc and assign npc_apcdriver's vehicle as your apc. following changes will occur:

5.1-) if npc_apcdriver has an enemy, your crosshair will not aim and it will assist you with aiming and shoot the target for you. it will use only one weapon at a time but you can use the other weapon to assist with the apc.

5.2-) if the npc_apcdriver has a valid route, it'll track the route even when you're still the driver. while npc_apcdriver is driving, you can still command your apc to either move forward & backward, steer or break, that will alter npc_apcdriver's behaviors. when the npc_apcdriver doesn't have any route, you are fully in command of the apc.
kwaHliveD  [author] 15 Dec, 2023 @ 1:18am 
1-) hud elements surpass my aims within this mod; to make undrivable prop_vehicle_apc drivable and fully functional.

2-) this overrides apc default functionality and can't be an aim within this mod.

3-) i intentionally disabled boosting feature because default turbo settings are incorrectly set in apc_npc.txt, temporarily breaks apc physics and makes the apc loose gravity and occasionally flip upside-down instead.

4-) this functionality actually exists. bind +attack3 to any button and when you press it, the apc will select a target closest to your crosshair.
Gordon, GORDAN! 14 Dec, 2023 @ 2:48pm 
For additions in the future (not now)

I would like an ammo display if possible to come on, along with a variable that makes the APC Gun act like the Airboat's in terms of ammo regeneration.

An option for the rockets to shoot straight out the barrel instead of fly in a weird angle from the APC's side before shooting forward.

And a less clumsy way for the auto-target to work that doesn't disable the vehicle's boost function.

I would have either the reload key or a combination between the RMB and reload key on a target enable the APC's missiles to focus on an enemy selected with the crosshairs.

I would add an option in the convars for the ability to have the Machine Gun also target a selected enemy so that the player can drive and shoot without having to worry about aiming much.
Gordon, GORDAN! 15 Nov, 2023 @ 12:29pm 
I searched for a command like that yesterday and I realized that the closest thing mentioned was a rocket CLIP, not a reload delay. That's what tipped to Me some wires weren't done right.
kwaHliveD  [author] 15 Nov, 2023 @ 1:44am 
apc trying to retrieve a console variable which i had commented out before releasing. fixed.