Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Help with Hacking Script!

Author
Message
The Master D
15
Years of Service
User Offline
Joined: 20th Feb 2009
Location:
Posted: 4th Jun 2013 01:01
I've started work on this script that would allow the user to essentially "hack" a terminal and it would open up all the doors in an area.



The problem that I'm having is that when I start the level, one of the HUDs just randomly appears on the screen, and also, when I go up and "use" the terminal, it doesn't do anything. Any help would be greatly appreciated as always!

AMD FX-6300 Vishera 3.5GHz, Radeon HD 7850 2GB, 8 GB RAM, Win 7 Pro 64 Bit
Corno_1
14
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 4th Jun 2013 16:38
Please look again at your script!

http://cornofpsc.webs.com/

"The Corno_1 Way of Scripting" by Corno_1
The Master D
15
Years of Service
User Offline
Joined: 20th Feb 2009
Location:
Posted: 5th Jun 2013 06:45
I realized that I need to add state=2 into the last state=0 line, but that still doesn't fix the issue.

AMD FX-6300 Vishera 3.5GHz, Radeon HD 7850 2GB, 8 GB RAM, Win 7 Pro 64 Bit
Corno_1
14
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 5th Jun 2013 10:49
Some mistakes in your script:
- After huds definition go to the next state otherwise it loops this proccess(performance)
-

You press the usekey and the engine will show and imediatly unshow the image, because you can not remove your finger as fast as the engine is!
- it is keypressed=2 1 or keypressed=2 0 and not keypressed=2
(there is a command scancodekeypressed=2)
-

The same conditon lead to different states? What should do this?
-

You never go back to state one. Is this terminal just hackable one time?

So please fix this and then come back. Otherwise I must rewrite your hole script and we can forget this line:


Corno_1

http://cornofpsc.webs.com/

"The Corno_1 Way of Scripting" by Corno_1
The Master D
15
Years of Service
User Offline
Joined: 20th Feb 2009
Location:
Posted: 9th Jun 2013 05:51
I got it to work, I'll just throw the script here if you wanna see what I did to it. I removed the "error" HUD because it didn't seem to be practical enough.



AMD FX-6300 Vishera 3.5GHz, Radeon HD 7850 2GB, 8 GB RAM, Win 7 Pro 64 Bit
Corno_1
14
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 9th Jun 2013 13:20
Very Good

http://cornofpsc.webs.com/

"The Corno_1 Way of Scripting" by Corno_1
The Master D
15
Years of Service
User Offline
Joined: 20th Feb 2009
Location:
Posted: 9th Jun 2013 21:58
Thanks for the help, Corno, you're the best!

AMD FX-6300 Vishera 3.5GHz, Radeon HD 7850 2GB, 8 GB RAM, Win 7 Pro 64 Bit

Login to post a reply

Server time is: 2024-11-23 13:51:39
Your offset time is: 2024-11-23 13:51:39