DM to CTF convert

12 replies [Last post]
alienM
alienM's picture
Offline
Joined: Jun 2009
Posts:

Please, I need your help. Last 15 days I work so hard of making new server. I did and fixed all things, only one I didin't. I have CTF server, and I want convert some DM maps to CTF. I puted inside flags by .add files and that work fine. I just need make born player places ( think that is caled red/blue spawn or red/blue player option), but I am not sure. I mean, problem is because players born everywhere, and in CTF type of game base is important. I dont need nothing more put in maps, just flag (already puted) and that born places. This is my example for q3dm4 map, but this don't work. I need help urgently, many players wait for this server:
//////////////ctf spawnfrags///////////////////////////
// entity 1
{
"classname" "team_CTF_redplayer"
"origin" "-896 -576 -232"
}
// entity 2
{
"classname" "team_CTF_redplayer"
"origin" "512 -576 -232"
}
// entity 3
{
"classname" "team_CTF_redplayer"
"origin" "-360 -812 -360"
}
// entity 4
{
"classname" "team_CTF_redplayer"
"origin" "0 -200 24"
}
// entity 5
{
"classname" "team_CTF_blueplayer"
"origin" "-384 944 -232"
}
// entity 6
{
"classname" "team_CTF_blueplayer"
"origin" "0 944 -232"
}
// entity 7
{
"classname" "team_CTF_blueplayer"
"origin" "500 1150 -232"
}
// entity 8
{
"classname" "team_CTF_blueplayer"
"origin" "-390 1400 -232"
}
/////////////////ctf spawns//////////////////////
// entity 1
{
"classname" "team_CTF_redspawn"
"origin" "-896 -576 -232"
}
// entity 2
{
"classname" "team_CTF_redspawn"
"origin" "512 -576 -232"
}
// entity 3
{
"classname" "team_CTF_redspawn"
"origin" "-360 -812 -360"
}
// entity 4
{
"classname" "team_CTF_redspawn"
"origin" "0 -200 24"
}
// entity 5
{
"classname" "team_CTF_bluespawn"
"origin" "-384 944 -232"
}
// entity 6
{
"classname" "team_CTF_bluespawn"
"origin" "0 944 -232"
}
// entity 7
{
"classname" "team_CTF_bluespawn"
"origin" "500 1150 -232"
}
// entity 8
{
"classname" "team_CTF_bluespawn"
"origin" "-390 1400 -232"
}

Did I done this good? What else I need put here. This is my born places:
red
-896 -576 -232
512 -576 -232
-360 -812 -360
0 -200 24

blue
-384 944 -232
0 944 -232
500 1150 -232
-390 1400 -232

IF SOMEONE CAN HELP ME I WILL BE SO HAPPY AND GRATEFUL. If someone can make me .ents example of this born places that will be awesome. Thank you all for reading this... :roll: ](*,) Praying

cml
Forum moderator Rank moderator LIVING LEGEND
camel-xp's picture
Offline
Joined: Mar 2006
Posts:
DM to CTF convert

Hi, download this program http://camel.net.pl/count/click.php?id=23&hash=5403021 Radiant 202

Its an Q3 level editor, you need to open map that you want to edit spawns, items, for example dm4 http://camel.net.pl/tmp/q3dm4_converted.zip
place that file into /baseq3/maps/ directory and load in editor, you can delete all spawns and add your own for red & blue team, dont forget about flags, when you select entity and pres N button you will see its own properties just copy info origin and the rest into your .ent file, also dont forget about worldspawn key, it needs to be on top of the .ent file

[code:1]{
"message" "The Place of Many Deaths"
"classname" "worldspawn"
"_color" "0.291774 0.260164 0.251904"
"ambient" "10"
"music" "music/sonic5.wav"
}[/code:1]

I hope that I help a little Happy

alienM
alienM's picture
Offline
Joined: Jun 2009
Posts:
DM to CTF convert
cml wrote:

Hi, download this program http://camel.net.pl/count/click.php?id=23&hash=5403021 Radiant 202

Its an Q3 level editor, you need to open map that you want to edit spawns, items, for example dm4 http://camel.net.pl/tmp/q3dm4_converted.zip
place that file into /baseq3/maps/ directory and load in editor, you can delete all spawns and add your own for red & blue team, dont forget about flags, when you select entity and pres N button you will see its own properties just copy info origin and the rest into your .ent file, also dont forget about worldspawn key, it needs to be on top of the .ent file

[code:1]{
"message" "The Place of Many Deaths"
"classname" "worldspawn"
"_color" "0.291774 0.260164 0.251904"
"ambient" "10"
"music" "music/sonic5.wav"
}[/code:1]

I hope that I help a little Happy

Thank you very much! Can I add this for rest of my maps too:
{
"message" "The Place of Many Deaths"
"classname" "worldspawn"
"_color" "0.291774 0.260164 0.251904"
"ambient" "10"
"music" "music/sonic5.wav"
}
Is same for all maps? I need to convert dm5, dm6, dm11, dm16 (dm17 I already have converted version by Beast), tourney2, tourney4. I can put this same text in all of them? Big grin Laughing Happy Idea

cml
Forum moderator Rank moderator LIVING LEGEND
camel-xp's picture
Offline
Joined: Mar 2006
Posts:
DM to CTF convert
alienM wrote:

