ubi.com    Forums  Hop To Forum Categories  Ghost Recon  Hop To Forums  Ghost Recon IGOR/Mod Discussion    Mission crashing?

Moderators: MiNeRvA.
Go
New
Find
Notify
Tools
Reply
  
  Login/Join 
Posted
I just recently made my own mission on a map.
everytime I complete an Objective the game crashes back to the desktop and have to try again can anyone help me please as to why this is happening all the time.
thanks
WarM@N
 
Posts: 10 | Registered: Wed March 10 2004Reply With QuoteEdit or Delete MessageReport This Post
On Site Archivist
Picture of crtChunk72
Posted Hide Post
I would venture it's something in your "objective complete" scripting... is it any objective, or just one particular one?

It might prove helpful to post the script text in here... that might also point to a problem...
 
Posts: 1940 | Registered: Wed February 18 2004Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
thx for ya reply but yeah it happens on all the objectives doesnt matter which order I do them in.I have 4 objectives 1 is to demo charge 2 is to kill officers 3 capture and escort a officer and then 4 get to extraction zone.here is part of the scripting for you too look at from the Objectives and a few other parts of the script



Group: <Default>
Comment:
Demo Zone
Trigger Event:
A demo charge was placed within 3 meter(s) of Demo Cathedral Zone.
Responses:
Mark Demo Cathedral complete in the objective list.
Increment Objectives Complete.
Decrement Demo Charges Needed Counter.


Group: <Default>
Comment:
Check for WIN
Trigger Event:
3 second(s) elapsed.
Responses:
Allow this block to be reactivated.
Continue executing responses if ((The number of members of Exiled Officer Team within 1 meter(s) of Extraction) is equal to (The number of active actors on Exiled Officer Team)).
Continue executing responses if ((The number of members of Player Platoon within 1 meter(s) of Extraction) is equal to (The number of active actors on Player Platoon)).
Continue executing responses if ((The value of Objectives Complete) is equal to 3).
Mark Extraction complete in the objective list.
Display "Brilliant Job." and register mission completion.
Prevent this block from being reactivated.


roup: <Default>
Comment:
Check For Officers Dead
Trigger Event:
3 second(s) elapsed.
Responses:
Allow this block to be reactivated.
Continue executing responses if ((The value of Officers Dead Counter) is equal to 2).
Mark Kill Officers complete in the objective list.
Increment Objectives Complete.
Display "All The Officers Have Been Killed.Well Done They Can,t Send Reinforcements Now." to all players for 7 second(s).
Prevent this block from being reactivated.

Thankyou for your time Chunk
 
Posts: 10 | Registered: Wed March 10 2004Reply With QuoteEdit or Delete MessageReport This Post
On Site Archivist
Picture of crtChunk72
Posted Hide Post
Hmm...

I've looked through the three blocks, and nothing jumped out at me.

Have you tried adding "Display" statements around the "Demo Zone" trigger? Say, something like this?

Responses:
Display "Begin" to all players for 5 seconds
Mark Demo Cathedral complete in the objective list
Display "Demo Objective Complete" to all players for 5 seconds
Increment Objectives Complete
Display "Incremented" to all players for 5 seconds
Decrement Demo Charges Needed Counter
Display "Decremented, and end" to all players for 5 seconds


Then, only complete that one objective, and see which messages flash up on the screen... could give you a clue as to where it's bombing (if you can see it that fast).

If you reach the "end", and then it bombs, then it would be in one of your timing triggers... I would guess you'd have to add some Display statements in there too...

I've also asked a friend of mine (in another forum, mostly) to come over and take a look... he's been at this a lot longer than I have, and may be able to provide more insight, as well...

Report any progress!
Wink2
 
Posts: 1940 | Registered: Wed February 18 2004Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
Mate i could just send ya the whole map with the mission in it for ya to check out if ya like .Let me know its easy enough to do just need ya email addy and i can sent it through

thx War
 
Posts: 10 | Registered: Wed March 10 2004Reply With QuoteEdit or Delete MessageReport This Post
GR Elite
Picture of Gav80
Posted Hide Post
Well, I've had a look through the script blocks you posted (I'm said "friend" of Chunk btw - although I rarely admit to that in public!). They all look fine, and shouldn't pose any problems as long as you've set up the related things correctly (such as the zones and the counters etc)...

Rather than wade through the scriptblocks, you can send me the mission if you want. I can't promise to fix it though - Chunk sent me one that kept crashing on startup and I never found anything wrong with it...... But I'll take a look at yours if you like. Check your PMs for my email address...


===============================

Visit the muppets at DFW
 
Posts: 887 | Registered: Tue July 29 2003Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
well Gav I made another Mission this one is a really basic mission though but same problems though m8 soon as Objective done bang boom back to desktop?This is really really puzzling me whats wrong.Any feedback m8 is really appreciated.
Cheers War
 
Posts: 10 | Registered: Wed March 10 2004Reply With QuoteEdit or Delete MessageReport This Post
On Site Archivist
Picture of crtChunk72
Posted Hide Post
Gav or War, if this gets figured out, be sure to post the solution back here, so I can read it...

I'm puzzled...
 
Posts: 1940 | Registered: Wed February 18 2004Reply With QuoteEdit or Delete MessageReport This Post
GR Elite
Picture of Gav80
Posted Hide Post
Warman, I've got your revised mission and the ENV file, and I've now managed to open it up in GR and in Igor - so I've managed to recreate the fault, which is the first step!

