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 / Weapon free zone?

Author
Message
MiRRoRMaN 64
20
Years of Service
User Offline
Joined: 11th Jan 2004
Location:
Posted: 16th Dec 2006 00:33
Hallo thar every1,

Would it be possible to make a zone, like for example a bar, where people can't shoot?

Specially for network games this would be fun.

Kthnxbi


amigacam.net.tc
Swhale aka The FPS Creator
20
Years of Service
User Offline
Joined: 22nd Oct 2004
Location: My computer chair, no zip code sorry
Posted: 16th Dec 2006 19:27
I seem to remember hearing of a code that would strip the player of his weapons quite a bit ago... weather or not you could do this in multiplayer or not I could not tell you. Also, getting the weapons back to the players in a proper manner would be the difficult part, unless you could play that into the mode or whatnot. Maybe once you enter that bar theres something special you can get inside, like health boosts or whatnot, but you have to trade off all your guns? Search the forums and you may find the aformentioned script, good luck, and great idea!

Your signature has been erased by a mod because it's larger than 600x120
MiRRoRMaN 64
20
Years of Service
User Offline
Joined: 11th Jan 2004
Location:
Posted: 17th Dec 2006 18:40
Hey Swhale!

The powerups is indeed a great alternative, I'll look into it a little more. Other suggestions also still welcome but I love the health boosters idea.

Thnx!


amigacam.net.tc
Les Horribres
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: My Name is... Merry
Posted: 18th Dec 2006 19:01
have a perfectly formed cylinder surround the player, and follow him. then the player can't shoot OUTSIDE of the cylinder.

If you fear speaking for yourself, make use the words of others while discovering your own voice.
Swhale aka The FPS Creator
20
Years of Service
User Offline
Joined: 22nd Oct 2004
Location: My computer chair, no zip code sorry
Posted: 18th Dec 2006 22:07
Then he would not be able to interact with things around him...unless well, no, it wouldn't work because you couldnt walk up to objects without the cylinder bumping into them and preventing you from picking up any objects. I do understand your theory of the 'walls' surrounding the player though. HEY!!! Maybe there is a command you can use to make everyone invincable or with tons of health while inside said area, or for a limited amount of time, then when they exit they are restored to their lower health. Then even if they shoot someone else in the area it wouldn't hurt them. But...that doesn't help with the idea yo uwanted for a bar that takes away weapons...

Your signature has been erased by a mod because it's larger than 600x120
MiRRoRMaN 64
20
Years of Service
User Offline
Joined: 11th Jan 2004
Location:
Posted: 19th Dec 2006 10:15
You guys are brilliant, of course, a HEALING zone. I could also implement that in the game itself, have it as like one of the only healing areas.

I bet I could raise these up to 200 or something, having the player stick to like 200 health. I'd have to look in to it, but thank you guys.

You rock!

Have a coffee on me


amigacam.net.tc
Candle_
18
Years of Service
User Offline
Joined: 29th May 2006
Location: kindergarten
Posted: 19th Dec 2006 14:13
:state=0,plrdistwithin=60: state=1,plraddhealth=500

Swhale aka The FPS Creator
20
Years of Service
User Offline
Joined: 22nd Oct 2004
Location: My computer chair, no zip code sorry
Posted: 19th Dec 2006 17:19
keeping in mind that multiplayer does not have dynamic entities...you might be waiting a while b4 implementing those ideas. sorry I didn't think of that b4...

Your signature has been erased by a mod because it's larger than 600x120
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 19th Dec 2006 18:52
Ok, this is what I was able to come up with. Not perfect, but I still can't find a way to block weapons completely.

The door to the bar will not open until you holster your weapon (press 0). If you try to bring a weapon out while in the bar (pressing any weapon number), you will get tossed out and find yourself outside again with the door locked until you holster your weapon.

It's not finished or fool proof, but it can be done. If you want I'll post everything but it will take a little while to get it all together.

See attached video.

I'm sorry, my answers are limited. You must ask the right question.

Attachments

Login to view attachments
Swhale aka The FPS Creator
20
Years of Service
User Offline
Joined: 22nd Oct 2004
Location: My computer chair, no zip code sorry
Posted: 19th Dec 2006 20:04
Thanks buddy.

Your signature has been erased by a mod because it's larger than 600x120
Swhale aka The FPS Creator
20
Years of Service
User Offline
Joined: 22nd Oct 2004
Location: My computer chair, no zip code sorry
Posted: 19th Dec 2006 20:09
Cannot be used in multiplayer, but still...props.

Your signature has been erased by a mod because it's larger than 600x120
MiRRoRMaN 64
20
Years of Service
User Offline
Joined: 11th Jan 2004
Location:
Posted: 20th Dec 2006 02:38
xplosys I like the idea of that! How did you manage to do that? Do you have an example script for this?


amigacam.net.tc
Swhale aka The FPS Creator
20
Years of Service
User Offline
Joined: 22nd Oct 2004
Location: My computer chair, no zip code sorry
Posted: 20th Dec 2006 03:08
when any button that is used to switch weapons is hit, it triggers a teleporting of the person back to spot 'x'. if xplosys doesn't post the script, i'd be willing to do it for you.

