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 / My Animated Menu: [-Script Included-]

Author
Message
Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 22nd Dec 2008 18:35 Edited at: 24th Dec 2008 12:46
I was the last days, really, really busy on "how to make a animated menu?". And here is my result:

You can change:

-The Frames Pictures. [I use .png (don't ask me why!) you can just use others as well, I'm not sure but I think so]
-How Many Frames. [I use for my self 130 frames.]
-The Code !Important!: [timergreater=]
-So basicaly you can change everything, if you know a little bit how to script.


This script isn't a loop [So it stops if there aren't any frames/huds to show].
If you want that: Go to www.dark-hazard.de.tc under Downloads and than go to the section Tutorials and click Animierter Hintergrund.

How to install:

1.Build Your Game
2.After that, you have to change your "normal" titlepage.fpi in to the Animated one. [you can find this "normal" titlepage.fpi under fileslanguagebank[your language]gamebankmygame]
3.It should work.
4.Don't forget to put your buttons, and all of your frames also in the files folder.[Of your builded game.]

If you have any questions. Just Ask!

Animated Menu Non-Looping Made By Red Eye:



Looping Animated Menu Made By Plystire:

!!!Thanks Plystire!!!



PS: Feedback/Comments Is Always Nice!!!

License:

-You can use it in comercial and non-comercial projects!
-Be kind to put me in the Credits.
[EDIT] And If you use The Looping Animated Menu: Don't forget to put Plystire in the Credits!


Red Eye - The Game: Work In Progress - W.I.P.
Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 22nd Dec 2008 20:39
Maybe some feedback or any comments: Anything so I can improve it?


Red Eye - The Game: Work In Progress - W.I.P.
Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 22nd Dec 2008 20:58
...this looks really nice, Red Eye! I'm glad to see that you got it functioning properly.

C & C

Your present script is linear, and the animations come to an end.

Quote: "Anything so I can improve it?"


Perhaps you could create a version that loops, for folks who might benefit from it.


Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 22nd Dec 2008 21:19
Quote: "This script isn't a loop [So it stops if there aren't any frames/huds to show].
If you want that: Go to www.dark-hazard.de.tc under Downloads and than go to the section Tutorials and click Animierter Hintergrund.
"


I could do it.

Maybe later. I'm a busy at the moment.


Red Eye - The Game: Work In Progress - W.I.P.
Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 22nd Dec 2008 21:23
...personally, I have no use for it, but I am sure that many folks, who don't understand the german lanuage, would benefit from it...


Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 22nd Dec 2008 22:11 Edited at: 22nd Dec 2008 22:12
Ok i will think about it


beacuse I just made this, because i need it for my game: and thought maybe other would like it: that's all

but i will think about it


Red Eye - The Game: Work In Progress - W.I.P.
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 23rd Dec 2008 03:14 Edited at: 23rd Dec 2008 03:19
Quote: "Maybe some feedback or any comments: Anything so I can improve it?"


I noticed something.

Look at this...
Quote: ":state=1,timergreater=100:backdrop=gamecore/backdrops/Red Eye/frame0001.png,state=2"


and then look at this...
Quote: ":state=129,timergreater=12900:backdrop=gamecore/backdrops/Red Eye/frame0130.png,state=130"


Notice anything???

It starts out matching the state and animation frame but ends up not matching.
Must have skipped one.

Yup...
Quote: "

:state=20,timergreater=2000:backdrop=gamecore/backdrops/Red Eye/frame0020.png,state=21
:state=21,timergreater=2100:backdrop=gamecore/backdrops/Red Eye/frame0022.png,state=22


"


You skipped animation frame #0021

Was that intentional or have I discovered a boo-boo?


Don't forget to visit Conjured Entertainment
Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 23rd Dec 2008 12:51 Edited at: 23rd Dec 2008 12:53
really reallyy thanks:

(you discovered a boo-boo)

gonna change right now

grab a beer:



