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 / Valve's Portal done in FPSC! - REALLY!

Author
Message
Cheezermega
18
Years of Service
User Offline
Joined: 22nd Aug 2005
Location: U.S.A
Posted: 12th Dec 2007 04:35
It would be quite pimpin if this works properly, maybe not to use like portal, but as a side weapon in a multiplayer match or still even a single player game.

"We Have Desided to let you run free, But at a price we have taken your legs."
CoffeeGrunt
16
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 14th Dec 2007 20:41
Quote: "Oh and McSteamy, I don't see why you are wanting to put so much effort into making a game that has been done already.
"


If your reffering to Hybrids attempts at a Portal game, I guess it's cos he wants to prove FPSC can do something decent in the way of puzzlers.

Les Horribres
18
Years of Service
User Offline
Joined: 20th Nov 2005
Location: My Name is... Merry
Posted: 15th Dec 2007 07:38
Hmm, couldn't you just ignore the whole "weapon" issue?
Why not simply file an "entity?"

Meaning using the scankeycodepressed= thingy, instead of the weapon thingy?

A bit confusing, but bear with me.

All entities can become teleports, even enemies. This means that if you have two skulls behind you, they can have their ifused= values to eachother so. The big problem is getting an entity to face the direct you are facing.

Doing an

:activated=1:state=1,followplr
:state=1,activated=1,key=*:state=2
:state=2,noraycast=10 0:movefore=10
:state=2,raycast=10 0:state=3
:state=3:activateifused=1,activate=0


:playerdistwithin=100:plrteleportifused,activateifused=1
:activated=1:state=1,followplr
:state=1,activated=1,key=*:state=2
:state=2,noraycast=10 0:movefore=10
:state=2,raycast=10 0:state=3
:state=3:activated=0


As I said, the initial problem is getting the entity to look where you're looking. If you "lock" the player using a "vehicle" method I mentioned a long time ago, using the a and d keys to turn left and right, you could easily keep the entitys looking in the right direction, but it'll kill the gameplay a bit.

Either way, what you're doing seems to be the "best" way to get FPSC to "shut up and do what I tell you"... but I figure that spreading ideas helps us all

Its not who you are or what you've done... its WHY you did it and how far you are willing to go.
If you fear speaking for yourself, make use the words of others while discovering your own voice.
Hybrid
16
Years of Service
User Offline
Joined: 21st Nov 2007
Location: In the p-block, group 7.
Posted: 16th Dec 2007 21:01
that is a very good idea. Really, I do just want to show that fpsc is not just blocky ruums and some cheracters that you shoot. the game is COMPLETELY CUSTOMIZABLe if you just take the time to do so.

The Cake is a Lie!
Hybrid
16
Years of Service
User Offline
Joined: 21st Nov 2007
Location: In the p-block, group 7.
Posted: 21st Dec 2007 03:40
MODS: Just Lock the Forum Please.

The Cake is a Lie!
Captain Kirk
18
Years of Service
User Offline
Joined: 30th Aug 2005
Location: Sickbay
Posted: 22nd Dec 2007 17:08
I think this is not possible in FPSC Because you neeed to spawn portals (entities) where you want. This is not possible in FPS if i know well. I'm thinking on modifying a gun to spawn portals, but not bullet holes. But i think this only possible by modifying the source code.
Goodman84
17
Years of Service
User Offline
Joined: 23rd May 2007
Location:
Posted: 22nd Dec 2007 17:43
Quote: "I think this is not possible in FPSC"

If you watched the video you'd see its already been done. Possible but glitches and done wrongly. NOTING IS impossible in fpsc.

Dont lock it please release what you have!

hey
Inspire
17
Years of Service
User Offline
Joined: 23rd Dec 2006
Location: Rochester, NY
Posted: 22nd Dec 2007 19:25
The gun can't spawn portals exactly where it shoots, because there is one portal per segment, if I'm correct. So that means if you shoot inbetween two vertical segments, for example, the portal would be a good ways up or a good ways down from where you shot.

Quote: "NOTING IS impossible in fpsc."


Please say you're kidding.

CoffeeGrunt
16
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 22nd Dec 2007 19:34
Quote: "NOTING IS impossible in fpsc"


I wouldn't say nothing, I'd just say this:

If you find a theory that sounds plausible act on it,
If this theory turns out to work,even if it does have bugs, expand and refine it,
If the theory fails, try another way, but don't kid yourself if it can't happen, accept it, try something else, Don't keep running at walls to try and knock 'em down,


