Creating a .scr file for entering script for a map?
Moderator: Moderators
- longboarder4001
- Corporal
- Posts: 26
- Joined: Sun Jun 22, 2003 4:13 am
- Location: Texas
- Contact:
Creating a .scr file for entering script for a map?
I am making a Death Match map and the manual says i need to enter a certain scrpit for the map as an .scr file. Fist of all how do i make an .scr file and then how do i enter the script? Do i just copy and paste? And does anyone know a specific script needed for multyplayer maps( such as for player respawn areas).
-
Krane
- Lieutenant General
- Posts: 782
- Joined: Sat May 31, 2003 4:18 pm
- Location: California, USA
- Contact:
A script file is a text file, only with another extension. Make your script in Notepad (or other word processor) and change the extension from .txt to .scr , got it?
Now how to make a script: This link will show you a script example. Very usefull to start learning:
http://www.planetmedalofhonor.com/rjuka ... dix_c.html
Another good link is this site's tutorial:
http://map.moh-central.net/tutorials/dm_scripting.php
Oh, I almost forgot: the reespawn points...
When making your map in Radiant, If your map will be "Free for All" will need to place info>player>deathmatch where you want the player to reespawn. If is a "Team Match" map, you need to place info>player>alllies or info>player>axis. These will be the reespawn points for allies or axis.
Hope it helps.
Now how to make a script: This link will show you a script example. Very usefull to start learning:
http://www.planetmedalofhonor.com/rjuka ... dix_c.html
Another good link is this site's tutorial:
http://map.moh-central.net/tutorials/dm_scripting.php
Oh, I almost forgot: the reespawn points...
When making your map in Radiant, If your map will be "Free for All" will need to place info>player>deathmatch where you want the player to reespawn. If is a "Team Match" map, you need to place info>player>alllies or info>player>axis. These will be the reespawn points for allies or axis.
Hope it helps.
dm
You don't need a script to test your map in deathmatch. Just put the bsp file in main/maps/dm and it will work. The spawn points are added in the editor and not with a script.
You only need a script when you add explosions or moving objects to a map.
You only need a script when you add explosions or moving objects to a map.

