rando3 Posted October 8, 2011 Share Posted October 8, 2011 (edited) done.http://www.fallout3nexus.com/downloads/file.php?id=16862 Turned out to be easier than I thought, I mostly just followed your post, rando3, so thanks again for that. The code took a bit of debugging but nothing serious. you're very welcome! I gotta do a new Fallout 3 playthrough now, just to test this! EDIT: I decided to add a few things to your mod, notably a recipe note added to your inventory when you take the Quantum Chemist perk (before I test it, does this script look fine?: )ScriptName DLC03CreatorQuestScript short playerSleep short DLC03DeathClawControl short DoOnce Short FEVaquaPuraCount Short DLC03MessageRan short ThirtyGood short ThirtyBad short ThirtyNeutral short PuppiesActive float DLC03StartTimer begin menumode ; player has the Deep Sleep perk and is sleeping if Player.HasPerk DLC03DeepSleep == 1 && IsPCSleeping == 1 set playerSleep to 2 endif ; player has the Puppies! perk If DogmeatRef.GetDead == 1 && Player.HasPerk DLC03Puppies If Player.GetDistance DogmeatRef > 8000 If PuppiesActive == 0 Set PuppiesActive to 1 DogmeatRef.SetActorFullName DLC03Freshmeat DogmeatREF.AddSpell DLC03PuppiesEffect EndIf DogmeatRef.Enable DogmeatRef.Resurrect DogmeatRef.AddToFaction FollowerFaction 0 Set Followers.DogmeatHired to 1 Set DogmeatRef.Waiting to 1 Set DogmeatRef.IsFollowingDefault to 1 Set DogmeatRef.IsFollowingLong to 0 Set DogmeatRef.IsFollowingShort to 0 Set DogmeatRef.CombatStyleRanged to 0 Set DogmeatRef.CombatStyleMelee to 1 DogmeatRef.SetCombatStyle FollowersCombatStyleMelee DogmeatRef.SetPlayerTeammate 1 DogmeatRef.AddToFaction TeammateFaction 1 EndIf EndIf end begin gamemode ; if Enclave Radio ref has been enabled, it means the player is out of the vault, which means it's time to run the message box if ( DLC03MessageRan == 0 ) if ( RadioEnclaveRef.GetDisabled == 0 ) Set DLC03MessageRan to 1 set DLC03StartTimer to 60 elseif ( GetStage MQ09 >= 60 ) Set DLC03MessageRan to 1 Set DLC03StartTimer to 60 endif elseif ( DLC03MessageRan == 1 ) if ( DLC03StartTimer <= 0 ) ShowMessage DLC03StartMessage Set DLC03MessageRan to 2 else set DLC03StartTimer to ( DLC03StartTimer - GetSecondsPassed ) endif endif if playerSleep == 2 ; player has actually slept in this bed ; give player Well-Rested spell and then clear variable player.CastImmediateOnSelf WellRestedSpell set playerSleep to 0 endif ; player has Quantum Chemist perk if ( DoOnce == 0 ) if ( Player.HasPerk DLC03QuantumChemist == 1 ) Player.AddNote DLC03RecipeNukaColaQuantumNote set DoOnce to -1 endif endif ;These are for the Level 30 Achievements If ThirtyBad == 0 If Player.GetLevel >= 30 If Player.GetAv Karma < -250 AddAchievement 62 Set ThirtyGood to -1 Set ThirtyNeutral to -1 Set ThirtyBad to 1 endif endif endif If ThirtyNeutral == 0 If Player.GetLevel >= 30 If Player.GetAv Karma >= -250 If Player.GetAv Karma <= 250 AddAchievement 63 Set ThirtyGood to -1 Set ThirtyNeutral to 1 Set ThirtyBad to -1 endif endif endif endif If ThirtyGood == 0 If Player.GetLevel >= 30 If Player.GetAv Karma > 250 AddAchievement 64 Set ThirtyGood to 1 Set ThirtyNeutral to -1 Set ThirtyBad to -1 endif endif endif end I'm also planning on adding success and failure messages for when you make a Nuka-Cola Quantum or don't have enough ingredients (just like with a work bench's messages.) I hope you'll add those things to an update, but for now, the unofficial add-ons will hopefully work out okay. Edited October 8, 2011 by rando3 Link to comment Share on other sites More sharing options...
caramellcube Posted October 8, 2011 Share Posted October 8, 2011 The script looks good, and the note and messages are a good idea, so thanks again, that'll be something to add to v2.0 Link to comment Share on other sites More sharing options...
rando3 Posted October 9, 2011 Share Posted October 9, 2011 The script looks good, and the note and messages are a good idea, so thanks again, that'll be something to add to v2.0 Feel free to take my script, I dont want credit either Just knowing this mod exists is happy enough for me. Link to comment Share on other sites More sharing options...
Recommended Posts