It's up to you Hybrid, I'm sure that if this works good, it'll work great.

Prototeen
16
Years of Service
User Offline
Joined: 26th Dec 2007
Location:
Posted: 27th Dec 2007 02:31
Guys, I don't mean to be skeptical, but you are all missing a big problem in my book. Sure, your portal can warp you to another location, but what about the oh so important act of "flinging"? I say that you will have made a huge success when you can build up momentum and fling yourself up onto a platform, or fling a cube onto a button. If you can figure that out, don't worry about anything else, because that is half the fun of Portal!

With all due respect,
Orrion Carn
16
Years of Service
User Offline
Joined: 23rd Jul 2007
Location: Sandpoint, Idaho
Posted: 19th Feb 2008 02:13
I know I am like 2-3 months late but, I just finished Portal and was wondering, Hybrid, could you e-mail me if your still on here?

Good work with this, this is just great.



Click here to see my showcase.
tigerman 22
16
Years of Service
User Offline
Joined: 27th Jan 2008
Location: winnipeg, manatoba.
Posted: 20th Feb 2008 03:06
so... where do I put the script? and how do I get it to work?
Pride
16
Years of Service
User Offline
Joined: 22nd Dec 2007
Location: Eastern USA
Posted: 22nd Feb 2008 03:05
Prototeen:

Yes, the fun of Portal, but FPSC is NOT Portal! This guy just found a way, no, not this guy, HYBRID just found a way to portal you from place-to-place with a GUN!!! He programed, WITH-OUT editing source code, how to "shoot" a portal onto walls and program you to jump to the other portal. What the hell does it matter if you can "fling" objects, screw that, Hybrid made a portal gun in FPSC AND THAT'S ALL THAT MATTERS!!!

Your signature has been erased by a mod because it was too big
tigerman 22
16
Years of Service
User Offline
Joined: 27th Jan 2008
Location: winnipeg, manatoba.
Posted: 23rd Feb 2008 06:50
Quote: "Prototeen:

Yes, the fun of Portal, but FPSC is NOT Portal! This guy just found a way, no, not this guy, HYBRID just found a way to portal you from place-to-place with a GUN!!! He programed, WITH-OUT editing source code, how to "shoot" a portal onto walls and program you to jump to the other portal. What the hell does it matter if you can "fling" objects, screw that, Hybrid made a portal gun in FPSC AND THAT'S ALL THAT MATTERS!!!"


good point... and if I can figure out where to put the script provided on page one... I will be one happy (gender/species removed for fedaral law reasons)
Pride
16
Years of Service
User Offline
Joined: 22nd Dec 2007
Location: Eastern USA
Posted: 23rd Feb 2008 15:31 Edited at: 23rd Feb 2008 15:36
Quote: "(gender/species removed for fedaral law reasons)"

Hehehe...

From what I understand, you give that script to an invisible wall. Then when the wall's health is less than 9, it'll spawn a portal, but I don't know how I would get the portal to work; what to name it and what it should look like.

Hey mods, I liked my siggy!
tigerman 22
16
Years of Service
User Offline
Joined: 27th Jan 2008
Location: winnipeg, manatoba.
Posted: 24th Feb 2008 01:43
Quote: "From what I understand, you give that script to an invisible wall. Then when the wall's health is less than 9, it'll spawn a portal, but I don't know how I would get the portal to work; what to name it and what it should look like."


mabe you could do something with explositions? when the bullet comes into contact with something, the bullet "explodes" and spawns a portal? only problem is putting it at the right diresction, but what if it moved towards the wall it was shot at...
Inspire
17
Years of Service
User Offline
Joined: 23rd Dec 2006
Location: Rochester, NY
Posted: 24th Feb 2008 01:47
No.

This simple.

Every segment is covered by an entity. This entity has two textures. When you shoot it, it changes from its invisible texture to it's portal texture. When you get within a certain range of it, it teleport s you elsewhere.

tigerman 22
16
Years of Service
User Offline
Joined: 27th Jan 2008
Location: winnipeg, manatoba.
Posted: 24th Feb 2008 02:25
Quote: "Every segment is covered by an entity. This entity has two textures. When you shoot it, it changes from its invisible texture to it's portal texture. When you get within a certain range of it, it teleport s you elsewhere."


