Page 1 of 1

Delay initial PU spawning in MP

Posted: Sun Nov 13, 2005 6:39 pm
by Dr4ch
I want to have a haste that spawns first then a regen spawning later on the same spot for a ctf map, anyone knows the key i need to set in the entitiy box ? is it even possible ? I know some q3 ctf maps had this but i dont find any real info about it
thx

Posted: Sun Nov 13, 2005 8:15 pm
by obsidian
Entity key/value pairs for most items will have this description:
team : set this to team items. Teamed items will respawn randomly after team master is picked up (see Notes).

...

-------- NOTES --------
The amount of time it takes for an item in the team to respawn is determined by the "wait" value of the item that was picked up previously. So if one of the items in the team has it's "wait" key set to -1 (never respawn), the random respawning cycle of the teamed items will stop after that item is picked up.
IOW, in the entities dialog for the haste powerup, set a "team" key with some string for the value. Then set the same team name to the regen.

Posted: Sun Nov 13, 2005 8:58 pm
by Dr4ch
Thx for the fast answer.

Now because my english is not that good :

for example I enter "team" in entity-key and "strogg" as Value ?
Have the entitys have to be linked ?
I tested and all i got was that only one team could take the PU and where did you found that info ?

Thx

Posted: Mon Nov 14, 2005 2:11 am
by obsidian
On both haste and regen set the key/value pairs:

Key: team
Value: itemspawn1 (or whatever you want)

BTW, what are you making this map for? Q3 or Q4? The above was meant for Q3, though I assume Q4 works similarly.

Posted: Mon Nov 14, 2005 9:44 am
by Todtsteltzer
..and be aware that the different PUs will respawn randomly. It's possible that the the haste will respawn several times before the regen shows up for the first time.

Posted: Mon Nov 14, 2005 1:36 pm
by Dr4ch
Thx for your answers, I just changed some things for the fps ctf mappack because stock maps have all spawns at the base and changing some items.
I wanted to have Haste/regen spawning on one spot so haste comes first then regen a minute later so that everey minute a different PU spawns there.But I think i cant manage it and because the mappack is finished and thats the last thing missing I will stay with haste only in that map.
But I will use it for my first ctf map :)

Posted: Mon Nov 14, 2005 3:16 pm
by Todtsteltzer
Dr4ch wrote:...I wanted to have Haste/regen spawning on one spot so haste comes first then regen a minute later so that everey minute a different PU spawns there.But I think i cant manage it ...
It is possible but a bit tricky.
I remember that mIKE wanted the same behaviour in his map "Myxomatosis" for a teamed quad/regen and he was able to solve it with a little help from the guys in this forum :). If you still need PUs that respawn alternately, I may ask him what he did (AFAIK the solution had something to do with the "q3 electronics" which were posted by Skore ages ago ;)).

Posted: Mon Nov 14, 2005 4:58 pm
by obsidian
You can also have one item spawn more frequently by teaming together say, 2 hastes and 1 regen.

Anything more specific, you will need to resort to some other trickery. Check out the Archives sticky thread. I think I posted a link to the Q3 Electronics thread.

Posted: Mon Nov 14, 2005 7:02 pm
by Dr4ch
:icon28: was searching for the archives for weeks and its a sticky, thought it would be an own forum hrhr
btw feels good to be part of the community after 6 years of lurking :icon32:

Posted: Tue Nov 15, 2005 3:21 am
by obsidian
Welcome to Q3W/Q4W LEM and thanks for finally joining the community!