Jump to content

Shoneah0Tokala

Members
  • Posts

    60
  • Joined

  • Last visited

About Shoneah0Tokala

Profile Fields

  • Country
    United Kingdom
  • Currently Playing
    Skyrim
  • Favourite Game
    Star Wars: KOTOR (my first rpg)

Shoneah0Tokala's Achievements

Enthusiast

Enthusiast (6/14)

  • Collaborator Rare
  • First Post
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. As stated in the title I'm looking to gain some input from players on a feature of the mod that I'm working on. When the player's health drops below 20% there will be a chance to trigger an effect. Either a Cloak or an AOE (spawn hazard). for balancing there will be a cooldown on this effect: Almost a beat for beat copy of the "On low health do X" Legendary armour mods from Far Harbour, with my own personal flair. Fortunately the script for this is very straightforward so all I really need to accomplish this is to make up my mind, and that's where you all come in. :wink: What would you prefer to use when playing Fallout 4: a cloak that boosts your defence and damages enemies for a time, or an AOE that will damage enemies and push them back?
  2. LOL, Awesome. :D Mind if I quote this in the future?
  3. Hiya people, I Recently had the idea to rewrite my scripts so as to be usable with multiple magic effects, and take the player's perks and Action Points into account. To me this seems A lot more sensible than writing pretty much identical lines of code for every effect. The thing is, my scripting ability is all self taught or gained through conversation with other modders (more often than not the Papyrus Primer feels like gibberish to me) so I'm not certain if my current method is smarter, or just lazier. I also wonder about the performance impact my scripts will have on the game, So I was hoping you guys and girls could just take a poke around and let me know if I'm on the right track, or what you'd do differently in my place. Here's one of the original codes I was using: And then here's the rewrite: As stated before, the latter method is far easier and quicker. And to my untrained eyes it looks like the smarter solution, but clarification would be much appreciated. As for my questions about AV's, I've put together a custom Actor Value that I'm planning to use a great deal later down the line, unfortunenately I can't find a way to increase it's total Value in game without papyrus.eg. the AV starts at 0, player has 2 chems with "Value Modifier" & "Peak Value Modifier" Archtypes attached to them and a Magnitude of 5 on each. I reckon one of those should have increased my AV to 5, the problem is that nieither of those effects actually do so. Inversely if I change the effect of the chem to Detrimental and flag the AV as "damage is positive" then use the chem in game my AV does increase as expected.If that last paragraph hasn't confused you in the slightest then you're the one I'm looking for :wink:Essentially what I want to accomplish with this AV is: AV will have a min of 0 and a max of 10,000, when the game starts AV is at 0 and by accomplishing certain tasks the AV will increase (similar to xp) and when the player Unlocks or Upgrades new Powers (the spells mention previously, Ice Skin etc) the Av will be decreased again by the specified amount. I could use "damage is positive" if I really need to but I'm worried that I'm going to trip myself up further down the line with this method (ResAV = DamAV, DamAV=ModAV....??). That's all I have for today, thanks in advance.
  4. Hey again people. Just thought I'd drop another little update on my progress. So, I spent most of yesterday fiddling with markers and such, it was a great idea and helped with the issue of the spell not working in first person. However it came with its own set of problems (chief among them being that the spell could not be aimed, and would spawn from a point on the floor, just behind the player, meaning the spell would either hit me in ankles or go skidding across the floor between my legs), I also spent a bit of time using "moveto" to try and reposition the marker prior to casting, headshot myself a couple of times before I decided to try something else. In the end I used a "dirty" method that forces the spell to fire off at wherever the player is aiming. Essentially it goes: Chem (PlayIdle, cast targeting spells - Target Location and Target Actor) -> Targeting spells (Cast actual spell, source - akCaster / destination - akTarget). Seems to work in both 1st and 3rd person cams with my test subjects taking damage in both instances, although the projectiles will only appear in 3rd person and seem to deal extra damage on impact - I'm just gonna call that 'easy mode'. I also answered my own question on resizing projectiles, it can be done in nifskope, rather easily as well. At some point I intend to go back to fiddling with markers because I reckon they'd be great for a teleport spell idea I've been toying with, thanks again for pointers.
  5. Is it possible to change the size of a projectile within the CK, like can I make a duplicate and edit the scale? Currently "Cryo Blast" looks more like a "Snowball Throw". If needs be I could alter a copy of the projectile in nifskope or 3ds bit that feels like 'a long walk for a small glass of water', so to speak.
  6. I think that's what I was referring when I kept saying activators. I will definitely test this method when I get home, looks interesting.
  7. That's worked. Thank you. it's a little buggy still (the spell will only work in 3rd person with no fine aim, hits noticeably to the left of the crosshairs, and fires off before anim starts). For the anims I reckon a slight tweaking of the code may sort that out. I'm unsure what to do about the 3rd person limitation at this moment. The targeting kind of makes sense, after all the player is essentially hurling a spell from their left hand; not ideal for the player when trying to aim but it's hardly the biggest problem. Unfortunately I'll be away from my pc for a couple of days now, so won't be able to implement anything new until the weekend. I'll still be about on mobile and checking in on the forums if anyone wants to make a suggestion or whatever. Thanks again. Bye for now.
  8. Yeah, it does, figured I'd double check it just in case and everything appears to be as it should. it's also worth noting I can use console commands in game to force the spell to be cast, and I get the correct projectile and effect etc. so as far as I can tell my spell and my chem are both working just not together.
  9. Hello again guys, thought I'd post a quick update. I don't know if the script was just corrupted or something. But I just deleted then rebuilt the effect, potion, and script. Now I have the "AddItem" and "PlayIdle" lines working in game, the "Cast" still does nothing, but progress is progress. Funnily enough I'm pretty sure that I'm following a similar path to the berry mentats: "Cryo Blast Power (Potion/Self) --> Cryo Blast pot effect (Effect/Self) --> Cryo Blast Spell (Spell/Aimed) --> Cryo Blast Effect (Effect/Aimed). I hadn't actually looked into the Berry Mentats though, but that could be useful. What do you all reckon about using activators if the spell doesn't fire from script? ie: Potion: onEffectStart -> placeatme = myactivator. Activator: onLoad -> cast = myspell. I get the feeling that method is going to be easier said than done though...
  10. Hey all, I'm gong to try and keep this as short and straightforward as possible. Unfortunately while I know what it is I want to accomplish I'm uncertain of the how and have already started encountering problems that I can't seem to solve. So in essence what I want to do is add some new powers into Fallout 4, Now I know this has been done before with mods like "Mutant Powers" etc. However, I was hoping to do things a little differently, as such I don't want these powers (which are essentially spells) to overwrite any of the equip slots for Throwable, Weapons, or Armours. Instead my aim was to use Aid items that the player can assign to favourite and then just fire them off, while still being able to use any equipped weapons. This method should work fine for the powers that target "self"; such as buffs and cloaks, theoretically AOEs centred on the player could be activated in this manner too. It starts to get a little more complicated when I want to move on to powers that target other actors, now from my understanding of papyrus and the CK in general it seems like the way to do this would be with scripts that cast these powers when the aid item is used. This is where I'm getting really stuck. For my first targeted power (Cryo Blast) the player would use the relevant Aid item, after which the item would be added back into their inventory, they would play some kind of anim, and the spell would be cast in the direction they're facing. Here is the script I tried writing (it complies with no errors and I assigned all of the relevant properties in CK however it appears to have no effect when used) I have added the "; comments" to try and provide a little more detail and insight into the problem, they obviously were not in the original script(s) I wrote: Another Idea I've had is to place an activator at the player and have them trigger it through scripts, this activator then "forces" the player to use the specified anim, and fires the associated spell in the direction that the player is facing, however I feel like there's something I'm still missing. Currently my success rate with FO4 papyrus is like 50-50 so help in that area are greatly appreciated, but any other ideas or suggestions you guys may have on the ck side of things that might make things easier would be welcome too.
  11. Hi, I have made sure to link the properties My quest does have a stage 1 (which is simply an in-game timer set to progress to stage 2 on reaching end of time limit. Stage 2 of said quest reverts player back to human race) I'm away from ck at the moment but will double check run on start when I get back, though if I recall correctly it does have run on start. Did not think about the save game issue. will definitely keep an eye on that too. I was wondering it might if it might not be more straightforward to implement the "unusedstamina" AV (probably a throwback to skyrim), add it to my race along with an effect that causes DoT to the AV, and then simply adding a function to all of the "superhuman abilities" that requires the user to have "unusedstamina" >= 1? I've never dealt with av's before maybe trying to use this method would cause a mess I'm unable to fix, then there's the fact that I'd need to add a status bar to the HUD so users can track their "unusedstamina", The bonus though would be that there'd be no issues with quest scripting, and that having my timer tracked as an AV might make the mod feel more immersive. comments?
  12. So name is somewhat self explanatory, I've created a chem that when used turns the player into a superhuman. there's an accompanying quest that is also meant to activate when the player is "superhuman", My transform script works completely as I intended, so does my quest; though the only way to start the quest currently is through console commands. I tried adding some relevant lines to my transformation script but it doesn't seem to make very much difference. Here is my script: Also I'd like to point out that I've tried a couple of variations such as "Game.GetQuest(SHSS_FEVTQuestTimer01).SetStage(1)", "Game.SetStage(SHSS_FEVQuestTimer01, 1)", "Game.GetQuest().SetStage(SHSS_FEVQuestTimer01, 1)", "Game.GetPlayer().SetStage(SHSS_FEVQuestTimer01, 1)" Evidently these didn't work either :/ As you can probably see I'm not a pro at papyrus by any stretch of the imagination, I found the call to quest line "[Quest Name].Setstage(1)" from looking through papyrus reference on the ck website but I'm clearly not using it right or things would be working by now. How can I alter this script to make it run. Or would I be better off attaching another script directly to the object so that my transform script is still on the MGEF, but there is a second script on the "Potion" that runs quest on object init. Maybe there's another much simpler method that I'm missing? <nb> Adding a duration to my MGEF is not ideal as that appears to use real-time and I want my effect to wear down during game-time progression.
  13. Also I'd like to point out that I've tried a couple of variations such as "Game.GetQuest(SHSS_FEVTQuestTimer01).SetStage(1)", "Game.SetStage(SHSS_FEVQuestTimer01, 1)", "Game.GetQuest().SetStage(SHSS_FEVQuestTimer01, 1)", "Game.GetPlayer().SetStage(SHSS_FEVQuestTimer01, 1)" Evidently these didn't work either :/
  14. So name is somewhat self explanatory, I've created a chem that when used turns the player into a superhuman. there's an accompanying quest that is also meant to activate when the player is "superhuman", My transform script works completely as I intended, so does my quest; though the only way to start the quest currently is through console commands. I tried adding some relevant lines to my transformation script but it doesn't seem to make very much difference. Here is my script: As you can probably see I'm not a pro at papyrus by any stretch of the imagination, I found the call to quest line "[Quest Name].Setstage(1)" from looking through papyrus reference on the ck website but I'm clearly not using it right or things would be working by now. How can I alter this script to make it run. Or would I be better off attaching another script directly to the object so that my transform script is still on the MGEF, but there is a second script on the "Potion" that runs quest on object init. Maybe there's another much simpler method that I'm missing? <nb> Adding a duration to my MGEF is not ideal as that appears to use real-time and I want my effect to wear down during game-time progression.
  15. It's taken me this long to realise that that for whatever reason I can't use any custom hair colour mods; don't ask me why. So even if I'm doing this remapping thing right I'd never know. thanks for your advice, I'm sure I will come back to this at some point
×
×
  • Create New...