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 / Conjured Body Armour (for the stock engine)

Author
Message
Conjured Entertainment
AGK Developer
18
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 18th Jan 2009 06:18 Edited at: 18th Jan 2009 06:41
Greetings fellow gamemakers,

Here is the Conjured Body Armour that I have been talking about since v1.09. (you need that or higher because these scripts use the variables)

I have included several HUDs in this ZIP, but they are only for examples and place holders.
I didn't bother getting fancy with the HUDs, because I wanted to spend more time scripting and figured you would want to make your own anyway.

There is no model for the pickup yet (Dar13 is working on one now), so you will have to use a temp entity for now for testing.

I have also included the Multiple Timer Script that I wrote for the stock engine (again v1.09 or higher) because this script uses one of the timers for the body armour.

So there are 3 scripts in total...the multiple timer script, the body armour script, and a script for picking up the item.
The files in the zip have been placed in the proper folder structure to work with FPSC, so extract the files accordingly.

Once you have extracted all of the fles (scripts & HUDs) to the proper folders, then here is how you set it up...

1) Place three (3) batteries in your map. ( entities>scifi>items>battery )

2) Edit the first battery's properties to reflect the following changes...
    a) Set its AI MAIN to bodyarmour.fpi ( Files>scriptbank>conjured>bodyarmour.fpi )
    b) Set the ALWAYS ACTIVE? to YES
    c) Change its name to bodyarmour (one word all lowercase)

3) Edit the second battery's properties to reflect the following changes...
    a) Set its AI MAIN to maintimer.fpi ( Files>scriptbank>conjured>maintimer.fpi )
    b) Set the ALWAYS ACTIVE? to YES

4) Edit the third battery's properties to reflect the following changes...
    a) Set its AI MAIN to bodyarmourpickup.fpi ( Files>scriptbank>conjured>bodyarmourpickup.fpi )

Now run the test and you should be able to pick up the third battery just like a body armour.
Don't forget to place a few enemies and give yourself a gun & some ammo, so you can test the health losses.

You can toggle the armour on and off using the 'm' key. (I should change this to 'b' maybe?)
Your armour will run out after a given amount of time.
The time will pass faster when it is on.
You can tell when the armour is on or off by the amount of health you have. (500 health means its on and anything less means its off)
The HUD is displayed while on or off until the time runs completely out. (so you can still see how much you have left)

Have Fun!

If I forgot anything, just let me know and I'll correct it.

Attachments

Login to view attachments
Flatlander
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 18th Jan 2009 07:27 Edited at: 18th Jan 2009 07:29
Excellent CE. Stellar work.

Here is my map of the test. Worked very, very well.




I used the blood splats for the bodyarmour.fpi and maintimer.fpi. I have two sword sets from the store created by Rosstradamus, so I used one of the shields as the pick up armour. I'll get some screen shots up as well. CE will probably have a video eventually.

Dar13, looking forward to your armour model. Thanks in advance.

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
Flatlander
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 18th Jan 2009 07:49 Edited at: 18th Jan 2009 07:50
The next 4 screen shots shows the pickup hud and the three health huds showing how the protective armour is deteriorating. Real cool.











__________________________________________________________
Make life a little easier and use FPI Editpad for your sctripting needs.
Now with Line Numbers in version 3.3.0.

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
Conjured Entertainment
AGK Developer
18
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 18th Jan 2009 08:16
Quote: "Excellent CE. Stellar work. "

Thanks, but there are still some things I want to tweak, like adding more HUDs and stages of decay.

Quote: "The next 4 screen shots shows the pickup hud and the three health huds showing how the protective armour is deteriorating. Real cool."

The effect is kinda cool and will be better with more levels of decay.
Please, keep in mind that those crappy HUDs were only place holders to test the functionality of the effect. (they are only examples)

Quote: "I used the blood splats for the bodyarmour.fpi and maintimer.fpi. I have two sword sets from the store created by Rosstradamus, so I used one of the shields as the pick up armour."

I used to use those blood-splats all the time for script holders. (they blend in any shooter scene)
Just recently I have been using these batteries alot, but yea the blood splats are much better.
Wonderful idea of using the shield as a pick up. (matching HUDs would set that off)
The temporary Huds kinda resemble the shape of a shield but the 007 styled body armour is what I had in mind for the final HUDs.

Anyway, glad you like it, and I'm going to bed now. (2:14 am here)

Good Night and Have Fun!

Thraxas
Retired Moderator
18
Years of Service
User Offline
Joined: 8th Feb 2006
Location: The Avenging Axe, Turai
Posted: 18th Jan 2009 10:47
This is excellent CE, you are a

Veron
17
Years of Service
User Offline
Joined: 22nd Nov 2006
Location:
Posted: 18th Jan 2009 10:51
You know, this might just make me reinstall FPSC...

Flatlander
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 18th Jan 2009 15:58 Edited at: 18th Jan 2009 16:00
CE, you are a perfectionist. I actually am too but I have learned taking it too far mentally can be frustrating. It took me 55 years to learn that. Anyway, I was mainly referring to the scripts.

Graphics can always be improved but these are quite adequate and it does show how the script is doing its job.

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
Conjured Entertainment
AGK Developer
18
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 18th Jan 2009 16:28 Edited at: 18th Jan 2009 16:35
Quote: "This is excellent CE, you are a star"