Red Eye - The Game: Work In Progress - W.I.P.
Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 23rd Dec 2008 16:28
I edited the code on the first post


Red Eye - The Game: Work In Progress - W.I.P.
dumpus
16
Years of Service
User Offline
Joined: 1st Jan 2008
Location: Canada, eh?
Posted: 23rd Dec 2008 18:59
Very nice work. I just may use this...

Thanks!

*This post will self-destruct in 10 seconds.*
Nomad Soul
Moderator
17
Years of Service
User Offline
Joined: 9th Jan 2007
Location: United Kingdom
Posted: 23rd Dec 2008 19:17
Can you put a video up or something? Whats supposed to happen?

Also a looping script would be more useful I think.
Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 23rd Dec 2008 20:31
Quote: "Very nice work. I just may use this...

Thanks!"


No Thanks

Quote: "Can you put a video up or something? Whats supposed to happen?"


I makes a animated Menu. Using Frames.

Quote: "Also a looping script would be more useful I think."


For you maybe. Not for me!


Red Eye - The Game: Work In Progress - W.I.P.
Bibo4PC
16
Years of Service
User Offline
Joined: 17th Oct 2008
Location: Middle Earth
Posted: 23rd Dec 2008 23:19
great work

but can it be modified to loop?
If I go back to state0 after state131 will it work?

also does the animation has to finish before I press new game or any other button?

TY
Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 23rd Dec 2008 23:43 Edited at: 24th Dec 2008 11:37
Quote: "great work "


Thanks


Quote: "but can it be modified to loop?"


It could, but it wasn't my intention!

You are free to change the code.


Quote: "If I go back to state0 after state131 will it work?"


Gonna test that now!

Result: No, The Menu stays and the animation is looping, but you can't click new game, load game, or exit game. See end of post!

Quote: "also does the animation has to finish before I press new game or any other button?"


Yes that was my intention. But you can change the code.

[EDIT]
look at Plystire post!!!!!!


Bye,

Red Eye Productions


Red Eye - The Game: Work In Progress - W.I.P.
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 24th Dec 2008 09:16
Here's a loop version of the script. You said you were very busy, so I decided to help you out in return for contributing to the community with this.

(Haven't tested, don't really have all the necessary media, lol, let me know how it goes. )




The one and only,


Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 24th Dec 2008 11:24 Edited at: 24th Dec 2008 11:35
gonna try now


[EDIT]

Result:

IT WORKS!!!!!!!!!!!!!!!!!! GREAT WORK, Plystire. Thanks, Thanks, Thanks.

But than it should look like this:


------------------------------------------------------
Just one thing, my mouse is doing strange when I move it, it lets a trace for 100 ms. I don't know why he does that. Gonna look at it, I let you know.


Red Eye - The Game: Work In Progress - W.I.P.
Disturbing 13
19
Years of Service
User Offline
Joined: 12th Apr 2005
Location: Murder Capital of the World
Posted: 24th Dec 2008 11:49 Edited at: 24th Dec 2008 12:01
Lets say you were useing a custom head health in your game; could something like this be used to cycle between 3 frames for each of the 10 levels of health? For example in the old doom and quake games where he would be breathing but getting bloodier with each level of health lost. Any help would be great.

EDIT: I just saw a different post where someone was somehow looping a hud and saw this comment by Conjured-
Quote: "Your looping the state that creates the HUDs. (that's a no-no)"

So should I just give up on wanting this or is it possible in a different way?

Don't just say No it can't be done. Think outside the box.
Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 24th Dec 2008 12:36
This is a little off-topic:

but do you mean this:

health is 100 no hud
health is beneeth 50 but above 10 hudshow
health beneeth 10 hudshow=something

this is just a theory


Red Eye - The Game: Work In Progress - W.I.P.
Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 24th Dec 2008 12:42
Plystire I put the script you post here, on the first post, look.

Should I removed it or is it cool so?


