Jump to content

DreusFar

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by DreusFar

  1. Thanks to Alexander J. Velicky for his video about LOD generation
  2. I tried to create an heightmap with photoshop as it's explained here: http://hoddminir.blogspot.nl/2012/02/from-heightmap-to-worldspace-in-skyrim.html but even with a difference of 1/2% grayscale in a space not big I get highest difference of terrain height, sometimes the terrain is even broken because of that difference. Is there any way to reduce this with some option in photoshop or something like that?
  3. yes that was the right way. I used an if (game.getplayer().hasspell(SPELL)) after every removal so if the player doesn't have the spell papyrus doesn't do "count=count - 1". I managed to do even the rest splitting the messages. So I've finished thank you to all of you for helping me
  4. thank you very much to all of you, I have almost done it, only two problems remain, the first, probably unsolvable, is that when I create the options of the message I can write a maximum of 10 options while I would need 11. The second is that my intention is to give the player the ability to choose up to three racial powers, and once the player has chosen three powers he can lose one of those powers reading again the book, so later he can choose another power (in synthesis a maximum of three powers). But with my script when the player should choose which power he wants to lose if he chooses from the options a power he didn't have yet, then he can read again the book andget another power, so more than three powers. Here the script: And here again properties window
  5. thank you again for answering me, I did what you said, and then I put the new book in game but when I open it doesn't make me choose any racial power (compilation succeeds) Here the script: Scriptname PoteriRaziali extends ObjectReference SPELL Property pPowerBretonAbsorbSpell Auto SPELL Property pRaceOrcBerserk Auto SPELL Property pPowerArgonianHistskin Auto SPELL Property pPowerDarkElfFlameCloak Auto SPELL Property pPowerHighElfMagickaRegen Auto SPELL Property pPowerImperialPacify Auto SPELL Property pPowerKhajiitNightEye Auto SPELL Property pPowerNordBattleCry Auto SPELL Property pPowerRedguardStaminaRegen Auto SPELL Property pPowerWoodElfCommandAnimal Auto Message Property ChoiceMessage auto Event OnActivate(ObjectReference reader) int choice = ChoiceMessage.show() if (choice == 0) ; do nothing elseif (choice == 1) ; Absorb spell Game.GetPlayer().AddSpell(pPowerBretonAbsorbSpell) elseif (choice == 2) ; Berserk Game.GetPlayer().AddSpell(pRaceOrcBerserk) elseif (choice == 3) ; Histskin Game.GetPlayer().AddSpell(pPowerArgonianHistskin) elseif (choice == 4) ; Flame cloak Game.GetPlayer().AddSpell(pPowerDarkElfFlameCloak) elseif (choice Highborn Game.GetPlayer().AddSpell(pPowerHighElfMagickaRegen) elseif (choice == 6) ; Pacify Game.GetPlayer().AddSpell(pPowerImperialPacify) elseif (choice == 7) ; Nighteye Game.GetPlayer().AddSpell(pPowerKhajiitNightEye) elseif (choice == 8.) ; Battle cry Game.GetPlayer().AddSpell(pPowerNordBattleCry) elseif (choice == 9) ; Stamina regeneration Game.GetPlayer().AddSpell(pPowerRedguardStaminaRegen) elseif (choice == 10) ; Command animal Game.GetPlayer().AddSpell(pPowerWoodElfCommandAnimal) endif EndEvent At end of this post a screenshot of properties window (I think it's how you told me to do but maybe it isn't). I tried to look at Oghma infinium's script because my book once opened should give ten options as oghma gives three options, so I thought they were similar, but sincerely I didn't manage to understand very much from that, maybe is needed a function for reading books or something like that, I even don't know, any idea?
  6. First of all thank you for your answers, this is what I wrote: Scriptname RacialPower extends ObjectReference Message Property ChoiceMessage auto Event OnActivate(ObjectReference reader) int choice = ChoiceMessage.show() if (choice == 0) ; do nothing elseif (choice == 1) ; Absorb spell Game.GetPlayer().AddSpell(PowerBretonAbsorbSpell) elseif (choice == 2) ; Berserk Game.GetPlayer().AddSpell(RaceOrcBerserk) elseif (choice == 3) ; Histskin Game.GetPlayer().AddSpell(PowerArgonianHistskin) elseif (choice == 4) ; Flame cloak Game.GetPlayer().AddSpell(PowerDarkElfFlameCloak) elseif (choice Highborn Game.GetPlayer().AddSpell(PowerHighElfMagickaRegen) elseif (choice == 6) ; Pacify Game.GetPlayer().AddSpell(PowerImperialPacify) elseif (choice == 7) ; Nighteye Game.GetPlayer().AddSpell(PowerKhajiitNightEye) elseif (choice == 8.) ; Battle cry Game.GetPlayer().AddSpell(PowerNordBattleCry) elseif (choice == 9) ; Stamina regeneration Game.GetPlayer().AddSpell(PowerRedguardStaminaRegen) elseif (choice == 10) ; Command animal Game.GetPlayer().AddSpell(PowerWoodElfCommandAnimal) endif EndEvent And the compilation failed with this message: Starting 1 compile threads for 1 files... Compiling "RacialPower"... C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\RacialPower.psc(15,28): variable PowerBretonAbsorbSpell is undefined C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\RacialPower.psc(19,28): variable RaceOrcBerserk is undefined C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\RacialPower.psc(23,28): variable PowerArgonianHistskin is undefined C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\RacialPower.psc(27,28): variable PowerDarkElfFlameCloak is undefined C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\RacialPower.psc(31,28): variable PowerHighElfMagickaRegen is undefined C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\RacialPower.psc(35,28): variable PowerImperialPacify is undefined C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\RacialPower.psc(39,28): variable PowerKhajiitNightEye is undefined C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\RacialPower.psc(43,28): variable PowerNordBattleCry is undefined C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\RacialPower.psc(47,28): variable PowerRedguardStaminaRegen is undefined C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\RacialPower.psc(51,28): variable PowerWoodElfCommandAnimal is undefined No output generated for RacialPower, compilation failed. Batch compile of 1 files finished. 0 succeeded, 1 failed. Failed on RacialPower So what's wrong? those variables that it says are undefined I copied them from the ID of the corresponding RacePower spell
  7. Is there a way to allow the player to change racial powers of his character, possibly using a book that you can read and choose which racial power to add? Maybe with papyrus but I don't know how to call the racial power, is there something like "GetRacePower" function or something like that?
  8. Hi I'm not english so I hope that my english is good and that i'm in the right forum section Using the creation kit I was trying to make more powerful some master level spells like firestorm because I think it is too weak. The problem is when I'm in the firestorm's spell window (of the creation kit) and I increase first effect's magnitudo from 100 to 200 for example then I run skyrim and cast firestorm, and it hits me too. How can I avoid to hit myself? furthermore when casted the modified firestorm it looks like casting even a fear spell at the same time... thank you for answering
  9. .
  10. Hi I'm not english so I hope that my english is good and that i'm in the right forum section Using the creation kit I was trying to make more powerful some master level spells like firestorm because I think it is too weak. The problem is when I'm in the firestorm's spell window (of the creation kit) and I increase first effect's magnitudo from 100 to 200 for example then I run skyrim and cast firestorm, and it hits me too. How can I avoid to hit myself? furthermore when casted the modified firestorm it looks like casting even a fear spell at the same time... thank you for answering
×
×
  • Create New...