Jump to content

Change player HP to Hearts like in Legend of Zelda: Hardmode


lollol

Recommended Posts

ok, good, but please don't use "player" as your variable name, as I explained above and in pm. Unless you've intentionally changed that var name to player when posting the script on here.

ref player  ; This isn't good.
Passing variables as filtering arguments to the SetEventHandler function is ok, like you passed zzzHeartSystem.attackedPlayer. But if that's just the player, you can simply use PlayerRef. Player(00000007) is the base object of the player and PlayerRef(00000014) is a reference to it. Many modders are often confused with the use of Player and PlayerRef. Since it's the player and there is almost always only one reference for the player in the whole game world, it's generally accepted (it's indeed a bit ambiguous), but the basic rule is to use Player if the function asks base object and PlayerRef if the function asks reference. Also, editor and ingame console behave differently. Player means PlayerRef in the ingame console.

 

Are you using CSE by the way? If so it will point the problem if the script has any syntactical mistake, and better, it will show you context-sensitive tooltips whenever you type something.

Link to comment

Thanks for the clarification. Yes I am using CSE.

I will also add that I will have to reduce the time spent working on this for a bit(the next week). I'm pretty busy in the day time, so I cut into my sleep by staying up and working on this at late night to morning. Got by on 3 to a little more than 4 hours sleep for the past few days(since a few days after starting thread). Getting harder to concentrate so I probably need to catch up on sleep. Will come back better after

 

Link to comment
  • 2 weeks later...

A bit of bad news.

One thing is that it seems probable that script-load wouldl probably force me to cut a lot of ideas out, I remember some changes causing a noticeable frame-rate drop. It could just be my system. Either way, I can't afford a new PC for quite a long time. I had hoped to buy it this year during end of year sales( Black Friday/Boxing Day ) but I'm not going to settle for a budget model. I will aim for 2015's major sales instead. It might just be too advanced for a new scripter, I guess the total mod idea would involve changes on par with Deadly Reflex 6 and Unnecessary Violence 3.

I'm actually thinking of switching to Skyrim. It might be more feasible to create certain aspects of this mod there. What I mostly wanted was Elder Scrolls Action RPG mode with some rebalancing. 

I had 2 issues with the game which made me stop playing it. Bad fps almost all the time(also in Oblivion, but not nearly as bad), and I didn't think I could create a Skyrim character that's similar to characters from Oblivion( with similar face texture and very custom facegen ). I like the HGEC mods, HGEC Fighter or EBE for the player, normal for NPCs. I think I've solved the FPS problem: Needed to entirely get rid of ENB. Don't know why but even just having the .dll( without a custom ENB profile set up ) in game directory caused major slowdowns. I deleted all the ENB stuff completely for Oblivion and now I get 30fps virtually all the time. The only drops are when near an Oblivion Gate, and they're not that significant anymore. Skyrim will probably also run much better without ENB. I think I had ENB pretty much since I bought Skyrim, didn't think it would cause much of a slowdown without a high-end ENB profile.

And going by these Skyrim mods, we can now make Oblivion-like characters in Skyrim. I have been out of the loop with Skyrim mods. I only would convert some armors to Oblivion

NPC followers:
http://www.nexusmods.com/skyrim/mods/58670/?
http://www.nexusmods.com/skyrim/mods/52853/?
http://www.nexusmods.com/skyrim/mods/59056/?
Hair mods:
http://www.nexusmods.com/skyrim/mods/58221/?
http://www.nexusmods.com/skyrim/mods/35267/?
Enhanced Character Edit:
http://www.nexusmods.com/skyrim/mods/12951/?



Even if this mod concept is too advanced/not feasible to do, Skyrim will be something different. Got over a thousand hours on Oblivion, much less on Skyrim. If it'll run well it's almost like having a new game. I did beat the main-quest and guild quests but that's about it, and with terrible fps ranging from about a high of 18 to a low of 10 all the way through.

Thanks for your help! Now at least I understand the basics of TES scripting much more than before

And I might come back to this someday anyways

Link to comment

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use