how to
-Braundorf_b4 remove the axis door near the front door when its destoryed
-Adlernest
change the door passaable 4 all to an allied dooor?
serveral mapscript changes?
Moderators: Forum moderators, developers
To removing that door in bruandorf, I just added an example to delete entities by origin to the wiki.
I dont remember having tested if you can use delete{} outside the game_manager{spawn{}}, which is probably what you'd want (I suspect it would work). If not you can delete it on spawn and make a new one with a script name so you can make it invisible.
Maybe spawn and alert an explosion effect for it too so it looks a bit better, instead of just disappearing.
Similar deal with the teamdoors on adlernest. Remove them using that delete{}, then spawn new ones with slightly different keys to allow allies or whoever you want.[/url]
I dont remember having tested if you can use delete{} outside the game_manager{spawn{}}, which is probably what you'd want (I suspect it would work). If not you can delete it on spawn and make a new one with a script name so you can make it invisible.
Maybe spawn and alert an explosion effect for it too so it looks a bit better, instead of just disappearing.
Similar deal with the teamdoors on adlernest. Remove them using that delete{}, then spawn new ones with slightly different keys to allow allies or whoever you want.[/url]
ok works 4 braundorf adlernest don't work
I get this error when i delet the entitiy without creating the new one when i spwan both server crashes ^^
Enable spawning!
^1Error: No matches while deleting entity
Disable spawning!
this is from the .bsp file:
and this are my braundorf changes which are working!
I get this error when i delet the entitiy without creating the new one when i spwan both server crashes ^^
Enable spawning!
^1Error: No matches while deleting entity
Disable spawning!
Code: Select all
game_manager
{
spawn
{
delete
{
origin "733 -2971 -120"
}
create
{
scriptname "newdoor"
targetname "newdoor"
classname "func_door_rotating"
allowteams "1,4"
origin "733 -2971 -120"
type "5"
model "*44"
}
}
}
this is from the .bsp file:
Code: Select all
{
"classname" "func_door_rotating"
"type" "5"
"origin" "733 -2971 -120"
"model" "*44"
}
and this are my braundorf changes which are working!
Code: Select all
game_manager
{
spawn
{
delete
{
origin "2598 -2048 318"
}
create
{
scriptname "doornwall"
targetname "doornwall"
classname "func_door_rotating"
allowteams "1,4"
origin "2598 -2048 318"
type "5"
model "*1"
}
Code: Select all
game_manager
{
spawn
{
create
{
scriptname "doornwall"
targetname "doornwall"
classname "func_door_rotating"
allowteams "5"
//origin "835 -2430 106"
origin "733 -2972 -121"
type "5"
model "*44"
}
MANY THINGS HERE :-)
delete
{
origin "733 -2971 -120"
}
}
doornwall
{
spawn
{
wait 20
}
trigger on
{
set
{
allowteams "6"
}
}
trigger off
{
set
{
allowteams "5"
}
}
}
WORKIN!!!!!!
thx guxs 4 ur help