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


Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Coming Back
Post: RE: Coming Back

(12-27-2014, 12:14 PM)Neelke Wrote: What is exactly not working when you leave the map? Details please. nevermind. it turns out all of my files got deleted on my old computer including all of my map...
VillainousPotato Development Support 2 2,641 12-27-2014, 06:29 PM
    Thread: Coming Back
Post: Coming Back

alright so I finally decided to come back to this project....Then I realized why I quit. I accidentally created the second "level" to my cs before making the script file for it. I then made it and no ...
VillainousPotato Development Support 2 2,641 12-27-2014, 07:15 AM
    Thread: Activating a monster
Post: RE: Activating a monster

void Onstart () { SetEntityCallbackFunc ("note_generic_4", "pickup"); } void pickup(string &in ent, string &in t) { If(t == "OnPickup") { SetEntityActive("serv...
VillainousPotato Custom Stories, TCs & Mods - Development 5 4,794 01-12-2014, 03:01 AM
    Thread: Activating a monster
Post: Activating a monster

So I've written a script thats supposed to allow me to activate an enemy when my player picks up a note. It hasn't been working no matter what.No error messages pop up so I scratched and starting over...
VillainousPotato Custom Stories, TCs & Mods - Development 5 4,794 01-11-2014, 07:27 PM
    Thread: Level editor problem
Post: RE: Level editor problem

Awesome, that fixed it. Thanks! I still don't know what it means with missing textures as everything seems to work fine, but thanks!
VillainousPotato Development Support 3 2,458 01-03-2014, 04:22 AM
    Thread: Level editor problem
Post: Level editor problem

Whenever I open up my level editor a small error message says that it can't find textures/decals. I click ok and it proceeds to open up the editor but it comes up in a small window instead of fullscre...
VillainousPotato Development Support 3 2,458 01-03-2014, 01:36 AM
    Thread: Candle trigger
Post: RE: Candle trigger

(08-10-2013, 10:55 PM)Damascus Wrote: You'll actually need a general callback, something that's pretty versatile for triggering scripts. Here's an example from my script: SetEntityCallbackFunc("tor...
VillainousPotato Development Support 4 3,704 08-11-2013, 09:11 AM
    Thread: Candle trigger
Post: RE: Candle trigger

(08-10-2013, 11:17 AM)JustAnotherPlayer Wrote: You need to set a Local Variable Integer (SetLocalVarInt) then add it (AddLocalVarInt) then check it (If-Else code). The codes you need (it's not the f...
VillainousPotato Development Support 4 3,704 08-10-2013, 07:40 PM
    Thread: Candle trigger
Post: Candle trigger

I'm looking for a script that calls a function when 2 specific candles are lit.But I need it to happen only after both of them are lit. I cant find it in any tutorial but maybe I'm just not looking fo...
VillainousPotato Development Support 4 3,704 08-10-2013, 03:04 AM
    Thread: Lang file help
Post: RE: Lang file help

(07-16-2013, 06:28 AM)No Author Wrote: http://www.frictionalgames.com/forum/thread-4407.html That should fix it And is level_wood_1 the name of the door ? yes it is. i worked on the lang file in i...
VillainousPotato Development Support 5 3,884 07-16-2013, 03:58 PM
    Thread: Lang file help
Post: RE: Lang file help

(07-16-2013, 03:46 AM)No Author Wrote: What's the problem again ? The note is empty or what ? I added multiple entries to the "journal" Category and now nothing that's connected to the lang file wor...
VillainousPotato Development Support 5 3,884 07-16-2013, 03:49 AM
    Thread: Lang file help
Post: Lang file help

so my lang file is acting up again. I try to add one thing to my "journal" category and the entire thing stops working. It only starts working again once I've deleted the entire contents of that categ...
VillainousPotato Development Support 5 3,884 07-16-2013, 03:28 AM
    Thread: Interaction callback
Post: RE: Interaction callback

thank you. i used the SetEntityCallbackFunction and it worked.
VillainousPotato Development Support 6 4,555 07-01-2013, 12:31 AM
    Thread: Interaction callback
Post: Interaction callback

I need the script to activate a function when the Player picks up a note. I've tried adding an interaction callback but I just can't get it to work. probably some dumb mistake that I can't find yet, b...
VillainousPotato Development Support 6 4,555 06-29-2013, 05:51 PM
    Thread: Lang file not working.
Post: RE: Lang file not working.

Indeed! Thank you very much!
VillainousPotato Development Support 6 4,293 05-15-2013, 02:36 PM
    Thread: Lang file not working.
Post: RE: Lang file not working.

(05-15-2013, 05:25 AM)JustAnotherPlayer Wrote: Give us said .lang file. <LANGUAGE> <CATEGORY Name="CustomStoryMain"> <Entry Name="Description"> You are a police d...
VillainousPotato Development Support 6 4,293 05-15-2013, 05:40 AM
    Thread: Lang file not working.
Post: Lang file not working.

So I made a Lang file and it worked completely. I the wanted to work on it on a nother computer, so I copied the file on a flas drive and worked on it on a Mac. I then copied it back onto my windows ...
VillainousPotato Development Support 6 4,293 05-15-2013, 05:20 AM
    Thread: Teleportation!
Post: RE: Teleportation!

Awsome. Thank you very much. It works perfectly now. what did you change? EDIT: nevermind i found it.
VillainousPotato Development Support 9 4,313 05-12-2013, 01:21 AM
    Thread: Teleportation!
Post: RE: Teleportation!

OK i changed that,but now it comes up with an error saying that 'PlayerStartArea_2' is not declared. ill post my whole script in a bit. void OnStart() { AddUseItemCallback("", "key_laboratory_1", "m...
VillainousPotato Development Support 9 4,313 05-12-2013, 01:09 AM
    Thread: Teleportation!
Post: RE: Teleportation!

That's what i thought, as I've encountered this problem before, but i didnt find any when I looked. void OnStart() { AddEntityCollideCallback("Player", "ScriptArea_4", "FloorFall1", true, 1); } void...
VillainousPotato Development Support 9 4,313 05-12-2013, 12:58 AM