Portal Test
Moderator: Core Staff
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Portal Test
The usual portals have been done already (as seen in nm_portal and a few others I cannot remember) but I decided to step it up a notch by trying something new to CoD (well, new to me at least). Now we all know the game "Portal" and my idea was stolen directly from that although the style in which it is done resembles the teleportation thingy in Unreal Tournament (long time since playing, no idea what it is called).
This is nothing more than a box map (modified mp_test) with the CoD style of portal technology I created built in to the map gsc (no gametype needed).
So, if you're interested just bung the IWD in the main preferably removing all mods beforehand.
Load up CoD2 and "/devmap mp_test_portal"
Now once loaded and in game this is how the portal tech works...
First, to set your start portal, you use your USE button and point it where you want the portal. (At the moment, the start portal can be put anywhere, as long as it is touching a solid object... Floor, walls, platforms, and the sky... This will be changed a little in a revision).
Second to set your finish portal, you use your GRENADES. Throw a grenade, where it explodes is your portal will open. There are a couple of rules to this portal... Firstly, to stop "telefraging" (teleporting into a solid object) the nade must be at least 16 units from a wall. Also, there must be a 72 unit clearance above the nade and finally, the nade must explode on the ground. The portal will not open otherwise.
Portals will also not be able to open on a slanted surface (due to a flaw in the way the script checks for telefrags).
Have fun with it, and ofcourse as always the code in the GSC is free to use at your pleasure, the map file is provided also to simply show how the "teleporters" work (simple script_brushmodels, triggers are scripted). Maybe one day I will create something a bit more using this, but atm this is simply a bit of fun to keep me occupied while bored
Any Q's or C's?
[-Download-]
This is nothing more than a box map (modified mp_test) with the CoD style of portal technology I created built in to the map gsc (no gametype needed).
So, if you're interested just bung the IWD in the main preferably removing all mods beforehand.
Load up CoD2 and "/devmap mp_test_portal"
Now once loaded and in game this is how the portal tech works...
First, to set your start portal, you use your USE button and point it where you want the portal. (At the moment, the start portal can be put anywhere, as long as it is touching a solid object... Floor, walls, platforms, and the sky... This will be changed a little in a revision).
Second to set your finish portal, you use your GRENADES. Throw a grenade, where it explodes is your portal will open. There are a couple of rules to this portal... Firstly, to stop "telefraging" (teleporting into a solid object) the nade must be at least 16 units from a wall. Also, there must be a 72 unit clearance above the nade and finally, the nade must explode on the ground. The portal will not open otherwise.
Portals will also not be able to open on a slanted surface (due to a flaw in the way the script checks for telefrags).
Have fun with it, and ofcourse as always the code in the GSC is free to use at your pleasure, the map file is provided also to simply show how the "teleporters" work (simple script_brushmodels, triggers are scripted). Maybe one day I will create something a bit more using this, but atm this is simply a bit of fun to keep me occupied while bored
Any Q's or C's?
[-Download-]
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
-
- CJ Worshipper
- Posts: 383
- Joined: December 16th, 2005, 6:38 pm
-
- Core Staff
- Posts: 14220
- Joined: October 21st, 2004, 7:17 pm
- Location: Holland
- Contact:
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Thats pretty cool, could have a lot of fun with this. Maybe you could have races to get yourself from one place to another(in a suitable map), and have different difficulty areas to throw the nades...just a thought
Watch this before posting a question: http://www.albinoblacksheep.com/flash/posting.php
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
My thoughts were to include this in a section of a jump map (or maybe a "minigame" in a jump map. The code would need to be adapted to turn on and off the usage and monitor where the portals are.Luke wrote:Thats pretty cool, could have a lot of fun with this. Maybe you could have races to get yourself from one place to another(in a suitable map), and have different difficulty areas to throw the nades...just a thought
It could work but would require some time, which I have none to use on a map. If someone creates something for it, I would happily modify the code to work with it.
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
Just a suggestion: How about doing like what the guys at Valve did, make a new weapon left click to place the first portal, right click to place the second. Just a thought.
Great job though.
Great job though.
Coding is Poetry. Mapping is Art.
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet
-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet
-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]
-
- Core Staff
- Posts: 2214
- Joined: February 6th, 2006, 3:18 pm
- Location: Germany/Bayern
if u will make the mod a little better maybe with the suggestion then I would make a map where u need to use portals to finish it
THAT HANDS WERE NOT TRACED!
visit my blog: Link
visit my blog: Link
Soviet wrote:Yeah, watch out, Peds will hit you with his +5 D-Battleaxe of homosexuality
-
- CJ Worshipper
- Posts: 383
- Joined: December 16th, 2005, 6:38 pm
-
- Core Staff
- Posts: 14220
- Joined: October 21st, 2004, 7:17 pm
- Location: Holland
- Contact:
Will you work on a map where this is required or ?Drofder2004 wrote:My thoughts were to include this in a section of a jump map (or maybe a "minigame" in a jump map. The code would need to be adapted to turn on and off the usage and monitor where the portals are.Luke wrote:Thats pretty cool, could have a lot of fun with this. Maybe you could have races to get yourself from one place to another(in a suitable map), and have different difficulty areas to throw the nades...just a thought
It could work but would require some time, which I have none to use on a map. If someone creates something for it, I would happily modify the code to work with it.
matt101harris wrote:big cock was the first thing that came to my head lol
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Read what you quoted[SoE]_Zaitsev wrote:Will you work on a map where this is required or ?Drofder2004 wrote: It could work but would require some time, which I have none to use on a map.
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
This is really good idea:P codjumper could have a nade record map where its one really long room with sidewalks at either side (which have glass on so you cant cheat ) and a throw area. you simply throw as far as you can and its measured to the nearest 5 unitsPedsdude wrote:The nade throwing equivalent of gap recordsLuke wrote:different difficulty areas to throw the nades...just a thought
JDogg: 'I have a video of me pissing, wanna see?'
Who is online
Users browsing this forum: Ahrefs [Bot] and 1 guest