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 / Step By Step Huds

Author
Message
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 10th Feb 2009 17:55
Hey everyone Has anyone got any methods of making step by step huds? Well aplying them really.... Iv already read Ben's thread on it but i need much more help because none of its working!!!!!!!
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 11th Feb 2009 02:52
What do you mean by "step by step" HUDs?

What are you wanting to have happen in the game?


The one and only,


Flatlander
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 11th Feb 2009 04:12 Edited at: 11th Feb 2009 04:16
I don't know what you mean either. However, I don't mind sharing a script I made in an educational game for 4 to 6 year olds. If you can glean anything out of this fine. If not that is fine also because I didn't make it just for an example of what I would call step by step huds.




Edit:

Ooops. Forgot code. It is included now.

The past has a lot of memories to hold onto; but, today is chock full of new adventures, and, the future shouts out, "The best is yet to come!" -- TerryC
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 11th Feb 2009 04:17 Edited at: 11th Feb 2009 04:18
Quote: ";Artificial Intelligence Script
;Header
desc = group_keys show hud
;Triggers

;End of Script"


Way too complicated for me! I can't figure out what it does

Best.

EDIT: Ok, now it it really is too complicated for me.

Flatlander
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 11th Feb 2009 04:31
Quote: "[quote];Artificial Intelligence Script
;Header
desc = group_keys show hud
;Triggers

;End of Script"
"


Way too complicated for me! I can't figure out what it does[/quote]

This is what happens when you use FPI EditPad. :ROFL:

The actual code is almost 100 lines long. It is placed in a trigger zone and is the main script. When the player is sent to a "destination" (dest1-6) then the destination entity has its own script which I consider as a subroutine of the main. I have found that thinking like a programmer does help in creating FPSC scripts.

This may not be what he means but what this does is shows one hud after another. The cue to hide one hud and show another is after the audio. Since this age group can't read, everything is done in audio. The huds are actually pictures (keyboard and individual keys and such) and not text. The timer is set to the length of the audio. You will also see a timer set to 250. I have noticed through experience that sometimes the engine goes too quickly and for some reason a line of code might not work. Especially the scancodekeypressed command.





__________________________________________________________
Make life a little easier and use FPI Editpad for your sctripting needs.
Now with Line Numbers. V3.3.8 is now available.

The past has a lot of memories to hold onto; but, today is chock full of new adventures, and, the future shouts out, "The best is yet to come!" -- TerryC
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 11th Feb 2009 08:28
Ye Im not a very advanced programmer....

I just need something where you go up to an entity and a hud appears.

Evolving from that i need some where you go up to the entity and a hud appears, you press enter and the next one appears, ect...

I need to be told step by step where to place the script, because i want to get everything working this time... And i say entity so it works for consoles and charactors, but i wouldnt mind if it could work in triggerzones
Flatlander
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 11th Feb 2009 16:08
OK, what you are wanting is somewhat similar to the code I posted. I understand that can be confusing and not very helpful. I just wanted to at least show you can do something quite simple but seemingly complex.

If Plystire or CE doesn't get to it first, I will post a couple of lines that will do this.

Also, read, read and read some more. If you don't have FPI EditPad download the installer, install it and then update it to 3.3.8. You can then click on the help option and read about the very basics of FPSC scripting. One of the best ways to learn is to look at other scripts and try to figure them out -- what they're doing.

The past has a lot of memories to hold onto; but, today is chock full of new adventures, and, the future shouts out, "The best is yet to come!" -- TerryC
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 11th Feb 2009 17:40
Hey thanks Iv downloaded it and now i gonna try to learn the language... It may take sometime
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 12th Feb 2009 01:06
Yes, do read the Scripting tutorials in the official community guide.

Here's what you do:
Download the Guide from the sticky on the FPSC Chat board.
Go to the tutorials.
Follow them along.
Open up Notepad or FPI EditPad and follow what the tutorials are doing, it really does help to see the script for yourself.

When you're done with the tutorial (ANY of them), play around with the script and change things just to see what it'll do. That's a great learning experience.


The one and only,


A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 12th Feb 2009 08:38
Hold on guys.... I just want to know how to make a hud apear with an objective not how to program or script.... Can anyone show me step by step where to place the script, who to give it to and generally give me step by step instructions... Theres got to be someone whos written a basic script....