Thanks
I guess I am going to have to build another game eventually if I ever want to get a BOTB Badge.

Quote: "You know, this might just make me reinstall FPSC..."

Shame on you Vernon for uninstalling FPSC in the first place.

Quote: "Graphics can always be improved but these are quite adequate and it does show how the script is doing its job."

Yup, I figured everyone will make their own custom HUDs anyway, and all these were just place holders as I said before.

Thanks for the kind comments people, and I'm glad you like it so far.
I'll try to improve on this later when I have more time.
Right now I have 300 words to write in a discussion forum at school. (and reply to three other posts + homework) grrr
I should have taken that break from school like I wanted to this quarter, but oh well I have to suck it up now.
Anyway the class is about project management, so maybe I can learn a few tricks that can make me more productive later on.

I'll be back this evening sometime, so until then..

Have Fun!

Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 18th Jan 2009 21:02
Nice work, CE! It's a real pain dealing with increment checks, but you did a good job handling them.

Kudos!


The one and only,


Dar13
15
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 18th Jan 2009 22:04
CE I've finished the pickup model. It's here. Any suggestions will be welcome.

I know not with what weapons WWIII will be fought but WWIV will be fought with sticks and stones-Albert Einstein
Cheese Cake
17
Years of Service
User Offline
Joined: 11th Dec 2006
Location: At the bakery
Posted: 18th Jan 2009 22:22
Very nice man!
Thanks for this.. will check it out soon

Cosmic Prophet
16
Years of Service
User Offline
Joined: 17th Mar 2008
Location: The Cosmos
Posted: 19th Jan 2009 00:56
Awesome! A much needed addition to FPSC. Thanks Conjured. Once again, bringing us closer to the ultimate FPS experience.

In the Universe, nothing ever stays the same.
darimc
17
Years of Service
User Offline
Joined: 19th Jan 2007
Location: Canada
Posted: 19th Jan 2009 01:06
I made a bullet proof vest for this. Click Here.

Conjured Entertainment
AGK Developer
18
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 19th Jan 2009 01:42 Edited at: 19th Jan 2009 01:47
Quote: "Nice work, CE! It's a real pain dealing with increment checks, but you did a good job handling them."

WOW!
I got a compliment from Plystire. *checks the sky for other signs of snow*

Quote: "CE I've finished the pickup model. It's here. Any suggestions will be welcome."

Thanks! It looks nice.
The only thiing I can think of for improvements might be in the UV mapping.
It looks a heck of a lot better than a battery though, so many thanks.

Quote: "Very nice man!
Thanks for this.. will check it out soon"

It ain't easy being cheesey.

Quote: "Awesome! A much needed addition to FPSC. Thanks Conjured. Once again, bringing us closer to the ultimate FPS experience."

Where's your vest for this?

Quote: "I made a bullet proof vest for this."

Wow, two already.
Thanks!
I love seeing the diversity of the modelers here at the forums, so keep 'em coming. (I still need to make my version of a vest )

Thanks again guys for all the kind words and support.

Cosmic Prophet
16
Years of Service
User Offline
Joined: 17th Mar 2008
Location: The Cosmos
Posted: 19th Jan 2009 07:49
Already done, my friend.

Get it here!

http://forum.thegamecreators.com/?m=forum_view&t=143677&b=24

In the Universe, nothing ever stays the same.
Conjured Entertainment
AGK Developer
18
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 20th Jan 2009 03:40 Edited at: 20th Jan 2009 04:11
Thanks Comic Prophet, and everyone else who has made a vest.
Thanks in advance to anyone else who wants to make one too.

Here's my vest... (you guys do know I want in on the modeling fun too right?)

If you want it to glow then add this line to the bodyarmourpickup.fpi...

:state=1:rundecal=5,spinrate=4,floatrate=10

...otherwise, it just sits there.




Attachments

Login to view attachments
Red Eye
15
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 20th Jan 2009 15:34
wow this is so freaking great wowowowowwow, nice man really like it


Red Eye - The Game: Work In Progress - W.I.P.
Flatlander
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 20th Jan 2009 21:12
I like having different entities that represent a similar genre. I have them all downloaded, and, I will probably use them all at one time or another.

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
James Kravenwolf
15
Years of Service
User Offline
Joined: 22nd Nov 2008
Location: Ohio
Posted: 21st Jan 2009 12:28
excellent work, man. Very high possibilities!

-Kravenwolf
Buraktrtr
15
Years of Service
User Offline
Joined: 25th Jan 2009
Location:
Posted: 25th Jan 2009 19:38
Ehhm guys Where is the bodyarmor script?

FPSC User
Buraktrtr
15
Years of Service
User Offline
Joined: 25th Jan 2009
Location:
Posted: 25th Jan 2009 19:39
Where is the script guys?

FPSC User
Conjured Entertainment
AGK Developer
18
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 30th Jan 2009 20:49 Edited at: 30th Jan 2009 21:09
Quote: "Ehhm guys Where is the bodyarmor script?"

Quote: "Where is the script guys?"


They are zipped in the file that is offered as a download in the first post of this thread.



The Download button is in the lower right hand corner of the post.
Please, follow the instructions given in the first post to test the body armour.
If you do not understand the instructions, then please read the manual and guide included with FPSC in the Docs folder.

Welcome to the forums.

Login to post a reply

Server time is: 2024-04-23 09:29:25
Your offset time is: 2024-04-23 09:29:25