Portal
评价数不足
portal modding tutorial
由 Wireframe 制作
have you ever wanted to make mods for portal. well I got you covered because in this guide we will talk about how to do things like add:
1. new chapter names
2. rename the game
3. design levels
to your mod
   
奖励
收藏
已收藏
取消收藏
what is a source mod?
a source mod uses games like portal and lets the creator of the mod customize it as much as he/she wants to. this has even greater power than the console(link to a guide about this can be found here) because you can do things like change the title of the game.
making the mod
navigate to this directory C:\Program Files (x86)\Steam\steamapps\common\Portal this directory may be in this folder called program files instead but this is the directory I use. now copy the folder called portal (not Portal portal) and go to C:\Program Files (x86)\Steam\steamapps\sourcemods then paste the folder you just copy'ed in there. now rename the folder to the name of your mod but make sure there are no spaces in the name of the folder. you should now have your mod set up now go into it and remove the steam.inf file. now restart steam and your mod should be there.
renaming the mod
go int your mod folder and open up the text file called gameinfo.txt open it it should look something like this:

now you should see two things Game and Title, spaced out is the name of the game, Portal, now select it and rename it but make sure its in quotes. do the same thing with the other part of text that says Portal and now you have renamed your mod.
renaming the chapters in your mod
so you may notice that your when you play your mod the chapters are named yourmodname-chapter1-title# and so on. well lets change this. go into your mod and go to the resources folder and open it, it should look like this:

now you want to rename all the "portal_chapter_(chapter number)_title" with "(your mod folder name here)_chapter_(chapter number)_title" if you are confused then click on the image of the file above to zoom in on it. now lets rename the chapters you should notice the chapter names from Portal like testchamber00 in quotes replace those names with the name of your chapter(s).
more soon.
I am still trying to figure out a few things on modding thanks for viewing my guide. have a nice day :-)
11 条留言
Kwiky 2024 年 2 月 5 日 上午 5:27 
what is steam inif? tell me where to find
KB 2023 年 12 月 3 日 下午 2:48 
i cant find the steam.inf file :(
GreenLemonz 2023 年 8 月 11 日 下午 2:47 
How do i compile it?
beans 2023 年 2 月 21 日 下午 12:10 
did the portal file update?? i cant find steam.inf anywhere
Kang Sae-Byeok 2021 年 9 月 26 日 上午 6:03 
GMod isnt made by valve its made by facepunch valve is really fine with this and even steam workshop THATS FULLY MODDING
Thiel 2021 年 9 月 25 日 上午 7:16 
Also thanks JTeslaCoil for the tutorial
Thiel 2021 年 9 月 25 日 上午 7:15 
yeah valve actually lets people use there game engine sometimes too for example games like black mesa weren't even made by valve that was a fan game and valve let them use they're game engine. so mods are completely fine with valve
Wireframe  [作者] 2021 年 7 月 20 日 下午 6:51 
no it is not at all illegal LOL I have try'ed making a few myself I even made my own website based off of them, mods are completely fine with valve and other video game company's therefore, are not illegal.
Sinister 2021 年 7 月 20 日 上午 11:40 
wait that's illegal.
Wireframe  [作者] 2020 年 8 月 31 日 下午 5:55 
well mods like this are all over the internet, i see it all the time see https://www.moddb.com/mods?filter=t&kw=portal&released=&genre=&theme=&players=&timeframe=&game=