Garry's Mod

Garry's Mod

843 个评价
[simfphys] Randy's Extra Functions
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 载具
插件标签: 角色扮演, 写实
文件大小
发表于
更新日期
5.153 MB
2022 年 11 月 21 日 上午 6:08
2023 年 3 月 2 日 上午 8:02
28 项改动说明 ( 查看 )

订阅以下载
[simfphys] Randy's Extra Functions

描述
This is my cool extra simfphys features addon. It is probably very badly written since I am not a coder and I don't know what I'm doing 90% of the time, so please excuse any performance issues. (Although I did testing and it doesn't seem to affect performance too much.)

What you get out the box on ALL simfphys vehicles:
  • Advanced Ignition: All your vehicles will now use actual ignitions instead of just starting up instantly. This also affects low health vehicles, as they'll like to stall more and they'll be harder to start up.
  • Brake disc sounds: trucks will use air brake sounds too
  • Possibility of vehicles being alarmed: Some vehicles will spawn with alarms. Lock them and turn them off to arm.
  • Reverse Gear Transmission sound: Reverse gear now plays a sound, like in GTA:SA but with HD sounds :)
  • More effects for low health vehicles: Damaged vehicles will huff and puff and backfire more often.
  • Randomized Fuel: Simfphys cars spawn with random amounts of fuel in their tanks.
  • Fuel Tool: A tool that can set the current and max fuel amount in a simfphys vehicle.

What you CAN get with simfphys vehicles that support this addon:
  • Randomized License Plates: pretty cool maybe
  • Randomized colors on spawn
  • Randomized bodygroups on spawn
  • Randomized skins on spawn
  • Physical trailer legs: Code is from NotAKid, thank you NAK, very cool
  • Bullhorns for emergency vehicles
  • Reverse beeping
  • Custom Ignition sounds - Also custom shutdown sound that simfphys shoulda really included the option for by default
  • EMS Radio

Also,
Most settings can be changed in the simfphys menu, or via ConVars.
Convars:
sv_simfphys_brakenoises
sv_simfphys_license_plates
sv_simfphys_trailer_legs
sv_simfphys_advanced_ignition
sv_simfphys_bullhorn
sv_simfphys_alarms
cl_simfphys_randomcolors
cl_simfphys_randombodygroups
cl_simfphys_vehiclepresets
cl_simfphys_bus_safety_brakes
cl_simfphys_randomfuel
cl_simfphys_randomfuel_min

All convars have help text in the console.

Supported Addons
Left 4 Dead Vehicles
BMW M3 GTR
Days Gone Pack
Volkswagen Polo
Submit your addon in the comments if you added support!

Incompatible Addons
None known yet, please report addons that are incompatible!

In the future this addon might get more features. This way it's easier for me to apply cool changes to ALL my vehicles without having to update every single addon individually.

If you want to steal code from this addon to use for yourself or because you can't change something you wanna change, please suggest it to me instead, if it's good enough of a change I will add it to this addon if I can
热门讨论 查看全部(3)
22
2023 年 3 月 13 日 上午 11:40
Ways to improve this slightly.
Alex
4
1
5 月 31 日 下午 4:11
advanced ignition suggestion
Bugster
0
2022 年 11 月 21 日 上午 8:26
置顶: FOR MOD CREATORS:
Randy
135 条留言
Sick and Dizzy Gacha 9 月 18 日 上午 9:44 
Fix the issue:
[[simfphys] Randy's Extra Functions] lua/simfphysextra/shared.lua:624: attempt to index local 'ply' (a nil value)
1. SetRandomFuel - lua/simfphysextra/shared.lua:624
2. fn - lua/simfphysextra/hooks.lua:17
3. Run - lua/ulib/shared/hook.lua:115
4. SetupVehicle - lua/entities/gmod_sent_vehicle_fphysics_base/spawn.lua:608
5. unknown - lua/entities/gmod_sent_vehicle_fphysics_base/spawn.lua:439
susie 8 月 8 日 下午 5:17 
getting into cars will still start them but keep the ignition noise playing the whole time
SK8BoredERrr 2015 7 月 29 日 下午 12:08 
hey i cant save cars when i save more than one it only saves the newest one in all the features what do i do?
Sick and Dizzy Gacha 7 月 3 日 上午 2:35 
this is happened with background npc
Sick and Dizzy Gacha 7 月 3 日 上午 2:35 
ERROR AND BUG REPORTED: [[simfphys] Randy's Extra Functions] lua/simfphysextra/shared.lua:624: attempt to index local 'ply' (a nil value)
1. SetRandomFuel - lua/simfphysextra/shared.lua:624
2. v - lua/simfphysextra/hooks.lua:17
3. Run - lua/includes/modules/hook.lua:102
4. SetupVehicle - lua/entities/gmod_sent_vehicle_fphysics_base/spawn.lua:608
5. unknown - lua/entities/gmod_sent_vehicle_fphysics_base/spawn.lua:439
Miles 5 月 28 日 上午 9:11 
can you make it so you can change the fuel between petrol and diesel cause i want my ford f250 truck on left 4 dead car pack to sound like a petrol truck
Hiro 4 月 28 日 下午 5:55 
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2437373117&searchtext=GTA+4 Hello I have a question, could someone make it work with this mod, please?
PixelTheCollie ΘΔ 4 月 28 日 上午 12:32 
Please fix this mod