Jump to content

New and scripting


c77out

Recommended Posts

'allo,

 

Well I'm kinda new to fallout 3 and scripting for it and what not and I'm looking for some troubleshooting from the community.

 

Concept, a SLOW recharging script for when you have a specific weapon equipped

like 1 shot per X seconds.

 

Secondly if you run out of ammo and you try to fire it deals some damage to you

since you ran it try and it "Gets Hot"

 

I've built a script (provided below) and I'm trying to figure a way for it to activate

with this custom weapon.

 

 

 

scn AmmoFusionSCRIPT

BEGIN GameMode
if player.GetEquipped c77FusionBlaster
	if player.GetItemCount c77Fusion <100
		player.additem  c77Fusion 1 1
	endif
endif

if player.FireWeapon c77FusionBlaster && c77Fusion == 0
	player.DamageActorValue Health 5
endif
END

 

Thank you

Link to comment
Share on other sites

Isn't there a rate of fire setting for weapons? Yes, it is called "Fire Rate" and it is on the first page of a weapon edit window.

 

I have a pet name for weapons that damage me if they run out of ammunition... abandoned.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...