Spawnpoint adding Help !


(AgentHani) #1

Hello,

You guys dont know me but i am a Supreme from one clan that i wont tell, so my name is Hani,

I came here to ask for help about adding spawnpoints on map,

so the problem is, we know some map creators they just add only 1 Spawnpoint in each team(axis n allies) and that will result to spawn raping or spawn stuck etc especially with bots etc,

so i wanted to know how do u add an extra spawnpoint in each team, i did alot of research and couldnt find any fixes or answers…

plus i did tried adding a spawnpoint script on a custom map like CTF The station for example, but it didnt work, idk it should work tbh but i still dont get it why it didnt went well,

heres the script i added for CTF The Station,

http://pastebin.com/6BF0LALZ

And by the way look at fueldump’s mapscript, idk how they tried adding the working spawnpoints tho but still wondering

http://xinul.org/etmaps/jaymod/mapscripts/fueldump.script

so any help will be much appreciated !

-Hani


(Teuthis) #2

Hi there,

There are a Lot of Tutorials on spawn Points out there. I am Not sure what exactly you need but you can Check this Website below. There you will find a prefab Generator which can create all sort of spawnpoints including the script.

http://www.ujeclan.com


(acQu) #3

Hi, my guess is that you want to add spawnpoints to an existing map.

If my guess is correct, there is a hard path ahead of you, if you never opened Radiant and mapped.