yea.. but would that not cause long load times?
tigerman 22
16
Years of Service
User Offline
Joined: 27th Jan 2008
Location: winnipeg, manatoba.
Posted: 24th Feb 2008 02:36
and I still haven't fount out where to put that gaul darned script!

(in the weapon? in the wall entity?)
Pride
16
Years of Service
User Offline
Joined: 22nd Dec 2007
Location: Eastern USA
Posted: 24th Feb 2008 03:04
In the wall entity. The weapon can be anything as long as it deals damage. I'm tired, I'll edit this post tomorrow and tell you what I mean.

Hey mods, I liked my siggy!
tigerman 22
16
Years of Service
User Offline
Joined: 27th Jan 2008
Location: winnipeg, manatoba.
Posted: 24th Feb 2008 03:13
no no... I understand... thanks!
Pride
16
Years of Service
User Offline
Joined: 22nd Dec 2007
Location: Eastern USA
Posted: 24th Feb 2008 03:36
Oh, okay, good. Glad you get it so I don't have to go around and explain it to another 500 million people.

Hey mods, I liked my siggy!
tigerman 22
16
Years of Service
User Offline
Joined: 27th Jan 2008
Location: winnipeg, manatoba.
Posted: 24th Feb 2008 16:35
...yea, I used to use a program called "game maker" basicly it was a semi-powerfull tool for making 2d games, so coding is kind of understood by me.
tigerman 22
16
Years of Service
User Offline
Joined: 27th Jan 2008
Location: winnipeg, manatoba.
Posted: 24th Feb 2008 17:09
Quote: "In the wall entity. The weapon can be anything as long as it deals damage."


wait... is that ALL you need to do? or is there more steps?

probability states that I will know how this sentence will end FRAPPACHINO!
Pride
16
Years of Service
User Offline
Joined: 22nd Dec 2007
Location: Eastern USA
Posted: 24th Feb 2008 17:25
Hey, I have Game Maker too! I uploaded a game, but it's STILL being virus checked (after...hm, about 5 months?). And also, strangely, GML is easier to understand then FPL. But back on topic:

Well...you gotta create a portal entity on the wall. It's complicated to tell you, I'm pretty sure there's a guide about creating entities using TriggerZones (it's very similar to what Hybrid has done). Basically, screw around and find out. I cannot explain it anymore, it's just too much...

Hey mods, I liked my siggy!
tigerman 22
16
Years of Service
User Offline
Joined: 27th Jan 2008
Location: winnipeg, manatoba.
Posted: 24th Feb 2008 17:35
o.k. thanks (burries head in instruction manual)

so you have game maker too eh? neat. my computer had to be re-formated, so I am still looking for the disc I had too install it with.

probability states that I will know how this sentence will end FRAPPACHINO!
Dude232
16
Years of Service
User Offline
Joined: 18th Jan 2008
Location:
Posted: 25th Feb 2008 14:35
i wonder how fun this would be with a knife to make a portal,"you seemed to put a hole in the fabric of time". lol

FPS:1
well how many polys do you have there?
MESHCOUNT:10000000000000000000 LOL
tigerman 22
16
Years of Service
User Offline
Joined: 27th Jan 2008
Location: winnipeg, manatoba.
Posted: 25th Feb 2008 23:16
Quote: "i wonder how fun this would be with a knife to make a portal,"you seemed to put a hole in the fabric of time". lol"


yea.. but I wonder if you could make it in midair, and rippy shaped. and what would the point be if it was melee?

probability states that I will know how this sentence will end FRAPPACHINO!
Inspire
17
Years of Service
User Offline
Joined: 23rd Dec 2006
Location: Rochester, NY
Posted: 26th Feb 2008 01:21
Quote: "..yea, I used to use a program called "game maker" basicly it was a semi-powerfull tool for making 2d games"


Yeah, it's kind of a well known program...

Quote: "And also, strangely, GML is easier to understand then FPL"


I think so too. FPI is kinda buggy. GML actually uses a common syntax.

Pride
16
Years of Service
User Offline
Joined: 22nd Dec 2007
Location: Eastern USA
Posted: 26th Feb 2008 02:00
Yes, GML uses language relative to the game-making process (like gotoroom(room7) and other simple things). Though, FPI is easier for 3D games, where as GML is VERY complicated in means of 3D.

But, back to the topic at hand:
Hey, making a knife rip through the fabric of time WOULD be kinda cool, like a melee weapon that incinerates enemies and rips holes in walls that can be used to portal back and forth! Hey, thanks for the idea!