Also does anyone know how to add a primary objective hud? Basically a hud that appears sometime in the level and then disapears and then a small picture saying primary which reminds you of the objective... Sort of like C&C Renegade but it doesnt need to show you where to go...
Dar13
16
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 12th Feb 2009 23:56
if you don't want to learn the easiest scripting language ever then how do you expect to make the gameplay of your game better? Are you going to ask us to make the scripts every time?

I know not with what weapons WWIII will be fought but WWIV will be fought with sticks and stones-Albert Einstein
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 13th Feb 2009 08:30
All i wanted is this script! I know it exixts! And iv just had to adapt a script, so I dont need it any more!!!!
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 13th Feb 2009 15:40
Quote: "iv just had to adapt a script, so I dont need it any more"


Hurray!! I'm so proud of you!


The one and only,


A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 13th Feb 2009 21:26
I know you can see my progress in scripting scince i started serious posting
Flatlander
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 13th Feb 2009 21:57
Quote: "Hurray!! I'm so proud of you!"


Me, too. Doesn't it feel good when you can eventually figure it out. Keep up the good work.

The past has a lot of memories to hold onto; but, today is chock full of new adventures, and, the future shouts out, "The best is yet to come!" -- TerryC
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 13th Feb 2009 22:12
Will do Your all so encouraging I get a gold star

Anyways there are several scripts im stuck on and this was one of the easiest
Dar13
16
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 13th Feb 2009 23:56
It's ok now that you've adapted it so you know your way around it. All i wanted was for you to try to learn the parts you needed to make the adaptations on your own.

I know not with what weapons WWIII will be fought but WWIV will be fought with sticks and stones-Albert Einstein
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 14th Feb 2009 09:03
I am slowly going to learn the script as i jerry rig it all
Crusader2
16
Years of Service
User Offline
Joined: 8th Aug 2008
Location: Somewhere...
Posted: 15th Feb 2009 16:09
Quote: "I am slowly going to learn the script as i jerry rig it all"


Use FPI Editpad; I just learned to script, but, after you get the syntax down, all that's left is to memorize the commands. And FPI Editpad has a sidebar that has all of the commands and conditions in it! Hooray for easyness!

Some people say that I'm crazy... And I agree.
USE PLY'S MOD!
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 15th Feb 2009 21:37
ye....

But iv found that i learn stuff better by trying to dicifer its meanings... This way i find it easier to meorise commands
General Jackson
User Banned
Posted: 16th Feb 2009 01:45
Trust me arenas, you'll be glad ya got fpi editpad if you do. ive learned almost all the commands already. its awesome. trust me, you want this.

It is well that war is so terrible or we should grow too fond of it- Robert E Lee
Dar13
16
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 16th Feb 2009 03:50
yeah and a little program called xplain put it in plain english for you. I don't know where it disappeared to but if you search i'm sure you'll find it.

...
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 16th Feb 2009 12:22
Iv already got the FPI script guys!!! I have looked at it but havent really used it much. I'll try to use it more often if it makes you guys happy .

And this post has gone off topic. I orriginally wanted to use the pop-up hud to show you a code to unlock the next level, but now i decided to incorperate it into the Game Complete hud. I recon this was the easiest way to do this anyways

So long story short there is now no need for this post , may as well leave it up, but we can change the subject now to.... What are useful scripts that people have made and are available for download...

E.G. Allies, Vehical driving, Deul Weapons, ect...
Dar13
16
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 16th Feb 2009 19:29
depends...are you using a mod?

...
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 17th Feb 2009 14:43
NO!!! NO MODS!!!!

(no mods will actually work. Iv had a lot of experiance with mods but i just cant seem to get the FPSC mods working! )
Dar13
16
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 17th Feb 2009 21:17
what's the problem? i've got the oldest computer ever(4-5 years old) and they're faster than the official updates.

...
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 18th Feb 2009 18:42
No its a memblock problem. I follow the instructions to a tee... WHATS WRONG WITH THEM!!!!
Dar13
16
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 18th Feb 2009 22:14
hmm...what have you tried so far?

...
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 19th Feb 2009 08:01
The mod iv is Plys mod.

I did the routine thing where you rename and replace the FPSC Game run thing. Then is shows Plys mod before crashing and showing memblock error.

