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


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiple Issues Help Multiple questions, help and input needed!
GoreGrinder99 Offline
Member

Posts: 166
Threads: 47
Joined: Feb 2013
Reputation: 1
#1
Multiple questions, help and input needed!

So I have here a few questions...

1.Are the assets of the game Unbirth, produced by Thomas Grip, co-founder of Frictional Games free to use for using in a modification for Amnesia?

2.Almost the same as the above but I'm not wanting to spoil any surprises on this one. There was a game available on PC in which they released a level editor for the game and the content within to produce your own maps. Since the editor and content was released via digital download, would it be legal to use those assets as well for an Amnesia modification?

3.On certain doors I want to perform an "adduseitemcallback" in which I can use globally on specific doors throughout different maps instead of having to implement it every time in the .hps files for each map for each door.

4.I also have another script which I would like to do the same with globally as the above but not on doors but rather a "setentitycallbackfunc" as type "OnIgnite" with light sources. I have made custom candles in which there are no billboards, lights and particle systems but I have copied those assets and placed them in the level editor to replicate a lit candle but when interacted with when tinderboxes are available, the billboards, lights and particle systems are destroyed and the candle in disabled and replaced with a copy and interaction with this copy is disabled so no further lighting can be done. I did this so I could just snuff it out but want now want to be able to de-light and re-light as many times as I please. Current script is as follows; what would I do to be able to de-light and re-light as many times as I please?-:

void PinchOut(string &in asEntity, string &in asType)
{
if (asType == "OnIgnite")
{
FadeLightTo("PointLight_1", 0.0, 0.0, 0.0, 0.0, -1.0, 0.7);

DestroyParticleSystem("ParticleSystem_1");

SetEntityActive("candle_floor_1", false);
SetEntityActive("candle_floor_2", true);

SetEntityInteractionDisabled("candle_floor_2", true);
}
}

I think this is about it... :/ Sorry if it's too much but I need to figure these things out before I can further my mod. I thank you all in advanced for your help!!!

-Grind to the Gore-
01-06-2014, 02:01 AM
Find


Messages In This Thread
Multiple questions, help and input needed! - by GoreGrinder99 - 01-06-2014, 02:01 AM



Users browsing this thread: 1 Guest(s)