Skip to content

idk I'm just messing around with some game code. I hope you enjoy my work

Notifications You must be signed in to change notification settings

fiskybusiness/phasmophobia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PhasmoPhobia Configurable Mods

Making Multi-player rooms and other silly stuff availible to the user in a slightly easier to use fashion

Getting Started

  • Step 0: Make a copy of your original Assembly-CSharp.dll so you can easily switch back to non-modded game
  • Step 1: Copy the Assembly DLL and modconfig.cfg to your Phasmophobia install location, and overwrite the DLL (\steamapps\common\Phasmophobia\Phasmophobia_Data\Managed)
  • Step 2: Configure the values in modconfig.cfg
  • Step 3: Start Game!

Known Bugs

  • The Game will likely break when multiple players die at the same time. Having tens of ghosts is risky in this sense. This is due to how the game handles death and would probably require a full re-write to support fully. Consider games with 3+ Ghosts to be "for fun"

serverPlayers

Maximum Capacity you want your Server to Have

serverPlayers=16

Player Name Attributes

You can set the player Name in Lobby and color of the displayed name using HTML color codes

playerName=Poopy Butthole
HTMLColor=#0000FF

run/walk Speed

You can set the player's run and walk speed but using a decimal number. Please note it porbably shouldn't go higher than ten, and making it negative will make you go backwards. Moonwalking is dangerous

//defaults
runSpeed=1.2
walkSpeed=1.6

//gotta go fast

runSpeed=3.5
walkSpeed=5.5

numGhosts

Number of Ghosts in the Level. Each will have Bone Evidence and its own ghost room

numGhosts=20

idleTimerLow/IdleTimer High

Much of the Ghosts behaivour is determined by making a State Transition from the "Idle" State. Ghosts will by default stay in this mode for 2 - 6 seconds before doing something else like moving to a new room or interacting with an object. Set the minimum and maximum time in the idle state to increase/decrease total activity of all Ghosts

//super high activity
idleTimerLow=0
idleTimerHigh=1

//super low activity
idleTimerLow=10
idleTimerHigh=20

numCharges

Use these to control how many times you can use cameras or salt. This will not affect other players, only you

numChargesSalt=100
numChargesPhoto=9

Ghost Hunting

You can prevent the ghost from ever entering the hunting mode with this toggle

//off
huntingEnabled=false
//on
huntingEnabled=true

Ghost Select

You can toggle whether or not the ghost selection screen exists with this toggle

//off
ghostSelector=false
//on
ghostSelector=true

Ghost Appear

You can toggle whether or not the ghost always is visible during the game

//off
ghostAlwaysAppear=false
//on
ghostAlwaysAppear=true

ToolTips and Custom GhostNames

To add a custom tooltip or GhostName add a row in the .cfg file with the associated prefix. If there is no records, or the "useCustomNames" flag is set to false it will default to the original tooltips and Names.

//adding Names
ghostName=Fisky Business
ghostName=SimpleFlipz
//on
tooltip=Idk Whatever meme you wanna put bro

//use custom Names
useCustomNames=true

Hunting Sanity

You can control the minimum threshold for the average (in)sanity [100 - current Sanity = insanity] of all players before a Ghost is eligble to Hunt. Normally this Value is 50, with an upper threshold of 75 before there's a 1/3 chance the Ghost will do a hunt the next action cycle. Lower this value for the ghost to hunt earlier in the level and more often

//hunts almost immediately
huntingSanityLow=0
huntingSanityHigh=10

//hunts almost never
huntingSanityLow=75
huntingSanityHigh=90

//NOTE THE LOW MUST ALWAYS BE LOWER THAN HIGH -- THE GHOST WONT HUNT OTHERWISE -- probably

Sanity Modifier

You can edit the rate at which your sanity drains with sanityModifier -- this will only effect the drain after the setup period

//drains really fast
sanityModifier=25

//normal drain rate
sanityModifier=0.12

Camera Shutter Speed

You can edit the cooldown for the handcamera taking pictures Probably will crash clients if the cooldown is too fast

//normal
cameraShutterSpeed=2

//Sanic
cameraShutterSpeed=0.2