If its any help im running it on vista with the Geforce 7800.
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 20th Feb 2009 14:34
In the readme, you'll see in the known bugs section that memblock errors are usually due to having the incorrect FPSC version necessary for the Mod to run. You need to install the Mod onto FPSC V1.07-V1.09


The one and only,


A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 20th Feb 2009 18:51
Ye but soon after i posted this post i realised that it needed to be bought I just had what i think was an upgrade!!
Dar13
16
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 21st Feb 2009 05:05
do you have the trial version?

...
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 21st Feb 2009 11:04
err...

no i didnt know there was a trial version. But shouldnt downloading the version 1.07 mean that i get the whole thing??

My error again!!

Runtime Error - Could not create memblock at link 10404
Dar13
16
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 21st Feb 2009 14:49
yeah you have the whole thing if you have v1.07. that error...gonna have to talk to Ply about that. usually the error is memblock at line 3000 to 9000 i think.

...
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 21st Feb 2009 15:59 Edited at: 21st Feb 2009 16:24
well im quite confused.... PLY... If you can hear me, Im calling for help!! Do I need to buy the mod or not??? Is the 1.07 thing on the forums the whole thing or not??

well iv changed the FPSC version from 1.07 to 1.09 and it works for longer until i get a different memblock error:

Runtime Error 5104 - Could not create memblock at line 4723

Hopefully someone knows a fix for this

This is the third edit

So i think iv got it working, is it ment to look the same as normal FPSC? But now it crashes at loading entitys.... WHATS WRONG!!!!
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 22nd Feb 2009 02:33
The last error you've mentioned is the typical error you see for an incompatible version of FPSC.

I need you to answer some questions for me to help you:
1) Did you buy FPSC?
2) Did you downgrade from a later version of FPSC? Or did you completely uninstall and then reinstall FPSC before upgrading to V1.07?
3) Where did you download Ply's Mod from?

Here is the answer key:
1) Yes
2) Uninstall and then reinstall before upgrading to V1.07-V1.09
3) From the Download section at http://www.plysmod.tk/

If your answers are different, then try again so that your answers match this time.


To answer your questions:
Yes, Mods are meant to look the same as normal FPSC, they simply add new features to it. No, you don't need to buy the mod, buying Ply's Mod will only remove the splash screen and title screen watermark. To be on the safe side, download V1.09 from the official FPSC website and use that before installing the Mod. I haven't heard anything about this before but if you haven't purchased FPSC then that may contribute to why the Mod isn't working.


For further assistance feel free to post about your problems on the Ply's Mod website that I've linked to above.


The one and only,


A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 22nd Feb 2009 09:13 Edited at: 22nd Feb 2009 09:36
Purchase FPSC, well thats a funny story. It is probably the cause. Im trying to get my money back as I bought the upgrade from TGC.

I downloaded an upgrade for my purchased FPSC. Then I lost the build game upgrade, cause I was like 11 when this happened, I thought the only fix was the build game upgrade. So I bought it and later found a fix, so Im asking for my money back, and I recon that may be a cause of the problem.

Right now Im going to go and reinstall FPSC and hopefully that will work. Thanx

OK, well this is a nother edit. This time I reinstalled it and now I dont get past the first error I get! Why ME!!!!

I reinstalled it again and I ran FPSC without any mods. I still get a game crash, so its not a problem with the mod
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 22nd Feb 2009 09:59
OKAY!!!! So sorry this is a doubble post but I dont like edditing a post more than three times!

Iv got the V1.07 working of PLY'S MOD, I can run agaime and build a level, I cant deul wield or have iron sights. This stuff comes with the mod right??? Please say that I dont need to script all of this!
Hockeykid
DBPro Tool Maker
17
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 22nd Feb 2009 16:37
Yeah but read the mod manual it explanes that you need to put something in the gunspec.txt of the gun and the in game take a weapon out and hold ctrl to dual it.

]

A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 22nd Feb 2009 19:15
K so iv got deul wield sorted but how do i do iron sights???
Dar13
16
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 23rd Feb 2009 03:04
it's all in the gunspec Arenas. you have to add the commands and values for the ironsights.

...
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 23rd Feb 2009 19:07
Tanx guys

Login to post a reply

Server time is: 2024-11-24 20:57:13
Your offset time is: 2024-11-24 20:57:13