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 Work In Progress / FPSC Mod... Save & Load levels and other useful stuff

Author
Message
empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 27th Aug 2006 14:44 Edited at: 27th Aug 2006 14:45
This is a "sort of ally" example.
How it works:
Aiko follows the player until the player is seen buy the colonel called "badguy". The colonel sets the global variable 1 to 1, that's a sign for Aiko to shoot at "badguy". So while the colonel attacks you, Aiko attacks the colonel.


Play Nice! Play Basic! -- Styx PlugIn- Coming Soon!

Attachments

Login to view attachments
s4real
VIP Member
18
Years of Service
User Offline
Joined: 22nd Jul 2006
Location:
Posted: 27th Aug 2006 16:31
Thanx for these good work the only problem im having is the allyshoot just makes the model just stand there.


All the rest work fine, any help on this please ?
FredP
Retired Moderator
19
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 27th Aug 2006 17:15
I just got a chance to test the save/load level.
Once I quit trying to hard and just did things the easy way it worked like a charm.
Thanks.

Connor Higgins
User Banned
Posted: 27th Aug 2006 21:43
sorry for sounding like an idiotbut where do you put it???

super cool timmy turner has fairy godparents and i am not a mad science teacher i am a real boy so FAIRIES!!!!!!!!!!!!!!!
BULLSHOCK 2
Retired Moderator
19
Years of Service
User Offline
Joined: 14th Jun 2005
Location: Shocking Bulls
Posted: 27th Aug 2006 21:45 Edited at: 28th Aug 2006 00:58
@Connor Higgins

please download the zip in the first post, it has a PDF explaining step by step what to do.


@empty

:-o
I know ive already given you a feature request, but i have another one if its ok. :-o

It shouldent be that hard to do, considering you know where the types are for the commands.

if you could incorperate barnskies lua PLUGIN into FPSC, that would be SO AWESOME!!!!!!.

all we would need is like FPSCLOADLUA=X

but, this plugin would especially help out the FPSC community, because his dll allows DBPRO commands to be called in the LUA script.

If you cant, or dont want to, i understand, but if you want to, heres the link to the plugin:

http://forum.thegamecreators.com/?m=forum_view&t=74095&b=5


http://www.seqoiagames.com/seqoiacorp/
Candle_
18
Years of Service
User Offline
Joined: 29th May 2006
Location: kindergarten
Posted: 28th Aug 2006 02:58 Edited at: 28th Aug 2006 03:41
Thanks empty, going to try it out today.
Thanks for all the work on this.

Well did everything you said to do and when I start my game I get a black screen and have to ctrl alt delete to end the game?

DarkFact
19
Years of Service
User Offline
Joined: 18th Feb 2006
Location:
Posted: 28th Aug 2006 07:47
Nice! Just tested it. If this new engine can compile 40 levels without crashing, then DarkFaction my become a reality!

empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 28th Aug 2006 13:48
@BULLSHOCK 2
Quote: "I know ive already given you a feature request, but i have another one if its ok.
It shouldent be that hard to do, considering you know where the types are for the commands.
if you could incorperate barnskies lua PLUGIN into FPSC, that would be SO AWESOME!!!!!!.
all we would need is like FPSCLOADLUA=X but, this plugin would especially help out the FPSC community, because his dll allows DBPRO commands to be called in the LUA script.
If you cant, or dont want to, i understand, but if you want to, heres the link to the plugin:"

Currently I don't plan to add more features to it. We'll see what happens after the official update.




@Candles Games
Quote: "Well did everything you said to do and when I start my game I get a black screen and have to ctrl alt delete to end the game?"

Odd. Does testing a level work?


Play Nice! Play Basic! -- Styx PlugIn- Coming Soon!
Gehngis Kahn
18
Years of Service
User Offline
Joined: 23rd Aug 2006
Location: Chicago, IL, USA
Posted: 28th Aug 2006 17:54
priceless info
Nue B
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: Indy
Posted: 28th Aug 2006 21:49
This sounds GREAT! I cant wait to try it in my games... I'm at work right now, but when I get home...

Nue B. or not Nue B. That is the question.
Nue B
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: Indy
Posted: 28th Aug 2006 22:26
Could you add a "plrfacing=x" condition; Wherein the statement is ture when the player is facing "X" North,South,East, or West? It would enable use to use HUD level maps and Radar.

