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

Members Online

»
0 Active | 98 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

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
Category: CoDUO Mapping
CoD United Offensive mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: How to delete a spawn point
ozzy
General Member
Since: Jul 9, 2004
Posts: 59
Last: Apr 23, 2019
[view latest posts]
Level 3
Category: CoDUO Mapping
Posted: Saturday, Oct. 24, 2015 10:07 pm
Hi
I have found several maps i want to put on my server but the problem is that some of them have spawn points outside of the map or in a room with no doors or windows
How do I delete just the one spawn which is causing the error
I know it can be done in the gsc file without a bsp edit
but I don't know how
Can anyone help please
Share |
AndrewT
General Member
Since: Feb 28, 2005
Posts: 58
Last: Oct 27, 2017
[view latest posts]
Level 3
Category: CoDUO Mapping
Posted: Monday, Oct. 26, 2015 05:09 pm
hi there

it can be done, but according to my experiences, it's a bit different than you might hope it is.

1. you have to edit the .bsp file, as the spawnpoints are stored inside the map

2. the good news is, that spawnpoints aren't encoded inside the .bsp file, you can look for them at the very end (bottom) of the file if you open it in for example notepad. look for something like this:

{
"angles" "0 270 0"
"origin" "1061 2465 80"
"classname" "mp_teamdeathmatch_spawn"
}

3. and here comes your real challenge. just judging by the coordinates, will you be able to detect which one is the spawnpoint that causes the problem? i don't think i could. but if you can, you can simply delete those rows. or if there aren't too many spawnpoints, and you have time and patience, you can play try-and-see, deleting or adding back the spawnpoints one-by-one until you figure out which one is the faulty.

4. the best way to do it, if you have the source .map file, if you have done the map, or if you know the guy that has done it. opening it in CoDRadiant, and locating the exact place can be done in no time.

cheers
Share |
ozzy
General Member
Since: Jul 9, 2004
Posts: 59
Last: Apr 23, 2019
[view latest posts]
Level 3
Category: CoDUO Mapping
Posted: Monday, Oct. 26, 2015 06:12 pm
Hi
I can edit it with a bsp editor and delete or move the spawn but then I would have to rename the map as it will cause problems with clients with the same map
I have seen it done with a gsc script but you have to find the entity number and I don't know how to find out which number it is
Share |
ozzy
General Member
Since: Jul 9, 2004
Posts: 59
Last: Apr 23, 2019
[view latest posts]
Level 3
Category: CoDUO Mapping
Posted: Tuesday, Oct. 27, 2015 01:00 pm
I have found this in a different gsc file to fix a tdm spawn outside of the map
how do i find the EntityNumber without using cod radiant

I have the coordinates of the spawn i need to delete .
Is there a way of altering this script and putting in the coordinates instead of the entity number


fixBugs() {

//remove an extra tdm spawn outside the play area
if ((getcvar("g_gametype") == "tdm") || (getcvar("g_gametype") == "bel") || (getcvar("g_gametype") == "hq") ) {

spawnpoints = getentarray("mp_teamdeathmatch_spawn", "classname");
for(i = 0; i < spawnpoints.size; i++) {
entno = spawnpoints getEntityNumber();
if (entno == 499) {
spawnpoints delete();
break;
}
}

wait 0.1; // a frame for the server to catch up...

}
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty : CoDUO 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

»