I've found a few things in the scripting in Igor that you appear to have made mistakes with (nothing major - and nothing that should cause the crashes), but I'll tell you all about them in an email later. At the moment I haven't found your specific problem, but I haven't spent all that long on it yet....

EDIT: I've found what I think is the problem. I've made the corrections, but now there's a new problem - it crashes during the cutscene intro which it wasn't doing before! So I can't be sure I've fixed your problem, but I think I have. I'll wait until I've fixed this new problem to confirm it though, and once I'm sure, I'll tell you what it was! Lol


===============================

Visit the muppets at DFW
 
Posts: 887 | Registered: Tue July 29 2003Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
Ok Gav sweet.Well I can only try Im still a NOOB at Igor and mission makin.But thanks for ya help.Maybe this will help fix me as well hey . LOL
 
Posts: 10 | Registered: Wed March 10 2004Reply With QuoteEdit or Delete MessageReport This Post
GR Elite
Picture of Gav80
Posted Hide Post
Okay, good news: it's fixed. The crashing on the intro was due to something I inadvertently changed whilst I was looking through your scriptblocks for the intro movie. I changed it back to what you had (I'd never intended to change it in the first place!) and it's working fine again.

Your problem with the objectives was actually very simple. In your scripting, you had responses in the blocks governing the objectives saying things like "mark "kill officers" complete in the objectives list" or "mark "rescue exiled officer" complete in the objectives list"... Just one small problem - those weren't what your objectives were called (you just had them as "Objective 1", "Objective 2" etc). This meant that the script was trying to mark an objective complete that didn't exist, hence the crashes. Changing your lines to read "mark Objective 1 complete in the objectives list" has fixed it. I've changed all four objectives like that, and then ran through the whole mission with no problems.

As I said before, I've got a few notes that I made about other aspects of your scripting as I was looking through the blocks for your objectives problem - just things I noticed along the way. There's nothing major (nothing that stops the mission running properly), but a few bits of scripting aren't used, some are, but not as effectively as they could be (such as your intro movie), and some are working but not in the way you wanted them to (such as your block to check for how many demo charges the team has, and fail the mission if they don't have enough). I'll send you an email later (when I get home from work) explaining all these bits to you - there's no point posting it all here because it's minor stuff that won't mean anything to people who haven't seen the script, and it's mostly just oversights anyway, so there's not much anyone else can learn. Except perhaps that, when using Igor, it's easy to make mistakes - such as accidently ruining an intro movie and making a mission crash when it tries to start, for example..... Lol Veryhappy

Don't worry about me finding bugs in there and you "looking like a n00b". A good mission takes a long time to get right, and even experienced Igor users will make errors in their scripting and have to chase around debugging things. I normally spend almost as long fixing scripting mistakes and things that aren't quite working as planned as I do actually writing the mission. Then there's all the hours testing it, trying different ways, on different difficulties etc to make sure nothing unexpected happens and it's not too hard or too easy etc. Actually writing the mission itself (in terms of placing guys on the map, giving them plans and creating the scripting) is typically only about a third of the total time I spend on a mission. So don't worry, this is normal, even for people who've been doing it a lot longer than you have...


===============================

Visit the muppets at DFW
 
Posts: 887 | Registered: Tue July 29 2003Reply With QuoteEdit or Delete MessageReport This Post
On Site Archivist
Picture of crtChunk72
Posted Hide Post
Actually, it's all that testing that turned me off... by the time I was done with enough testing to have someone else (Gav) test it with me, I no longer cared... I'd been through it so many times, that I didn't want to play it anymore! Sad
 
Posts: 1940 | Registered: Wed February 18 2004Reply With QuoteEdit or Delete MessageReport This Post
GR Elite
Picture of Gav80
Posted Hide Post
Why do you think it's taking so long to finish my campaign??? Lol

It's far more interesting to debug someone else's script - at least you haven't seen it before... But then you have to figure it all out, and what it's doing and why. So it's normally easier to debug your own, just more boring.


===============================

Visit the muppets at DFW
 
Posts: 887 | Registered: Tue July 29 2003Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
Ok guys thx heaps i have fixed probs pointed out to me in email by Gav and it works to a treat I have now actually added more Tangos and made it even harder on elite which is wot I was intendind to do to make it a Real challenge for myself and the rest of my clan and 2 other Clans that play with us.But many thx goes out to ya Gav for the time u took to iron the bugs i spent many a night for 4 or more hours creating the mission in the first place and to actually play it is worth he effort.
Cheers Guys
WarM@N
bow
 
Posts: 10 | Registered: Wed March 10 2004Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
Gav I need the finished mission file back off you if I could please
sry
 
Posts: 10 | Registered: Wed March 10 2004Reply With QuoteEdit or Delete MessageReport This Post
GR Elite
Picture of Gav80
Posted Hide Post
quote:
Originally posted by warman001:
many thx goes out to ya Gav for the time u took to iron the bugs i spent many a night for 4 or more hours creating the mission in the first place and to actually play it is worth he effort.

I think you're probably over-estimating how long it actually took me... I've been playing around with Igor for over three years now, and as you get more familiar with it and know its tricks you can edit out bugs much quicker. I only spent a few hours on it (three, maybe four at most). Glad you're pleased with the results though. Wink2


===============================

Visit the muppets at DFW
 
Posts: 887 | Registered: Tue July 29 2003Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

ubi.com    Forums  Hop To Forum Categories  Ghost Recon  Hop To Forums  Ghost Recon IGOR/Mod Discussion    Mission crashing?

Terms of Use