Nue B. or not Nue B. That is the question.
Deathcow
FPSC Reloaded Backer
19
Years of Service
User Offline
Joined: 13th Nov 2005
Location: Right here!
Posted: 28th Aug 2006 23:41
I guess we can't ask to much of empty, because he's just given FPS Creator a new lease of life and added save and load. I think he's done a great job, keep up the work and thanks for what you've done so far.

www.combatjunkies.co.uk
Candle_
18
Years of Service
User Offline
Joined: 29th May 2006
Location: kindergarten
Posted: 28th Aug 2006 23:45
That was just a one level build game exe I tried. just comes up a black screen.

brummel
19
Years of Service
User Offline
Joined: 26th Nov 2005
Location: Sweden
Posted: 28th Aug 2006 23:47
Yes, thank you very much, and thanks for the allies too. Plr facing=x would be very useful though, but its your call so dont let us push you.

My site is now updated with info and a teaser about my game The Peacemakers. My blog is now ready and i have written my first contribution!

Check it out now!
BULLSHOCK 2
Retired Moderator
19
Years of Service
User Offline
Joined: 14th Jun 2005
Location: Shocking Bulls
Posted: 29th Aug 2006 01:15
Quote: "Currently I don't plan to add more features to it. We'll see what happens after the official update. "


thats what he said, lets respect that.


http://www.seqoiagames.com/seqoiacorp/
Candle_
18
Years of Service
User Offline
Joined: 29th May 2006
Location: kindergarten
Posted: 29th Aug 2006 01:24
I had a bad title file and thats what making the black screen.

Lycrius
18
Years of Service
User Offline
Joined: 11th Jul 2006
Location: Paltamo/Finland
Posted: 29th Aug 2006 08:29
I'll be testing this out as soon as I can. (Downloaded from schools comp to my USB)
Keep up the good work. If this works fine it'll be part of End of an Era. I'll come back with feedpack


Toni "Lycrius" Merivuori
Nue B
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: Indy
Posted: 29th Aug 2006 19:37
This Mod works GREAT! Thank You! If you make one for the 3dgm let me know, I'll buy 3dgm if I can at least use Save/Load in my games.

Nue B. or not Nue B. That is the question.
brummel
19
Years of Service
User Offline
Joined: 26th Nov 2005
Location: Sweden
Posted: 29th Aug 2006 20:27 Edited at: 29th Aug 2006 20:27
Why in the world would you want to buy the 3dgm?

My site is now updated with info and a teaser about my game The Peacemakers. My blog is now ready and i have written my first contribution!

Check it out now!
empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 29th Aug 2006 20:38
@All
Thanks for the feedback and comments. Much appreciated.



@BULLSHOCK 2
Quote: "Currently I don't plan to add more features to it. We'll see what happens after the official update. "
thats what he said, lets respect that."

Thanks for understanding. There might be a slight chance that I have time to implement things I wanted to in the first place, but I don't know it yet. So all feature requests have to wait.
And most of all we need to make sure that the current mod is bug free.



@Nue B
Quote: "If you make one for the 3dgm let me know"

That's not possible as the engine isn't open source.


Play Nice! Play Basic! -- Styx PlugIn- Coming Soon!
BULLSHOCK 2
Retired Moderator
19
Years of Service
User Offline
Joined: 14th Jun 2005
Location: Shocking Bulls
Posted: 29th Aug 2006 22:00
@empty

no problem

i tried to implement a few features into FPSC myself, but i found the code way too confusing for me. plus im one of those guys that compiles after every little change, so that didnt work out to well either. thats why i respect you for what youve done. youve had the patience to implement features, and then release it for free to the community.

you know what, a tutorial on how to add commands into the FPSC source would be greatly appreciated, because i know that the actions and conditions are in casses. Im Not necesarily saying you should do it, i understand your busy, but it would be appreciated if that could happen


http://www.seqoiagames.com/seqoiacorp/
empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 29th Aug 2006 22:17
Quote: "you know what, a tutorial on how to add commands into the FPSC source would be greatly appreciated"

