Hey guys i have another question lol.
I need to know how to script that when allies blow the first gate in my map, they spawn there (axis’ first spawn) and axis spawn at the other stage of the map?
Thanks!
Hey guys i have another question lol.
I need to know how to script that when allies blow the first gate in my map, they spawn there (axis’ first spawn) and axis spawn at the other stage of the map?
Thanks!
does that mean that i have to like make a new team_WOLF_objective and then in Entities type key: description value: Allied Second Spawn and then in the script add setautospawn “Allied Second Spawn” 1 ?
but it doesnt work. Would any of u profesional mappers mind if i send u the thing and you look at it if its ok? i’ve been working on this map for 1.5 year now and im almost finished. All i need is theese spawnpoints and a few other things so i can publish it then. The community im making the map for only gave me positive feedback on it, so i would be really glad if any of u would be able to help me with this.
Why don’t you just check how it’s done on the original 6 maps? If you’ve been working on a map for a year and a half, I don’t think spending 20 minutes on that would really matter.
Profesional mappers dont goot time to reply, when they working hard on their maps
Actully; just joked, again damit!
Okey lets say its this way;
The axis are starting to spawn in a bunker
The allies spawn in a hut
The axis second spawn is a supply
When the allies blow the gate near the bunker
They capture the bunker and start spawning there
Okey start by removing all the spawn stuff
Team wolf objectives, team redspawns, etc.
Then go to the hut//the allies first spawn
Make 1 only one
Team ctf bluespawn
Give it spawnflags:
startactive yes
Invulvernable yes
Make 1
Team wolf objective
Give it description “the hut”
Give it spawnflags:
defaultallies yes
defaultaxis no
Make one
Info limbo camera
Deselect it
Select it
Select the team wolf objective you just maded
Press ctrl + k
Finished move to the bunker
Make 1
Team wolf objective
Give it description “the bunker”
Spawnflags:
defaultallies no
Defaultaxis yes
Give it targetname bunker_wob
Give it scriptname bunker_wob
Make 1
Info limbo camera
Give it target bunker_wob
If you did this right it should aim at the team wolf objective
Make 1
Team ctf bluespawn
Targetname bunker_all
Scriptname bunker_all
Spawnflags:
Startactive no
Invulvernable yes
Make 1
Team ctf redspawn
Targetname bunker_axi
Scriptname bunker_axi
Spawnflags:
startactive yes
Invulvernable yes
Finnished here go to the supply//axis second spawn
Make 1
Team wolf objective
Descrition “the supply”
Notice: dont write the “” write only the supply if you did wrote
the “” earlier sorry remove them
Continue
Spawnflags
defaultaxis yes
defaultallies no
Make 1
Team ctf redspawn
Targetname supply_activate
Scriptname supply_activate
And 1
Info limbo camera
Deselect it
Select it (dint wrote it before shift + rightclick in camera window)
Select the team wolf objective
Press ctrl + k
Finnish>save>compile
Open the script
In game_manager
Thereis a spawn function
Inside it place:
wait 300
setautospawn the hut 1
setautospawn the bunker 0
Okey; 0 = axis 1 = allies
Then continue in spawn:
wait 300
alertentity supply_activate
Okey break; alertentity toggles entities on/off
Continue;
Move to the death function of the gate
Type in
wait 100
alertentity bunker_wob
alertentity bunker_axi
alertentity bunker_all
wait 100
setautospawn the bunker 1
setautospawn the supply 0
Save>look in et how it works
I really hope you succed
Puuhh, i just saw that none seemed
to reply so i wrote this with my smartphone
Well if it works fine copy the
team ctf spawns so they are 16 spawns inthe spawns
The bunker will have 32
Okey did it not work?
Ehhum
Possible wrongs
You copied the script directly from here?
>write it yourself, this type of text is using a speciall-something
You spelled wrong somewhere?
>look at all the targetnames and description keys in radiant
Then look at the script so they fit eachother
Something other
>send me a PM and tell me I wanna help you so this works
Not only “well it works”
And forum people; i wrote this becouse you never come up with anything good
WARNING: help this dude
Have a look isnt enought
Thanks for this man, im just off to sleep but i’ll start working on it tomorow. It seems kinda simple actually. I hope i make it
If not i’ll send u PM
and thanks again
Hey i actually did it now and i did everything u said, but when i want to test it i get this:
Here is the script file. you can check if i did anything wrong: https://www.mediafire.com/?yberseyx4ql7h2r
EDIT: I used “the town” instead of “the supply” as the name of the last spawn
But you should not write any " in script or radiant
Remove all thoose “”
I think i wrote it up there
[QUOTE=oveove;491182]But you should not write any " in script or radiant
Remove all thoose “”
I think i wrote it up there[/QUOTE]
I did everything with out those, but then i got that error msg so i tried if it works with thoose, but i got the same error
setautospawn the bunker
I don’t think you’re allowed to have a space between the and bunker.
[QUOTE=stealth6;491187]
setautospawn the bunker
I don’t think you’re allowed to have a space between the and bunker.[/QUOTE]
Between quotes, I already told him, see post #2.
Vanilla maps sources:
i’ve checked some other map’ scripts and they all have setautospawn “name”
all use those: "
but it still doesn’t work for me
Try to put a little temporization before calling it, wait 200 for instance (see Gold Rush .script game_manager for instance)
Setautospawn “naMe” use quotes, these “”
Sorry forgot it
Alertentity dont use quotes
Setautospawn can be CaSe SeNciTive ?
Big and small letters, check they are right