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


Thread Rating:
  • 12 Vote(s) - 4.58 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Update coming! Brave testers needed!
WALP Offline
Posting Freak

Posts: 1,221
Threads: 34
Joined: Aug 2012
Reputation: 45
RE: Update almost ready! Brave testers needed!

(11-07-2013, 07:16 PM)DnALANGE Wrote:
(11-07-2013, 06:16 PM)plutomaniac Wrote:
(11-07-2013, 04:43 PM)Patrik Wrote: Okay, I'll try to reproduce on my end. Anyone else having these issues?

That reminds me of a same "problem" the grunt experiences. No matter how you set it to face at the editor, in-game it will load on a certain axis only. Don't remember which. I don't consider that an issue though as you can overcome it very easily. I never experienced reversed static objects though, that's strange. Does it happen with the old tools as well or just the new ones Patrick released?

(11-07-2013, 04:43 PM)Patrik Wrote: I don't think you can do that easily in TDD, no. There's some special code in AMFP that handles lamp and lantern flickering and it won't make it into this update.

You can make a custom .ent file for flickering lamps very easily by attaching a flickering light to it. No need to add a function for it really.

Explane a bit more please?
As Patrik said, it is in the code?
There won't be any possiblity as far as i know for IF ENEMY IS NEARBY Lanter flicker...
"Added script functions (SetPlayerPos, GetPlayerPosX, GetPlayerPosY, GetPlayerPosZ) for setting and getting the player's position.
Added script functions (SetEntityPos, GetEntityPosX, GetEntityPosY, GetEntityPosZ) for setting and getting the position of entities."

If you can get the XYZ of these into some variables, you should be able to calculate the distance between the player and the enemy(entity)
then once you had that number you would just have it trigger if the number becomes below a certain amount.
This would have to loop/repeat constantly(maybe every 1-3 seconds?) to work properly. exactly how these calculations go is out of my skill area as I am not a programmer, but it should involve some subtracting.

The real challenge though lies in triggering the flickering light in anyway at all. As far as I know you can only script lights placed with level editor, and this flickering light is not just attached to an entity but on something as specific as a hand object, doubt there is any support for that unless I am completely misguided.
11-07-2013, 07:54 PM
Find


Messages In This Thread
Update coming! Brave testers needed! - by Patrik - 09-25-2013, 08:28 PM
RE: Update almost ready! Brave testers needed! - by WALP - 11-07-2013, 07:54 PM



Users browsing this thread: 8 Guest(s)