Jump to content

I am trying to script a pencil that when you grab it you become perman


DidymosRules

Recommended Posts

Okay so I was thinking about making a quest where you find "Magic Pencils" that seem like simple ordinary pencils, however when grabbed you are granted 5% chameleon. There are twenty "Magic Pencils" in the game. I was curious, could someone please help me with this. I tried reading the Bobbleheads scripts, however they only pertain to modifications of skills and attributes.

 

 

 

 

 

 

Okay so I will sum up basically everything that confuses me and I hope that someone can explain to me the horror of the Scripting process.

 

 

1. Basically I want to understand how in the script you can make the player 5% invisible from grabbing an object that I will give the name of "Magic Pencil." I want the script to have the same properties of a bobble head which when grabbed gives you either a +10 bonus to skills, or a +1 bonus to attributes.

 

 

 

 

 

Summary: Trying to create script for pencil that allows you to become 5% invisible permanently.

Link to comment
Share on other sites

You have to make an effect script for that pencil (In your case, 5% invisability) Now, we all know scripting can be a female dog at times... But, i'm sick of working with Blender, so I am almost determined to help you until you've got it.

 

I will do some research in the GECK and reply here when i'm done :)

Link to comment
Share on other sites

You have to make an effect script for that pencil (In your case, 5% invisability) Now, we all know scripting can be a female dog at times... But, i'm sick of working with Blender, so I am almost determined to help you until you've got it.

 

I will do some research in the GECK and reply here when i'm done :)

 

 

 

 

Thank-you Fallout person. I shall recommend you to the Rest of the Website of your help.

 

 

 

 

 

I figured out how to get the pencil to turn the character invisible in the script However when the character's stealth is set to a magnitude of 5% the enemies cannot see me. Is there a way that I could have the characters stealth set to a magnitude of 5% and have the raiders see me? I am having difficulty trying to get the raiders to attack me. I will tell below in steps of how I got the character to turn invisible once the pencil is in the characters inventory.

 

 

 

Step 1.

 

I went to MS01 Magic8BallScript. I then Copied the contents of the Magic 8 Script and then Pasted it in a new script, gave it a name of my own and then saved it.

 

 

 

Step 2.

 

I went to "ACTOR EFFECT" in the "OBJECT WINDOW" and I went under the tab of "ABILITY"

 

Step 3.

 

I right clicked some random ability, Selected "NEW", I gave it the ID of "1MagicPencil," I then added an effect in the ability that was called "STEALTHBOYINVISI" and set the magnitude to 5

 

Step 4.

 

I then went back to the new Script I had just created in "STEP 1" and then changed the following

 

 

 

 

 

Below is the script

 

 

 

 

 

 

 

 

 

SCRIPT

 

 

 

;FALLOUT 3 Script

 

 

scn MS01Lucky8BallScript ;This is the old Script, Below I will show you the one I changed

 

Begin OnAdd player

player.addspell MS01Lucky8BallAbility ;This ability gives a +1 to luck when Magic 8 Ball is in my inventory

; ShowMessage MS01LuckActiveMsg

End

 

Begin OnDrop player

player.removeSpell MS01Lucky8BallAbility

ShowMessage MS01LuckInactiveMsg

End

 

 

 

 

;My Script

 

ScriptName 1Magic Pencil ;This is the changed version.

 

Begin OnAdd player ;I learned that this means that the ability listed as "MagicPencil" will start once I add the item on the player

player.addspell 1MagicPencil02 ;The spell listed as "1MagicPencil02" has a Stealth Boy abilility that makes me invisible as long as I have the pencil in my inventory

ShowMessage MS01LuckActiveMsg ;Shows the message once Magic 8 ball is placed in inventory

End

 

Begin OnDrop player ;The 1MagicPencil ;ability is removed from my inventory once player drops the item, this case being the pencil

player.removeSpell 1MagicPencil02 ;Stealth ability is removed

ShowMessage MS01LuckInactiveMsg

End

 

 

 

 

 

 

 

 

I was wondering, is there any other way that you could help me script that makes the character partially "invisible" that makes it to where the raiders can still see you? I find it that when I stealth the character that the raiders are unable to see me. I want to make it to where the character can be partially invisible and the raiders can see me too.

 

 

 

 

Sorry If this was too long. I am also sorry if I repeated myself a couple of times. I am trying to emphasize my difficulties with the scripting process. Thank-you Fallout Person for your help. I shall recommend you to the rest of the blog. Thank-you a million times fold. Good-day.

Link to comment
Share on other sites

Well, my friend... My conclusion to the main question here (Making the Raiders See you) is to simply edit every raiders attributes. Scale there perseption up to 10. What is your sneak skill also? This will have an effect on enemy's and such. I'm guessing the Raiders pers. is rather low already... Being that they are all insane, and have no clue what the word "Clean" means. That would be the logic of it. If this does'nt work, please let me know and I will continue on helping you :)
Link to comment
Share on other sites

Well, my friend... My conclusion to the main question here (Making the Raiders See you) is to simply edit every raiders attributes. Scale there perseption up to 10. What is your sneak skill also? This will have an effect on enemy's and such. I'm guessing the Raiders pers. is rather low already... Being that they are all insane, and have no clue what the word "Clean" means. That would be the logic of it. If this does'nt work, please let me know and I will continue on helping you :)

 

 

 

 

Thanks Fallout Person.

 

 

 

 

 

 

I don't have the energy to go throughout every raider that is listed in the game and set their perception up to ten. That would take at least three to four hours and that is just insane amount of time. Thanks for the help though, I appreciate it. Have a good day.

Link to comment
Share on other sites

Would you be able to set the magnitude to .05? Don't know if that would help but probably worth a shot.

 

 

 

 

 

 

I tried to set the magnitude to .05, however the editor didn't register it and thus I couldn't do so. I think instead that I will make it to where the pencils have the capability of increasing carry weight, damage resistance, increase health, AP, etc.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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