Making a Map Freeze-Tag Ready

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
mffpetergriffin
Sergeant
Posts: 64
Joined: Sat Jan 26, 2008 4:53 pm
Contact:

Making a Map Freeze-Tag Ready

Post by mffpetergriffin »

I am trying to figure out on my own how to make a map ready for freeze-tag. I have looked all over the MEFY site and none of the links work for any examples. Our servers are all freeze-tag and I want to figure out for myself how to get my map capable for freeze-tag. Can someone give me an example or point me in the right direction to do this? I have a src for my map but I have done very little scripting other than the loadscreen so I will need it in noob terms lol. Thanks a lot!
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

I don't think there is anything you need to do. Any map that runs in team match should be FT-ready by definition. :)
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
Salombo
Sergeant
Posts: 61
Joined: Mon Jun 05, 2006 1:30 pm
Location: New York

Post by Salombo »

You can download mefy's mod and look how he setup his maps.

http://medalofhonor.filefront.com/file/ ... _Mod;77426

Look at the code before level prespawn 8-)

Code: Select all

switch (waitthread global/libmef/util.scr::get_gametype)
	{
		case "ctf":
		case "ftctf":
		case "dem":
		case "ftdem":
                  level.mef_settings["respawn"] = 1
			level.mef_settings["ticktime"] = 60
			waitthread global/libmef/spawn.scr::spawnblock_begin
			waitthread setup_bases
			break
		case "ft":
		case "rbm":
			//waitthread global/libmef/spawn.scr::spawnblock_begin
			thread roundbasedthread
			break
	}
Image
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

Oh, well, I guess I forgot about actually running the mod. ;)
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
mffpetergriffin
Sergeant
Posts: 64
Joined: Sat Jan 26, 2008 4:53 pm
Contact:

Post by mffpetergriffin »

Is there a way to read src files?
Salombo
Sergeant
Posts: 61
Joined: Mon Jun 05, 2006 1:30 pm
Location: New York

Post by Salombo »

Notepad and Wordpad will do.
Image
mffpetergriffin
Sergeant
Posts: 64
Joined: Sat Jan 26, 2008 4:53 pm
Contact:

Post by mffpetergriffin »

When I try to open them I get an error saying something about it's not a recognized extension or some dumb thing. I can't open with any program. What am I doing wrong?
Salombo
Sergeant
Posts: 61
Joined: Mon Jun 05, 2006 1:30 pm
Location: New York

Post by Salombo »

right click on your script, select open with, check the " always open with then select your program from list ( notepad will do just fine )
Image
mffpetergriffin
Sergeant
Posts: 64
Joined: Sat Jan 26, 2008 4:53 pm
Contact:

Post by mffpetergriffin »

I will try again but in the past it has not given me the Open With option. hmm :?
Salombo
Sergeant
Posts: 61
Joined: Mon Jun 05, 2006 1:30 pm
Location: New York

Post by Salombo »

another way is just double-click on .scr, it will tell you not recognized blah blah, choose program from list and select notepad. :wink:
Image
mffpetergriffin
Sergeant
Posts: 64
Joined: Sat Jan 26, 2008 4:53 pm
Contact:

Post by mffpetergriffin »

Okay, when I click on it it says it's not a win32 blah blah blah. However, when I open it through Notepad (going into Notepad, going to File, Open...) it opens right up. I just can't do it without going into Notepad first. Weird! Anyway, I have defeated its defenses!!
Tazz
Second Lieutenant
Posts: 155
Joined: Fri Feb 16, 2007 1:29 pm
Contact:

Post by Tazz »

i usually just rename it to a .txt ext then open with notepad.....this is also how i edit it...then just rename back to .scr and all is good
$oldier Of Ra
Lieutenant Colonel
Posts: 404
Joined: Sun Oct 16, 2005 7:16 pm
Location: Belgium
Contact:

Post by $oldier Of Ra »

You're doing it the wrong way, windows will refuse to open .scr files that way because in window's eyes scr files are screensaver files (in other words executables) He considers them anything but safe.

Follow my steps carefully:

1. Open any folder
2. At the top, click "Tools" and choose "folder options" in the list. A new window pops up
3. Go to the "file type" tab, wait a sec to let him load the list.
4. Now click "new", in the textbox, enter SCR and click ok.
5. Now your new filetype's at the top of the list (normally), select it.
6. Click Change, you'll get a new window asking to search a compatible program on the net or letting you choose one out of list. Choose the latter one.
7. Select wordpad in the list, click ok (that window closes), then in the remaining window click ok again

DONE! ;)

EDIT: Damnit just found out you bumped a months-old topic!!!
Our official website: http://www.mohaairborne.co.cc
(Still accessible through http://mohaaclantb.tk and http://users.skynet.be/mohaaclantb/)

For all your bot needs!!!!

$oldier Of Ra.
Post Reply