Red Eye - The Game: Work In Progress - W.I.P.
Disturbing 13
19
Years of Service
User Offline
Joined: 12th Apr 2005
Location: Murder Capital of the World
Posted: 24th Dec 2008 14:05
acutally no, what I mean is if the health is 100 there is a face of the character with 3 frames of breathing animation constantly going, then when you have 90 health hes still breathing but looks a bit more damaged, and so on. I just figured since you got an animated menu going that this may be the key to animated hud objects as well.

Don't just say No it can't be done. Think outside the box.
Avid
17
Years of Service
User Offline
Joined: 24th Jun 2007
Location:
Posted: 24th Dec 2008 14:44
There's already a feature for that built into the game.

I actually made a halo style HUD which you can download here, which works on the same principle:

https://forumfiles.thegamecreators.com/download/1304858

Visit my site http://www.fpsmodels.com for models and media for fps creator.
Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 24th Dec 2008 17:19
Nice Avid! Really Nice.!!

@ Disturbing 13 Yes Sure it can be done. I think I am gonna make one. Just thinking about a good methode. But sure!!


Red Eye - The Game: Work In Progress - W.I.P.
Disturbing 13
19
Years of Service
User Offline
Joined: 12th Apr 2005
Location: Murder Capital of the World
Posted: 24th Dec 2008 17:58
@Avid- i know a basic one can be done, I've done it for quite some time . I'm looking for each level to be animated. Play an old quake or doom game to see what im talking about.
@Red Eye-Thanks for looking into it, i can understand and change the functions of some scripts but I just cant seem to wrap my head around scripting from scratch. Cheers and thanks from all of the nonscripters!

Don't just say No it can't be done. Think outside the box.
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 24th Dec 2008 22:20
Yep, that's okay to put it in the first post, I'm sure it'll be easier to find that way.

I think for your breathing head, it would be good to design it so that it reverses the animation once it's reached the end, so with 3 frames, it would be like:
1, 2, 3, 2, 1, 2, 3, etc.

I know with only 3 frames you'd really only be saving yourself one picture, but for larger animations, it would start to save a lot more.


The one and only,


Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 24th Dec 2008 22:53
Thanks Plystire


And about the breathing head : I think Plystire's methode is very good.


Red Eye - The Game: Work In Progress - W.I.P.
2 Rogues
15
Years of Service
User Offline
Joined: 26th Dec 2008
Location:
Posted: 26th Dec 2008 21:05
Hoooly Shoot! Awesome!!!!!!

Rogue
Nickydude
Retired Moderator
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Look outside...
Posted: 27th Dec 2008 00:03
Could I include this in the Guide guys?

Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 27th Dec 2008 05:00
Well, it's up here for the community anyway, so I think making it more accessible for everyone would be okay. But I'm not sure... he did use a tutorial from another website. Perhaps giving credit to where it originated?


The one and only,


Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 28th Dec 2008 12:52 Edited at: 28th Dec 2008 12:53
Quote: "Could I include this in the Guide guys?"


sure you can, i would love to, I am honored


Red Eye - The Game: Work In Progress - W.I.P.
Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 28th Dec 2008 12:53
Quote: "Hoooly Shoot! Awesome!!!!!!"


Thanks MAn


Red Eye - The Game: Work In Progress - W.I.P.
Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 28th Dec 2008 12:55 Edited at: 28th Dec 2008 13:01
Quote: "he did use a tutorial from another website"


if you are talking about me? no i made it by myself, and your help and the help from the comunnity,


The website were I did research was www.dark-hazard.de.tc but the script from that website, is not similar to my script.


Red Eye - The Game: Work In Progress - W.I.P.
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 29th Dec 2008 02:04
Quote: "The website were I did research was www.dark-hazard.de.tc but the script from that website, is not similar to my script."


Oh! Okay, no problems then!


The one and only,



Click Me, Please!

Login to post a reply

Server time is: 2024-11-24 17:05:15
Your offset time is: 2024-11-24 17:05:15