Jump to content

BloodyRain

Members
  • Posts

    6
  • Joined

  • Last visited

Nexus Mods Profile

About BloodyRain

BloodyRain's Achievements

Rookie

Rookie (2/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. I was trying to make a mysticism spell with that you can charge your weapons enchantment with your magicka. I also just noticed that I screwed up the formula for the amount of energy recharged, it should be more charge for less magicka the higher your mysticism is but I think it wouldn't be like that currently, well whatever what it should do: (with broken formula) add PC Mysicism / 10 * Magicka to weapons charge where Magicka is either the amount needed to bring it to full charge or the amount the player has I was aiming for a restoration ratio of 10 energy per magicka at 100 Mysticism, gonna try to make the formula for that later. what it does: (broken formula too) reducing magicka for the amount said with messageex, adding no charge, breaking magicka recovery since it mosttimes manages to reduce magicka below 0 before that NewCharge part it was modequippedcurrentcharge 16 ToCharge and didn't work too. I'm using OBSE 0019 and if someone is bored enough to help me with this i'll gladly accept that help XD or just point me to a similiar mod, I'm about to give supreme magic a try but as I fast read through it it charges your weapons with your health and not magicka : / scn RechargeEnchantmentScript begin ScriptEffectStart short PCMyst short PCMagicka ref PCWpn short WpnCharge short WpnMaxCharge short ToCharge short MagickaCost set PCMyst to player.getav mysticism set PCMagicka to player.getav magicka set PCWpn to player.getequippedobject 16 set WpnCharge to player.getequippedcurrentcharge 16 set WpnMaxCharge to player.getobjectcharge PCWpn set ToCharge to (WpnMaxCharge - WpnCharge) set MagickaCost to (PCMyst / 10) * ToCharge if MagickaCost > PCMagicka set ToCharge to PCMagicka * (PCMyst / 10) set MagickaCost to (PCMyst / 10) * ToCharge endif if MagickaCost < 0 return elseif ToCharge < 0 return endif short NewCharge set NewCharge to WpnCharge + ToCharge player.setequippedcurrentcharge 16 NewCharge incrementplayerskilluse mysticism 1 (ToCharge / 10) messageex "%n charged with %g energy for %g magicka" PCWpn ToCharge MagickaCost set MagickaCost to -MagickaCost player.modav magicka MagickaCost return end
  2. I think he meant, or it's only what I'm looking for, a mod that makes the crossing between face / head to body texture less outstanding than it is with HGEC Bodies and vanilla face textures. Atleast I have always unmatching color tones for the skin between head and body : (
  3. If it's so 'easy', why isn't there such a mod already? I hate leaving loot behind just because I'm over encumbered -.- In FO3 it only took ages to get back but it was atleast possible ._.
  4. wish they would have made it in oblivion already like in fallout 3, no running while over encumbered instead of morrowind like freezing >_<
  5. Anyone knows a way to find out an items condition from a ref (fetched from somethings inventory) if its a weapon or equipment? I'm working on an equipment recycler and I don't wanna give trashed stuff the same Scrap Metal return as great conditioned stuff. Got that thing working so far nicely, only the condition is not in the script yet since I can't find a damn function for that, not in the default functions nor in the FOSE documentation but I could bet that theres such a function just not documented cause my script already uses 4 other functions not documented. I already tried GetCurrentHealth since GetHealth gives back the base health (max health?) of an item but this function just jams the script so it seems to be not for items or whatever, I just started scripting like half a day ago lulz
  6. I do something similar with ammo - but here it is adapted to rifles. You need to have the very latest version of FOSE for the GetInventoryObject function to work. I have it as a spell, but it doesn't have to be that way. short iInvPos;Position in container short iItemType;form type short iItemCount short iFlagRemove ref rBaseInvObj;Current Base object in container short iWeaponType BEGIN ScriptEffectStart ;Search from bottom to top and remove unwanted rifles set iInvPos to MyContainerREF.GetNumItems Label 1 if (iInvPos) set iInvPos to (iInvPos - 1) set rBaseInvObj to (MyContainerREF.GetInventoryObject iInvPos) set iItemType to GetType rBaseInvObj if (iItemType == 40) ;weapon Form set iWeaponType to GetWeaponType rBaseInvObj if ((iweaponType == 5) || (weaponType == 6));two hand rifles and automatics set iflagRemove to 1 endif endif if (iFlagRemove) ;Do stuff with the rifles set iItemCount to MyContainerREF.GetItemCount rBaseInvObj MyContainerREF.RemoveItem rBaseInvObj iItemCount set iFlagRemove to 0 endif Goto 1 endif RHKNPCREF.RemoveSpell MoveMyRiflesEffect END Thanks alot, without this thread and your example here I'd never found out about these undocumented functions of FOSE o,o helped me making my equipment recycler XD
×
×
  • Create New...