Official Soldat Forums

Server Talk => Scripting Releases => Topic started by: MetalWarrior on October 12, 2008, 09:32:44 am

Title: Soldat Portal
Post by: MetalWarrior on October 12, 2008, 09:32:44 am
Script only

Script Name: Soldat Portal
Script Description: Soldat Portal Climb Game Mode SCRIPT ONLY
Author: MetalWarrior (http://soldatcentral.com/index.php?page=profile&u=27)
Compile Test: (http://soldatcentral.com/images/pass.gif) Passed
Core Version: 2.6.3
(http://soldatcentral.com/images/download.gif) (http://soldatcentral.com/dl.php?id=57&act=1)
(Size 8.41 KB)
- http://soldatcentral.com/index.php?page=script&f=57 -

** Script hosted by Soldat Central (http://soldatcentral.com/index.php?page=script&f=57)! Please visit the author's script page (http://soldatcentral.com/index.php?page=script&f=57) and Rate this script **


Full version

---IMAGE REMOVED---

Game mode by Metal Warrior based on the popular fps action/puzzle game Portal (http://en.wikipedia.org/wiki/Portal_(video_game)).

Includes 16 maps of varying difficulty.

---IMAGE REMOVED---

Download Full Version ---LINK REMOVED---

Download Maps Only ---LINK REMOVED---

Demo of Pavliko and I completing the tutorial map ---LINK REMOVED---
Pavliko has uploaded it to YouTube, you can see it here: http://uk.youtube.com/watch?v=c7JiiYZvMCY (http://uk.youtube.com/watch?v=c7JiiYZvMCY)

ReadMe
Code: [Select]
Soldat Portal by Metal Warrior
Version: 1.0

** Requires Soldat Dedicated Server **

Setup Instructions
------------------
1. Backup any existing server files.
2. Extract to soldat server directory.
3. Setup the server to use the following settings:

Server Settings
---------------
Cap Limit: 1
Friendly Fire: Off
Game Style: 3 (CTF)
Grenades: 0
Realistic: Off
Team Balance: Off

(Optional) 4. Change script settings in \scripts\SoldatPortal\Settings.ini


How to Play
-----------
The flagger can create portals using the 2 different weapons.
A portal will be made where the shot collides.
The aim is to get the blue flag to the red one.

Portal 1 is created with the AK-74 and forms a flame X.
Portal 2 is created with the STEYR and forms a flame square.

Typing an empty message will clear Portal 1.
Typing t in a message will clear Portal 2.
Typing an empty team message will clear both portals.

/settings shows the current server settings.


Admin Commands
--------------
/cleardeath Switches 'Clear Portals On Flagger Death'
/clearnf Switches 'Clear Portals On No Flagger'
/clearportals Clears portals
/flyd Moves 400 units down
/flyl Moves 400 units left
/flyr Moves 400 units right
/flyu Moves 400 units up
/ponp Switches 'Portals On Players'
/returnflags Returns flags
/warp Switches 'Warp To Flagger'

/moveto <ID> Moves to <ID>
/bring <ID> Brings <ID>


Additional Notes
----------------
Enable Portals On Players to reduce lag when there are many players (6+) in the server.


Included Maps
-------------
por_tutorial Metal Warrior
por_aon Metal Warrior
por_bize Shadow
por_expo Metal Warrior
por_hash Metal Warrior
por_jumpsofdoom Metal Warrior
por_lace Shadow
por_longway Metal Warrior
por_prop Metal Warrior
por_Sandy Sandmann
por_smth lewymati
por_steps Metal Warrior
por_tion Metal Warrior
por_tower Norbo
por_varia Metal Warrior
por_vertical Metal Warrior
Title: Re: Soldat Portal
Post by: Gizd on October 12, 2008, 09:42:02 am
This rox !!!!!
Title: Re: Soldat Portal
Post by: BombSki on October 12, 2008, 09:50:09 am
really nice idea and it works better than i expected. its pretty hard at first but once you get an idea of all the possibilities it becomes a really nice challenge.
you should have added a demo file id say, to give people an idea
Title: Re: Soldat Portal
Post by: MetalWarrior on October 12, 2008, 10:10:51 am
you should have added a demo file id say, to give people an idea
Done. :)
Title: Re: Soldat Portal
Post by: Shadow! on October 12, 2008, 10:17:35 am
Cant stop playing when you started!

More maps will be made, keep and eye out for them :>
Title: Re: Soldat Portal
Post by: shadow x chaos on October 12, 2008, 10:58:02 am
Nice, Ill try it out  ;D

I would like to see the maps though
I'm a decent map maker  ;)
Title: Re: Soldat Portal
Post by: DorkeyDear on October 12, 2008, 11:10:58 am
Hurraa! The best sub-gamemode ever! I have to say this is a blast of fun for anybody who wants to play.
More maps than I thought. :P
AR, I forgot what I was going to say! :(
oh well
if any1 hosts it, wanna share please? :)
Title: Re: Soldat Portal
Post by: MetalWarrior on October 12, 2008, 12:33:47 pm
Note to Linux users, in the first upload I included an 'includes.txt' instead of 'Includes.txt'. Changing the case of the 'i' should fix your problems. The archive has since been updated to address this issue.
Title: Re: Soldat Portal
Post by: zakath on October 12, 2008, 01:49:57 pm
Added a server running the game mode which can be found here
http://forums.soldat.pl/index.php?topic=30461.new#new
Title: Re: Soldat Portal
Post by: Norbo on October 12, 2008, 02:59:11 pm
cool, finally u realesed it metal
who made the banner and the maps oreview thingie? it looks cool
the mode rocks :D
Title: Re: Soldat Portal
Post by: DorkeyDear on October 12, 2008, 07:06:06 pm
Suggestion abut hte flag returning when teleporting too far, and flag disapearing... enspesually on hte tutorial ma[, the last jump it happens often
http://forums.soldat.pl/index.php?topic=30469
Title: Re: Soldat Portal
Post by: spkka on October 12, 2008, 07:06:22 pm
real original idea love it!
Title: Re: Soldat Portal
Post by: Rampage_Terranius on October 12, 2008, 08:36:03 pm
very nice and well done i must say good job
Title: Re: Soldat Portal
Post by: DorkeyDear on October 12, 2008, 09:06:54 pm
Suggestions:
built in stats for:
per player/account...
time run
# of portals used

or not built in, doesn't really matter :P
Title: Re: Soldat Portal
Post by: chutem on October 12, 2008, 09:54:11 pm
Holy ohmygosh.

You just made the best two games ever into one. Sex.
Gameplay looks great, i might make some maps, is there any requirements? (e.g. Do I have to colour-code it)
I am going to get my dedicated server working so I can play this.

wow.
Title: Re: Soldat Portal
Post by: MetalWarrior on October 13, 2008, 04:41:19 am
Suggestions:
built in stats for:
per player/account...
time run
# of portals used

or not built in, doesn't really matter :P
Simple enough, may be better as an additional script though (or at least an alternative). If you can think of a good way to track the stats from the multi-player environment then let me know.

Holy ohmygosh.

You just made the best two games ever into one. Sex.
Gameplay looks great, i might make some maps, is there any requirements? (e.g. Do I have to colour-code it)
I am going to get my dedicated server working so I can play this.

wow.
Have a look at the included maps. The only 'odd' requirement is a container and a bravo spawn somewhere off the main course of the map to house the Dummy. Feel free to make / use a prefab for it from one of the existing maps.
Title: Re: Soldat Portal
Post by: DorkeyDear on October 13, 2008, 05:37:09 am
scripts/
 | Portal/...
 | Stats/
 | | Includes.txt
 | | core.pas
 | | Stats/
 | | | Map/ bunch of .log files.. suggested to be the same format as Player so only 1 function needed to get the logs of it.. organized by mapname or MD5 of mapname
 | | | Player/ same here organized by MD5 of person's nickname (due to not-allowed characters in a person's name) or a custom-made one.. if not md5, i would just get a 3-length of the value of the character, although may be long over time..

Possible log format: (\# == character num #)
PersonName\1MapName\1Deaths\1JoinCapTime\1RespawnCapTime\1NumPortals\1NumPortalType1\1NumPortalType2\2..repeat..

that probably what I would do, although you can do it whateever way if it is to be done.
would probably ignore NoPortalType1/2 when actually gathering the stats, but you may want it in the future for whatever reason

Then in the Portal script, I suggest calling using CrossFunc. something like...
CrossFunc([MapName, PlayerName, etc...], 'Stats.WriteLog');
then on command, for either Portal or Stats, probably stats
Stats.ReadLog(Filename: string): record ..all the stuff.. end; (suggested its own datatype)

mayb also include the ppl he played with?
Title: Re: Soldat Portal
Post by: shantec on October 13, 2008, 08:12:26 am
Im hosting it: 85.156.30.41:666

Even tho, i has dynamic ip so no-one will be able to join tomorrow :D


Lolno im not hosting it (10 minutes was enough!)
Title: Re: Soldat Portal
Post by: CMPunk on October 13, 2008, 08:35:41 am
Oh nice dude this is a beast :)
Title: Re: Soldat Portal
Post by: Mr on October 14, 2008, 12:56:04 am
I just played that game mode yesterday (thanks to zakath for the server), and it's awesome. But I was bored fast if I just had to follow the ffc... fix this please ^_^
You could as example allow the "normal players" to create portals that only can be used once or by the own player.
Title: Re: Soldat Portal
Post by: MetalWarrior on October 14, 2008, 05:34:18 am
You could as example allow the "normal players" to create portals that only can be used once or by the own player.
Unfortunately this can't be done without implementing exclusive weapon access - which I tried and it sucked. Some other suggestions were switching ffc after so many portals / minutes. The fun of the multiplayer part of this mod depends entirely on who you are playing it with and who has the flag.
Title: Re: Soldat Portal
Post by: Norbo on October 14, 2008, 11:57:12 am
You could as example allow the "normal players" to create portals that only can be used once or by the own player.
Unfortunately this can't be done without implementing exclusive weapon access - which I tried and it sucked. Some other suggestions were switching ffc after so many portals / minutes. The fun of the multiplayer part of this mod depends entirely on who you are playing it with and who has the flag.
indeed
but its not so boring with the flag warp off (which IMO ruins the whole fun)
when the mode was in development and me shadow and metal (and some others) played it, the flag warp was yet not implemented. what you had to do is when someone died you had to throw the flag down (but first make 2 portals where you are) so the flag will respawn and the person can then create a portal and go back to their team. that was teamwork :)
so i recommend you to play it without the flag warp option, its just way more fun in multiplayer, you gotta think more
Title: Re: Soldat Portal
Post by: pavliko on October 14, 2008, 12:15:21 pm
yeah i agree with norbo.
it was more fun that way that flag didn't warp off
and yeah "and some others" lol :P
Title: Re: Soldat Portal
Post by: darksonic45 on October 14, 2008, 06:26:18 pm
Sup Metal (Trapt here)
I tried this out and I have to say, AMAZING. This is the new best thing since climbing. Originality (you know what I mean) and amazing maps. Keep making the awesome maps and cool ideas.
Title: Re: Soldat Portal
Post by: Iq Unlimited on October 15, 2008, 08:43:39 pm
Have you tested this script on linux? If so did it work correctly? Or is it one of those "windows only" scripts that aggravate me to no end.
Title: Re: Soldat Portal
Post by: MetalWarrior on October 16, 2008, 03:39:04 am
Have you tested this script on linux? If so did it work correctly? Or is it one of those "windows only" scripts that aggravate me to no end.
Works fine on linux. The 24/7 server hosted by zakath is using a linux machine. It is, however, worth checking the filenames and extensions for correct case though since in the first archive I uploaded some were in the wrong case.
Title: Re: Soldat Portal
Post by: blackdevil0742 on October 16, 2008, 04:58:02 am
Shit. It's hard O_o
But in a good way ;)
Title: Re: Soldat Portal
Post by: Iq Unlimited on October 16, 2008, 03:14:59 pm
That's weird. My linux server is in hate mode for this script. I'll try to fix it sometime.
Title: Re: Soldat Portal
Post by: NailsForLunch on October 17, 2008, 06:29:47 am
I'll consider hosting an Australian based server of this....

I'm currently running
1 full Mission Mod
1 part time mission mod / part time clan server
and 1 Knife Basketball.

I could possibly turn the part time mission mod into part time version of this.

Note: part time = 95% of the time for sub-gamemode.
Title: Re: Soldat Portal
Post by: Iq Unlimited on October 18, 2008, 09:52:08 pm
Ok, I got it working and I might make some changes to it if you don't mind Metal.


IP: server1.enesce.com
Port: 23099

!Elite TMS Portal.
Title: Re: Soldat Portal
Post by: MetalWarrior on October 19, 2008, 04:10:55 am
Ok, I got it working and I might make some changes to it if you don't mind Metal.
Feel free. I would quite like to know what changes, though.

A new version of the script will be out once a new map pack is complete (some of which will demonstrate new features).

EDIT:
IP: server1.enesce.com
Port: 23099

!Elite TMS Portal.
Just tried this server. Did you change the IDLE_BOT_TEAM constant in the script? The dummy was on Alpha instead of Bravo and thus the game couldn't be played.
Title: Re: Soldat Portal
Post by: Iq Unlimited on October 19, 2008, 10:52:23 am
EDIT: oh another script was interfering with yours, I fixed it.

EDIT2: I'll let you update the script before I start making changes.
Title: Re: Soldat Portal
Post by: Splinter-Snake on October 21, 2008, 01:47:17 pm
Hmm, I tried it on the !Elite Portal server, but no one could get it to work.

Edit: Just checked the demo and realized that the Elite server isn't set up right. It should probably be fixed before more people get a bad impression of Portal. Me and some others tried for like 10 minutes trying to make a damn portal lmao.
Title: Re: Soldat Portal
Post by: Iq Unlimited on October 21, 2008, 02:57:41 pm
It's giving me problems for some reason and doesn't like the other scripts I have working with it, so I just took them all off. I guess it'll be a boring server for now :(.
Title: Re: Soldat Portal
Post by: Splinter-Snake on October 21, 2008, 08:24:26 pm
It's giving me problems for some reason and doesn't like the other scripts I have working with it, so I just took them all off. I guess it'll be a boring server for now :(.

Well, at least it's working great.  ;D
Title: Re: Soldat Portal
Post by: Norbo on October 31, 2008, 04:36:53 am
it would be really nice if you could make a toplist feuture so it records best 5 capping times on each of the maps
Title: Re: Soldat Portal
Post by: PKS|Shooter on May 19, 2010, 10:05:57 am
i reup'ed the maps and server config Download Mappack and Server config (http://www.philophildesign.de/easyclan/?section=downloads&action=viewdl&id=23)