In the first post it says you can code your own programs and OS... How would i code it?
In the first post it says you can code your own programs and OS... How would i code it?
Where can i remove the resource.addfiles of all the textures, i don't want my clients to download 999 files.
This mod are awesome if have the program form PCmod 1.0.2 called "WebBrowser"...
Can you post a detailed tutorial on adding custom songs? It would really help dumb people like me.
EDIT: I put the little block of text in the place in sh_config but they are still not showing up under custom
Don't add the block in sh_config.lua add it in sh_baseconfig.lua that's what worked for me.
Example
Anyway @Devs:cfg.Music = { [ "Half-Life 2" ] = { { "Intro Song", "music/hl2_intro.mp3" }, { "Song 1", "music/hl2_song1.mp3" }, { "Song 2", "music/hl2_song2.mp3" }, { "Song 3", "music/hl2_song3.mp3" }, { "Song 4", "music/hl2_song4.mp3" }, { "Song 6", "music/hl2_song6.mp3" }, { "Song 7", "music/hl2_song7.mp3" }, { "Song 8", "music/hl2_song8.mp3" }, { "Song 10", "music/hl2_song10.mp3" }, { "Song 11", "music/hl2_song11.mp3" }, { "Song 12", "music/hl2_song12_long.mp3" }, { "Song 13", "music/hl2_song13.mp3" }, { "Song 14", "music/hl2_song14.mp3" }, { "Song 15", "music/hl2_song15.mp3" }, { "Song 16", "music/hl2_song16.mp3" }, { "Song 17", "music/hl2_song17.mp3" }, { "Song 19", "music/hl2_song19.mp3" }, { "Song 20A", "music/hl2_song20_submix0.mp3" }, { "Song 20B", "music/hl2_song20_submix4.mp3" }, { "Suit Song", "music/hl2_song23_SuitSong3.mp3" }, { "Song 25", "music/hl2_song25_Teleporter.mp3" }, { "Song 26", "music/hl2_song26.mp3" }, { "Song 27", "music/hl2_song27_trainstation2.mp3" }, { "Song 28", "music/hl2_song28.mp3" }, { "Song 29", "music/hl2_song29.mp3" }, { "Song 30", "music/hl2_song30.mp3" }, { "Song 31", "music/hl2_song31.mp3" }, { "Song 32", "music/hl2_song32.mp3" }, { "Song 33", "music/hl2_song33.mp3" } }, // *sigh* if you MUST add stuff here, just follow the same format as the rest. -thomasfn [ "Portal" ] = { { "Still Alive", "music/portal_still_alive.mp3" }, { "4000 Degrees", "music/portal_4000_degrees_kelvin.mp3" }, { "Android Hell", "music/portal_android_hell.mp3" }, { "No Cake", "music/portal_no_cake_for_you.mp3" }, { "Party Escort", "music/portal_party_escort.mp3" }, { "Jiggle Bone", "music/portal_procedural_jiggle_bone.mp3" }, { "Self Esteem", "music/portal_self_esteem_fund.mp3" }, { "Stop It", "music/portal_stop_what_you_are_doing.mp3" }, { "Subject Name", "music/portal_subject_name_here.mp3" }, { "Taste Of Blood", "music/portal_taste_of_blood.mp3" }, { "No Escape", "music/portal_you_cant_escape_you_know.mp3" }, { "Bad Person", "music/portal_youre_not_a_good_person.mp3" } }, ---------------------------- ------ Custom Songs------ ------------------------------ [ "Train" ] = { {"Drops of Jupiter", "music/Train/drops_of_jupiter.mp3"} } }
I would love to help out somehow with scripting, but the code isn't commented very well so I don't know what most things do (HINT, HINT)
As far as bugs, well, I haven't found any that haven't been reported already.
EDIT: I tried to add some more ports to the splitter like so:
local pts = {} table.insert( pts, self:CreatePort( "minijack" ) ) table.insert( pts, self:CreatePort( "minijack" ) ) table.insert( pts, self:CreatePort( "phono" ) ) table.insert( pts, self:CreatePort( "phono" ) ) table.insert( pts, self:CreatePort( "phono" ) ) table.insert( pts, self:CreatePort( "phono" ) ) dt.Ports = pts
the phono ports work but when I try to connect a splitter to a splitter (with minijack) it says "no ports!" is this a deliberate restriction?
I think I stopped directly linking an entity to another entity of the same type using the same port, for some reason I can't think of.. probably to stop people wiring monitors to other monitors through the VGA port. There's a way to disable it somehow but it's been AGES since I last looked at the code so I haven't got a clue how any of it works XD
That's why you have to comment more and better
No offence . . . =)
Yes, it is kinda poorly commented. I tried to at least header each function with a comment so you can see what the function does, but the actual code is lacking decent comments in most areas.
I wish it still had WebBrowser, damn that was the best thing I liked in PCmod.
And when I keep saving Documents in Notepad, It never shows them, and it doesn't save the changes, when I delete all of it, the unsaved changes go away, so I can never print anything.
Maybe in PCMod 3, I can introduce the web browser again - but it'd require the Chrome module which won't come packaged with it.
Edited:
And for the notepad thing, make sure you have the latest version of PCMod 2 and the latest version of ULX (if you use it).
Hi! i feel pretty stupid asking this.. Where do put the plugin so i can use the PCMod 2 in DarkRP? Hope anyone will answer my question :D and sorry if this isnt the right place to ask this.. i dont think ive ever posted anything on facepunch before.. so.. hope anyone answers :D thanks!! :D
It belongs in pcmod/lua/pcmod/plugins, it should be in there by default.
How do i use the cable tie ?
I love you
while you're wiring just hit reload on the cable tie
I have PCmod 2.0.4, It doesn't work in 2.0.4 but in 1.0.2 it worked fine.
And I use Assmod, not ULX
Making programs on this is completely baffling until you go through a lot of files and work out that a lot of stuff is happening outside the program and in the devices folder, and then remains fairly confusing. Why didn't you just implement Derma? >:
I agree, it isn't for the faint hearted. And fully interactive 3d2d derma is impossible in Source, without some sort of clientside binary module that gives us all the bindings we need. PCMod 3 will use a derma-like system which basically uses an identical interface to vgui (obj:SetPos, obj:SetSize, etc) and will make porting things from derma to pcmod alot easier.
Like the ones Garry just added to gmod? :3:
Also, a few bugs, the text on all of your vgui elements (buttons text boxes and the like) go off the sides for me, and the ChatServ program tends to spaz up and show duplicate lines and everyone's names to be the client's when the client posts a message.
Uhh, what ones where?
Thank you Ulrich200. I was having trouble adding new songs to sh_config.lua.
I added to sh_baseconfig.lua :D
Very good!Code:cfg.Music = { [ "Half-Life 2" ] = { { "Intro Song", "music/hl2_intro.mp3" }, { "Song 1", "music/hl2_song1.mp3" }, { "Song 2", "music/hl2_song2.mp3" }, { "Song 3", "music/hl2_song3.mp3" }, { "Song 4", "music/hl2_song4.mp3" }, { "Song 6", "music/hl2_song6.mp3" }, { "Song 7", "music/hl2_song7.mp3" }, { "Song 8", "music/hl2_song8.mp3" }, { "Song 10", "music/hl2_song10.mp3" }, { "Song 11", "music/hl2_song11.mp3" }, { "Song 12", "music/hl2_song12_long.mp3" }, { "Song 13", "music/hl2_song13.mp3" }, { "Song 14", "music/hl2_song14.mp3" }, { "Song 15", "music/hl2_song15.mp3" }, { "Song 16", "music/hl2_song16.mp3" }, { "Song 17", "music/hl2_song17.mp3" }, { "Song 19", "music/hl2_song19.mp3" }, { "Song 20A", "music/hl2_song20_submix0.mp3" }, { "Song 20B", "music/hl2_song20_submix4.mp3" }, { "Suit Song", "music/hl2_song23_SuitSong3.mp3" }, { "Song 25", "music/hl2_song25_Teleporter.mp3" }, { "Song 26", "music/hl2_song26.mp3" }, { "Song 27", "music/hl2_song27_trainstation2.mp3" }, { "Song 28", "music/hl2_song28.mp3" }, { "Song 29", "music/hl2_song29.mp3" }, { "Song 30", "music/hl2_song30.mp3" }, { "Song 31", "music/hl2_song31.mp3" }, { "Song 32", "music/hl2_song32.mp3" }, { "Song 33", "music/hl2_song33.mp3" } }, // *sigh* if you MUST add stuff here, just follow the same format as the rest. -thomasfn [ "Portal" ] = { { "Still Alive", "music/portal_still_alive.mp3" }, { "4000 Degrees", "music/portal_4000_degrees_kelvin.mp3" }, { "Android Hell", "music/portal_android_hell.mp3" }, { "No Cake", "music/portal_no_cake_for_you.mp3" }, { "Party Escort", "music/portal_party_escort.mp3" }, { "Jiggle Bone", "music/portal_procedural_jiggle_bone.mp3" }, { "Self Esteem", "music/portal_self_esteem_fund.mp3" }, { "Stop It", "music/portal_stop_what_you_are_doing.mp3" }, { "Subject Name", "music/portal_subject_name_here.mp3" }, { "Taste Of Blood", "music/portal_taste_of_blood.mp3" }, { "No Escape", "music/portal_you_cant_escape_you_know.mp3" }, { "Bad Person", "music/portal_youre_not_a_good_person.mp3" } }, [ "DJadon" ] = { { "Mario Techno", "music/mario.mp3" }, { "qcaSTFU Tecnno", "music/qcastfu_mix.mp3" }, { "Cali", "music/californication.mp3" }, { "Loituma BH", "music/Loituma_BassHunter.mp3" }, { "Circles - HWU", "music/holywoodundead.mp3" }, { "Harder Better", "music/harderbetterfasterstronger.mp3" }, { "What I say ", "music/whatisayo.mp3" }, { "Jukebox", "music/jukebox.mp3" }, { "Du Hast", "Ramstein - Da Hast" }, { "Skatman", "music/skatman.mp3" }, { "DSandstorm", "music/darude.mp3" }, { "50Cent Remix", "music/50cent-satisfaction.mp3" } } }
same problem like Lt Kyle
but i have the problem in singleplayer ?????
why cant i save my documents?
did you need a log or something ?
Hi there. I believe this was discussed times before but i couldn't find it here in thread so maybe someone can help me - i want to use PCmod2 on DarkRP server - i made class with PCwire and unwire tools, but i need to disable spawning PC components with toolgun and also restricting the buy menu to certain job can you direct me? Is it possible just by some configuration or do i need special scripting?
Is there an ETA on PCmod3?
Okay i solved problem with free spawning with ASSmod, still everyone can use !pcbuy.
okay i re-scripted it somewhere deep now its half forced RP mod nevermind
Also, for PCmod 3. Is it possible to make a buy menu for GModRP?
Can you include the counter strike computer models and maybe portal computer models?
hey i have a question. i am hosting a server with this mod installed, and i set up a custom music directory with 12 dummy mp3's so clients could add their own mp3's on their side but it does not seem to be working. all files are named the same, i even went as far as putting the exact file on the server as my client and i still get no music.
i noticed a sort of humorus crash when trying to print from a networked printer, when it said connection problems my srcds console window turned into the matrix and then exploded, all i could make out with the wall of junk was portnotclosed i think.
Same issues here
Is it possible to control the AlarmZ alarm remotely through an io controller of some sorts?
Can you make it so other people cant use computers owned by you? It gets annoying when I set up a chat server and a moron turns the computer off.
Is PCMod2 even being developed anymore?
PCMod3 forums: http://www.fortfn.co.uk/forum/forumdisplay.php?fid=28
Not really needed, thats why you "lock tower" to make him not do it via the screen, and the main box you have. You should just block it off with Fading Door tool or Some doors.
I think you may enable pressing prop protection at FPP's. You got a option to enable/disable, and allow/disallow.
I don't know its possible, but it would be great that you can't access PC screen if you are behind it. That would be good to get blocked, and maybe make * letters when typing in password?
PCMod2 is no longer being developed. Thomasfn is now working on Tower Defense. PCMod 3 is in development but the development process has halted because of Tower Defense and its related gamemodes. It is possible that major bugs in PCMod2 will be fixed but I do not know for sure.
^ That sucks....
Anybody know how to code a web browser for PC mod 2.0.4?
AnEvilGuy, did you even read the thread?
A web browser in PCMod2 is almost impossible without SEVERE lag, if at all.
Right. We are hoping to have a web browser with minimal features in PCMod3 but it likely won't be able to view pages on the internet. We would have a 'server wide web' that can only use files stored on the server for pages. Also, it is really hard to make a program for PCMod2 without studying the code a lot. PCMod3 should have a VGUI similar to derma in terms of syntax.
Alright, I can start to answer your PCmod3 questions, I will check the Thread whenever I can.
-Bobbahbrown, PCmod3 - Public Relations
How can I make a working Print Server Network?
So that 2 or more PCs can use it.
(2 in a Room and 2 on another planet)
[need it for gm_galactic]