Hi Guys
I've just started taking part in 3dBuzz's UScript 101 class and for the 1st assignemt we need to modify an existing weapon to do something else.
The example they give in the VTM is they take the ShockRifle, extend it to a "Concussion Rifle" and change a few of it's defaultproperties. Namely the Momentum and damage caused by a hit.
I figured I would modify the RocketLauncher for my assignment and do the following things:
- change the damage caused
- increase the speed of the rocket projectile itself
- make both fire modes the same
- change the lock on time
and
- reduce the splash damage
Essentially turning the rocketlauncher into a HSD (Heat Seeking Dumfire ) Stupid name I know
As for as I can make out in the VTM, buzz and crew go no where near the ammo used, ammo consumption, or ammo type for that matter. However, when I modify a few default properties for the variuos RL scripts all seems OK as it compiles without error and I can summon the item in game.
There is only one problem, itr doesn't have any ammo, so I can't actually use it?
The source is below, I am new to this, but I can't see where I'm going wrong? I don't really want to know the answer if it could be helped, more advice as to where the problem lies and a clue as to where the answer would be for me to find myself.
Thanks in Advance
I've just started taking part in 3dBuzz's UScript 101 class and for the 1st assignemt we need to modify an existing weapon to do something else.
The example they give in the VTM is they take the ShockRifle, extend it to a "Concussion Rifle" and change a few of it's defaultproperties. Namely the Momentum and damage caused by a hit.
I figured I would modify the RocketLauncher for my assignment and do the following things:
- change the damage caused
- increase the speed of the rocket projectile itself
- make both fire modes the same
- change the lock on time
and
- reduce the splash damage
Essentially turning the rocketlauncher into a HSD (Heat Seeking Dumfire ) Stupid name I know
As for as I can make out in the VTM, buzz and crew go no where near the ammo used, ammo consumption, or ammo type for that matter. However, when I modify a few default properties for the variuos RL scripts all seems OK as it compiles without error and I can summon the item in game.
There is only one problem, itr doesn't have any ammo, so I can't actually use it?
The source is below, I am new to this, but I can't see where I'm going wrong? I don't really want to know the answer if it could be helped, more advice as to where the problem lies and a clue as to where the answer would be for me to find myself.
Thanks in Advance
Code:
//******************************************************** // Heat Seeking/Dumbfire Rocket Launcher Iventory Script //******************************************************** class HSDumbfire extends RocketLauncher; defaultproperties { ItemName="HeatSeeking/Dumbfire Rocket Launcher" FireModeClass(0)=HSDumbfire FireModeClass(1)=HSDumbfire PickUPClass=class'HSDumbfirePickup' LockRequiredTime=0.3000 }
Code:
//******************************************************** // Heat Seeking/Dumbfire Rocket Launcher PickUp Script //******************************************************** class HSDumbfirePickup extends RocketLauncherPickup; defaultproperties { InventoryType=class'HSDumbfire' PickupMessage="You got the Heat Seeking/Dumbfire Rocket Laucher." }
Code:
//******************************************************** // Heat Seeking/Dumbfire Rocket Launcher Fire Script //******************************************************** class HSDumbfireFire extends RocketFire; defaultproperties { ProjectileClass=class'DumbfireProj' }
Code:
//******************************************************** // Heat Seeking/Dumbfire Rocket Launcher Projectile Script //******************************************************** class DumbfireProj extends RocketProj; defaultproperties { speed=2000.0 MaxSpeed=2000.0 Damage=50.0 DamageRadius=10.0 MyDamageType=class'DamTypeDumbfire' }
Code:
//********************************************************** // Heat Seeking/Dumbfire Rocket Launcher Kill Message Script //********************************************************** class DamTypeDumbfire extends DamTypeRocket; defaultproperties { DeathString="%o couldn't outrun %k's heat seeking rocket." }
Comment