Jump to content

FranktheFragger

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by FranktheFragger

  1. Thank you so much my friend!
  2. Hi! I am currently in the making of a version 1.1 of my only upload to the Fallout: New Vegas Nexus, "HEV Mark IV", and need a bit of help with the scripting of the sounds. You can find the .esp here: http://www.nexusmods.com/newvegas/mods/51021/? Not a very popular/amazing modification, but it does what it's made for. Currently, this is where the script currently stands// scn hev42SCRIPT short bEquippedshort iPlayOncefloat fHPBasefloat fHPLastfloat fHPCurrentfloat fHPRatio begin OnUnequip player set bEquipped to 0 end begin OnEquip player set fHPBase to player.GetBaseActorValue Healthset fHPLast to player.GetActorValue Healthset iPlayOnce to 0set bEquipped to 1 end begin GameMode if bEquippedif player.GetDeadset bEquipped to 0PlaySound hevdeadelseset fHPCurrent to player.GetActorValue Healthif fHPLast != fHPCurrentset fHPRatio to fHPCurrent / fHPBaseif fHPRatio <= 0.10if iPlayOnce != 4set iPlayOnce to 4PlaySound hev101endifelseif fHPRatio <= 0.25if iPlayOnce != 3set iPlayOnce to 3PlaySound hev251endifelseif fHPRatio <= 0.50if iPlayOnce != 2set iPlayOnce to 2PlaySound hev501endif elseif fHPRatio <= 0.75if iPlayOnce != 1set iPlayOnce to 1PlaySound hev751endifelseif iPlayOnceset iPlayOnce to 0endifset fHPLast to fHPCurrentendifendifendif end \\ I need help adding the following functions to the script, while being able to keep those already included. This includes - - Playing a sound when 200 radiation level is hit- Playing a sound when poisoned- Playing a sound ammo is depleted I appreciate any and all help you can give me, this community has been very supportive in the past and I expect it will remain that way! If you need more information, I would be more than happy to provide! Thank you all so very much!
  3. Hi, I was wondering if any of you smart and fine gentlemen/ladies would mind creating a script for me, as i am completely dumbfounded with fallout's scripting system. What i ask of is a script that would trigger the playing of a sound when: Poisoned Fall damage is taken (Any amount) A stimpak is used Fire damage is taken If any of you actually invest your time into making me a script that could do these functions, i well, honestly couldn't repay you. Unless of course, you play on steam and like tf2 :\ However i would really appreciate the help of any and all! Thanks!
  4. Question, when i save it, it doesn't say anything. But when i try to close the window, it says: Do you want to save the current script? Current = I have tried to give it a name, but it simply wont work. I would appreciate a bit of help.
  5. Hi, I have been working on a project for a while, it may seem a bit dumb, but i'm trying to recreate the famous HEV mark IV suit from Half Life. So far, i have been able to do the obviously easy, and make the general HEV welcome play when ever you equip the suit, and the goodbye when every you unequip it. But i need a bit of help, because i would like to also have certain sounds to be triggered when ever your health reaches 75%, 50%, 25%, and then on death. If anyone could help me create a script that would allow me to do that, i would most certainly appreciate it!
×
×
  • Create New...