Back to the Vavoom Forum Archives


Forum

starting weapon using progs

Sat, 15 Apr 2006 06:02:52

gunrock

I have my custom shotgun.vc ready, But i want to know is how can i have the player start off with it loaded with 50 shotgun shells just like the player stating off with the pistol. And also is there a way i can expand the attack range or reach of the chain saw in one of the progs.vc files? i'm turning the chainsaw into a lighting gun.
Sat, 15 Apr 2006 16:09:42

Janis Legzdinsh

I have my custom shotgun.vc ready, But i want to know is how can i have the player start off with it loaded with 50 shotgun shells just like the player stating off with the pistol.
Check the Player class, it has a function that gives the player his initial inventory.
And also is there a way i can expand the attack range or reach of the chain saw in one of the progs.vc files? i'm turning the chainsaw into a lighting gun.
Yes, one of the line attack function's arguments is range.

Back to the Vavoom Forum Archives