Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Making your own functions
Post: RE: Making your own functions
The scripts come with the HPL 2 engine so unless you edit the engine entirely you wont be able to create your own function. (very good question in fact so good im not even 100% sur this is correct) |
|
lizardrock17 |
Development Support
|
11 |
7,900 |
06-21-2013, 04:02 PM |
|
|
Thread: Weeping Angel enemies
Post: RE: Weeping Angel enemies
Ok peoplz I have some success. For one I got the script working (apparently the true or false needs a parenthesis around it). Now I got to figure out how to make it instantaneous because when i look a... |
|
lizardrock17 |
Development Support
|
24 |
19,713 |
06-21-2013, 02:59 PM |
|
|
Thread: Weeping Angel enemies
Post: RE: Weeping Angel enemies
(06-21-2013, 03:42 AM)JustAnotherPlayer Wrote: Bool's only evaluates to true or false. So, you need to change the bool's to true or false.
Like this.
Spoiler below!
Code:bool abCode
abCo... |
|
lizardrock17 |
Development Support
|
24 |
19,713 |
06-21-2013, 03:46 AM |
|
|
Thread: Weeping Angel enemies
Post: RE: Weeping Angel enemies
void OnStart()
{
SetEntityPlayerLookAtCallback("servant_grunt_1", "WeepingAngel_1", false);
}
void WeepingAngel_1(string &in asEntity, int alState)
{
if(alState == 1)
{
SetEnemyDisabled("servan... |
|
lizardrock17 |
Development Support
|
24 |
19,713 |
06-21-2013, 12:45 AM |
|
|
Thread: HPL 2 level editor doesnt have all the static objects
Post: RE: HPL 2 level editor doesnt have all the static ...
(06-20-2013, 09:21 PM)DeAngelo Wrote: Most floors are planes, not static objects.
Er, primitives I mean. Same thing. It worked thanx |
|
lizardrock17 |
Development Support
|
4 |
4,017 |
06-20-2013, 09:25 PM |
|
|
Thread: Very Early, very short level. Need Feedback.
Post: RE: Very Early, very short level. Need Feedback.
In my opinion i think you got a good start but i agree with comment about the monster being too early because you gotta let the player settle in with the environment instead of scaring them when there... |
|
lizardrock17 |
Development Support
|
7 |
7,781 |
06-20-2013, 09:03 PM |
|
|
Thread: HPL 2 level editor doesnt have all the static objects
Post: HPL 2 level editor doesnt have all the static obje...
When I open the static objects in the level editor then click mansionbase then go to floor there is nothing there but when i go to the mansionbase floor folder both type of floors are there. I dont kn... |
|
lizardrock17 |
Development Support
|
4 |
4,017 |
06-20-2013, 08:41 PM |
|
|
Thread: Weeping Angel enemies
Post: RE: Weeping Angel enemies
Quick question. Can a enemy move outside of a script area and keep actions specified by the script? |
|
lizardrock17 |
Development Support
|
24 |
19,713 |
06-20-2013, 07:14 PM |
|
|
Thread: Weeping Angel enemies
Post: RE: Weeping Angel enemies
(06-20-2013, 12:57 PM)Adrianis Wrote: Code:void ShowEnemyPlayerPosition(string& "angel_statue_1);\\Makes angel follows player
This line is wrong in a few ways :)
Firstly when you are 'ca... |
|
lizardrock17 |
Development Support
|
24 |
19,713 |
06-20-2013, 04:02 PM |
|
|
Thread: HPL 2 editor suite perspective view error
Post: RE: HPL 2 editor suite perspective view error
(06-20-2013, 02:33 AM)JustAnotherPlayer Wrote: Sometimes, laptops (if you use one) will often switch Graphic Cards. You have to force the NVidia Graphic Card.
Ok i will see if that works
Dude than... |
|
lizardrock17 |
Development Support
|
12 |
9,345 |
06-20-2013, 02:34 AM |
|
|
Thread: HPL 2 editor suite perspective view error
Post: RE: HPL 2 editor suite perspective view error
(06-20-2013, 02:19 AM)JustAnotherPlayer Wrote: Oh man. Um, give me the contents of your DxDiag file.
[ Start Orb > Search Bar > Type "DxDiag" > Click Results ] For the complete spec of you... |
|
lizardrock17 |
Development Support
|
12 |
9,345 |
06-20-2013, 02:29 AM |
|
|
Thread: HPL 2 editor suite perspective view error
Post: RE: HPL 2 editor suite perspective view error
(06-20-2013, 02:09 AM)JustAnotherPlayer Wrote: As what I said, where did you get the game?
Oops missed that part XD
But i got it from steam
also can i change the renderer somehow because i got a be... |
|
lizardrock17 |
Development Support
|
12 |
9,345 |
06-20-2013, 02:13 AM |
|
|
Thread: HPL 2 editor suite perspective view error
Post: RE: HPL 2 editor suite perspective view error
(06-20-2013, 01:48 AM)JustAnotherPlayer Wrote: Where did you get the game?
Also, give us the .log file in C:\Users\<YOURUSERNAME>\My Documents\HPL2\
It should be LevelEditor.log under LevelEd... |
|
lizardrock17 |
Development Support
|
12 |
9,345 |
06-20-2013, 02:05 AM |
|
|
Thread: HPL 2 editor suite perspective view error
Post: RE: HPL 2 editor suite perspective view error
(06-19-2013, 09:48 PM)amnesiaplayer321 Wrote: (06-19-2013, 09:47 PM)lizardrock17 Wrote: (06-19-2013, 09:39 PM)amnesiaplayer321 Wrote: try reinstalling it
i have several times and even reinstalll... |
|
lizardrock17 |
Development Support
|
12 |
9,345 |
06-19-2013, 09:52 PM |
|
|
Thread: HPL 2 editor suite perspective view error
Post: RE: HPL 2 editor suite perspective view error
(06-19-2013, 09:39 PM)amnesiaplayer321 Wrote: try reinstalling it
i have several times and even reinstallled the game itself |
|
lizardrock17 |
Development Support
|
12 |
9,345 |
06-19-2013, 09:47 PM |
|
|
Thread: HPL 2 editor suite perspective view error
Post: HPL 2 editor suite perspective view error
Hellozz When I bring up the level editor it looks normal but when i focus on perspective view it looks like this:
http://i1246.photobucket.com/albums/gg61...402842.jpg
The editor works perfectly u... |
|
lizardrock17 |
Development Support
|
12 |
9,345 |
06-19-2013, 09:23 PM |
|
|
Thread: Weeping Angel enemies
Post: RE: Weeping Angel enemies
From what you guys told me I have compiled this: (I havent tried it yet because if i encounter any problems i dont want to spend hours on the internet trying to find out my script is wrong)
void OnS... |
|
lizardrock17 |
Development Support
|
24 |
19,713 |
06-19-2013, 05:57 PM |
|
|
Thread: Weeping Angel enemies
Post: RE: Weeping Angel enemies
(06-19-2013, 03:08 PM)Adrianis Wrote: Kiandra's method is a good place to start - if you can get that working, you'll notice a few problems.
First and foremost is the detection for looking at somet... |
|
lizardrock17 |
Development Support
|
24 |
19,713 |
06-19-2013, 05:01 PM |
|
|
Thread: Weeping Angel enemies
Post: RE: Weeping Angel enemies
(06-19-2013, 05:22 AM)Tomato Cat Wrote: You might try using this particular function:
PHP Code:void SetEntityPlayerLookAtCallback(string& asName, string& asCallback, ... |
|
lizardrock17 |
Development Support
|
24 |
19,713 |
06-19-2013, 05:31 AM |
|
|
Thread: Weeping Angel enemies
Post: Weeping Angel enemies
Hello peoplez i am fairly new to scripting with amnesia, but i would like to create enemies like the weeping angels from doctor who (weeping angels are enemies that cant move when you see them but mov... |
|
lizardrock17 |
Development Support
|
24 |
19,713 |
06-19-2013, 04:30 AM |