Spearhead Objectives not working.....
Moderator: Moderators
Spearhead Objectives not working.....
Hi All..I'm kinda new to this Mapping thing...I'v got the map layout all done with bots and all...but i just can't seem to get the objectives and all.
I'v looked at your tutorials and did everything but nothing worked..can anyone help me? I got the script and all...just wanting to know how it works...this map is for spearhead...
I'v looked at your tutorials and did everything but nothing worked..can anyone help me? I got the script and all...just wanting to know how it works...this map is for spearhead...
siik clan modding specialist
Its just the one from the tutorial....
--------------------------------------------------------------------------------------
// Dudes MAP
// ARCHITECTURE: AL
// SCRIPTING: AL
exec global/ai.scr
exec global/loadout.scr maps/test_xx.scr
main:
level waittill prespawn
exec global/ambient.scr test_xx
level waittill spawn
$player item weapons/colt45.tik
fadein 2 0 0 0 1
wait 2
level.script = "maps/test_xx.scr"
thread objectives
thread music1
end
objectives:
waitthread global/objectives.scr::add_objectives 1 2 "Escape From the Prison and Get outside." $obj1.origin
set_objective_pos $obj1
end
music1:
$player stufftext "tmstart sound/music/mus_04f_suspense.mp3"
end
objective1:
goto levelend
end
levelend:
waitthread global/objectives.scr::add_objectives 1 3 "Escape From the Prison and Get outside." $obj1.origin
waitthread global/objectives.scr::current_objectives 0
exec global/missioncomplete.scr test_xx 1
end
--------------------------------------------------------------------------------------
all i did was just change the objective name.... to Escape From the Prison and Get outsite." Hmmm...also..where is the trigger texture supposted to go??? where the player is supposted to go? or where? All i did was follow the instructions on the tutorials....
--------------------------------------------------------------------------------------
// Dudes MAP
// ARCHITECTURE: AL
// SCRIPTING: AL
exec global/ai.scr
exec global/loadout.scr maps/test_xx.scr
main:
level waittill prespawn
exec global/ambient.scr test_xx
level waittill spawn
$player item weapons/colt45.tik
fadein 2 0 0 0 1
wait 2
level.script = "maps/test_xx.scr"
thread objectives
thread music1
end
objectives:
waitthread global/objectives.scr::add_objectives 1 2 "Escape From the Prison and Get outside." $obj1.origin
set_objective_pos $obj1
end
music1:
$player stufftext "tmstart sound/music/mus_04f_suspense.mp3"
end
objective1:
goto levelend
end
levelend:
waitthread global/objectives.scr::add_objectives 1 3 "Escape From the Prison and Get outside." $obj1.origin
waitthread global/objectives.scr::current_objectives 0
exec global/missioncomplete.scr test_xx 1
end
--------------------------------------------------------------------------------------
all i did was just change the objective name.... to Escape From the Prison and Get outsite." Hmmm...also..where is the trigger texture supposted to go??? where the player is supposted to go? or where? All i did was follow the instructions on the tutorials....
siik clan modding specialist
maybe you can see if the script had errors...
you have a shortcut with cheats enabled, and debug mode on right?
if you do, then start the game from there, and before you load the map, type 'logfile 2'.
then load the map, try everything, then type quit in the console.
post the contents of qconsole in your "main" folder. it might have some errors.
you have a shortcut with cheats enabled, and debug mode on right?
if you do, then start the game from there, and before you load the map, type 'logfile 2'.
then load the map, try everything, then type quit in the console.
post the contents of qconsole in your "main" folder. it might have some errors.
Well...can you see if you can do that??? I dont know how or what to do....
I'll gladly send you the .map file to help me out......but....i dont hink that you have the textures...that i am useing..i accedently used textures from all kinds of maps....ehehhehe...stopid me...
I'll gladly send you the .map file to help me out......but....i dont hink that you have the textures...that i am useing..i accedently used textures from all kinds of maps....ehehhehe...stopid me...
siik clan modding specialist
Setthread
I don't know which tutorial you are using, but you probably need to put a trigger_multiple just outside the escape door. Highlight it and press key N. Then type in:
Key: setthread
Value: objective1
When the player walks into the trigger, it will run the thread named objective1 in your script.
Key: setthread
Value: objective1
When the player walks into the trigger, it will run the thread named objective1 in your script.
I am Useing this sites Tutorial...So i have everything that is right..with the entites correct...
Also...Alcholic..here is the .map file...
http://members.fortunecity.com/changman ... okagas.map
yup...thx for all of your help so far...
Also...Alcholic..here is the .map file...
http://members.fortunecity.com/changman ... okagas.map
yup...thx for all of your help so far...
siik clan modding specialist
