RommL Posted August 31, 2008 Share Posted August 31, 2008 help I have a problême in the script for my campaign and I do not see or! The game says me in the campaign 2... Here my script: /*Bataille de Grozny*/ [PLAYER FORCE] bleu [HUMAN OPPONENT ALLOWED] non [bLUE VICTORY TEXT] vous gagnez! les troupes ont atteinds leurs objectifs. [bLUE DEFEAT TEXT] vous perdez! [RED VICTORY TEXT] vous gagnez! [RED DEFEAT TEXT] vous perdez! /*Bataille #1*/ [bATTLE NAME] Les faubourgs [WIN THRESHOLD] victoire mineur [NEXT BATTLE IF WIN] L'avenue principale [NEXT BATTLE IF LOSE] Le quartier résidentiel [bLUE REFIT %] 20 [bLUE REPAIR VEHICLE %] 40 [bLUE RESUPPLY %] 70 [bLUE REST %] 80 [RED REFIT %] 0 [RED REPAIR VEHICLE %] 0 [RED RESUPPLY %] 50 [RED REST %] 60 /*Le quartier résidentiel*/ [bATTLE NAME] Le quartier résidentiel [WIN THRESHOLD] victoire mineur [NEXT BATTLE IF WIN] L'avenue principale [NEXT BATTLE IF LOSE] [bLUE REFIT %] 0 [bLUE REPAIR VEHICLE %] 40 [bLUE RESUPPLY %] 30 [bLUE REST %] 0 [RED REFIT %] 0 [RED REPAIR VEHICLE %] 0 [RED RESUPPLY %] 50 [RED REST %] 0 /*Bataille #2*/ [bATTLE NAME] L'avenue principale [WIN THRESHOLD] victoire mineur [NEXT BATTLE IF WIN] La rivière sounja [NEXT BATTLE IF LOSE] [bLUE REFIT %] 0 [bLUE REPAIR VEHICLE %] 40 [bLUE RESUPPLY %] 30 [bLUE REST %] 0 [RED REFIT %] 0 [RED REPAIR VEHICLE %] 0 [RED RESUPPLY %] 30 [RED REST %] 0 /*Battle #3*/ [bATTLE NAME] La rivière sounja [WIN THRESHOLD] victoire mineur [NEXT BATTLE IF WIN] campagne terminée [NEXT BATTLE IF LOSE] campagne terminée [bLUE REFIT %] 0 [bLUE REPAIR VEHICLE %] 0 [bLUE RESUPPLY %] 0 [bLUE REST %] 0 [RED REFIT %] 0 [RED REPAIR VEHICLE %] 0 [RED RESUPPLY %] 0 [RED REST %] 0 Can someone help me? 0 Quote Link to comment Share on other sites More sharing options...
George MC Posted August 31, 2008 Share Posted August 31, 2008 Could you elaborate on what the problem is please? Just having a quick scan of your script the first thing that strikes me is after the Le Quartier residential what happens if the player loses? There is no entry in that. In saying that I'm guessing here as I've no idea what the problem is :confused: Cheers fur noo George 0 Quote Link to comment Share on other sites More sharing options...
Paper Tiger Posted August 31, 2008 Share Posted August 31, 2008 What was the error code you got when you tried to compile? It usually tells you that there's an error on line x. Tell us what the line is and we might be able to help you. 0 Quote Link to comment Share on other sites More sharing options...
RommL Posted August 31, 2008 Author Share Posted August 31, 2008 " le quartier résidentiel " this is an battle annex Must I put an entry? 0 Quote Link to comment Share on other sites More sharing options...
RommL Posted August 31, 2008 Author Share Posted August 31, 2008 What was the error code you got when you tried to compile? It usually tells you that there's an error on line x. Tell us what the line is and we might be able to help you. That puts me this. 0 Quote Link to comment Share on other sites More sharing options...
Paper Tiger Posted August 31, 2008 Share Posted August 31, 2008 Not sure I understand that. That's your error code? Is that IDENTICAL to your scenario title? BTW, no entry for [Next battle if lose] results in the termination of the campaign. 0 Quote Link to comment Share on other sites More sharing options...
Paper Tiger Posted August 31, 2008 Share Posted August 31, 2008 That means that the error is in the 'Player Force' setting. A syntax error means a spelling error or there's an extra space before the reply but I can't see one. Delete the space first and try again. Otherwise you might want to try spelling it 'Blue' and see if that helps. >Ouch< 0 Quote Link to comment Share on other sites More sharing options...
RommL Posted August 31, 2008 Author Share Posted August 31, 2008 I tried the spelling "blue", that works not here the new script one without spaces. /*Bataille de Grozny */ [PLAYER FORCE] bleu [HUMAN OPPONENT ALLOWED] non [bLUE VICTORY TEXT] victoires. Vos troupes ont atteind leurs objectifs. [bLUE DEFEAT TEXT] Vous perdez! [RED VICTORY TEXT] vous gagnez! [RED DEFEAT TEXT] vous perdez! /*Battle #1*/ [bATTLE NAME] faubourgs [WIN THRESHOLD] victoire mineur [NEXT BATTLE IF WIN] Quartier résidentiel [NEXT BATTLE IF LOSE] [bLUE REFIT %] 0 [bLUE REPAIR VEHICLE %] 75 [bLUE RESUPPLY %] 0 [bLUE REST %] 0 [RED REFIT %] 0 [RED REPAIR VEHICLE %] 0 [RED RESUPPLY %] 0 [RED REST %] 0 /*Quartier résidentiel mission*/ [bATTLE NAME] Quartier résidentiel [WIN THRESHOLD] victoire tactique [NEXT BATTLE IF WIN] Avenue principale [NEXT BATTLE IF LOSE] [bLUE REFIT %] 0 [bLUE REPAIR VEHICLE %] 50 [bLUE RESUPPLY %] 100 [bLUE REST %] 100 [RED REFIT %] 0 [RED REPAIR VEHICLE %] 0 [RED RESUPPLY %] 0 [RED REST %] 0 /*Battle #2*/ [bATTLE NAME] Avenue principale [WIN THRESHOLD] victoire mineur [NEXT BATTLE IF WIN] Rivière sounja [NEXT BATTLE IF LOSE] [bLUE REFIT %] 0 [bLUE REPAIR VEHICLE %] 50 [bLUE RESUPPLY %] 0 [bLUE REST %] 0 [RED REFIT %] 0 [RED REPAIR VEHICLE %] 0 [RED RESUPPLY %] 0 [RED REST %] 0 /*Battle #3*/ [bATTLE NAME] Rivière sounja [WIN THRESHOLD] victoire mineur [NEXT BATTLE IF WIN]// campagne terminée [NEXT BATTLE IF LOSE]// campagne terminée [bLUE REFIT %] 0 [bLUE REPAIR VEHICLE %] 0 [bLUE RESUPPLY %] 0 [bLUE REST %] 0 [RED REFIT %] 0 [RED REPAIR VEHICLE %] 0 [RED RESUPPLY %] 0 [RED REST %] 0 I have sometimes the error campaign 3 or campaign 2 0 Quote Link to comment Share on other sites More sharing options...
Moon Posted August 31, 2008 Share Posted August 31, 2008 Use Blue not Bleu? 0 Quote Link to comment Share on other sites More sharing options...
Elmar Bijlsma Posted August 31, 2008 Share Posted August 31, 2008 Complete editor n00b here, as I only use it to make quick testing grounds for weapons fire and such. But does the editor recognize accents like in résidentiel or Rivière ? 0 Quote Link to comment Share on other sites More sharing options...
RommL Posted August 31, 2008 Author Share Posted August 31, 2008 my problem is resolved My campaign is avaible on my blog. caution this campaign is in french. http://cmthenews.canalblog.com/ 0 Quote Link to comment Share on other sites More sharing options...
George MC Posted August 31, 2008 Share Posted August 31, 2008 What was the problem in the end RommL? 0 Quote Link to comment Share on other sites More sharing options...
Mikkey Posted August 31, 2008 Share Posted August 31, 2008 my problem is resolved My campaign is avaible on my blog. caution this campaign is in french. http://cmthenews.canalblog.com/and can you release english version of your campaign? 0 Quote Link to comment Share on other sites More sharing options...
RommL Posted September 1, 2008 Author Share Posted September 1, 2008 What was the problem in the end RommL? My problem was some spaces and the name of my cards. thanks all 0 Quote Link to comment Share on other sites More sharing options...
RommL Posted September 1, 2008 Author Share Posted September 1, 2008 For the English version of my campaign, I there will work... 0 Quote Link to comment Share on other sites More sharing options...
Mikkey Posted September 1, 2008 Share Posted September 1, 2008 thanks, I'm looking forward 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.