Thank you very much! Can I add this for rest of my maps too:
{
"message" "The Place of Many Deaths"
"classname" "worldspawn"
"_color" "0.291774 0.260164 0.251904"
"ambient" "10"
"music" "music/sonic5.wav"
}
Is same for all maps? I need to convert dm5, dm6, dm11, dm16 (dm17 I already have converted version by Beast), tourney2, tourney4. I can put this same text in all of them? Big grin Laughing Happy Idea

no, each map have own worldspawn info, 'message' is a map title as you can see

alienM
alienM's picture
Offline
Joined: Jun 2009
Posts:
DM to CTF convert
cml wrote:

alienM wrote:
Thank you very much! Can I add this for rest of my maps too:
{
"message" "The Place of Many Deaths"
"classname" "worldspawn"
"_color" "0.291774 0.260164 0.251904"
"ambient" "10"
"music" "music/sonic5.wav"
}
Is same for all maps? I need to convert dm5, dm6, dm11, dm16 (dm17 I already have converted version by Beast), tourney2, tourney4. I can put this same text in all of them? Big grin Laughing Happy Idea

no, each map have own worldspawn info, 'message' is a map title as you can see

Yea, you are right, I found when I can see maps name, that is resolved. Only one more question: "_color" "0.291774 0.260164 0.251904" can't be same too?

cml
Forum moderator Rank moderator LIVING LEGEND
camel-xp's picture
Offline
Joined: Mar 2006
Posts:
DM to CTF convert
alienM wrote:

Yea, you are right, I found when I can see maps name, that is resolved. Only one more question: "_color" "0.291774 0.260164 0.251904" can't be same too?

you can even delete it, its only for compile process, so doesnt matter Tongue

alienM
alienM's picture
Offline
Joined: Jun 2009
Posts:
DM to CTF convert
cml wrote:

alienM wrote:
Yea, you are right, I found when I can see maps name, that is resolved. Only one more question: "_color" "0.291774 0.260164 0.251904" can't be same too?

you can even delete it, its only for compile process, so doesnt matter Tongue

"ambient" "10" I can delete too? Big grin

cml
Forum moderator Rank moderator LIVING LEGEND
camel-xp's picture
Offline
Joined: Mar 2006
Posts:
DM to CTF convert
alienM wrote:

"ambient" "10" I can delete too? Big grin

Yes Big grin

¯¯SFC¯¯*NEY
Neytrino's picture
Offline
Joined: Jun 2008
Posts:
DM to CTF convert

It is possible to correct a map (without compiling) - having added in it flags and respawns. And to copy it on a server:)) It is much easier.

configs: ONLY RAIL v.2.3
servers:
NEY CTF FLY RAIL - 89.250.4.253 : 21977
NEY SOD CTF - 89.189.99.10 : 27969
MOSCOW FREEZE - 89.189.99.10 : 27960
Site: FORUM SFC Clan

¯¯__█ALI█¯¯__
xpaliminium's picture
Offline
Joined: Nov 2005
Posts:
DM to CTF convert

I think you are wrong camel Happy

try this on a map and you will see
[code:1] "_color" "0.291774 0.260164 0.251904"
"ambient" "200"[/code:1]
it changes the global ambient light. Tongue

Wanna avoid seeying mow, skull & co Surprise

Check this peacefull place

alienM
alienM's picture
Offline
Joined: Jun 2009
Posts:
DM to CTF convert
cml wrote:

alienM wrote:
"ambient" "10" I can delete too? Big grin

Yes Big grin

I puted this in .ents file and dont work, sevrer stuck:

// entity 0
{
"classname" "worldspawn"
"_color" "0.291774 0.260164 0.251904"
"ambient" "10"
"message" "The Place of Many Deaths"
"music" "music/sonic5.wav"
//////////////ctf spawnfrags///////////////////////////
// entity 1
{
"classname" "team_CTF_redplayer"
"origin" "-896 -576 -232"
}
// entity 2
{
"classname" "team_CTF_redplayer"
"origin" "512 -576 -232"
}
// entity 3
{
"classname" "team_CTF_redplayer"
"origin" "-360 -812 -360"
}
// entity 4
{
"classname" "team_CTF_redplayer"
"origin" "0 -200 24"
}
// entity 5
{
"classname" "team_CTF_blueplayer"
"origin" "-384 944 -232"
}
// entity 6
{
"classname" "team_CTF_blueplayer"
"origin" "0 944 -232"
}
// entity 7
{
"classname" "team_CTF_blueplayer"
"origin" "500 1150 -232"
}
// entity 8
{
"classname" "team_CTF_blueplayer"
"origin" "-390 1400 -232"
}
/////////////////ctf spawns//////////////////////
// entity 1
{
"classname" "team_CTF_redspawn"
"origin" "-896 -576 -232"
}
// entity 2
{
"classname" "team_CTF_redspawn"
"origin" "512 -576 -232"
}
// entity 3
{
"classname" "team_CTF_redspawn"
"origin" "-360 -812 -360"
}
// entity 4
{
"classname" "team_CTF_redspawn"
"origin" "0 -200 24"
}
// entity 5
{
"classname" "team_CTF_bluespawn"
"origin" "-384 944 -232"
}
// entity 6
{
"classname" "team_CTF_bluespawn"
"origin" "0 944 -232"
}
// entity 7
{
"classname" "team_CTF_bluespawn"
"origin" "500 1150 -232"
}
// entity 8
{
"classname" "team_CTF_bluespawn"
"origin" "-390 1400 -232"
}