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
Control Room Bug
MulleDK19 Offline
Senior Member

Posts: 545
Threads: 21
Joined: Jun 2009
Reputation: 10
#7
Solved: 8 Years, 9 Months, 4 Weeks ago RE: Control Room Bug

(09-13-2010, 05:42 PM)Running Scared Wrote:
(09-13-2010, 03:19 PM)MulleDK19 Wrote:
(09-13-2010, 03:16 PM)Running Scared Wrote: Thanks for the feedback Smile

Yes I've tried re-entering the Control Room, it defaults two of the weights back to original positions but the first one still remains stuck, my saved games only go back to the start of the cistern and when I load that saved game the weight is still stuck, I've even tried throwing box's at the stuck weight but that didn't work lol. I'm thinking my saved games maybe corrupt, if so I'll have to re-start the game.

You could change the script to add an impulse to the weight in the OnEnter() function.

If you could point me in the right area. I've looked at the "17_control_room.hps" and found The OnEnter() function but I have no knowledge how add an impulse in the script.

Thanks in advance

You have to find the name of the weight, by looking at the .map file.

I'm not sure what the name of the weight model actually is... But these entities has something to do with chains/weights, at least. You could apply an impulse to all of them.

Ton_Chain01_End_Left
Ton_Chain02_End_Left
Ton_Chain03_End_Left
Mount_Chain03_Start_Left
Mount_Chain02_Start_Left
Wheel_Chain01_End_Left
Wheel_Chain03_End_Left
Wheel_Chain02_End_Left

Ton_Chain01_End_Right
Ton_Chain02_End_Right
Ton_Chain03_End_Right
Mount_Chain03_Start_Right
Mount_Chain02_Start_Right

Then on a line in the OnEnter() function, you'd do something like

AddPropImpulse("Wheel_Chain01_End_Left", 100, 0, 0, "World")
Which would add an impulse to the entity named "Wheel_Chain01_End_Left" (100 (newtons?) on the X-axis).

Function syntax:
AddPropImpulse(string &in asName, float afX, float afY, float afZ, string &in asCoordSystem)

[Image: 16455.png]
09-13-2010, 05:49 PM
Find


Messages In This Thread
Control Room Bug - by Running Scared - 09-12-2010, 07:33 PM
RE: Control Room Bug - by Spiegelman - 09-13-2010, 06:37 AM
RE: Control Room Bug - by Thomas - 09-13-2010, 07:07 AM
RE: Control Room Bug - by Running Scared - 09-13-2010, 03:16 PM
RE: Control Room Bug - by MulleDK19 - 09-13-2010, 03:19 PM
RE: Control Room Bug - by Running Scared - 09-13-2010, 05:42 PM
RE: Control Room Bug - by MulleDK19 - 09-13-2010, 05:49 PM
RE: Control Room Bug - by Running Scared - 09-13-2010, 07:42 PM



Users browsing this thread: 1 Guest(s)