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 / Spider shooting Web

Author
Message
sps999
17
Years of Service
User Offline
Joined: 23rd Oct 2007
Location: On my Computer
Posted: 14th Nov 2008 23:06 Edited at: 14th Nov 2008 23:26
I'm using rofly's spiders as a boss in my game, and I want it so when you get so far away, it shoots a web at you, you freeze, and it would freeze you until 10 seconds pass. Also, I want it so an image of a spider web comes up, it's destination is Crogram FilesThe Game CreatorsFPS CreatorFilestexturebanktextures
and the file name is spiderweb.dds. This is very similiar to Bond1's Ice Wizard, but in the form of a spider. I don't really need the spider to shoot a web as a bullet, but it would be nice if that was possible. I would also like it so it shoots at random (Random 100.) Here is what I have so far (basic rofly spider script pretty much.) I need to know how to do this, I have all the ideas, but no idea how to compile it into a script, for I have not been on FPSC for months.



That's what I have for the Image (State 2) but the image I have doesn't show up, and I am clueless to how to freeze the player.

Thank you

Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 14th Nov 2008 23:42
Sounds like you could use some tutorials.

Go grab the official community guide and the HUD problem can be solved with the second tutorial you find in there.

For freezing the player, have you tried using "plrfreeze"?


The one and only,


Those who live in the past, are destined to insanity. Those who live only for the future, will be slaves to their ambitions.
Those who live in the moment... only they, are truly happy.
sps999
17
Years of Service
User Offline
Joined: 23rd Oct 2007
Location: On my Computer
Posted: 15th Nov 2008 00:24 Edited at: 15th Nov 2008 03:53
I'm still doing something wrong, now the spider won't even move.



Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 15th Nov 2008 08:04


Does this actually make sense to you?

I'd sure like to hear your thoughts behind coming up with that.


The one and only,


Those who live in the past, are destined to insanity. Those who live only for the future, will be slaves to their ambitions.
Those who live in the moment... only they, are truly happy.
CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 15th Nov 2008 15:22
Wow...ermmm...that's confusingly mixed up....lol

Leon Kennedy
16
Years of Service
User Offline
Joined: 7th Sep 2008
Location: Neither here nor there
Posted: 15th Nov 2008 16:16
Interesting how he moves to state 1 before he can execute the code to move to state 4. But, at least he's trying! Most people would just expect someone to come out here and give them the answer.
sps999
17
Years of Service
User Offline
Joined: 23rd Oct 2007
Location: On my Computer
Posted: 16th Nov 2008 00:04
I suppose I'll look at some scripting tutorials, it sounds like I need help with some basic stuff.

Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 16th Nov 2008 08:20
I apologize if my previous post was insulting to you (I just re-read it), I wasn't trying to be rude, really!

I think some tutorials will really help you out. Getting a feel for the sequence of your script is crucial.


The one and only,


Those who live in the past, are destined to insanity. Those who live only for the future, will be slaves to their ambitions.
Those who live in the moment... only they, are truly happy.
sps999
17
Years of Service
User Offline
Joined: 23rd Oct 2007
Location: On my Computer
Posted: 17th Nov 2008 01:56 Edited at: 17th Nov 2008 01:57
Ok, I've completed this script with satisfaction. It does everything in the beggining post, the spider web image is in attachment, put it in the textures folder (the one with all of the textures for rofly's spiders)(in .dds form) Here's the script:



Attachments

Login to view attachments
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 17th Nov 2008 07:04
Not bad!

Very interesting take on the spider.

I'm glad you were able to sort it out. Doesn't it feel so rewarding to complete something like this?


The one and only,


Those who live in the past, are destined to insanity. Those who live only for the future, will be slaves to their ambitions.
Those who live in the moment... only they, are truly happy.
The Fps Creator rocks!
16
Years of Service
User Offline
Joined: 24th Oct 2008
Location: Sneaking down your chimney.
Posted: 27th Nov 2008 13:40
Quote: "I'm glad you were able to sort it out. Doesn't it feel so rewarding to complete something like this?"

Yeah doesn't it feel rewarding to complete something like this?

The nVidia FX 5200 graphics card sucks!
sps999
17
Years of Service
User Offline
Joined: 23rd Oct 2007
Location: On my Computer
Posted: 28th Nov 2008 00:03
It feels a lot better than just getting the anwser.

The Fps Creator rocks!
16
Years of Service
User Offline
Joined: 24th Oct 2008
Location: Sneaking down your chimney.
Posted: 6th Feb 2009 17:43 Edited at: 6th Feb 2009 17:45
|
|
|
|
V

I am bad at making games
The Fps Creator rocks!
16
Years of Service
User Offline
Joined: 24th Oct 2008
Location: Sneaking down your chimney.
Posted: 6th Feb 2009 17:44
I completly SUCK at scripting!I always forgot the commands.

I am bad at making games
General Jackson
User Banned
Posted: 6th Feb 2009 18:18
I like the red eye of sauron pic. sps999. I LOVE TLOTR!

It is well that war is so terrible or we should grow too fond of it- Robert E Lee
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 6th Feb 2009 22:22
Wow, huge bump much?

Was this really necessary?


The one and only,


CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 8th Feb 2009 13:57
All that to tell us he sucks at making games?

"Give a man a fish, and he'll eat for a day. Give a man a fishing rod, and he'll break it up into firewood...or swap it for a fish."
-Frankie Boyle, on Mock the Week

Login to post a reply

Server time is: 2024-11-24 19:59:59
Your offset time is: 2024-11-24 19:59:59