- Joined
- Aug 13, 2008
- Messages
- 1,250
- Reaction score
- 126
Warning: This Tutorial may be OUTDATED. Incase you can't get this to work, You now know why.
Please Comment when you see I forgot something.
today I write my first Tutorial.
It's about how to make a custom Login.mrs
A Preview of what you could make by follow this TUT (I used High_Haven) => Click Here for preview
It's about how to make a custom Login.mrs
A Preview of what you could make by follow this TUT (I used High_Haven) => Click Here for preview
What do you need for making a custom login:
Then you open the file named "<maps name>.RS.XML".
Scroll down and you will see near the end of the document something like this (Delete everything exept spawn_solo_101):
When you deleted all the unnecessary spawns, you could now begin adding the Camera Login codes.
here are the codes:
hese need to be pasted underneed the spawn_solo_101 (to make things easier I changed spawn_solo_101's data to all zeros)
It will look like this when you added the codes:
Now what you do next is Save this file, and go to your map folder. You'll see Files named after the map's name. you will need to change those file names to "login" (Only of the files RS.XML RS.lm RS.col RS.bsp and RS)
Now those files would be named after this:
Here comes to harder part. You will need to past GunzLoader.exe into a clients folder. Make sure that that client has your map in the client's MAP folder.
Now make a shortcut of GunzLoader.exe and put it on your desktop or what ever.
Press right buttin on the shortcut and select properties.
You'll see that the shortcut has the gunzloader.exe as TARGET. Now you will need to edit that by pasting this code behind it (delete the [ ] ):
a space befor /game is requiered to let this work!
Fill in the name of your map where i wrote "map"
Save the change you made and run the shortcut by double clicking it.
Now you will see that A Gunz Client will load. if the loading is done, it will start loading the map.
Then you respawn in the map (map needs lightmap, otherwise it will crash or give an error).
Next step: Find the exact place you want your char to respawn in the login map.
Press F9 and you'll see a bunch of codes on your screen.
Search for "pos" and "dir"
These codes show you where you are located in the map (where the feet of your char are).
open up the Login.RS.XML that you saved last time and scroll down again.
Write the code for "pos" between <POSITION> and </POSITION>
And the code for "dir" between <DIRECTION> and </DIRECTION>
Now for camera 01 and 02, You need to do the same but from an other position ofcorse.
Keep in mind that the Developer Mode gives the coordinations of the position of where your chars FEET are. So for the camera you'll need to count a little bit up to get your camera a bit higher then against the floor.
Note: Don't try to use the camera coordinates in the RS.XML.
If you're done, Compile your Login folder (the map) and place it into your interface folder in your client.
Normaly you're done now, Have fun!
I'm from belgium so it could be that you don't understand my englisch very much. Correcting my on my englisch is very much appreciated.
Credits:
RepublicOfAstra for making a smaller tut and the GunzLoader.exe!
Me for writing this TUT!
You for reading this
and Thanks for the people who correct any mistakes in this tut!
- The Map you would like to transform into a login map.
- A Client (Won't work on Ijji as far as we know, December and July clients can be used [testing on BR]).
- A Developer Mode runnable (ROA's GunzLoader.exe) (
To view the content, you need to sign in or register)
- Notebook or C++ or something like that.. aslong as you can edit .xml
Then you open the file named "<maps name>.RS.XML".
Scroll down and you will see near the end of the document something like this (Delete everything exept spawn_solo_101):
Code:
<DUMMYLIST>
<DUMMY name="spawn_team1_101">
<POSITION>-6093.0756836 -195.6125641 56.9582214</POSITION>
<DIRECTION>0.9999999 0.0000000 0.0000000</DIRECTION>
</DUMMY>
[B]<DUMMY name="spawn_solo_101">
<POSITION>-3170.5083008 872.4365234 -795.6045532</POSITION>
<DIRECTION>0.0000001 -0.9999999 0.0000000</DIRECTION>
</DUMMY>[/B]
<DUMMY name="spawn_team2_101">
<POSITION>6097.8330078 198.5270844 5.0000000</POSITION>
<DIRECTION>-0.9999999 0.0000000 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_solo_102">
<POSITION>5748.6933594 -903.8108521 613.7858887</POSITION>
<DIRECTION>-0.9999999 0.0000000 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_solo_103">
<POSITION>-2217.8510742 892.7770996 -795.6045532</POSITION>
<DIRECTION>0.0000001 -0.9999999 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_solo_104">
<POSITION>-5000.0000000 1900.0000000 20.0000000</POSITION>
<DIRECTION>0.9999999 0.0000000 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_solo_105">
<POSITION>4196.6538086 873.2778320 610.5853271</POSITION>
<DIRECTION>0.9999999 0.0000001 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_solo_106">
<POSITION>2872.9782715 -879.1330566 -795.6045532</POSITION>
<DIRECTION>-0.9999999 0.0000000 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_solo_107">
<POSITION>335.1482544 -740.7736816 20.0000000</POSITION>
<DIRECTION>0.9999999 0.0000000 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_solo_108">
<POSITION>-4440.2216797 -1008.9804077 610.5853271</POSITION>
<DIRECTION>-0.9999999 0.0000000 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_solo_109">
<POSITION>-5000.0000000 -1900.0000000 19.9999847</POSITION>
<DIRECTION>0.9999999 -0.0000002 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_solo_110">
<POSITION>77.8059998 -887.0656128 -319.3572388</POSITION>
<DIRECTION>0.8660254 0.4999999 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_solo_111">
<POSITION>-3582.3432617 479.1426392 1307.5728760</POSITION>
<DIRECTION>0.9999999 0.0000000 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_solo_112">
<POSITION>-313.3879395 534.9699097 20.0000000</POSITION>
<DIRECTION>0.9659258 -0.2588190 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_solo_113">
<POSITION>-67.5072098 606.5954590 -597.0026245</POSITION>
<DIRECTION>-0.7071066 -0.7071068 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_solo_114">
<POSITION>-5695.3471680 944.5430908 610.5853271</POSITION>
<DIRECTION>0.9999999 0.0000000 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_solo_115">
<POSITION>268.6893311 34.2995720 -795.6044922</POSITION>
<DIRECTION>-0.7071068 -0.7071066 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_solo_116">
<POSITION>5000.0000000 -1898.7142334 19.9999847</POSITION>
<DIRECTION>-0.9999999 0.0000000 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_team2_102">
<POSITION>6097.8330078 67.2233810 5.0000000</POSITION>
<DIRECTION>-0.9999999 0.0000000 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_team1_102">
<POSITION>-6093.0756836 -64.3083649 56.9582214</POSITION>
<DIRECTION>0.9999999 0.0000000 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_team2_103">
<POSITION>6097.8330078 -64.0813065 5.0000000</POSITION>
<DIRECTION>-0.9999999 0.0000000 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_team1_103">
<POSITION>-6093.0756836 66.9958344 56.9582214</POSITION>
<DIRECTION>0.9999999 0.0000000 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_team2_104">
<POSITION>6097.8330078 -195.3860016 5.0000000</POSITION>
<DIRECTION>-0.9999999 0.0000000 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_team1_104">
<POSITION>-6093.0756836 198.3005219 56.9582214</POSITION>
<DIRECTION>0.9999999 0.0000000 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_team2_105">
<POSITION>6226.5966797 198.5270844 5.0000000</POSITION>
<DIRECTION>-0.9999999 0.0000000 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_team1_105">
<POSITION>-6225.8081055 -195.6125641 56.9582214</POSITION>
<DIRECTION>0.9999999 0.0000000 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_team2_106">
<POSITION>6226.5966797 67.2233810 5.0000000</POSITION>
<DIRECTION>-0.9999999 0.0000000 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_team1_106">
<POSITION>-6225.8081055 -64.3083649 56.9582214</POSITION>
<DIRECTION>0.9999999 0.0000000 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_team2_107">
<POSITION>6226.5966797 -64.0813065 5.0000000</POSITION>
<DIRECTION>-0.9999999 0.0000000 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_team1_107">
<POSITION>-6225.8081055 66.9958344 56.9582214</POSITION>
<DIRECTION>0.9999999 0.0000000 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_team2_108">
<POSITION>6226.5966797 -195.3860016 5.0000000</POSITION>
<DIRECTION>-0.9999999 0.0000000 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_team1_108">
<POSITION>-6225.8081055 198.3005219 56.9582214</POSITION>
<DIRECTION>0.9999999 0.0000000 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_item_team_hp03_01">
<POSITION>-5000.0000000 0.0000000 450.0000000</POSITION>
<DIRECTION>0.0000000 0.9999999 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_item_team_bullet02_01">
<POSITION>800.0000000 -550.0000000 -267.5876465</POSITION>
<DIRECTION>0.0000000 0.9999999 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_item_solo_bullet02_01">
<POSITION>-2217.4497070 775.2012939 -795.6045532</POSITION>
<DIRECTION>0.0000000 0.9999999 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_item_solo_ap03_01">
<POSITION>-5000.0000000 0.0000000 158.4726563</POSITION>
<DIRECTION>0.0000000 0.9999999 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_item_solo_hp03_01">
<POSITION>264.2125854 30.3530216 -795.6044922</POSITION>
<DIRECTION>0.0000000 0.9999999 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_item_solo_hp03_02">
<POSITION>0.0000000 0.0000000 5.0000000</POSITION>
<DIRECTION>0.0000000 0.9999999 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_item_solo_ap03_02">
<POSITION>5000.0000000 0.0000000 158.4726563</POSITION>
<DIRECTION>0.0000000 0.9999999 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_item_solo_bullet02_02">
<POSITION>800.0000000 -550.0000000 -267.5876465</POSITION>
<DIRECTION>0.0000000 0.9999999 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_item_team_ap03_01">
<POSITION>-3000.0000000 0.0000087 -795.6045532</POSITION>
<DIRECTION>0.0000000 0.9999999 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_item_team_ap03_02">
<POSITION>3000.0000000 0.0000087 -795.6045532</POSITION>
<DIRECTION>0.0000000 0.9999999 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_item_team_hp03_02">
<POSITION>5000.0000000 0.0000332 450.0000000</POSITION>
<DIRECTION>0.0000000 0.9999999 0.0000000</DIRECTION>
</DUMMY>
<DUMMY name="spawn_item_team_bullet02_02">
<POSITION>-800.0000000 550.0000000 -267.5875854</POSITION>
<DIRECTION>0.0000000 0.9999999 0.0000000</DIRECTION>
here are the codes:
Code:
<DUMMY name="camera_pos 01">
<POSITION>0.0 0.0 0.0</POSITION>
<DIRECTION>0.0 0.0 0.0</DIRECTION>
</DUMMY>
<DUMMY name="camera_pos 02">
<POSITION>0.0 0.0 0.0</POSITION>
<DIRECTION>0.0 0.0 0.0</DIRECTION>
</DUMMY>
It will look like this when you added the codes:
Code:
<DUMMY name="spawn_solo_101"> [B] <!-- This is where your char respawns--/>[/B]
<POSITION>0.0 0.0 0.0</POSITION>
<DIRECTION>0.0 0.0 0.0</DIRECTION>
</DUMMY>
<DUMMY name="camera_pos 01"> [B]<!--This is where the camera starts in your login--/>[/B]
<POSITION>0.0 0.0 0.0</POSITION>
<DIRECTION>0.0 0.0 0.0</DIRECTION>
</DUMMY>
<DUMMY name="camera_pos 02"> [B]<!--This is where the camera ends in your login--/>[/B]
<POSITION>0.0 0.0 0.0</POSITION>
<DIRECTION>0.0 0.0 0.0</DIRECTION>
</DUMMY>
Now those files would be named after this:
- login.RS
- login.RS.XML
- login.RS.bsp
- login.RS.col
- login.RS.lm
Here comes to harder part. You will need to past GunzLoader.exe into a clients folder. Make sure that that client has your map in the client's MAP folder.
Now make a shortcut of GunzLoader.exe and put it on your desktop or what ever.
Press right buttin on the shortcut and select properties.
You'll see that the shortcut has the gunzloader.exe as TARGET. Now you will need to edit that by pasting this code behind it (delete the [ ] ):
Code:
[ /game "[B]map[/B]" debug "00"]
Fill in the name of your map where i wrote "map"
Save the change you made and run the shortcut by double clicking it.
Now you will see that A Gunz Client will load. if the loading is done, it will start loading the map.
Then you respawn in the map (map needs lightmap, otherwise it will crash or give an error).
Next step: Find the exact place you want your char to respawn in the login map.
Press F9 and you'll see a bunch of codes on your screen.
Search for "pos" and "dir"
These codes show you where you are located in the map (where the feet of your char are).
open up the Login.RS.XML that you saved last time and scroll down again.
Write the code for "pos" between <POSITION> and </POSITION>
And the code for "dir" between <DIRECTION> and </DIRECTION>
Now for camera 01 and 02, You need to do the same but from an other position ofcorse.
Keep in mind that the Developer Mode gives the coordinations of the position of where your chars FEET are. So for the camera you'll need to count a little bit up to get your camera a bit higher then against the floor.
Note: Don't try to use the camera coordinates in the RS.XML.
If you're done, Compile your Login folder (the map) and place it into your interface folder in your client.
Normaly you're done now, Have fun!
I'm from belgium so it could be that you don't understand my englisch very much. Correcting my on my englisch is very much appreciated.
Credits:
RepublicOfAstra for making a smaller tut and the GunzLoader.exe!
Me for writing this TUT!
You for reading this
and Thanks for the people who correct any mistakes in this tut!
Last edited: