SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF1 Modding Tutorials => Topic started by: Snake on March 29, 2012, 06:38:12 PM

Title: REQUEST COMPLETED: Vehicle Dispenser
Post by: Snake on March 29, 2012, 06:38:12 PM
I saw on one of Jango's mods where he made a vehicle dispenser. Can someone replicate that? I currently cant test anything because swbf isnt working. I'd appreciate it a lot!
Title: How To Make A Vehicle Dispenser
Post by: Phobos on March 30, 2012, 05:23:41 AM
Make sure there is enough EntityHover/Walker/Flyer memory pools in your LUA first then try adding this code to a dispenser ODF. The ORD it calls on you can change to whatever vehicle you want to load

Here is a modified example of vehicle dispenser from phobos
[WeaponClass]
ClassLabel = "remote"

[Properties]
IconTexture = "HUD_com_probedroid_health_icon"

MuzzleFlash = "small_muzzle_flash"
Discharge = "small_smoke_effect"

GeometryName = "com_weap_inf_grenadethermal_ord"

RoundsPerClip = "1"
ReloadTime = "0.0"
LockOnRange = "80.0"
LockTime = "0.4"

ZoomMin = "0.0"
ZoomMax = "0.0"
ZoomRate = "0.0"

AnimationBank = "grenade"

SwitchImmediately = "1"

OrdnanceName = "imp_walk_atst"

ShotDelay = "1.4"
MinSpread = "0.0"
MaxSpread = "0.0"
AutoAimSize = "1.0"

SalvoCount = "1"
SalvoDelay = "0.0"
InitialSalvoDelay = "0.3"

MinStrength         = "5.0"
MaxStrength         = "10.0"

FireSound           = "com_weap_inf_remotedroid_fire"
//ReloadSound         = "imp_weap_inf_reload_med"
ChangeModeSound = "imp_weap_inf_equip_med"
FireEmptySound = "com_weap_inf_ammo_empty"
WeaponChangeSound = "imp_weap_inf_equip_med"





Title: Re: Vehicle Dispenser
Post by: Snake on March 30, 2012, 11:05:46 AM
Awesome Phobos, thanks!
EhPortal 1.34 © 2024, WebDev