Hey mods, I liked my siggy!
DaRk_Ma1l37
16
Years of Service
User Offline
Joined: 4th Mar 2008
Location:
Posted: 5th Mar 2008 18:59
Impressive. Too bad it doesn't have that relfection feature like portal does.

Never laf in the face of teh Chug gun, or the Chug gun will Chug u in the face.
Hybrid
16
Years of Service
User Offline
Joined: 21st Nov 2007
Location: In the p-block, group 7.
Posted: 10th Mar 2008 02:30
I am getting x10 in about two days, mabey with some shaders and improved ai, this could work again.

The Cake is a Lie!
Hybrid
16
Years of Service
User Offline
Joined: 21st Nov 2007
Location: In the p-block, group 7.
Posted: 10th Mar 2008 03:11
double post

It will still be hard to script, though help is very welcomed.

The Cake is a Lie!
Hybrid
16
Years of Service
User Offline
Joined: 21st Nov 2007
Location: In the p-block, group 7.
Posted: 10th Mar 2008 22:30
sorry for wasting a post, but I must get my signature right

[img]<a href="http://files.filefront.com/cooltext82387507jpg/;9792780;/fileinfo.html" title="cooltext82387507.jpg">cooltext82387507.jpg</a>[/img]
Hybrid
16
Years of Service
User Offline
Joined: 21st Nov 2007
Location: In the p-block, group 7.
Posted: 10th Mar 2008 23:03
I'll post a video tutorial soon with the problems hilighed

tigerman 22
16
Years of Service
User Offline
Joined: 27th Jan 2008
Location: winnipeg, manatoba.
Posted: 10th Mar 2008 23:46
Quote: "I'll post a video tutorial soon with the problems hilighed"


nice, partily just here to keep you from talking to yourself.

the help will come in handy, there's not mutch I can do though.

probability states that I will know how this sentence will end FRAPPACHINO!
Hybrid
16
Years of Service
User Offline
Joined: 21st Nov 2007
Location: In the p-block, group 7.
Posted: 10th Mar 2008 23:54
thats ok, does anyone know of a good video capture sw because fraps only does games, not desktop. What does TGC use for their tutorials?

Dude232
16
Years of Service
User Offline
Joined: 18th Jan 2008
Location:
Posted: 11th Mar 2008 02:27
how about HyperCam its free but its not very smooth

FPS:1
well how many polys do you have there?
MESHCOUNT:10000000000000000000 LOL
Wraith Staff
17
Years of Service
User Offline
Joined: 3rd Apr 2007
Location: Hamilton, OH
Posted: 11th Mar 2008 18:02 Edited at: 11th Mar 2008 18:09
Niceness... I've been watching this post for a while and I am really impressed I'll try to work with the code myself and perfect it, BTW: what is the EXACT code your working with? I think that this is just what FPSC needed in a time of same old, same old. You should really talk to 1+1=3 (The Weighted Companion Cube guy) http://forum.thegamecreators.com/?m=forum_view&t=125556&b=24
You could come up with some cool stuff. Great job!


Wraith Games... Play Harder
Hybrid
16
Years of Service
User Offline
Joined: 21st Nov 2007
Location: In the p-block, group 7.
Posted: 12th Mar 2008 03:38
right now, I am limited to simplt FPI lol However, I would love to edit the scource, but I don't have dbpro frown If you want to ad a camera, or have multiple If USED properties, that would be great.

Clairification: not just entities with the same name, but two different named entities in IF USED

Wraith Staff
17
Years of Service
User Offline
Joined: 3rd Apr 2007
Location: Hamilton, OH
Posted: 12th Mar 2008 18:49
I mean I want to see the FPI script your using


Wraith Games... Play Harder
Hybrid
16
Years of Service
User Offline
Joined: 21st Nov 2007
Location: In the p-block, group 7.
Posted: 13th Mar 2008 02:33
All of the scripts, videos, and pictures are in the thread

Wraith Staff
17
Years of Service
User Offline
Joined: 3rd Apr 2007
Location: Hamilton, OH
Posted: 13th Mar 2008 19:16
Oops, I overlooked the code, silly me... I must look stupid now. Thanks though, the script will really help


Wraith Games... Play Harder

Login to post a reply

Server time is: 2024-06-17 15:16:19
Your offset time is: 2024-06-17 15:16:19