Hello…
How to add spawn in Gold Rush near gate (look at screen) for allies, when the bank gate will blown up?
GoldRush script [spawnpoint]
i will try, thx 
Oke, guys… I made this:
create
{
targetname "goldrushgate_obj"
scriptname "goldrushgate_obj"
spawnflags 5
description "Allies Gate"
origin "2896 1569 -415"
classname "team_WOLF_objective"
}
create
{
classname "team_CTF_bluespawn"
scriptname "goldrush_spawn1"
spawnflags 5
origin "2896 1569 -415"
angle "-89"
mins "-40 -40 -40"
maxs "40 40 40"
}
but i have some problems:
1 - Allies flag is invisible for allies, but its displays in axis team.
2 - when the bank doors are blown up, server shows communique - “Allies Gate spawn enabled” BUT the spawn worksfrom the beginning of map…
3 - how to change this spawn to be default only when gate is blown up, and invisible form the beggining of map…
thx
can u help me a little?
I made now right spawn, it works, but not exactly good…
- At warmup allies spawned in 1 spawn “Allies Spawn”, but in 1st spawning allies spawned in my spawn - “Allies Gate”, but only once. Next time allies goes to 1st spawn. How to fix it?
trigger blow_doors
{
setstate tank_flash invisible
.
.
.
.
.
//kynval
trigger goldrushgate_obj on
setstate goldrushgate_obj default
setstate goldrush_spawn1 default
setautospawn "Axis Spawn" 0
setautospawn "Allies Gate" 1
and
wait 500
setautospawn "Tank Depot" 0
setautospawn "Allied Spawn" 1
my code:
create
{
scriptName "goldrushgate_obj"
classname "team_WOLF_objective"
targetname "goldrushgate_obj"
origin "2896 1569 -415" // z = CC_FILTER_ALLIES(2) | CC_FILTER_SPAWNS(4)
spawnflags 2 // TEAM_ALLIES
}
create
{
classname "team_CTF_bluespawn"
scriptname "goldrush_spawn1"
targetname "goldrush_spawn1"
spawnflags 2
origin "2896 1569 -415"
angle "-89"
}
.
.
/kynval
goldrushgate_obj
{
spawn
{
set
{
//these have to be set inside the spawn{} function, not create{}
description "Allies Gate"
message "Allies Gate"
wait 50
setstate goldrushgate_obj invisible
setstate goldrush_spawn1 invisible
}
}
trigger on
{
setstate goldrushgate_obj default
setstate goldrush_spawn1 default
wm_announce "^3Allies Gate spawn enabled!"
}
trigger off
{
setstate goldrushgate_obj invisible
setstate goldrush_spawn1 invisible
}
}
what do you mean?
how to do it?
and how to add more slots in spawn?
cuz i have only 1 right now.
Now I see:
trigger goldrushgate_obj on
setstate goldrushgate_obj default
setstate goldrush_spawn1 default
What is in the trigger on of goldrushgate_obj, if it isn’t enabling icon and spawn points as you did under?
If you want more of them, just add more with the same targetname as the one you already added: they’ll be all enabled with a single command.
Btw to answer your primary question, to disable, it’s in game_manager, spawn part, and there you can or set both icon/spawn points to state invisible, or make a sub part off of goldrushgate_obj
Hope you get what I mean ^^’
how to imput spawnpoints for this spawn…
i mean “setspawnpt” for quick spawn binds.
Do you mean add more spawn points?
I don’t get your second sentence, sorry
Or is it the number of the spawn you want for the bind? May be one not used yet (4 maybe)?
yes. how to make number of the spawn, which i want to, not default.
ps. spawns works for 12 ppl, so its enough for my server 
can you what is this? am i destroyed smth?
Warning: setstate (defense1_teeth) called and no entities found
Warning: setstate (defense2_teeth) called and no entities found
Warning: setstate (defense3_teeth1) called and no entities found
SetAvailableMapGoals: goal query for DEFUSE_Command_Post.* has no results!
Warning: setstate (defense1_teeth) called and no entities found
Warning: setstate (defense2_teeth) called and no entities found
SetAvailableMapGoals: goal query for PLANT_Tank_Barrier_2 has no results!
silEnT announce: "Allied team has destroyed the Bank Doors!"
silEnT announce: "Allies Gate spawn enabled!"
G_Scripting: trigger has unknown name: goldrush_spawn
But map works
edit: other servers have same problems… is that dengerous?
http://download.hh-funclan.de/etpro/etconsole.log
Its probably not good, you have missing entities.
Maybe post the full script?
See airfield assault map - I add a sewer spawn with flag and all, http://wet.peyote.ch/airassfp1.script.zip maybe that helps…
and this is, how the etserver.log looks like:
0:48 ------------------------------------------------------------
0:48 ------------------------------------------------------------
0:48 Start of round.
0:48 Execing default.cfg mapconfig for 0 players.
0:48 * Execed total of 20 commands from the config file.
0:48 Execing goldrush.cfg mapconfig for 0 players.
0:48 * Config file "mapconfigs/goldrush.cfg" was not found.
0:48 *=====INITIALISING USER DATABASE
0:48 * Opening user database file userdb.db.
0:48 * Opening user database file userxdb.db.
0:48 * User database files open. Caching database.
0:48 2441 players cached from the user database.
0:48 No additional user records in the user database.
0:48 *=====DATABASE READY FOR USE
0:48 Lua API: Loading announcehp.lua
0:48 ClientConnect: 1
0:48 ClientBegin: 1
0:50 silEnT announce: "^3Visit: ^8www^d.^8templars^d.^8com^d.^8pl"
0:50 silEnT announce: "^dScript created by^3: ^f.:^3+^8TS^3+^f:.^8Kynval"
1:06 silEnT announce: "The Tank has been repaired!"
1:09 silEnT announce: "Allied team has stolen the Tank!"
1:33 silEnT announce: "Allied team has destroyed the Bank Doors!"
1:36 silEnT announce: "^3Allies Gate spawn enabled!"
1:52 Item: 1 team_CTF_redflag
1:52 silEnT popup: allies stole "The Gold Crate"
1:58 silEnT announce: "Allied team has secured the first Gold Crate!"
2:04 Item: 1 team_CTF_redflag
2:04 silEnT popup: allies stole "The Gold Crate"
2:09 silEnT announce: "Allied team has secured the second Gold Crate!"
2:09 silEnT announce: "Allied team is escaping with the Gold Crates!"
2:25 silEnT announce: "Allied team escaped with the Gold Crates!"
2:27 Exit: Wolf EndRound.
2:27 score: 3801 ping: 6 client: 1 ^d.:^3+^8TS^3+^d:.^8Kynval
2:27 red:0 blue:0
2:27 WeaponStats: 1 0 262144 0 1 0 0 0 0 0 0 0 127 157 185 13 405 1916 1120 5
2:32 === ShutdownGame -------------------------------------------
2:32 Lua API: Lua module [announcehp.lua] [78C39A1F7B9D92E2A8C15ED28294F5E3DA19BAB7] unloaded.
2:32 *=====CLOSING DATABASE
2:32 Buffers cleaned.
2:32 Big Memory Cache cleaned.
2:32 *=====DATABASE IS CLOSED
2:32 ShutdownGame: done. Closing log.
2:32 ------------------------------------------------------------
eeeem… there is 0 problems…
i changed smth and is clear… (?) heh
is ok?
btw how to fix this:
Lua API: Lua module [announcehp.lua] [78C39A1F7B9D92E2A8C15ED28294F5E3DA19BAB7] unloaded.
and this is, how the etserver.log looks like:
0:48 ------------------------------------------------------------
0:48 ------------------------------------------------------------
0:48 Start of round.
0:48 Execing default.cfg mapconfig for 0 players.
0:48 * Execed total of 20 commands from the config file.
0:48 Execing goldrush.cfg mapconfig for 0 players.
0:48 * Config file "mapconfigs/goldrush.cfg" was not found.
0:48 *=====INITIALISING USER DATABASE
0:48 * Opening user database file userdb.db.
0:48 * Opening user database file userxdb.db.
0:48 * User database files open. Caching database.
0:48 2441 players cached from the user database.
0:48 No additional user records in the user database.
0:48 *=====DATABASE READY FOR USE
0:48 Lua API: Loading announcehp.lua
0:48 ClientConnect: 1
0:48 ClientBegin: 1
0:50 silEnT announce: "^3Visit: ^8www^d.^8templars^d.^8com^d.^8pl"
0:50 silEnT announce: "^dScript created by^3: ^f.:^3+^8TS^3+^f:.^8Kynval"
1:06 silEnT announce: "The Tank has been repaired!"
1:09 silEnT announce: "Allied team has stolen the Tank!"
1:33 silEnT announce: "Allied team has destroyed the Bank Doors!"
1:36 silEnT announce: "^3Allies Gate spawn enabled!"
1:52 Item: 1 team_CTF_redflag
1:52 silEnT popup: allies stole "The Gold Crate"
1:58 silEnT announce: "Allied team has secured the first Gold Crate!"
2:04 Item: 1 team_CTF_redflag
2:04 silEnT popup: allies stole "The Gold Crate"
2:09 silEnT announce: "Allied team has secured the second Gold Crate!"
2:09 silEnT announce: "Allied team is escaping with the Gold Crates!"
2:25 silEnT announce: "Allied team escaped with the Gold Crates!"
2:27 Exit: Wolf EndRound.
2:27 score: 3801 ping: 6 client: 1 ^d.:^3+^8TS^3+^d:.^8Kynval
2:27 red:0 blue:0
2:27 WeaponStats: 1 0 262144 0 1 0 0 0 0 0 0 0 127 157 185 13 405 1916 1120 5
2:32 === ShutdownGame -------------------------------------------
2:32 Lua API: Lua module [announcehp.lua] [78C39A1F7B9D92E2A8C15ED28294F5E3DA19BAB7] unloaded.
2:32 *=====CLOSING DATABASE
2:32 Buffers cleaned.
2:32 Big Memory Cache cleaned.
2:32 *=====DATABASE IS CLOSED
2:32 ShutdownGame: done. Closing log.
2:32 ------------------------------------------------------------
eeeem… there is 0 problems…
i changed smth and is clear… (?) heh
is ok?
btw how to fix this:
Lua API: Lua module [announcehp.lua] [78C39A1F7B9D92E2A8C15ED28294F5E3DA19BAB7] unloaded.
The msg from the LUA API you can ignore. Its simply stating that it has unloaded it on shutdown. Which is perfectly normal.
Maybe he extracted the files from pak0.pk3, with outdated .scripts; If so, extract over the ones from pak2.pk3 (I remember I had this)
