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
Adv Scripting Questions
Apjjm Offline
Is easy to say

Posts: 496
Threads: 18
Joined: Apr 2011
Reputation: 52
#5
RE: Adv Scripting Questions

The game uses angelscript for level scripting only, stuff like game world & rendering etc are all handled by the game engine itself which we can't change. Certain things are exposed to the level scripts - they are covered by the angel-script documentation and the wiki. HPL3 - the new engine looks to expose loads more and fully utilise angel-script, the features of this are discussed in the FG blog.

Quote:Storing the head rotation as a variable is probably the best solution for my problem, also do u know the extension to change the position
To be honest, i've never really played about with the SetPlayerHeadPos function too much, so I don't know if you can configure it to look in any direction or whether it's locked towards the player's body (unless you use the SetPlayerLookAt stuff), and this will of-course effect the x/y/z coords of the camera depending on which is the case. You will just have to play about with this, though it is possible to roughly track the player's position, but it is an ugly method.
(This post was last modified: 08-02-2011, 11:49 PM by Apjjm.)
08-02-2011, 11:47 PM
Find


Messages In This Thread
Adv Scripting Questions - by Endlvl - 08-02-2011, 10:09 PM
RE: Adv Scripting Questions - by Kyle - 08-02-2011, 10:19 PM
RE: Adv Scripting Questions - by Apjjm - 08-02-2011, 11:07 PM
RE: Adv Scripting Questions - by Endlvl - 08-02-2011, 11:08 PM
RE: Adv Scripting Questions - by Apjjm - 08-02-2011, 11:47 PM
RE: Adv Scripting Questions - by Endlvl - 08-03-2011, 12:12 AM



Users browsing this thread: 1 Guest(s)