mike177 Posted June 24, 2013 Share Posted June 24, 2013 (edited) Hello! In this tutorial I'll show you how to make an "advanced terminal". What can it do? Well, it can:-Sell/Give all kinds of items.-Repair your current weapon.-Add/Remove skill or S.P.E.C.I.A.L. points.-Add an perk.-Modify your stats (Hit Points, Action Points, Carry Weight, Karma,Fame or Infamy with a group etc.).-Give you XP.-Craft items! First of all, in GECK go in the Terminal section in World Objects. Search for "DefaultDeskTerminalUnlocked". Double click it and give it a new ID (like MyTerminal, this is how it will appear in GECK, and a name, how it will be seen in-game). You can edit the welcome text if you want and the server number. Click OK and then Yes. There you go! Your terminal is created! Here are some pics.http://farm6.staticflickr.com/5505/9130279120_9dc5f454df_o.pnghttp://farm6.staticflickr.com/5544/9128065653_b7f88a04e2_o.jpg Sub-menus Now let's make the items to be displayed on the screen. First we'll make the sub-menus, so that everything is organised. To make a sub-menu, you got to make another terminal. I suggest making a template if you're going to use lots of sub-menus. Go again to the "DefaultDeskTerminalUnlocked" and make a template just like here. http://farm8.staticflickr.com/7350/9128171261_4e32bf6f4d_o.png This will save you the time to re-select the server number and retype the welcome message.The name doesn't matter. After editing click OK then Yes.Now double click the template and change the ID to let's say TheTerminalWeapons. This will hold all our weapon buying options! Select Ok then Yes. Linking the weapon terminal sub-menu with the main terminal Go back to the main terminal (MyTerminal or whatever) and add a new menu item. In the item text write "Buy Weapons". Then in the sub-menu select the weapon terminal like here and click OK. http://farm8.staticflickr.com/7452/9130560630_3962dd0ae6_o.png Now open back the weapon terminal and let's start adding some guns to be bought or be given for free! How to purchase an item Open the weapons terminal. In the menu items right-click and press New. In the item text, type for example Buy 9mm Pistol (100% - 100&) 100% being the condition and the latter being the value. Now in the response put something like "Processing...". And now... The Item result script... Here is the template. If Player.GetItemCount Caps001 >= 100Player.AddItem WeapNV9mmPistol 1 (OR Player.AddItem 000e3778 1)Player.RemoveItem f 100EndIf First, we check if the player actually has 100 caps. If he has an fully functional 9mm Pistol is being added to his inventory. You can use either the Editor ID(WeapNV...)or the Form ID (The code) . The 1 represents the quantity. For ammo you might want to set it to 10, to sell in larger quantities. Then we remove 100 caps from the player. Here is how it shoud look. http://farm3.staticflickr.com/2825/9130473650_616cfce750_o.png You can find the Form ID of an object in the Fallout Wiki or directly within GECK. Now let's make some messages in order to tell the player if the transaction was successful. Go to Miscellaneous -> Message. Create a new one, give it an ID,title and message text. Be sure to have Message Box checked. In the menu buttons, make a new one that says OK. It should look like this: http://farm8.staticflickr.com/7299/9132511140_92d412482e_o.pngDo the same for a success message. Now edit the script like this: If Player.GetItemCount Caps001 >= 100Player.AddItem WeapNV9mmPistol 1 (OR Player.AddItem 000e3778 1)Player.RemoveItem f 100showmessage terminalsuccesselseshowmessage terminalerrorEndIf It should look like this: http://farm4.staticflickr.com/3682/9132538088_f56c3e41ed_o.jpgHow to be given an item The steps are exactly the same, only that the script must be modified a liitle: Player.AddItem WeapNV9mmPistol 1 (OR Player.AddItem 000e3778 1) Now let's test it out! http://farm8.staticflickr.com/7433/9128370219_01a0734378_o.jpg (The menu shows)http://farm3.staticflickr.com/2851/9128370119_d07b8ef3b7_o.jpg (As you can see, a "back" button is automatically added!) Adding an item that isn't at 100% condition To do this, do as you did above, only that instead of "Player.AddItem WeapNV9mmPistol 1" we'll type "player.additemhealthpercent WeapNV9mmPistol 1 .50" (.50 meaning 50% condition) Repairing your currently equiped weapon To do this, create a new menu item, give it whatever item and result text you want. The script for repairing is: player.setweaponhealthperc 100 If you want to charge let's say 200 caps for the repair it would look like this. If Player.GetItemCount Caps001 >= 200player.setweaponhealthperc 100Player.RemoveItem f 200EndIf And just like adding an item, you can make messages indicating whether it worked or not. The disadvantage of terminals (or advantage) is that the price for repairs doesn't depend on weapon condition or the weapon itself. (A knife is just as much as a machine gun.) Adding perks To add a perk, do the exact steps above. Just replace "player.setweaponhealthperc 100" with something like "player.addperk rapidreload" without the " marks. Crafting Why wait till your science skill is up to 70 to make a stimpak? The RobCo all-in-one terminal can help you out!First, get the IDs of the ingredients. Go to Game Effects ->Ingestibles for food items. There we find the BrocFlower and XanderRoot. The third ingredient is called SurgicalSyringe01 (Empty syringe). Now let's make the script. If Player.GetItemCount BrocFlower >= 1If Player.GetItemCount XanderRoot >= 1If Player.GetItemCount SurgicalSyringe01 >= 1player.removeitem 0013b2ba 1player.removeitem 0013b2b9 1player.removeitem 000250a8 1player.additem 00015169 1endifendifendif The codes are from the Fallout Wiki. Adding skill/SPECIAL points & editing player values (Action Points etc.) Make a new menu item and give it whatever text you desire. In the script result box type: player.modav speech 5 (This will add 5 skill points to your speech skill) ORplayer.modav perception 1 (This will add 1 point to your perception) ORplayer.modav actionpoints 1 (Adds 10 AP) If you want to remove say 5 skill points from speech, type: player.modav speech -5. Why remove skill points? Here's a scenario:You can have the computer give you caps if you deduct skill points for you, which you can invest in another skill! For example Script 1:player.modav speech -5player.additem f 100 Script 2:If Player.GetItemCount Caps001 >= 100player.modav guns 5player.removeitem f 100endif Giving XP You can also add XP from a terminal. In the script box type:player.rewardxp 15000 This will instantly give you 15000 XP. And if you want it to be more fair, give it a price: If Player.GetItemCount Caps001 >= 1000player.rewardxp 15000player.removeitem f 1000endif Teleporting To teleport to a location, use the script: player.MoveTo REFWhere "REF" is a reference marker. Please note that sometimes the game may crash when teleporting! Opening a container In the script box, type:forceterminalbackcontainerREF.activate player 1 Buy/Repair from an NPCBuy:ForceterminalbackGSChetRef.showbartermenu OR GSChetRef.showbartermenu 100 (if you type 100, you will get 1:1 price ratio no matter what) Repair:ForceterminalbackRepairmanREF.srm Edited August 24, 2013 by mike177 Link to comment Share on other sites More sharing options...
DemocraticAlliance15 Posted June 24, 2013 Share Posted June 24, 2013 You should make a youtube video of this instead of it being in text. Or I could help with the video. Link to comment Share on other sites More sharing options...
Polyfemus Posted June 24, 2013 Share Posted June 24, 2013 Thanks for this. I've bookmarked this so when I get confused with terminals I'll look back. Link to comment Share on other sites More sharing options...
mike177 Posted June 25, 2013 Author Share Posted June 25, 2013 (edited) You should make a youtube video of this instead of it being in text. Or I could help with the video.I'll make videos as well. The only problem is that my microphone isn't working. I would appreciate the help. Edited June 25, 2013 by mike177 Link to comment Share on other sites More sharing options...
DemocraticAlliance15 Posted July 9, 2013 Share Posted July 9, 2013 You should make a youtube video of this instead of it being in text. Or I could help with the video.I'll make videos as well. The only problem is that my microphone isn't working. I would appreciate the help. Are you going to be adding more to this Thread ? I would like to see more. Link to comment Share on other sites More sharing options...
mike177 Posted July 10, 2013 Author Share Posted July 10, 2013 You should make a youtube video of this instead of it being in text. Or I could help with the video.I'll make videos as well. The only problem is that my microphone isn't working. I would appreciate the help. Are you going to be adding more to this Thread ? I would like to see more. Yes. I had some problems with my desktop but I'll update the post in a few hours. Link to comment Share on other sites More sharing options...
DemocraticAlliance15 Posted July 16, 2013 Share Posted July 16, 2013 You should make a youtube video of this instead of it being in text. Or I could help with the video.I'll make videos as well. The only problem is that my microphone isn't working. I would appreciate the help. Are you going to be adding more to this Thread ? I would like to see more. Yes. I had some problems with my desktop but I'll update the post in a few hour Can you show me how to make a terminal add an item I have to a container. I am trying to do a storage box thing in my mod and I want a terminal to place an item I have it it. Link to comment Share on other sites More sharing options...
mike177 Posted August 22, 2013 Author Share Posted August 22, 2013 (edited) Very easy: containerREF.activate player 1 Edited August 22, 2013 by mike177 Link to comment Share on other sites More sharing options...
Recommended Posts