🟪Web Demo

Information for your addon's web-browser

▸ About

This is a demo page pre-configured to load with your copy of Pirithous.

To change these links; open your pirithous addon folder and edit the file:

lua\modules\pirithous\cfg\sh_cfg_03_nav.lua

▸ Integrated vs Steam Overlay Browsers

This addon has the ability to load websites using either the integrated browser or the steam overlay browser.

INTEGRATED BROWSER

This browser is built into the addon you've purchased. It works thanks to Garry's Mod's existing libraries. The downside of using this mode is that the Garry's Mod libraries needed for this browser to work are extremely outdated. If you experience certain websites showing incorrectly, or a pure white page; you will need to use the Steam Overlay browser instead. The only way to correct this issue is with the Facepunch developers fixing it.

STEAM OVERLAY

This browser is built into steam itself. It requires nothing from Garry's Mod to function. When a player clicks a button; they will be shown a confirmation box that they must accept first before the link opens (screen screenshots below).

▸ Switching Browser Modes

To change which mode your addon uses, open the file:

lua\modules\pirithous\cfg\sh_cfg_03_nav.lua

Locate the follow settings:

cfg.nav.btn.group_openIngame        = false
cfg.nav.btn.forums_openIngame       = false
cfg.nav.btn.donate_openIngame       = false
cfg.nav.btn.website_openIngame      = false
cfg.nav.btn.workshop_openIngame     = false
cfg.nav.btn.discord_openIngame      = false
cfg.nav.btn.rules_textonly          = false

Change the settings above for each button. A description is provided below:

SettingDescription

false

Websites will open using the Steam Overlay browser.

true

Websites will open using the Integrated addon browser.

▸ Browser Screenshots

The following screenshots give an example of how the different browsers will appear in-game.

INTEGRATED BROWSER

STEAM OVERLAY

Last updated