Some hints:

  • look at some etpro mapscripts, there should still be some floating around (google examples, for example fueldump 3, which adds spawnpoints i think
  • in these mapscripts look at the game_manager spawn action (at beginning of script) and there look for the “create” blocks. This way you add stuff to your map, with the create blocks.

This should be good for a start, maybe you can even copy paste yourself to victory.

Some problems you might find:

  • finding the origin values goes with some ingame command (i forgot it …), but you need the origin to put the spawnpoint in right location
  • triggering or setting the state of the spawn to active needs some further investigation

Still there? Maybe this helps also reading:

forums.warchest.com/showthread.php/35860-Fueldump-with-StinVec-Assault-Bridge-for-Axis-in-Fueldump?highlight=fueldump+mapscript
http://forums.warchest.com/showthread.php/11871-NEW-Fueldump-ETpro-map-script

You need time and patience. Maybe your clan members can pay you :smiley:

P.S. i loled at the “im a supreme so cant tell name” :smiley:

EDIT if you paste your script right here instead of linking them (i wont be clicking them when they link to untrusted sites), i might be able to give some hints to what might be wrong. If i can without starting ET, cause i haven’t installed it currently …


(Teuthis) #4

If the issue is that a spawn shall be placed in an existing Map and there is no experience with how the radiant Works, then I suggest to hand the pk3 over to someone who actually know how to do it. I’m afraid Acqu is correct saying that without the Basic Mapping skills this is quite an uphill battle.


(Micha) #5

Download: fueldump script.zip (12.9 KB)

The origin in the script describes the position. You need to go to the map and into the place where you want to add the spawnpoint. Type “/viewpos” in the console to get the coordinates (x, y, z). The spawnflags is to set the spawn for axis (1), allies (2), all/dynamic (3). Classname should be “team_CTF_bluespawn” for allies or “team_CTF_redspawn” for axis.

Example fueldump:


create
		{
			scriptName "fueldumphq_obj"
			classname "team_WOLF_objective"
			targetname "fueldumphq_obj"
			origin "-10853 -2036 6"	// z = CC_FILTER_ALLIES(2) | CC_FILTER_SPAWNS(4)
			spawnflags 2	// TEAM_ALLIES(2)
		}

This is the “main spawn”.


create
		{
			scriptName "fueldumphq_spawn1"
			classname "team_CTF_bluespawn"
			targetname "fueldumphq_spawn"
			origin "11072 -2448 512"
			spawnflags 2	// TEAM_ALLIES
		}

		create
		{
			scriptName "fueldumphq_spawn2"
			classname "team_CTF_bluespawn"
			targetname "fueldumphq_spawn"
			origin "-10995 -2448 512"
			spawnflags 2	// TEAM_ALLIES
		}

		create
		{
			scriptName "fueldumphq_spawn3"
			classname "team_CTF_bluespawn"
			targetname "fueldumphq_spawn"
			origin "-10918 -2448 512"
			spawnflags 2	// TEAM_ALLIES
		}

		create
		{
			scriptName "fueldumphq_spawn4"
			classname "team_CTF_bluespawn"
			targetname "fueldumphq_spawn"
			origin "-10841 -2448 512"
			spawnflags 2	// TEAM_ALLIES
		}

		create
		{
			scriptName "fueldumphq_spawn5"
			classname "team_CTF_bluespawn"
			targetname "fueldumphq_spawn"
			origin "11072 -2288 512"
			spawnflags 2	// TEAM_ALLIES
		}

		create
		{
			scriptName "fueldumphq_spawn6"
			classname "team_CTF_bluespawn"
			targetname "fueldumphq_spawn"
			origin "-10995 -2288 512"
			spawnflags 2	// TEAM_ALLIES
		}

		create
		{
			scriptName "fueldumphq_spawn7"
			classname "team_CTF_bluespawn"
			targetname "fueldumphq_spawn"
			origin "-10918 -2288 512"
			spawnflags 2	// TEAM_ALLIES
		}

		create
		{
			scriptName "fueldumphq_spawn8"
			classname "team_CTF_bluespawn"
			targetname "fueldumphq_spawn"
			origin "-10841 -2288 512"
			spawnflags 2	// TEAM_ALLIES
		}

These are the single spawnpoints. You always should add enough so players do not spawn in each other. You need to write this under

game_manager
{
	spawn
	{


//bani
fueldumphq_obj
{
	spawn
	{
		set
		{
			//these have to be set inside the spawn{} function, not create{}
			description "Garage HQ"
			message "Garage HQ"
		}
		wait 50
		setstate fueldumphq_obj invisible
		setstate fueldumphq_spawn invisible

	}

	trigger on
	{               
		setstate fueldumphq_obj default
		setstate fueldumphq_spawn default
	}

	trigger off
	{
		setstate fueldumphq_obj invisible
		setstate fueldumphq_spawn invisible
	}
}

This is the script part for the spawn to be able to activate/deactivate it in the script. You can put this in the end of a existing script.
You can trigger the spawn point anywhere in the script now with “trigger fueldumphq_obj on” or “trigger fueldumphq_obj off”.

Example:


allied_radio_built
{
	spawn
	{
		wait 400
		constructible_class 2
		trigger allied_radio_built setup
	}

	trigger setup
	{
		setchargetimefactor 1 soldier 1
		setchargetimefactor 1 lieutenant 1
		setchargetimefactor 1 medic 1
		setchargetimefactor 1 engineer 1
		setchargetimefactor 1 covertops 1
		sethqstatus 1 0
		trigger alliedhqradio_toi disable_hacabs
	}

	buildstart final
	{
		trigger allied_radio_built_model trans
		trigger allied_radio_destroyed hide
		trigger allied_radio_closed hide
	}

	decayed final
	{
		trigger allied_radio_built_model hide
		trigger allied_radio_closed show
	}

	built final
	{
		trigger allied_radio_built_model show
		trigger allied_radio_closed hide
		trigger allied_radio_destroyed hide

		trigger allied_radio_built_model enable_allied_features
		enablespeaker alliedhq_sound

		//bani
		trigger fueldumphq_obj on
	}

	death
	{
		trigger allied_radio_built_model hide
		trigger allied_radio_destroyed show

		trigger allied_radio_built_model disable_allied_features
		disablespeaker alliedhq_sound

		//bani
		trigger fueldumphq_obj off
	}
}


(AgentHani) #6

[QUOTE=Micha;535461]Download: fueldump script.zip (12.9 KB)

The origin in the script describes the position. You need to go to the map and into the place where you want to add the spawnpoint. Type “/viewpos” in the console to get the coordinates (x, y, z). The spawnflags is to set the spawn for axis (1), allies (2), all/dynamic (3). Classname should be “team_CTF_bluespawn” for allies or “team_CTF_redspawn” for axis.

Example fueldump:


create
		{
			scriptName "fueldumphq_obj"
			classname "team_WOLF_objective"
			targetname "fueldumphq_obj"
			origin "-10853 -2036 6"	// z = CC_FILTER_ALLIES(2) | CC_FILTER_SPAWNS(4)
			spawnflags 2	// TEAM_ALLIES(2)
		}

This is the “main spawn”.


create
		{
			scriptName "fueldumphq_spawn1"
			classname "team_CTF_bluespawn"
			targetname "fueldumphq_spawn"
			origin "11072 -2448 512"
			spawnflags 2	// TEAM_ALLIES
		}

		create
		{
			scriptName "fueldumphq_spawn2"
			classname "team_CTF_bluespawn"
			targetname "fueldumphq_spawn"
			origin "-10995 -2448 512"
			spawnflags 2	// TEAM_ALLIES
		}

		create
		{
			scriptName "fueldumphq_spawn3"
			classname "team_CTF_bluespawn"
			targetname "fueldumphq_spawn"
			origin "-10918 -2448 512"
			spawnflags 2	// TEAM_ALLIES
		}

		create
		{
			scriptName "fueldumphq_spawn4"
			classname "team_CTF_bluespawn"
			targetname "fueldumphq_spawn"
			origin "-10841 -2448 512"
			spawnflags 2	// TEAM_ALLIES
		}

		create
		{
			scriptName "fueldumphq_spawn5"
			classname "team_CTF_bluespawn"
			targetname "fueldumphq_spawn"
			origin "11072 -2288 512"
			spawnflags 2	// TEAM_ALLIES
		}

		create
		{
			scriptName "fueldumphq_spawn6"
			classname "team_CTF_bluespawn"
			targetname "fueldumphq_spawn"
			origin "-10995 -2288 512"
			spawnflags 2	// TEAM_ALLIES
		}

		create
		{
			scriptName "fueldumphq_spawn7"
			classname "team_CTF_bluespawn"
			targetname "fueldumphq_spawn"
			origin "-10918 -2288 512"
			spawnflags 2	// TEAM_ALLIES
		}

		create
		{
			scriptName "fueldumphq_spawn8"
			classname "team_CTF_bluespawn"
			targetname "fueldumphq_spawn"
			origin "-10841 -2288 512"
			spawnflags 2	// TEAM_ALLIES
		}

These are the single spawnpoints. You always should add enough so players do not spawn in each other. You need to write this under

game_manager
{
	spawn
	{


//bani
fueldumphq_obj
{
	spawn
	{
		set
		{
			//these have to be set inside the spawn{} function, not create{}
			description "Garage HQ"
			message "Garage HQ"
		}
		wait 50
		setstate fueldumphq_obj invisible
		setstate fueldumphq_spawn invisible

	}

	trigger on
	{               
		setstate fueldumphq_obj default
		setstate fueldumphq_spawn default
	}

	trigger off
	{
		setstate fueldumphq_obj invisible
		setstate fueldumphq_spawn invisible
	}
}

This is the script part for the spawn to be able to activate/deactivate it in the script. You can put this in the end of a existing script.
You can trigger the spawn point anywhere in the script now with “trigger fueldumphq_obj on” or “trigger fueldumphq_obj off”.

Example:


allied_radio_built
{
	spawn
	{
		wait 400
		constructible_class 2
		trigger allied_radio_built setup
	}

	trigger setup
	{
		setchargetimefactor 1 soldier 1
		setchargetimefactor 1 lieutenant 1
		setchargetimefactor 1 medic 1
		setchargetimefactor 1 engineer 1
		setchargetimefactor 1 covertops 1
		sethqstatus 1 0
		trigger alliedhqradio_toi disable_hacabs
	}

	buildstart final
	{
		trigger allied_radio_built_model trans
		trigger allied_radio_destroyed hide
		trigger allied_radio_closed hide
	}

	decayed final
	{
		trigger allied_radio_built_model hide
		trigger allied_radio_closed show
	}

	built final
	{
		trigger allied_radio_built_model show
		trigger allied_radio_closed hide
		trigger allied_radio_destroyed hide

		trigger allied_radio_built_model enable_allied_features
		enablespeaker alliedhq_sound

		//bani
		trigger fueldumphq_obj on
	}

	death
	{
		trigger allied_radio_built_model hide
		trigger allied_radio_destroyed show

		trigger allied_radio_built_model disable_allied_features
		disablespeaker alliedhq_sound

		//bani
		trigger fueldumphq_obj off
	}
}

[/QUOTE]

It really worked :d ! Thanks for the tip mate !

However, we made spawnpoints for this map, the_station

u can see the top part of the script --> http://pastebin.com/pHeUhpjA

But somehow i have one problem, I tried making another spawnpoint script for another map, it was called Tournement_dm or something,
I edited its .script file and added some brackets and spawnpoint coordinates and stuff,
So after finished doing it, i uploaded the map on my FTP, added the .script file in the Jaymod --> Mapscript folder inside FTP,
The server was running jaymod so after the map upload finished, i voted the map but then it crashed the server, i was wondering why but hopefully i got everything OK, i mean i am not sure if i did any typo mistakes in the .script file but it should suppose to work.

Heres the script for the map that im havin problem with it --> http://pastebin.com/GcNBnEXW

any solutions?


(Micha) #7

server crashs on a map are caused from an error in the mapscript as you noticed. You need to search for a missspell, wrong bracket, etc.

try this (I could not test it ingame but should work):
tournementdm.script


game_manager
{
	spawn
	{
	
		create
		{
			scriptName "alliesspawn_obj"
			classname "team_WOLF_objective"
			targetname "alliesspawn_obj"
			origin "-4288 384 72"	// z = CC_FILTER_ALLIES(2) | CC_FILTER_SPAWNS(4)
			spawnflags 2	// TEAM_ALLIES(2)
			description "Allies Spawn"
		}
		
		create
		{
	        	scriptName "allies_spawn1"
                	classname "team_CTF_bluespawn"
                        targetname "allies_spawn"
                        origin "-4288 384 72"
                        spawnflags 2   
                        angle "0"
                }

                create
                {
                       scriptName "allies_spawn2"
                       classname "team_CTF_bluespawn"
                       targetname "allies_spawn"
                       origin "-4288 468 72"
                       spawnflags 2   
                       angle "0"
                }

                create
                {
                       scriptName "allies_spawn3"
                       classname "team_CTF_bluespawn"
                       targetname "allies_spawn"
                       origin "-4287 281 72"
                       spawnflags 2   
                       angle "0"
                }

                create
                {
                       scriptName "allies_spawn4"
                       classname "team_CTF_bluespawn"
                       targetname "allies_spawn"
                       origin "-4381 281 72"
                       spawnflags 2   
                       angle "0"
                }

                create
                {
                       scriptName "allies_spawn5"
                       classname "team_CTF_bluespawn"
                       targetname "allies_spawn"
                       origin "-4381 380 72"
                       spawnflags 2   
                       angle "0"
                }

                create
                {
                       scriptName "allies_spawn6"
                       classname "team_CTF_bluespawn"
                       targetname "allies_spawn"
                       origin "-4382 468 72"
                       spawnflags 2   
                       angle "0"
                }
				
						create
		{
			scriptName "axisspawn_obj"
			classname "team_WOLF_objective"
			targetname "axisspawn_obj"
			origin "-1408 384 72"	// z = CC_FILTER_ALLIES(2) | CC_FILTER_SPAWNS(4)
			spawnflags 1	// TEAM_AXIS(1)
			description "Axis Spawn"
		}

                create
                {
                       scriptName "axis_spawn1"
                       classname "team_CTF_redspawn"
                       targetname "axis_spawn"
                       origin "-1408 384 72"
                       spawnflags 1  
                       angle "-179"
                }

                create
                {
                       scriptName "axis_spawn2"
                       classname "team_CTF_redspawn"
                       targetname "axis_spawn"
                       origin "-1407 298 72"
                       spawnflags 1   
                       angle "179"
                }

                create
                {
                       scriptName "axis_spawn3"
                       classname "team_CTF_redspawn"
                       targetname "axis_spawn"
                       origin "-1407 479 72"
                       spawnflags 1   
                       angle "179"
                }

                create
                {
                       scriptName "axis_spawn4"
                       classname "team_CTF_redspawn"
                       targetname "axis_spawn"
                       origin "-1322 383 72"
                       spawnflags 1   
                       angle "179"
                }

                create
                {
                       scriptName "axis_spawn5"
                       classname "team_CTF_redspawn"
                       targetname "axis_spawn"
                       origin "-1322 303 72"
                       spawnflags 1   
                       angle "179"
                }

                create
                {
                       scriptName "axis_spawn6"
                       classname "team_CTF_redspawn"
                       targetname "axis_spawn"
                       origin "-1322 376 72"
                       spawnflags 1   
                       angle "-176"
                }

		wm_axis_respawntime	3
		wm_allied_respawntime	3
		wm_set_round_timelimit	30
	
		wm_set_defending_team	0

		wm_setwinner	1
		
		setautospawn "Allies Spawn" 1
		setautospawn "Axis Spawn" 0

		wait 1000
	}
}


(AgentHani) #8

[QUOTE=Micha;537087]server crashs on a map are caused from an error in the mapscript as you noticed. You need to search for a missspell, wrong bracket, etc.

try this (I could not test it ingame but should work):
tournementdm.script


game_manager
{
	spawn
	{
	
		create
		{
			scriptName "alliesspawn_obj"
			classname "team_WOLF_objective"
			targetname "alliesspawn_obj"
			origin "-4288 384 72"	// z = CC_FILTER_ALLIES(2) | CC_FILTER_SPAWNS(4)
			spawnflags 2	// TEAM_ALLIES(2)
			description "Allies Spawn"
		}
		
		create
		{
	        	scriptName "allies_spawn1"
                	classname "team_CTF_bluespawn"
                        targetname "allies_spawn"
                        origin "-4288 384 72"
                        spawnflags 2   
                        angle "0"
                }

                create
                {
                       scriptName "allies_spawn2"
                       classname "team_CTF_bluespawn"
                       targetname "allies_spawn"
                       origin "-4288 468 72"
                       spawnflags 2   
                       angle "0"
                }

                create
                {
                       scriptName "allies_spawn3"
                       classname "team_CTF_bluespawn"
                       targetname "allies_spawn"
                       origin "-4287 281 72"
                       spawnflags 2   
                       angle "0"
                }

                create
                {
                       scriptName "allies_spawn4"
                       classname "team_CTF_bluespawn"
                       targetname "allies_spawn"
                       origin "-4381 281 72"
                       spawnflags 2   
                       angle "0"
                }

                create
                {
                       scriptName "allies_spawn5"
                       classname "team_CTF_bluespawn"
                       targetname "allies_spawn"
                       origin "-4381 380 72"
                       spawnflags 2   
                       angle "0"
                }

                create
                {
                       scriptName "allies_spawn6"
                       classname "team_CTF_bluespawn"
                       targetname "allies_spawn"
                       origin "-4382 468 72"
                       spawnflags 2   
                       angle "0"
                }
				
						create
		{
			scriptName "axisspawn_obj"
			classname "team_WOLF_objective"
			targetname "axisspawn_obj"
			origin "-1408 384 72"	// z = CC_FILTER_ALLIES(2) | CC_FILTER_SPAWNS(4)
			spawnflags 1	// TEAM_AXIS(1)
			description "Axis Spawn"
		}

                create
                {
                       scriptName "axis_spawn1"
                       classname "team_CTF_redspawn"
                       targetname "axis_spawn"
                       origin "-1408 384 72"
                       spawnflags 1  
                       angle "-179"
                }

                create
                {
                       scriptName "axis_spawn2"
                       classname "team_CTF_redspawn"
                       targetname "axis_spawn"
                       origin "-1407 298 72"
                       spawnflags 1   
                       angle "179"
                }

                create
                {
                       scriptName "axis_spawn3"
                       classname "team_CTF_redspawn"
                       targetname "axis_spawn"
                       origin "-1407 479 72"
                       spawnflags 1   
                       angle "179"
                }

                create
                {
                       scriptName "axis_spawn4"
                       classname "team_CTF_redspawn"
                       targetname "axis_spawn"
                       origin "-1322 383 72"
                       spawnflags 1   
                       angle "179"
                }

                create
                {
                       scriptName "axis_spawn5"
                       classname "team_CTF_redspawn"
                       targetname "axis_spawn"
                       origin "-1322 303 72"
                       spawnflags 1   
                       angle "179"
                }

                create
                {
                       scriptName "axis_spawn6"
                       classname "team_CTF_redspawn"
                       targetname "axis_spawn"
                       origin "-1322 376 72"
                       spawnflags 1   
                       angle "-176"
                }

		wm_axis_respawntime	3
		wm_allied_respawntime	3
		wm_set_round_timelimit	30
	
		wm_set_defending_team	0

		wm_setwinner	1
		
		setautospawn "Allies Spawn" 1
		setautospawn "Axis Spawn" 0

		wait 1000
	}
}

[/QUOTE]

Wow it finally worked, holy **** :smiley: !
Thanks alot micha i owe u alot for this one m8 ! Now i can see what changes u made in the script and that definately was the solution ,

Thank u somuch for helping and indeed much appreciated !!!


(AgentHani) #9

Owait i guess theres one very small problem ive never noticed,
The script is working well,

But the Axis spawnpoint is not visible, i mean its not working

The Allies Spawnpoint is working but axis doesnt and find it weird,

could be the axis’s team_WOLF_objective script?

and my bad i couldnt give u the map but here it is :-- http://www.upload.ee/files/5142720/tournementdm_fix_b1.pk3.html


(Micha) #10

I could get the spawns kinda to work on this map version: http://www.wolffiles.de/index.php?filebase&fid=3061
I believe this map is abit strangely made or my homehost server is broken. Sometimes I spawn in the “nothing” for some reason on this map.


game_manager
{
	spawn
	{
				//-- Allies Spawn
				create
				{
					scriptName "allies_spawn_obj"
					classname "team_WOLF_objective"
					targetname "allies_spawn_obj"
					origin "-2176 5888 32"	// z = CC_FILTER_ALLIES(2) | CC_FILTER_SPAWNS(4)
					spawnflags 2	// TEAM_ALLIES(2)
					description "Allies Spawn"
				}
				create
				{
						scriptName "allies_spawn1"
						classname "team_CTF_bluespawn"
                        targetname "allies_spawn"
                        origin "-2176 5888 32"
                        spawnflags 2   
                        angle "0"
                }

                create
                {
                       scriptName "allies_spawn2"
                       classname "team_CTF_bluespawn"
                       targetname "allies_spawn"
                       origin "-2146 5888 32"
                       spawnflags 2   
                       angle "0"
                }

                create
                {
                       scriptName "allies_spawn3"
                       classname "team_CTF_bluespawn"
                       targetname "allies_spawn"
                       origin "-2206 5888 32"
                       spawnflags 2   
                       angle "0"
                }

                create
                {
                       scriptName "allies_spawn4"
                       classname "team_CTF_bluespawn"
                       targetname "allies_spawn"
                       origin "-2176 5858 32"
                       spawnflags 2   
                       angle "0"
                }

                create
                {
                       scriptName "allies_spawn5"
                       classname "team_CTF_bluespawn"
                       targetname "allies_spawn"
                       origin "-2146 5858 32"
                       spawnflags 2   
                       angle "0"
                }
				
                create
                {
                       scriptName "allies_spawn6"
                       classname "team_CTF_bluespawn"
                       targetname "allies_spawn"
                       origin "-2206 58658 32"
                       spawnflags 2   
                       angle "0"
                }
				
				//--Axis Spawn
				create
				{
					scriptName "axis_spawn_obj"
					classname "team_WOLF_objective"
					targetname "axis_spawn_obj"
					origin "64 5888 32"	// z = CC_FILTER_ALLIES(2) | CC_FILTER_SPAWNS(4)
					spawnflags 3	// TEAM_AXIS(3)
					description "Axis Spawn"
				}

                create
                {
                       scriptName "axis_spawn1"
                       classname "team_CTF_redspawn"
                       targetname "axis_spawn"
                       origin "64 5888 32"
                       spawnflags 3  
                       angle "-179"
                }

                create
                {
                       scriptName "axis_spawn2"
                       classname "team_CTF_redspawn"
                       targetname "axis_spawn"
                       origin "34 5888 32"
                       spawnflags 3  
                       angle "179"
                }

                create
                {
                       scriptName "axis_spawn3"
                       classname "team_CTF_redspawn"
                       targetname "axis_spawn"
                       origin "94 5888 32"
                       spawnflags 3 
                       angle "179"
                }

                create
                {
                       scriptName "axis_spawn4"
                       classname "team_CTF_redspawn"
                       targetname "axis_spawn"
                       origin "64 5858 32"
                       spawnflags 3   
                       angle "179"
                }

                create
                {
                       scriptName "axis_spawn5"
                       classname "team_CTF_redspawn"
                       targetname "axis_spawn"
                       origin "34 5858 32"
                       spawnflags 3   
                       angle "179"
                }

                create
                {
                       scriptName "axis_spawn6"
                       classname "team_CTF_redspawn"
                       targetname "axis_spawn"
                       origin "94 5918 32"
                       spawnflags 3   
                       angle "-176"
                }

		wm_axis_respawntime	3
		wm_allied_respawntime	3
		wm_set_round_timelimit	30
	
		wm_set_defending_team	0

		wm_setwinner	1
		
		setautospawn "Allies Spawn" 1
		setautospawn "Axis Spawn" 0

		wait 1000
	}
}

allies_spawn_obj
{
	spawn
	{
		set
		{
			//these have to be set inside the spawn{} function, not create{}
			description "Allies Spawn"
			message "Allies Spawn"
		}
		wait 50
		setstate allies_spawn_obj default
		setstate allies_spawn default
	}

	trigger on
	{               
		setstate allies_spawn_obj default
		setstate allies_spawn default
	}

	trigger off
	{
		setstate allies_spawn_obj invisible
		setstate allies_spawn invisible
	}
}

allies_spawn_obj
{
	spawn
	{
		set
		{
			//these have to be set inside the spawn{} function, not create{}
			description "Axis Spawn"
			message "Axis Spawn"
		}
		wait 50
		setstate axis_spawn_obj default
		setstate axis_spawn default
	}

	trigger on
	{               
		setstate axis_spawn_obj default
		setstate axis_spawn default
	}

	trigger off
	{
		setstate axis_spawn_obj invisible
		setstate axis_spawn invisible
	}
}


(AgentHani) #11

[QUOTE=Micha;537238]I could get the spawns kinda to work on this map version: http://www.wolffiles.de/index.php?filebase&fid=3061
I believe this map is abit strangely made or my homehost server is broken. Sometimes I spawn in the “nothing” for some reason on this map.
/QUOTE]

The map version u posted is the dm2 one and i am not using that map,

I am using this one : - http://www.upload.ee/files/5142720/t...ix_b1.pk3.html the Tournement_dm1 version (Old Version)

and i guess the spawnpoints were just made for the old version not the dm2 one(the one which u posted) so thats why it spawns u in the middle of nowhere…

Dont look up for other tournement map files on other sites because i know some r crappy and r not fixed,

Use and try the one ive posted, its a fixed version and from there u can easily check with the axis spawnpoint which is not working,

so i am not sure if u can get the axis spawn points worked on My Post #9 but i’ll hope :>

-Hani


(AgentHani) #12

[QUOTE=Micha;537238]I could get the spawns kinda to work on this map version: http://www.wolffiles.de/index.php?filebase&fid=3061
I believe this map is abit strangely made or my homehost server is broken. Sometimes I spawn in the “nothing” for some reason on this map.
/QUOTE]

The map version u posted is the dm2 one and i am not using that map,

I am using this one : - http://www.upload.ee/files/5144927/tournementdm_fix_b1.pk3.html the Tournement_dm1 version (Old Version)

and i guess the spawnpoints were just made for the old version not the dm2 one(the one which u posted) so thats why it spawns u in the middle of nowhere…

Dont look up for other tournement map files on other sites because i know some r crappy and r not fixed,

Use and try the one ive posted, its a fixed version and from there u can easily check with the axis spawnpoint which is not working,

so i am not sure if u can get the axis spawn points worked on My Post #9 but i’ll hope :>

-Hani

P.S: The link in my post #9 was expired so the link here in this post should be working

And also i can pm u our server ip and i can make u check it there along with me easily too,


(AgentHani) #13

OWAIT, I FINALLY FOUND THE SOLUTION WTF.

i got the spawnpoints for axis working right now By changing the spawnflags to 2 in de axis’s spawnpoint scripts

After all finally… #etlogic


(Micha) #14

I’m not a mapper so I can not tell for sure but I think the spawnflags number for the team is map depending. Sometimes it’s even 1,4.5 or 6.