Your signature has been erased by a mod because it's larger than 600x120
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 20th Dec 2006 13:49
For some reason, a zone seems to work in test mode but not in a built game. The bar was a zone in which if you pressed a weapon key (1-9), you get moved (plrmoveto) any dynamic entity outside the bar. However it appaears that a zone is not going to work properly and we will have to find a different way to go about it.

Best.

I'm sorry, my answers are limited. You must ask the right question.

Swhale aka The FPS Creator
20
Years of Service
User Offline
Joined: 22nd Oct 2004
Location: My computer chair, no zip code sorry
Posted: 20th Dec 2006 17:42
Remember you can also scroll to change weapons, can't you?

Your signature has been erased by a mod because it's larger than 600x120
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 20th Dec 2006 17:52
True... right back where we started. lol

I'm sorry, my answers are limited. You must ask the right question.

Swhale aka The FPS Creator
20
Years of Service
User Offline
Joined: 22nd Oct 2004
Location: My computer chair, no zip code sorry
Posted: 20th Dec 2006 18:16
Well, is there a way to include with the command to run the animation to swap weapons, an activate code which would teleport the player out once triggered?

Your signature has been erased by a mod because it's larger than 600x120
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 20th Dec 2006 18:20
Quote: "the command to run the animation to swap weapons"


I thought (could be wrong, I don't know much about weapons in FPSC) that it was in the source.

I'm sorry, my answers are limited. You must ask the right question.

Swhale aka The FPS Creator
20
Years of Service
User Offline
Joined: 22nd Oct 2004
Location: My computer chair, no zip code sorry
Posted: 20th Dec 2006 18:34
Yup...I thought it was like characters...hmmm brain tumbler.

Your signature has been erased by a mod because it's larger than 600x120
MiRRoRMaN 64
20
Years of Service
User Offline
Joined: 11th Jan 2004
Location:
Posted: 20th Dec 2006 21:26
"when any button that is used to switch weapons is hit, it triggers a teleporting of the person back to spot 'x'. if xplosys doesn't post the script, i'd be willing to do it for you."

Yes please!

You guys rock for helping me out here, it will pretty much define a large part of the game I wanna build. So thank you thank you thank you and merry christmas for soon!


amigacam.net.tc
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 20th Dec 2006 22:00 Edited at: 20th Dec 2006 22:02
As stated above, there are two issues with the script.

1. The zone only works in test mode, not built game and
2. The player can still use the scroll button to change weapons.



Not much help, but we tried.[

I'm sorry, my answers are limited. You must ask the right question.

Les Horribres
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: My Name is... Merry
Posted: 21st Dec 2006 05:59
Quote: "Then he would not be able to interact with things around him...unless well, no, it wouldn't work because you couldnt walk up to objects without the cylinder bumping into them and preventing you from picking up any objects. I do understand your theory of the 'walls' surrounding the player though."


No, the cylinder doesn't prohibit the player from moving around... it would just pass though walls...

Personally, if COLOFF stops bullets (and dynamic enititys) then this is your best solution.

If you fear speaking for yourself, make use the words of others while discovering your own voice.
Swhale aka The FPS Creator
20
Years of Service
User Offline
Joined: 22nd Oct 2004
Location: My computer chair, no zip code sorry
Posted: 21st Dec 2006 08:29
Well, if it can stop bullets from passing from in to out, cant it inhibit items from passing from outside, to in, up next to the player?

Your signature has been erased by a mod because it's larger than 600x120
MiRRoRMaN 64
20
Years of Service
User Offline
Joined: 11th Jan 2004
Location:
Posted: 21st Dec 2006 13:23
xplosys thanks anyway dude! I mean you really gave it a good try you guys even put a video up to show it, it looked excellent. So thank you for that.

COLOFF btw would that be like a "collission off" command?

Also, could I make a healing zone of the bar so that the energy just sort of sticks on 200? Because that would also be a great solution, it would have to work in multiplayer of course.

The reason I want a bar like that is so that you can just hang out there and chat with eachother as well in the game.


amigacam.net.tc
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 21st Dec 2006 15:27
@MiRRoRMaN 64

Check my website and you will find a script for "Invincible mode - Maintain full health all the time".

As for COLOFF, it has been my understanding that since the bullets are not real, this would have no effect, except on player interaction with actual objects. I'm not sure, but you could certainly test that theory if you want.

Best.

I'm sorry, my answers are limited. You must ask the right question.

MiRRoRMaN 64
20
Years of Service
User Offline
Joined: 11th Jan 2004
Location:
Posted: 21st Dec 2006 20:08
xplosys so if I get this right it would be a dymanic light switch and when you press it you are invincible?

But couldn't the players then leave the bar still being invincible? Or could I make like a door switch on the exit or something simular that then turns invincibity off again?


amigacam.net.tc
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 21st Dec 2006 20:29
I guess you could use a switch, but I would think that a zone in the bar would work better. Whenever you are in the zone, you are invincible.

I'm sorry, my answers are limited. You must ask the right question.

MiRRoRMaN 64
20
Years of Service
User Offline
Joined: 11th Jan 2004
Location:
Posted: 22nd Dec 2006 10:33
So you could just use the invincibility script for the zone?


amigacam.net.tc

Login to post a reply

Server time is: 2024-11-23 07:20:47
Your offset time is: 2024-11-23 07:20:47