Spasticon1 Posted August 31, 2017 Share Posted August 31, 2017 (edited) Hello, I need some help. I'm working on Version 4.2 of Macromancy 4, and I'm have some trouble. I have a few spell script errors, but first I need help with the MCM. It doesn't work. I have no clue why, and I really want it to work. By the way, it's supposed to show your max size, and current size. Max size is represented by Infamy, and current size is represented by Fame. Here it is: (Note: I've put it in a quote, to make it easy.) Scriptname vmmMacromancyMCM extends SKI_ConfigBase Actor Property PlayerRef Autoint sizeID;int maxSizeID;event OnPageReset(String page) setCursorFillMode(TOP_TO_BOTTOM) sizeID = addTextOption("Current Size", PlayerRef.GetActorValue("Fame")); maxSizeID = addTextOption("Max Size", PlayerRef.GetActorValue("Infamy"));endEventAny clue why it doesn't work? Edited August 31, 2017 by Spasticon1 Link to comment Share on other sites More sharing options...
foamyesque Posted September 3, 2017 Share Posted September 3, 2017 (edited) In what way does it not work? Doesn't appear in the MCM, invalid values for the options, etc? Edited September 3, 2017 by foamyesque Link to comment Share on other sites More sharing options...
Spasticon1 Posted September 3, 2017 Author Share Posted September 3, 2017 (edited) Well it shows how much fame and/or infamy you have. Below is are explanations for both. First I should mention, that Macromancy 4 uses SetNodeScale for it's spells. Current Size (Fame):Your current size (fame) at your default height is 0. When you grow the amount will go up when you shrink it will go down. Negatives should be possible. sense you can become smaller than your default size. it goes up when you use spells like grow. down when you use shrink, and resets to 0 when you use restore size. Max Size (Infamy):This is simple, At first it will be 0. it will go up as you use spells like the absorb size spells (although the absorb size spells also make your fame go up.), store size (Although store size doesn't work at the moment but that's a problem for later), and absorb dragon soul. It will go down when you use spells like give size and consume size. Also here is a pic of the MCM: So what do you think? Edited September 3, 2017 by Spasticon1 Link to comment Share on other sites More sharing options...
foamyesque Posted September 3, 2017 Share Posted September 3, 2017 (edited) Are those values intended to be zero in the screenshot? What precisely is the difference between the intended behaviour and what's happening? Edited September 3, 2017 by foamyesque Link to comment Share on other sites More sharing options...
JonathanOstrus Posted September 3, 2017 Share Posted September 3, 2017 (edited) I would add the question what result do you get typing the appropriate commands at the console to display the values? player.getav "fame" player.getav "infamy"I'm wondering if the actor values are actually getting set for the MCM to show a non zero value. Edited September 3, 2017 by BigAndFlabby Link to comment Share on other sites More sharing options...
Spasticon1 Posted September 4, 2017 Author Share Posted September 4, 2017 Actually after using the getav command on my character, the values are not supposed to be zero. by default your height is 1. After using the shrink spell, I got to the shortest height and got 0.25. I also used the player.getav "fame" command after using the grand absorb size spell, (A few days ago I started a new game so I set my alteration to 100, game myself some alteration spells and used the spell and it had quick results.) and it gave me something like 1.60, I used player.setav infamy and got 1.60. I used restore size and used both spells " getav "fame" gave me 1 and getav "infamy gave me 1.60. So I have no Idea what's wrong. If anyone figures out how to fix it, can I get the fixed script? I have no idea how MCM scripts work, and Macromancy 3 had it and I kept it when making Macromancy 4. Link to comment Share on other sites More sharing options...
PeterMartyr Posted September 4, 2017 Share Posted September 4, 2017 Fame & Infamy also are obsolete actor value, not use by the Game, but have persistence in the game save, so their numerical value is really what ever you want to be. Saying that it this or that means nothing. It's how these Values are applied in CK Conditions & in Scripted Statements that counts. Also the default value of all Actor Values is Zero. So I feel your missing the point of it all, while stressing on something that is unimportant. Link to comment Share on other sites More sharing options...
foamyesque Posted September 4, 2017 Share Posted September 4, 2017 If the MCM is not reporting the same numbers as the console commands, it's almost certainly because you forgot to fill the PlayerRef property in the CK. Link to comment Share on other sites More sharing options...
Spasticon1 Posted September 5, 2017 Author Share Posted September 5, 2017 If the MCM is not reporting the same numbers as the console commands, it's almost certainly because you forgot to fill the PlayerRef property in the CK. Um...how do I do that? Link to comment Share on other sites More sharing options...
foamyesque Posted September 5, 2017 Share Posted September 5, 2017 If the MCM is not reporting the same numbers as the console commands, it's almost certainly because you forgot to fill the PlayerRef property in the CK. Um...how do I do that? Next to the window that lists the scripts, there will be a "Properties" button. Press it. It will bring up the Properties window, which has a list of your scripts properties and what CK objects, if any, are assigned to them. The AutoFill button in that window will fill any property that has the same name and type as an editor object with that object, which should work for filling your PlayerRef property. Link to comment Share on other sites More sharing options...
Recommended Posts