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 / On-Screen messages using scripts

Author
Message
JDforce
19
Years of Service
User Offline
Joined: 27th Jul 2004
Location: Sea of Tranquility
Posted: 11th Oct 2005 04:39
Need someone to help on this:
I want to place a custom message on screen but don't seem to find a command to do that. Ideal choice would be to send like a "print" command just as darkbasic. (I asked this before digging into fps-game code, of course)

May the 3d force B with U
BULLSHOCK 2
Retired Moderator
18
Years of Service
User Offline
Joined: 14th Jun 2005
Location: Shocking Bulls
Posted: 11th Oct 2005 04:48
codes like that dont work in fpsc.

everything has to be an image, in either tga or dds format.

as for the scripting part...there have been plenty of scripts like that on the forum...do a search.

i will find one and post back.

JDforce
19
Years of Service
User Offline
Joined: 27th Jul 2004
Location: Sea of Tranquility
Posted: 11th Oct 2005 04:51
Suppose i have the text onto a image. How do I make it appear at certain screen position?
Upon reading the manual, I suppose it could be a decal or perhaps a hud, but some guide is appreciated.

May the 3d force B with U
Merranvo
18
Years of Service
User Offline
Joined: 24th May 2005
Location: That ^ is a Orange
Posted: 13th Oct 2005 07:17
:state=0:hudreset,hudx=50,hudy=10,hudimage=languagebank\english\gamecore\backdrops\basic\gamemenu.tga,hudname=title1,hudmake=display

similar

"ye oft de adopte early shalt move mountains, and be gods among men"

He who knows everything knows nothing at all.
JDforce
19
Years of Service
User Offline
Joined: 27th Jul 2004
Location: Sea of Tranquility
Posted: 13th Oct 2005 18:06
Thanks Monster I will try.

May the 3d force B with U
BULLSHOCK 2
Retired Moderator
18
Years of Service
User Offline
Joined: 14th Jun 2005
Location: Shocking Bulls
Posted: 13th Oct 2005 19:24
omg...i totally forgot about this thread..

and jdforce...just to clarify this...that was merranvo...look at his location...

monster doesnt do anything for free

Merranvo
18
Years of Service
User Offline
Joined: 24th May 2005
Location: That ^ is a Orange
Posted: 14th Oct 2005 02:20
and you need the shower...

::hudshow=title1

also, I ask and DBPr to please tell me what HUDTEXT= does, and what you need to HUDMAKE it as, it is hard for me to just look at code like this (and at every subroutine) to figure out what one section does. I would guess display, but it is all confusing.

"ye oft de adopte early shalt move mountains, and be gods among men"

He who knows everything knows nothing at all.
Merranvo
18
Years of Service
User Offline
Joined: 24th May 2005
Location: That ^ is a Orange
Posted: 14th Oct 2005 02:23
And to double post my way to heaven.

Image Support for BMP, JPG, TGA, DDS, DIB or PNG format.
Sound Support for WAV, AIFF, AU, SND, MIDI or MP3 format.
Video Support for MPEG, AVI or Quicktime format.

or basically, any thing DBP supports, FPSC Supports also.

"ye oft de adopte early shalt move mountains, and be gods among men"

He who knows everything knows nothing at all.
Merranvo
18
Years of Service
User Offline
Joined: 24th May 2005
Location: That ^ is a Orange
Posted: 14th Oct 2005 02:24
And the tripple score... Merranvo SUCKS, Monster FOREVER! jk

"ye oft de adopte early shalt move mountains, and be gods among men"

He who knows everything knows nothing at all.
JDforce
19
Years of Service
User Offline
Joined: 27th Jul 2004
Location: Sea of Tranquility
Posted: 14th Oct 2005 08:23
Thanks Dr. Jekill err.. Monster... err Merranvo. I will test the code.

May the 3d force B with U
Merranvo
18
Years of Service
User Offline
Joined: 24th May 2005
Location: That ^ is a Orange
Posted: 15th Oct 2005 01:46
Hyde... hmm, sounds daunting, Evil taking over... Merranvo mutates into the hidius Monster Hyde!

"ye oft de adopte early shalt move mountains, and be gods among men"

He who knows everything knows nothing at all.
Sunflash
18
Years of Service
User Offline
Joined: 28th Jun 2005
Location: Seattle, Wa
Posted: 15th Oct 2005 16:34 Edited at: 15th Oct 2005 16:35
Yeah, whatever... Merranvo, you need to get some sleep... bad, we're loosing you one kilo-byte at a time mate! What will we do without you?!?

When FPSC gets good enough, lets make a Redwall game!

FireRaven
18
Years of Service
User Offline
Joined: 24th Nov 2005
Location: Norway
Posted: 24th Nov 2005 20:27
Just a question, is DarkBASIC ONLY coding or has it other stuff too?

Login to post a reply

Server time is: 2024-04-19 14:05:03
Your offset time is: 2024-04-19 14:05:03