Difference between revisions of "User talk:Dran"

2,425 bytes added ,  14:29, 13 September 2007
formatting and responses.
imported>Dran
imported>DragoonWraith
(formatting and responses.)
Line 1: Line 1:
I've formatted your Talk page to make things easier to follow (so I could answer things better). I hope this isn't a problem for you (it's generally rude to mess with someone's User pages) - if so, I can undo what I did, just let me know.<br />
[[User:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">D</span>ragoon <span style="font-family: Oblivion, Daedric Runes; size=2;">W</span>raith]] [[User_talk:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">TALK</span>]] 15:29, 13 September 2007 (EDT)
== Recharge Box ==
I'm working on a Recharge Box.  Is there a way to get a container to activate a Varla Stone?
I'm working on a Recharge Box.  Is there a way to get a container to activate a Varla Stone?


Line 11: Line 16:
If you have any advice for me...
If you have any advice for me...


Dran
[[User:Dran|Dran]]


:First, some points on Wiki markup. You should put code in the little code boxes - to do this, either start each line with a space (even the blank lines), or else put <nowiki><pre></pre></nowiki> tags around the code. Note that you cannot use other types of markup within pre tags, but you can if you use the space method. Also, sign your name with <nowiki>~~~~</nowiki>.
:First, some points on Wiki markup. You should put code in the little code boxes - to do this, either start each line with a space (even the blank lines), or else put <nowiki><pre></pre></nowiki> tags around the code. Note that you cannot use other types of markup within pre tags, but you can if you use the space method. Also, sign your name with <nowiki>~~~~</nowiki>.
Line 26: Line 31:
:[[User:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">D</span>ragoon <span style="font-family: Oblivion, Daedric Runes; size=2;">W</span>raith]] [[User_talk:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">TALK</span>]] 12:24, 5 September 2007 (EDT)
:[[User:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">D</span>ragoon <span style="font-family: Oblivion, Daedric Runes; size=2;">W</span>raith]] [[User_talk:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">TALK</span>]] 12:24, 5 September 2007 (EDT)


:Thanks so much for the input.  It is so timely.  I am such a novice at this.  Originally I tried to put a very small NPC with recharge capability inside a statue with the idea that the Player could talk to the statue and launch the Recharge screen.  The NPC would not stay there.
::Thanks so much for the input.  It is so timely.  I am such a novice at this.  Originally I tried to put a very small NPC with recharge capability inside a statue with the idea that the Player could talk to the statue and launch the Recharge screen.  The NPC would not stay there.
 
::The reason for the RemoveItem is so the player cannot use the box to collect Varla Stones but not puting in device that needs charging.  Currently I am using a Healing Activator that adds a Varla stone to the Player's inventory, equips it and then removes it just in case there was nothing to recharge.  The problem is that if the player had a Varla stone and then uses Recharger, he looses his device.


The reason for the RemoveItem is so the player cannot use the box to collect Varla Stones but not puting in device that needs charging.  Currently I am using a Healing Activator that adds a Varla stone to the Player's inventory, equips it and then removes it just in case there was nothing to recharge.  The problem is that if the player had a Varla stone and then uses Recharger, he looses his device.
::Again, Thanks for your support.


Again, Thanks for your support.
::[[User:Dran|Dran]]


  <nowiki>Dran</nowiki>
:::Use [[GetItemCount]] to find out if the player had any Varla Stones to begin with, and if so, keep track of the number of Varla Stones he has - if you attempt to use one and no Varla Stones are removed, then you know the player has no enchanted items that need recharging.
:::[[User:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">D</span>ragoon <span style="font-family: Oblivion, Daedric Runes; size=2;">W</span>raith]] [[User_talk:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">TALK</span>]] 15:29, 13 September 2007 (EDT)


== Toggle Collision & Flying ==


I have experimented with Toggle Collision and flying. I would like to create a mod that would allow this without allowing the player to fly through solid objects. Has anyone worked on this?  
I have experimented with Toggle Collision and flying. I would like to create a mod that would allow this without allowing the player to fly through solid objects. Has anyone worked on this?  


<nowiki>Dran</nowiki>
[[User:Dran|Dran]]
 
:Yeah, Levitation has been done in several mods. As I recall, Supreme Magicka had the most functional version, you may want to look at that.
 
:You cannot simply use ToggleCollision, however, so you have to engage in some jury-rigging to get it to work.
:[[User:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">D</span>ragoon <span style="font-family: Oblivion, Daedric Runes; size=2;">W</span>raith]] [[User_talk:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">TALK</span>]] 15:29, 13 September 2007 (EDT)
 
== ModAV ==


I'm suffering from a curiousity.  My intention was to cause an effect to have a magicka cost.  I run the script
I'm suffering from a curiousity.  My intention was to cause an effect to have a magicka cost.  I run the script
<nowiki>
 
  Begin OnMagicEffectHit FOSP
  Begin OnMagicEffectHit FOSP
     Player.removeitem gold001 30
     Player.removeitem gold001 30
     player.modav magicka -300
     player.modav magicka -300
  End
  End
</nowiki>


the first time I execute this script, it works as I had expected.  Player magicka was reduced by 300 and a message said the gold had been removed.  Magicka began to recharge as normal.  I let it recharge to the full base value.
the first time I execute this script, it works as I had expected.  Player magicka was reduced by 300 and a message said the gold had been removed.  Magicka began to recharge as normal.  I let it recharge to the full base value.
Line 55: Line 70:
I am such a complete novice at this.  Any ideas would be very helpful.
I am such a complete novice at this.  Any ideas would be very helpful.


<nowiki>Dran</nowiki>
[[User:Dran|Dran]]
 
:The issue you're talking about is described in the [[ModActorValue]] page - basically, ModAV works differently in script compared to how it works in the Console, and the script version is inconveniently permanent. You could use [[:Category: Oblivion Script Extender|OBSE]]'s [[ModActorValue2]], or else you could use a potion or spell with a Drain Magicka effect on it.
:[[User:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">D</span>ragoon <span style="font-family: Oblivion, Daedric Runes; size=2;">W</span>raith]] [[User_talk:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">TALK</span>]] 15:29, 13 September 2007 (EDT)