Delay initial PU spawning in MP

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
Post Reply
Dr4ch
Posts: 96
Joined: Thu Nov 03, 2005 6:36 pm

Delay initial PU spawning in MP

Post 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
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Post 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.
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
Dr4ch
Posts: 96
Joined: Thu Nov 03, 2005 6:36 pm

Post 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
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Post 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.
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
Todtsteltzer
Posts: 93
Joined: Thu Nov 28, 2002 8:00 am

Post 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.
Dr4ch
Posts: 96
Joined: Thu Nov 03, 2005 6:36 pm

Post 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 :)
Todtsteltzer
Posts: 93
Joined: Thu Nov 28, 2002 8:00 am

Post 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 ;)).
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Post 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.
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
Dr4ch
Posts: 96
Joined: Thu Nov 03, 2005 6:36 pm

Post 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:
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Post by obsidian »

Welcome to Q3W/Q4W LEM and thanks for finally joining the community!
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
Post Reply