1. Post #521
    Gold Member
    Best4bond's Avatar
    August 2008
    3,489 Posts
    In the first post it says you can code your own programs and OS... How would i code it?
    Reply With Quote Edit / Delete Reply Australia Show Events Disagree Disagree x 1 (list)

  2. Post #522
    Fucked's Avatar
    July 2009
    316 Posts
    Where can i remove the resource.addfiles of all the textures, i don't want my clients to download 999 files.

  3. Post #523

    June 2009
    29 Posts
    This mod are awesome if have the program form PCmod 1.0.2 called "WebBrowser"...
    Reply With Quote Edit / Delete Reply Spain Show Events Dumb Dumb x 1 (list)

  4. Post #524

    August 2009
    12 Posts
    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

  5. Post #525
    Ulrich200's Avatar
    April 2009
    25 Posts
    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
    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"}
    				}
    }
    
    Anyway @Devs:

    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?

  6. Post #526
    Gold Member
    thomasfn's Avatar
    July 2008
    2,964 Posts
    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
    Reply With Quote Edit / Delete Reply United Kingdom Show Events Funny Funny x 2Dumb Dumb x 1 (list)

  7. Post #527
    Ulrich200's Avatar
    April 2009
    25 Posts
    That's why you have to comment more and better

    No offence . . . =)
    Reply With Quote Edit / Delete Reply United States Show Events Agree Agree x 1 (list)

  8. Post #528
    Gold Member
    thomasfn's Avatar
    July 2008
    2,964 Posts
    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.
    Reply With Quote Edit / Delete Reply United Kingdom Show Events Agree Agree x 1 (list)

  9. Post #529
    Lt Kyle's Avatar
    July 2009
    1,544 Posts
    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.

  10. Post #530
    Gold Member
    thomasfn's Avatar
    July 2008
    2,964 Posts
    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).
    Reply With Quote Edit / Delete Reply United Kingdom Show Events Agree Agree x 2 (list)

  11. Post #531

    November 2008
    1 Posts
    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

  12. Post #532
    Gold Member
    thomasfn's Avatar
    July 2008
    2,964 Posts
    It belongs in pcmod/lua/pcmod/plugins, it should be in there by default.

  13. Post #533

    December 2006
    9 Posts
    How do i use the cable tie ?

  14. Post #534
    Red Toaster's Avatar
    July 2009
    1,331 Posts
    I love you

  15. Post #535
    Ulrich200's Avatar
    April 2009
    25 Posts
    How do i use the cable tie ?
    while you're wiring just hit reload on the cable tie

  16. Post #536
    Lt Kyle's Avatar
    July 2009
    1,544 Posts
    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).
    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

  17. Post #537
    Gold Member
    Lexic's Avatar
    March 2009
    6,123 Posts
    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? >:

  18. Post #538
    Gold Member
    thomasfn's Avatar
    July 2008
    2,964 Posts
    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.

  19. Post #539
    Gold Member
    Lexic's Avatar
    March 2009
    6,123 Posts
    And fully interactive 3d2d derma is impossible in Source, without some sort of clientside binary module that gives us all the bindings we need.
    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.

  20. Post #540
    Gold Member
    thomasfn's Avatar
    July 2008
    2,964 Posts
    Like the ones Garry just added to gmod? :3:
    Uhh, what ones where?

  21. Post #541
    Gold Member
    Lexic's Avatar
    March 2009
    6,123 Posts
    Uhh, what ones where?
    Added gui.InternalCursorMoved( x, y )
    Added gui.InternalMousePressed( code )
    Added gui.InternalMouseDoublePressed( code )
    Added gui.InternalMouseReleased( code )
    Added gui.InternalMouseWheeled( code )
    Added gui.InternalKeyCodePressed( code )
    Added gui.InternalKeyCodeTyped( code )
    Added gui.InternalKeyCodeReleased( code )
    Request that spawned them

  22. Post #542
    Poke's Avatar
    August 2009
    5 Posts
    Thank you Ulrich200. I was having trouble adding new songs to sh_config.lua.

    I added to sh_baseconfig.lua :D

    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" }
    	}
    }
    Very good!

  23. Post #543
    quarks's Avatar
    April 2009
    20 Posts
    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 ?

  24. Post #544
    Pangamini's Avatar
    January 2008
    43 Posts
    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?

  25. Post #545
    Pendante1686's Avatar
    January 2008
    282 Posts
    Is there an ETA on PCmod3?

  26. Post #546
    Pangamini's Avatar
    January 2008
    43 Posts
    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

  27. Post #547
    Lt Kyle's Avatar
    July 2009
    1,544 Posts
    Also, for PCmod 3. Is it possible to make a buy menu for GModRP?

  28. Post #548
    pbplayer's Avatar
    January 2009
    163 Posts
    Can you include the counter strike computer models and maybe portal computer models?

  29. Post #549
    dracotonisamond's Avatar
    May 2009
    1,100 Posts
    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.
    Reply With Quote Edit / Delete Reply United States Show Events Agree Agree x 1 (list)

  30. Post #550
    IWHeadHunter's Avatar
    July 2009
    734 Posts
    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

  31. Post #551
    FUCK YOU
    Denzo's Avatar
    November 2006
    1,922 Posts
    Is it possible to control the AlarmZ alarm remotely through an io controller of some sorts?
    Reply With Quote Edit / Delete Reply Netherlands Show Events Agree Agree x 1 (list)

  32. Post #552
    MAspiderface's Avatar
    July 2009
    9,931 Posts
    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.
    Reply With Quote Edit / Delete Reply United States Show Events Agree Agree x 2 (list)

  33. Post #553
    Ulrich200's Avatar
    April 2009
    25 Posts
    Is PCMod2 even being developed anymore?

    PCMod3 forums: http://www.fortfn.co.uk/forum/forumdisplay.php?fid=28

  34. Post #554
    Blt950's Avatar
    November 2008
    402 Posts
    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.
    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?

  35. Post #555
    rabbitfang48's Avatar
    March 2009
    34 Posts
    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.
    Reply With Quote Edit / Delete Reply United States Show Events Agree Agree x 1 (list)

  36. Post #556
    AnEvilGuy's Avatar
    October 2009
    1,399 Posts
    ^ That sucks....
    Anybody know how to code a web browser for PC mod 2.0.4?
    Reply With Quote Edit / Delete Reply United States Show Events Dumb Dumb x 1 (list)

  37. Post #557
    Ulrich200's Avatar
    April 2009
    25 Posts
    AnEvilGuy, did you even read the thread?

    A web browser in PCMod2 is almost impossible without SEVERE lag, if at all.

  38. Post #558
    rabbitfang48's Avatar
    March 2009
    34 Posts
    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.
    Reply With Quote Edit / Delete Reply United States Show Events Agree Agree x 1 (list)

  39. Post #559
    BobbahBrown's Avatar
    June 2009
    22 Posts
    Alright, I can start to answer your PCmod3 questions, I will check the Thread whenever I can.

    -Bobbahbrown, PCmod3 - Public Relations

  40. Post #560
    Gold Member
    Mitsuma's Avatar
    April 2007
    882 Posts
    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]