Difference between revisions of "Questions"

Jump to navigation Jump to search
782 bytes added ,  02:18, 8 June 2006
imported>Decoup
(Is something wrong with my cs or are they all like this)
imported>Omzy
Line 48: Line 48:


The most straightforward way to do this would be to edit every bow in the game manually to do increased damage.  Just open the CS and navigate to the weapons heading in your [[Object Window]] and look for all bows.  This is the sort of change that would very likely conflict with other mods, however, and because of that it may be better to create a new set of your increased damage bows and have a vendor sell them.  Of course, if you're not planning on distributing this mod, then I wouldn't worry about that too much. [[User:JBurgess|JBurgess]] 00:38, 9 April 2006 (EDT)
The most straightforward way to do this would be to edit every bow in the game manually to do increased damage.  Just open the CS and navigate to the weapons heading in your [[Object Window]] and look for all bows.  This is the sort of change that would very likely conflict with other mods, however, and because of that it may be better to create a new set of your increased damage bows and have a vendor sell them.  Of course, if you're not planning on distributing this mod, then I wouldn't worry about that too much. [[User:JBurgess|JBurgess]] 00:38, 9 April 2006 (EDT)
[[Omzy]] Not sure if this would work, but its an idea. For an actor, you could make a script that does this type of thing:
<pre>
ScriptName ActorScript
short charUsingBow
Begin OnPackageChange (Or other one-time condition like OnStartCombat)
    if GetIsUsedItemType Bow && IsWeaponOut
          Set charUsingBow to 1
    else
          Set charUsingBow to 0
    endif
End
short oldStrength
short strengthChanged
Begin GameMode
    if charUsingBow == 1
          Set oldStrength to GetActorValue strength
          SetActorValue strength (oldStrength + 50)
          Set strengthChanged to 1
    else
          if strengthChanged == 1
              SetActorValue strength (oldStrength)
              Set strengthChanged to 0
          endif
    endif
End </pre> [[Omzy]]


== Reset Cell ==
== Reset Cell ==
Anonymous user

Navigation menu