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 / Is there a mini game script?

Author
Message
Killer666
16
Years of Service
User Offline
Joined: 18th Oct 2008
Location: Inside your Emails causing a VIRUS!
Posted: 26th Oct 2008 12:00
This is not a request its simply is there a script out there that if you give to like an arcade machine you can start a little mini game or if there isn't one then would it be possible?


Thanks
Killer666

http://killer-fps.weebly.com
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 26th Oct 2008 19:26
Ummmmmmmmm, yes.


The one and only,


Those who live in the past, are destined to insanity. Those who live only for the future, will be slaves to their ambitions.
Those who live in the moment... only they, are truly happy.
Jesper
17
Years of Service
User Offline
Joined: 14th Oct 2007
Location: Hämeenlinna
Posted: 27th Oct 2008 09:53
I think... yes. it's possible with huds and SCANCODEKEYPRESSED command.

But i don't have time to make that script

You can try.
Killer666
16
Years of Service
User Offline
Joined: 18th Oct 2008
Location: Inside your Emails causing a VIRUS!
Posted: 27th Oct 2008 19:03
cool thanks

http://killer-fps.weebly.com
Killer666
16
Years of Service
User Offline
Joined: 18th Oct 2008
Location: Inside your Emails causing a VIRUS!
Posted: 27th Oct 2008 19:10
well I did a search and all I found were things to do with DB but.

Would it be easyer to make a game with fpsc save then put the file name in a script and the script to an arcade macine.

So then you can walk up to the machine and play the game you made.

http://killer-fps.weebly.com
CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 27th Oct 2008 21:27
With some intense scripting, perhaps.....

I'd use Ply's Mod for this one, if I were you....

Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 27th Oct 2008 22:33
The next version of Ply's Mod will have HUD manipulation commands that would make this type of script VASTLY easier and more dynamic. I honestly had not considered ever doing this before, but now that I think about it, it's entirely probable to achieve with the commands I added.

Sadly, you will not have access to these commands until I release the next part of Ply's Mod Beta.


The one and only,


Those who live in the past, are destined to insanity. Those who live only for the future, will be slaves to their ambitions.
Those who live in the moment... only they, are truly happy.
CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 27th Oct 2008 22:42
Nooo....!!

This'll take my in-game console scripts to the next level!

Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 27th Oct 2008 22:47
Well, don't get me wrong... making a mini-game is going to be a very large task even with these commands... but as it stands right now you have NO WAY of making a HUD move around the screen. I have added that ability as well as a few others dealing with HUDs. I used those to make the HUD Bars in the Demo Game I am working on.


The one and only,


Those who live in the past, are destined to insanity. Those who live only for the future, will be slaves to their ambitions.
Those who live in the moment... only they, are truly happy.
CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 27th Oct 2008 23:00
What, so you used a system like the loading bar, where it scales the image based on a variable?

Sweet!

Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 27th Oct 2008 23:27
Yeah, that's pretty much it, CG! You have a good eye for that

Making the left-to-right bar (like the loading bar) was super simple because I didn't even need to reposition it... the resizing command did all of the work. But going in the opposite direction (bottom-to-top or right-to-left) required a bit more calculations and I needed to incorporate repositioning as well, so that the bar would be lower on the screen (or further to the right, if you're going for the horizontal approach) depending on how low the variable is compared to it's max value.

A bit complex, but the script is pretty small even compared to scripts that try to achieve this with pre-made chunks of bars and displaying them when a certain percentage is hit. This method is accurate ALL of the time and only needs one HUD (the bar itself at 100%)


The one and only,


Those who live in the past, are destined to insanity. Those who live only for the future, will be slaves to their ambitions.
Those who live in the moment... only they, are truly happy.
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 27th Oct 2008 23:33
You know, you could also go the route of making a DBP game... and creating a "runexe" scripting command to call that game in the script. This would cause some problems in your FPSC while playing the DBP game, but it'd definitally make your mini-game 1000x better!

I would add that kind of a command....... but I don't want to provide too much power especially when that power extends beyond the scope of what we're trying to achieve here.

Power is good to have, but too much can corrupt even the best of intentions.


The one and only,


Those who live in the past, are destined to insanity. Those who live only for the future, will be slaves to their ambitions.
Those who live in the moment... only they, are truly happy.
Thistle Studios
17
Years of Service
User Offline
Joined: 1st Mar 2007
Location: Kirkcaldy
Posted: 27th Oct 2008 23:45
Running an external program inside the engine might cark-up the actual fpsc game. I mean, running two programs at once seems a bit odd. Instead you could recode the engine to allow dbp games into a mini window, say a HUD.
Just making a suggestion.

Peter D
YFPSD

Login to post a reply

Server time is: 2024-11-24 14:00:25
Your offset time is: 2024-11-24 14:00:25