davidlallen Posted December 9, 2010 Share Posted December 9, 2010 I have added a special ammo type, and I want it to have the effect of frenzying any ghoul which is hit. I think I can get part of it; but it doesn't seem to work. And I can't get the other part. I have added an impact effect script: begin scripteffect start damageav braincondition 100 end I load up a game where I know there is a group of three feral ghouls nearby, and I go into god mode so they won't kill me. I shoot them a bunch of times with this ammo, and they don't attack each other. They keep attacking me. So this doesn't cause frenzy. But, the turret scripts that I can find all use this. Maybe there something about the creature itself which can accept or reject frenzy. ==> How can I get a frenzy effect to work on impact? The second part, which I can't get, is how to limit the effect to ghouls. There is a "creaturetype" defined, which is an int. So I suppose something like: begin scripteffect start if getiscreaturetype 6 then damageav braincondition 100 endif end might work. But, there is no way I can find to tell what int corresponds to what creaturetype. I thought I might be able to look into the Ghastly Scavenger perk to find out a good value; that should apply only to supermutants and ghouls, so at least I would have two integers to try. But I cannot find the code for that. ==> How can I find out what creaturetype integer to use for ghouls? Link to comment Share on other sites More sharing options...
davidlallen Posted December 11, 2010 Author Share Posted December 11, 2010 (edited) I figured it out. I am still a little confused why there is an ammo type, and a projectile type, and a clip type; but I created the ammo effect and it does what I want. Searching getiscreaturetype on geck.bethsoft.com brought me a table of creaturetypes (ghoul is 5). I wound up using "cios perkparalyzingpalm" to paralyze instead of frenzy for design reasons, but it seems like the frenzy should work too. Edited December 12, 2010 by davidlallen Link to comment Share on other sites More sharing options...
Recommended Posts