Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 6 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 2
Category: CoD2 MP Mapping
CoD 2 mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Previous Page Next Page
subscribe
Author Topic: place spawns in map no-cross
Aurym
General Member
Since: Sep 10, 2010
Posts: 40
Last: Sep 30, 2013
[view latest posts]
Level 2
Category: CoD2 MP Mapping
Posted: Monday, Sep. 23, 2013 07:33 pm
Well... My problem no is the teleports, that it run correctly. I will try to explain me for you to understand me...
I have a map no-cross, with two sides, allied and axis. I have only a spawn for all; tdm_spawn. I put axis's spawns, in axis's side. And allied's spawns in allied's side. But all are de same spawns; mp_tdm_spawns. Then, when allied or axis respawn some times, can spawn in wrong side
I put the axis's teleport in axis's side, but the spawn is tdm_spawn; the same at teleport in allied's side... I explain?

I try solve this with spawn tdm and a ctf_allied or ctf_axis but does not works.

I know that this is possible, there are several servers with maps no cross, where if you are american, and die some times, ever are in side american

I hope somebody can help me...[cry]
Share |
Ni3ls
General Member
Since: Nov 7, 2008
Posts: 256
Last: Sep 9, 2017
[view latest posts]
Level 5
Category: CoD2 MP Mapping
Posted: Tuesday, Sep. 24, 2013 05:28 am
make a teleport..... And if you made 1, post the teleport script.
Share |
Aurym
General Member
Since: Sep 10, 2010
Posts: 40
Last: Sep 30, 2013
[view latest posts]
Level 2
Category: CoD2 MP Mapping
Posted: Tuesday, Sep. 24, 2013 10:15 am
This is the script of teleport tutorial, I did not change nothing because in tutorial no says that I must change nothing:

main()
{

entTransporter = getentarray("enter","targetname");
if(isdefined(entTransporter))
{
for(lp=0;lp entTransporter[lp] thread Transporter();
}


}


Transporter()
{
while(true)
{
self waittill("trigger",other);
entTarget = getent(self.target, "targetname");

wait(0.10);
other setorigin(entTarget.origin);
other setplayerangles(entTarget.angles);
//iprintlnbold ("You have been teleported !!!");
wait(0.10);
}
}

I dont understand script... there are something wrong?
Share |
ukdjaj
General Member
Since: Jun 1, 2008
Posts: 2726
Last: Nov 15, 2020
[view latest posts]
Level 9
Category: CoD2 MP Mapping
Posted: Tuesday, Sep. 24, 2013 10:15 am
You should put the spawns in a SEPERATE part of the map!

So that all the TDM spawns spawn together, ABOVE a Trigger_Multiple, which will be the trigger to the teleport script!

Then the teleport script will teleport the person depending on whether they are axis or allies, to the side of the map you put the teleport destination!

Hope you understand this soon :p

Thanks, Ukdjaj[thumbs_up]
Share |
Aurym
General Member
Since: Sep 10, 2010
Posts: 40
Last: Sep 30, 2013
[view latest posts]
Level 2
Category: CoD2 MP Mapping
Posted: Tuesday, Sep. 24, 2013 02:10 pm
I place a trigger_multiple with tdm spawns underneath the map, but I place two teleporter, one in final of map, and other in opposite end; they are separated. But I dont understand a thing... teleporter run ok, I respawn, not in underneath the map, otherwise in the map, where I put the script_origin. For this I think the problem no is the teleporter...

Just in case, I have to say one thing... I test the map with "compile tools", meaning I'm alone in the map, and when I kill me or change of team, I see that I appear on the wrong side. Why do I know it's the wrong side? Because I placed a textures with flags american an german.

I apologize for so many questions and problems ... but as they say in my country "who do not know, is like one who has not seen" :)

(sorry for my english... I use google translator :P )
Share |
StrYdeR
General Member
Since: May 11, 2004
Posts: 11671
Last: Oct 7, 2021
[view latest posts]
Level 10
Admin
Forum Moderator
Im a HOST of MODSonair
Category: CoD2 MP Mapping
Posted: Tuesday, Sep. 24, 2013 03:13 pm
Aurym writes...
Quote:

Just in case, I have to say one thing... I test the map with "compile tools", meaning I'm alone in the map, and when I kill me or change of team, I see that I appear on the wrong side. Why do I know it's the wrong side? Because I placed a textures with flags american an german.


You cannot test it like that.
If you arre the only player in a TDM map - the spawn logic will allow you to spawn at any "safe" TDM spawnpoint

In order to test if what you are trying to do is working - you must test with multiple players

[angryalien]

edited on Sep. 24, 2013 08:14 am by StrYdeR
Share |
Ni3ls
General Member
Since: Nov 7, 2008
Posts: 256
Last: Sep 9, 2017
[view latest posts]
Level 5
Category: CoD2 MP Mapping
Posted: Wednesday, Sep. 25, 2013 07:18 am
Place bots in your map and try again
Share |
ukdjaj
General Member
Since: Jun 1, 2008
Posts: 2726
Last: Nov 15, 2020
[view latest posts]
Level 9
Category: CoD2 MP Mapping
Posted: Wednesday, Sep. 25, 2013 07:22 am
Have to seperate teleport scripts, one is a if allies teleport to origin 1, at one side of the map, if(team=="axis") teleport to origin 2, at the otherside of the map, i dont understand how you're not understanding :P

Thanks, Ukdjaj[thumbs_up]
Share |
Aurym
General Member
Since: Sep 10, 2010
Posts: 40
Last: Sep 30, 2013
[view latest posts]
Level 2
Category: CoD2 MP Mapping
Posted: Thursday, Sep. 26, 2013 07:36 pm
Oh thanks!! I not knew I had to make two different scripts, one for each team [confused]
But now I have other problem... How I can do several spawns? I dont know if I must write something in the script or if I must create some triggers... What I must do? Sorry again for my ignorance... is my first map no cross and before I never had problems with maps tdm :)
Share |
Ni3ls
General Member
Since: Nov 7, 2008
Posts: 256
Last: Sep 9, 2017
[view latest posts]
Level 5
Category: CoD2 MP Mapping
Posted: Friday, Sep. 27, 2013 03:48 pm
DUDE LISTEN FFS! Place bots in your map. You dont spawn in the wrong side now. Only when you play on yuor own u will....
Share |
Restricted Access Topic is Locked
Page
Previous Page Next Page
subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 MP Mapping

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»