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, can FPSC make a file saying wether user won or lost level and his score/ammo left

Author
Message
Mr BIGMIND dev
17
Years of Service
User Offline
Joined: 4th Feb 2007
Location:
Posted: 5th Feb 2007 01:02
Hello, I hope someone can help me here,

I am writing a game that only uses FPSC for the interior rooms aspect of my game, the heart of the game is written in VBASIC.
When you enter a certain location on a map (VB MADE MAP) FPS exe's are called accordingly, for instance, on the VB map you see a block saying HOME. you move across the map to it and then my FPSC level of the players home will run, can i make FPSC write a file at the end of the level saying wether the user Won or Lost and maybee some of the score and ammo information so that Visual basic can use the data? otherwise you would enter a level and die for instance, and VB would only register the FPSC level ending and allow you to pass without completing the level. im stummped, can anyone help me ??????? Thanx

Let your creative juices drip freely from the Slate of your mind!! R
GaMer13
18
Years of Service
User Offline
Joined: 23rd Jun 2006
Location: Into the Universe
Posted: 5th Feb 2007 17:09
Uhmmm, FPSC has already a core that allows you to make a complete game. What you are trying to say is that you are rebuilding whole FPSC in VB xD and you want to incorporate FPSC with VB? xD

Sorry, this is just so funny
I will see you as god if you finish this.

I like playing games, and making games
tyrano man
18
Years of Service
User Offline
Joined: 26th Oct 2006
Location: Battle City - Kalspher :)
Posted: 6th Feb 2007 08:24
only with a change of source code.

Woot Kingdom hearts owns!
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 6th Feb 2007 15:19 Edited at: 6th Feb 2007 15:20
@Mr BIGMIND dev

I think your idea, or what you are actually doing, is great. A VB graphical interface that calls FPSC games sounds cool and a great way to put multiple levels of a different nature in the same program. As for getting the information from FPSC, tyrano man is correct. The current engine does not give us file manipulation, and I can think of no other way to pass the info. You would have to alter the source.

Although I don't think you're a god for being able to do something as simple as this, (lol) I would like to see your concept. Would you consider showing your program?

Best.

I'm sorry, my answers are limited. You must ask the right question.

Silvester
18
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
Posted: 6th Feb 2007 15:46
This will only works if you edit the FPSC-Game.exe's source code.

-Prince Of Darkness
Shadow Blade
18
Years of Service
User Offline
Joined: 31st Oct 2006
Location: United Kingdom
Posted: 6th Feb 2007 19:57
lol,if uou edit the source code you could do anything

Shadow Fire Games - Master the game -
Deathead
18
Years of Service
User Offline
Joined: 14th Oct 2006
Location:
Posted: 6th Feb 2007 20:23
lol, i think if you found a cfg or fpm converter you could change the size of the grid!!


Silvester
18
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
Posted: 6th Feb 2007 20:24
No,the Grid size is defined in FPSC-MapEditor.exe

-Prince Of Darkness
Deathead
18
Years of Service
User Offline
Joined: 14th Oct 2006
Location:
Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 7th Feb 2007 12:16
you should check out empty's mod.

it gives you a new FPI command that writes level data to an ini file. I've never actually done it, so I don't know what data it writes, but that might be worth a try.

I think you could at least get it to save the player health.

I would advise using empty's mod actually, you could edit the setuplevel.fpi script so that it quits at different points depending on the outcome of the level.

tyrano man
18
Years of Service
User Offline
Joined: 26th Oct 2006
Location: Battle City - Kalspher :)
Posted: 8th Feb 2007 08:14
Continueing butters idea, if you could just keep the health, that would be fine. You could have any number >=1 to mean you won the level, and also you keep that amount of health. If the number turned out =0, it would mean that you have died. And VB would make you die in that too.

good luck with this, i'll have to check it out.
Empty owns.

Tyrano.

Woot Kingdom hearts owns!

Login to post a reply

Server time is: 2024-11-23 12:10:22
Your offset time is: 2024-11-23 12:10:22