Spawn Times


(Bondo) #1

Hello,

First of All:

  • I am a newbie map maker.
  • I am trying my hardest not to bother people on this forums cause then I look like a big retard and nobody will ever answer me again.
  • I have done searches on a lot of websites about this topic and I can’t find a answer for it.
  • I know what you have to do in the map.arena file.

Now that thats over.

I have recently created a cool 1v1 Deathmatch map and I called it 1v1.pk3
I had this map working perfectly.

I searched out more tut’s and found out that I should only select the face of the wall and not the whole wall to make the texture and so I wanted some other changes to the map anyways… I made a whole new map.
I made this new map and it worked great. called XCA.pk3
Now I wanted to add in a little ladder and “duct work” for the spawns so the couldn’t be any spawn camping. When I did this, some how I can NOT get the spawn times to change. They are like set on a default of 30. I have tried everything. Redoing parts of the map. Changeing the .arena file. Unzipping the Goldrush.arena and copying that one and changing the info to my maps info. And I have had 0 luck.

I have tried changing the spawn times in the .arena
I have tried changing them in the “map loading window”
I have tried changing them in the console using \g_userax (tab) and \g_useral (tab)

If you have any thing that I could do to help me, I would greatly appreciate it.

And if not. Well I might just go back to the 1v1.pk3 and remake the map and hope it works then.

If you want a copy of the pk3/map/and other files please let me know and I will email them to you.

Thx
atac_atfc@hotmail.com


(zl1corvette) #2

game_manager 
{ 
	spawn 
	{ 
	// Game rules
		wm_axis_respawntime	20	
		wm_allied_respawntime	30
}
}

You need to do it in the script like this. Don’t forget you need a script_multiplayer.


(Bondo) #3

thank you very much.

and since I am a newbie… I don’t really know much about scripting yet but I will try to figure it out…
Being on a 28.8k connection is not fun nor is it easy to search things but you all can laugh now :slight_smile:


(nUllSkillZ) #4

Ifurita has written a very good scripting tutorial for beginners:
http://www.planetwolfenstein.com/4newbies/Map_Scripting_4_Newbies.pdf

It’s about 800 KB as far as I remember.


(Oxygen - o2) #5

even i was a n00b map maker once, but if any1 makes you an idiot for no reason for it they are ass holes, besides, the question you asked was great, you included all the info we needed AND asked in a simple way :banana:

if only all n00b map makers were as good as you :frowning:

but on topic, i think ifuritas tut will suit you perfectly


(Bondo) #6

Thx!

I did finally figure out what scripts where on my own… I love playing the beach map with my friend and I extracted that map and I am just now trying to find out if I can get the .map of it cause that is the 1 level that I know inside out. So i will be able to corespond with the triggers in the beach.script.


(Oxygen - o2) #7

your welcome :smiley:

BTW i dont think i fully understand what your doing with battery, are you just looking at examples of script? battery has a fair ammount of simple scrit so if thats what your doing, it should work!