One - Take cp1
Two - Defend cp1 for 6 minutes
Three - Take cp5
Four - Destroy an object called 'panel'
Five - Kill 4 magnaguards (mag_inf_guard)
Six - Go to region 'goto'
Problems with mission scripting
Moderator: Moderators
- Fierfek
- High General

- Posts: 805
- Joined: Wed Jul 01, 2009 4:38 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Somewhere in the Galaxy (Most Likely Scrapping Tinnies)
- StarkillerMarek
- Rebel Colonel

- Posts: 611
- Joined: Wed Aug 12, 2009 4:42 pm
- Location: I may be back.
Re: Problems with mission scripting
Okay, I will try to walk you through this first, to see if you did something wrong:
1.Open Mission-Scripter(this step is hardest one
)
2. Click the button "edit" to the right of starsequence in the top right corner, there will be some options for you to choose from which you should understand.
3. After you are finished with that, hit okay, then click "load" to the right of startsequnce.
4.Then click under the objective tab "new: conquest"
5. type in the localization path e.g. "level.OBJ.campaign.objectives.1"]("ooo" from now on should be this)
and the cp name
6. Then click ok and then "load current objective"
7. Then make a new conquest objective(see number 4)
8. Do it the same way as the last one, but under hear
"Objective1 = ObjectiveConquest:New{teamATT = ATT, teamDEF = DEF, text = "ooo", popupText = "ooo", AIGoalWeight = 0}"
change this "teamATT = ATT" and this"teamDEF = DEF" so that it will look like this
"teamATT = DEF" and "teamDEF = ATT"(this swithces the REP team to be on defense)
9. And add this "timeLimit = 360, timeLimitWinningTeam = ATT" after"popupText = ooo"
10. Now do Objective three the same way as before
11. After that, click "new: assault" under "objectives"
12. Type in the localization path
13. Then, in box "objectname" type "panel"
14. Click "ok" and load current objective
15. Now do another Assault Objective, but click in the circle next to
object-class
16. Type in "mag_inf_magnagaurd" and one of their cp name's, and set the kill limit to 4
(also, if you want the objective to end when the player kills 4, not the whole team,
type this "killedByPlayer = true," after "killLimit = 4"
17. After that, make a new objective goto("new: goto" under objectives)
18. Again, type in the localization path and the region name and click ok
19. Load the current objective, then up in the righthand corner to the right of endsequence click edit
20. You should probably be able to just click ok
21. Then left to "edit" click "load"
22. Click on the edit tab up in the left, and click "export script"
23. Follow then onscreen prompts(I love that phrase) and you are done
Let me know if you have problems.
1.Open Mission-Scripter(this step is hardest one
2. Click the button "edit" to the right of starsequence in the top right corner, there will be some options for you to choose from which you should understand.
3. After you are finished with that, hit okay, then click "load" to the right of startsequnce.
4.Then click under the objective tab "new: conquest"
5. type in the localization path e.g. "level.OBJ.campaign.objectives.1"]("ooo" from now on should be this)
and the cp name
6. Then click ok and then "load current objective"
7. Then make a new conquest objective(see number 4)
8. Do it the same way as the last one, but under hear
"Objective1 = ObjectiveConquest:New{teamATT = ATT, teamDEF = DEF, text = "ooo", popupText = "ooo", AIGoalWeight = 0}"
change this "teamATT = ATT" and this"teamDEF = DEF" so that it will look like this
"teamATT = DEF" and "teamDEF = ATT"(this swithces the REP team to be on defense)
9. And add this "timeLimit = 360, timeLimitWinningTeam = ATT" after"popupText = ooo"
10. Now do Objective three the same way as before
11. After that, click "new: assault" under "objectives"
12. Type in the localization path
13. Then, in box "objectname" type "panel"
14. Click "ok" and load current objective
15. Now do another Assault Objective, but click in the circle next to
object-class
16. Type in "mag_inf_magnagaurd" and one of their cp name's, and set the kill limit to 4
(also, if you want the objective to end when the player kills 4, not the whole team,
type this "killedByPlayer = true," after "killLimit = 4"
17. After that, make a new objective goto("new: goto" under objectives)
18. Again, type in the localization path and the region name and click ok
19. Load the current objective, then up in the righthand corner to the right of endsequence click edit
20. You should probably be able to just click ok
21. Then left to "edit" click "load"
22. Click on the edit tab up in the left, and click "export script"
23. Follow then onscreen prompts(I love that phrase) and you are done
Let me know if you have problems.
- Fierfek
- High General

- Posts: 805
- Joined: Wed Jul 01, 2009 4:38 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Somewhere in the Galaxy (Most Likely Scrapping Tinnies)
Re: Problems with mission scripting
Okay, I started with just the first objective. When it finishes loading, there are no command posts for some reason. This is a competely unedited Yavin-texture brand-new sealed map (I haven't even opened Zeroeditor).
Help?
Help?
- StarkillerMarek
- Rebel Colonel

- Posts: 611
- Joined: Wed Aug 12, 2009 4:42 pm
- Location: I may be back.
Re: Problems with mission scripting
Is this in Conquest mode(check the box?)?
- Fierfek
- High General

- Posts: 805
- Joined: Wed Jul 01, 2009 4:38 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Somewhere in the Galaxy (Most Likely Scrapping Tinnies)
Re: Problems with mission scripting
Yes, it is in conquest, and I made the box conquest mode in export script.
- StarkillerMarek
- Rebel Colonel

- Posts: 611
- Joined: Wed Aug 12, 2009 4:42 pm
- Location: I may be back.
Re: Problems with mission scripting
Try doing the whole tutorial all at once and then seeing if it works.
