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.

FPS Creator X10 / Need Help with this hud display script (x10 mystic mod)

Author
Message
yashasp9
12
Years of Service
User Offline
Joined: 29th May 2012
Location:
Posted: 10th Oct 2012 18:34
This doesnt work in x10 it used to work in x9.Can someone tell me what the problem is?
Le Shorte
15
Years of Service
User Offline
Joined: 6th Apr 2009
Location: Wisconsin
Posted: 11th Oct 2012 03:22
The banker commands are different in x10, since it was added through Mystic Mod. You'd need to alter the script to work with Mystic.

Cheesehead for life.
yashasp9
12
Years of Service
User Offline
Joined: 29th May 2012
Location:
Posted: 11th Oct 2012 14:45 Edited at: 11th Oct 2012 14:46
How can i alter it? what changes should I make?
budokaiman
FPSC Tool Maker
15
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 11th Oct 2012 14:56
What is it exactly that's not working for you?


3DS friend code: 0044-2895-5474
yashasp9
12
Years of Service
User Offline
Joined: 29th May 2012
Location:
Posted: 11th Oct 2012 18:57
The character does not do anything he remains static.

When I go near the character he should ask me if the player wants to deposit money if the player chose to deposit money to the bank,he should be asked for how much amount.The amount should be typed.
budokaiman
FPSC Tool Maker
15
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 11th Oct 2012 19:28
Is your HUD in the right folder? Is it in the program files folder, or the documents folder?


3DS friend code: 0044-2895-5474
yashasp9
12
Years of Service
User Offline
Joined: 29th May 2012
Location:
Posted: 12th Oct 2012 04:27
It is in the documents folder.
yashasp9
12
Years of Service
User Offline
Joined: 29th May 2012
Location:
Posted: 12th Oct 2012 04:37
Should I change the properties of the character?
yashasp9
12
Years of Service
User Offline
Joined: 29th May 2012
Location:
Posted: 14th Oct 2012 19:02
I finally got it to work!Here it is

;Artificial Intelligence Script

;Header

desc = banker

;Triggers

:state=0:hudreset,hudx=50,hudy=80,hudimagefine=videobank/banker.png,hudname=banker,hudhide=1,hudmake=display,state=1
:state=1,plrdistwithin=60:rotatetoplr,lookatplr,hudshow=banker,state=2

:state=2,scancodekeypressed=21:hudfadeout=banker,state=3

:state=2,scancodekeypressed=49:hudfadeout=banker,state=1
:state=3:addbankfromuser,state=4

;End Of Script
budokaiman
FPSC Tool Maker
15
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 14th Oct 2012 20:18
There's still a few things that may not work properly. If you walk away, the HUD will still be showing, once you add money to the bank, you won't be able to add any more again. This should fix that:




3DS friend code: 0044-2895-5474
yashasp9
12
Years of Service
User Offline
Joined: 29th May 2012
Location:
Posted: 15th Oct 2012 05:25 Edited at: 15th Oct 2012 05:45
Thanks a lot!But the Hud displays only for a second after I deposit money or press N and come back to the banker.
yashasp9
12
Years of Service
User Offline
Joined: 29th May 2012
Location:
Posted: 15th Oct 2012 09:30
Is there a way to fix that?
budokaiman
FPSC Tool Maker
15
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 15th Oct 2012 15:49 Edited at: 15th Oct 2012 16:44
This should fix that:



When the player presses 'N' the HUD will fade out, once the player leaves the area of the banker and re-enters, the HUD will show up again.


3DS friend code: 0044-2895-5474
yashasp9
12
Years of Service
User Offline
Joined: 29th May 2012
Location:
Posted: 16th Oct 2012 16:12
Thanks!

Login to post a reply

Server time is: 2024-11-23 09:27:45
Your offset time is: 2024-11-23 09:27:45