The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


changing maps scripts
baselsayeh Offline
Junior Member

Posts: 6
Threads: 4
Joined: Jul 2013
Reputation: 0
#1
changing maps scripts

Hello

im gonna teatching you how to edit map script files
tools needed:
notepad++
ill use first map "level01_cells"

open maps folder then
open hps file

if you dont know how to script learn angelscript
http://www.angelcode.com/angelscript/

some examples:

disable all music:
replace
PlayGameMusic
with
//PlayGameMusic

million flare and battries
in
OnUpdate()
add
GiveItem("battery","item_battery.ent", -1);
GiveItem("flare01","items_flare.ent", -1);

replace level music with your own music
first convert your sound file to ogg
then place it in music folder
then replace
PlayGameMusic("Penumbra_BP_A3"
with
PlayGameMusic("Your ogg file"
05-16-2014, 09:17 PM
Find


Messages In This Thread
changing maps scripts - by baselsayeh - 05-16-2014, 09:17 PM
RE: changing maps scripts - by DnALANGE - 05-17-2014, 11:03 AM
RE: changing maps scripts - by Romulator - 05-17-2014, 11:41 AM



Users browsing this thread: 1 Guest(s)