Yes, that's certainly a good idea. However, I'll wait with that till some little issues regarding DBPro/FPSC source are solved by Lee (he said they'll be fixed soon) as currently you can't compile anything useful with any DBPro version out of the box.


Play Nice! Play Basic! -- Styx PlugIn- Coming Soon!
Airslide
20
Years of Service
User Offline
Joined: 18th Oct 2004
Location: California
Posted: 30th Aug 2006 03:11
Whoa, I don't check the fourms, and this happens?!

Looks & sounds like very, very good work Empty, I'm going to test it now.

Quote: "i tried to implement a few features into FPSC myself, but i found the code way too confusing for me. plus im one of those guys that compiles after every little change, so that didnt work out to well either"


Lol, same with me, I tried some of the same features empty has (kinda ironic) but couldn't get them to work, and never could find out why. Plus, it took me 2 hours to even try to get it to work, cause it takes so darn long to compile

Again, looks like alot of good work!

Johny English
18
Years of Service
User Offline
Joined: 16th Jul 2006
Location: Czech Republic
Posted: 30th Aug 2006 14:45
I dont understandt how can someone make video (as manual) tutorial?

SIXOFT - This is not just a game, this is a SIXOFT game.
Opposing force
19
Years of Service
User Offline
Joined: 10th Aug 2005
Location: England
Posted: 30th Aug 2006 15:44
Bless you empty. You are a saint and the messiah that we have all been waiting for. Your Ally demonstration works perfect on my computer with hardly any bugs.

visit http://teammegabasic.proboards59.com. Register and expand our community. Registration is free and only takes a minute.
empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 30th Aug 2006 16:41
Thanks!

In case I find the time to improve it further, there'll be more conditions and actions for teams/allies, and most probably some general enhancements of the script language.


Play Nice! Play Basic! -- Styx PlugIn- Coming Soon!
Airslide
20
Years of Service
User Offline
Joined: 18th Oct 2004
Location: California
Posted: 31st Aug 2006 05:17
Could you release the source code? There are some personal changes I'd like to make, and other people could also add what they want.

And how did you overcome the new FPSC bugs in version 6.2? The old version of the FPSC code or something else?

Nue B
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: Indy
Posted: 31st Aug 2006 21:23
Is it possible to disable other keys, like with the arrows? I want to disable the Shift key so the plr can't out run the zombie as much.

And is there a way to use different load screens for each level?

Nue B. or not Nue B. That is the question.
SpyDaniel
19
Years of Service
User Offline
Joined: 4th Feb 2006
Location: United Kingdom
Posted: 1st Sep 2006 01:11
Quote: "And is there a way to use different load screens for each level?"


Just select the level, click the edit button at the bottom which is kind of hiden and change your screen image for each level. This is done with the Stock fpsc exe.
Nue B
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: Indy
Posted: 1st Sep 2006 02:57
I'm not sure what you mean Higgins, but it's nice to know there is a way. I'll figure it out. Thanks.

Nue B. or not Nue B. That is the question.
SpyDaniel
19
Years of Service
User Offline
Joined: 4th Feb 2006
Location: United Kingdom
Posted: 2nd Sep 2006 13:08
When you add levels, click the level, then the edit loading screen button, change the image for that level.

Attachments

Login to view attachments
empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 2nd Sep 2006 18:54
Quote: "There might be a slight chance that I have time to implement things I wanted to in the first place, but I don't know it yet."

As it appears, I'll have a few hours this weekend, so I'll try to implement the stuff I wanted to anyways, as well as at least some of the requests I found here and in my inbox. Since a better Save & Load solution will be in the next official update, I'll focus on allies/teams and other tidbits. Hopefully it'll be possible for me to transfer those over to any new official updates once they're released.


Play Nice! Play Basic! -- Styx PlugIn- Coming Soon!
DoOmEd MaRiNe
19
Years of Service
User Offline
Joined: 22nd Apr 2006
Location: lying in my sweat,drying my tears
Posted: 2nd Sep 2006 22:49
nice work dude.
can't wait till FULL version is out not a beta.

stryker
Nue B
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: Indy
Posted: 3rd Sep 2006 05:31
Just wanted to let you in on some of the things I've been able to do with this new FPSC Modification. I've made a lot of cool scripts, But the two that I'm loving the most are my "keypad.fpi" and my "Objective.fpi" the keypad script unlocks a remote door when the correct code is entered! I love it! and the Objective script displays the level objectives when the letter "O" is pressed.
it also goes away after 5 seconds. Thanks A lot empty! If you'd like to see these scripts in action let me know and I'll email you a demo of my game. "Quarantined" It's a WIP but with your MOD, it's gonna give the Pro's a run for their money!

[email protected]

Nue B. or not Nue B. That is the question.
SpyDaniel
19
Years of Service
User Offline
Joined: 4th Feb 2006
Location: United Kingdom
Posted: 3rd Sep 2006 16:36
Nue B, would you mind e mailing me a demo video of the scripts in action, or better yet, post about them so every one can see?
xplosys
19
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 4th Sep 2006 17:02
Yes Nue B,

That sounds very interesting. Please post an example or short demo.

The forum provides a means to hide our true identity. Too bad we always screw up and let it be seen.

Screwed Over
18
Years of Service
User Offline
Joined: 9th Jul 2006
Location: nowhere and everywhere
Posted: 4th Sep 2006 20:10 Edited at: 4th Sep 2006 20:11
an idea for the save is that when u save it records the player position, that would be extremely useful in large level games


The Day will come when humanity ends.
Cyborg
18
Years of Service
User Offline
Joined: 24th Aug 2006
Location:
Posted: 4th Sep 2006 20:40
fps creator is so close to having professional games

Quoth the Cybog "Nevermore."

empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 4th Sep 2006 22:00
Well, this weekend hasn't been as productive as I wanted it to be, but I'll keep you informed of the progress this week.


@Nue B
Sounds good, I'd love to see it! Will send you an email.


Play Nice! Play Basic! -- Styx Plug-In for DBPro- Coming September 2006!
Opposing force
19
Years of Service
User Offline
Joined: 10th Aug 2005
Location: England
Posted: 4th Sep 2006 22:27
Saving a players position is easy but the game needs to write the players current position to a file .DAT for example. I have done it before in Dark Basic Professional.

visit http://teammegabasic.proboards59.com.
Talk about anyhting (gaming, game making, general chat)
empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 4th Sep 2006 22:43
Quote: "an idea for the save is that when u save it records the player position, that would be extremely useful in large level games"

That doesn't help a lot. In order to have a complete and free save system, you'd need to store states, positions etc of all entities. The problem isn't the saving itself, but to find out what variable/arrays/type field is responsible for what.
But since such a save system is planned for one of the next official updates, I don't need to bother about that.


Play Nice! Play Basic! -- Styx Plug-In for DBPro- Coming September 2006!
Opposing force
19
Years of Service
User Offline
Joined: 10th Aug 2005
Location: England
Posted: 4th Sep 2006 23:31


Thats some old code that I dug up ages ago. The player is an object but it could be changed for camera position. I assume the FPSC view is a camera if it isn't well what else could it be. There might be a way to include that in the FPSC source.

visit http://teammegabasic.proboards59.com.
Talk about anyhting (gaming, game making, general chat)
empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 4th Sep 2006 23:42
It'd be a bit odd to use 6 different files just to save the player's position, don't you think?
But anyway, the problem is that saving the player's position only doesn't help anything (as mentioned in my post above).


Play Nice! Play Basic! -- Styx Plug-In for DBPro- Coming September 2006!
bdgbdg
18
Years of Service
User Offline
Joined: 30th Jul 2006
Location:
Posted: 5th Sep 2006 01:46
You'll need to save the weapons you have, ammo, objectives completed and that...

Project FPS - started development.
Cyborg
18
Years of Service
User Offline
Joined: 24th Aug 2006
Location:
Posted: 5th Sep 2006 14:21
this thread says Save and load and other useful stuff


So what other useful stuff is there

Quoth the Cybog "Nevermore."

Butter fingers
19
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 5th Sep 2006 17:17
well if you'd read you'd see that Empty has also implemented ally support, specific entity targeting, new variables for each entity, annd a whole slew of other useful stuff.

And empty dude, I'm sorry you had an unproductive weekend. I was really excited to see what developments would come out after the weekend, but I guess you know.. you win some you lose some. Keep in touch about updates man. I'm actually not placing enemies in my levels at the moment while I wait and see what delights your gonna whip up in your dark basic kitchen!

Screwed Over
18
Years of Service
User Offline
Joined: 9th Jul 2006
Location: nowhere and everywhere
Posted: 5th Sep 2006 18:03
just a question, i can see that the entities can shoot at each other, but are they actually doing damage to each other???


The Day will come when humanity ends.
Butter fingers
19
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 5th Sep 2006 21:02
yes. if left alone they will kill each other.

Screwed Over
18
Years of Service
User Offline
Joined: 9th Jul 2006
Location: nowhere and everywhere
Posted: 5th Sep 2006 22:57
*runs around in circles like a crazy man after finding out enemys can kill each other*


The Day will come when humanity ends.
the ultimate gamer
18
Years of Service
User Offline
Joined: 30th Jul 2006
Location:
Posted: 6th Sep 2006 02:14
hey i love all of the features you added. Thanks alot!!! I can really use these! Just one question. I cant get the enemy to shoot at you allies. Can you provide me with the script?

hi

Login to post a reply

Server time is: 2025-05-16 04:57:17
Your offset time is: 2025-05-16 04:57:17