• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

World Editor Troubles with AI, Game Time and Skipped Cinematic

Status
Not open for further replies.
Level 16
Joined
Apr 20, 2014
Messages
524
Hello there,


I've some troubles with the WE with an AI, Game Time when I skip a cinematic.
First of all, if I skip a cinematic, AI gone wrong lol.
If I don't skip (work properly) : AI has one peasant who cut trees and attacks with wave.
If I skip : AI try to harvest gold from his ally (because there is only one gold mine) and don't cut trees. Train units but never attack (So he kept all his units normally use for attack in his base...)

Game Time.
I have two triggers who works with it.
If I don't skip (work properly), they are triggered in different time (one is 360s and other is 420)
But If I skip, both are triggered in same time.

Is there a way to prevent these bugs?
I am using JassCraft for my AIs.

Thank you
(Ask if you need more informations)
 
Level 12
Joined
Jun 15, 2016
Messages
472
First of all post the trigger where you use suspect the bug is coming from, and a little more information about then it runs and for what purpose. For example, I have no idea what "360s and other is 420".

Posting the AI script can also help as it might contain bugs.
 
Level 16
Joined
Apr 20, 2014
Messages
524
Well, yesterday I've made some minors changes. I did not think that could fix any bugs, but today, when I try to refind the bugs... Everything works properly so...

The only change I remember is this:
Before
  • Camera - Appliquer Camera 006 <gen> for Player over 0.00 seconds
  • Cinématique - Fade in over 2.00 seconds using texture Masque blanc and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
  • Cinématique - Turn off letterbox mode (show interface) for (All players): fade in over 2.00 seconds
  • Cinématique - Enable user control for (All players)
  • Camera - Reset camera for Player to standard game-view over 2.00 seconds
After
  • Camera - Appliquer Camera 006 <gen> for Player over 0.01 seconds
  • Wait 0.10 seconds
  • Cinématique - Fade in over 2.00 seconds using texture Masque blanc and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
  • Cinématique - Turn off letterbox mode (show interface) for (All players): fade in over 2.00 seconds
  • Cinématique - Enable user control for (All players)
  • Camera - Reset camera for Player to standard game-view over 2.00 seconds
I may have changed something else, but I can't remember.
Have you ever heard about issues with cinematics on others triggers?

(Btw, my WE is in french)
 
Level 25
Joined
May 11, 2007
Messages
4,651
Set AIGroup = units owned by Player AI
pick every unit in AIGroup - Pause picked unit.

On Cinematic cleanup - Unpause AIGroup.

That's what most Warcraft 3 and Starcraft 2 campaigns does.
 
Status
Not open for further replies.
Top