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 / Papernote Display Issue

Author
Message
Zombie_Expert
13
Years of Service
User Offline
Joined: 5th Jul 2011
Location: Raccoon City
Posted: 13th Jun 2013 05:04 Edited at: 13th Jun 2013 05:06
The papernote that displays on the screen when you walk up to the entitie is messed or something. I can't seem to get different images to display even though I made new scripts to show it. Here is one



I have the image



But for some reason it displays the same image but not the others like the one above even though I changed the file's name.
The image is does display is this



This image is for one of the notes but this displays on all the notes no matter what script I set and or edit.

Knowledge of the undead since the age of 4.

Z_E
Zombie_Expert
13
Years of Service
User Offline
Joined: 5th Jul 2011
Location: Raccoon City
Posted: 12th Aug 2013 08:38
Can anyone please help me? I don't know what is causing this exactly.

Knowledge of the undead since the age of 4.

Z_E
ncmako
12
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 12th Aug 2013 18:35
Hi Zombie_Expert
Quote: "But for some reason it displays the same image but not the others "

If I understand, your script calls for only one image to be displayed.
Quote: " I can't seem to get different images to display"
Ok, how many images are there, and are you trying to "display" them with this script or another one? Need a little more info.
Also, take a look at this. Scroll down till you see "defining huds"
Very good info and might help you..http://forum.thegamecreators.com/?m=forum_view&t=192148&b=23
best luck
Zombie_Expert
13
Years of Service
User Offline
Joined: 5th Jul 2011
Location: Raccoon City
Posted: 16th Aug 2013 00:04
Use to rewrite the script a bit to change which image it displayed. But then in game, even if I changed the script for each note, once in game it displays the same image.

Knowledge of the undead since the age of 4.

Z_E
Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 16th Aug 2013 01:11
Quote: ":state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\huds\papernotes\whynote.png,hudname=paperscript,hudhide=1,hudmake=display,state=10
:state=10,plrdistwithin=40:hudshow=paperscript,hudfadeout=paperscript"


...just curious, are you using paperscript as the name of your HUD, in each of your individual papernote scripts?



Zombie_Expert
13
Years of Service
User Offline
Joined: 5th Jul 2011
Location: Raccoon City
Posted: 16th Aug 2013 09:02 Edited at: 16th Aug 2013 09:05
So change the hudshow= hudfadeout= and hudname= ?

Knowledge of the undead since the age of 4.

Z_E
Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 16th Aug 2013 16:50
Quote: "So change the hudshow= hudfadeout= and hudname=?"


That would be my approach, yes.

Assuming that paperscript is used in all of the scripts in your level, making each instance of the HUD name unique in each script should remedy your problem:

hudname=PaperScript1
hudshow=PaperScript1
hudfadeout=PaperScript1

hudname=PaperScript2
hudshow=PaperScript2
hudfadeout=PaperScript2


etc...



Login to post a reply

Server time is: 2024-11-23 10:36:10
Your offset time is: 2024-11-23 10:36:10