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
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#2
RE: changing maps scripts

What da...??
What is this for...
I have no clue at all what you try to say here....
-
You should explane what you are doing and what it should do what you try to.. say here...
(This post was last modified: 05-17-2014, 11:04 AM by DnALANGE.)
05-17-2014, 11:03 AM
Find
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#3
RE: changing maps scripts

It's for Penumbra, scripting in it.

As far as I can tell. Tongue

Discord: Romulator#0001
[Image: 3f6f01a904.png]
05-17-2014, 11:41 AM
Find
victorkim890(KimmyChimmy) Offline
Senior Member

Posts: 316
Threads: 1
Joined: Jun 2014
Reputation: 1
#4
RE: changing maps scripts

no cs in penumbra :/

07-21-2014, 08:42 AM
Find




Users browsing this thread: 2 Guest(s)