Jump to content


motoma197

Member Since 21 Jan 2013
Offline Last Active Feb 23 2019 06:53 AM

Topics I've Started

Crash on start-up

25 January 2019 - 10:46 AM

Hi, I have a problem when starting the game, I get past the initial loading screen but then the screen goes black and then either crashes with no error or crashes with a generic 'program has stopped responding error' None of the specific errors that are usually associated. I've tried running it in admin mode too

I of course am using 2.02, with 1.06 bfme2, no mods, Windows 8.1. Mod is installed in its own folder inside program files x86


Scripting - Build teams

22 January 2019 - 04:20 PM

Hi

So first I'm doing this 

So I've been trying to create a custom map where an AI team is to produce teams from their production buildings, exactly how it's done in the campaign. 

I'll explain what I've been doing. This is with RotWK 2.02

First I create 2 scripts in a folder, both marked as subroutine with deactivate on success unchecked. The first script is IF: True, THEN: Null operation. The second IF: True, THEN: Move to waypoint
Under Teams I add a test team to try out the script. Under production condition I attach the first script, for 'on create' I attach the second script. Priority is 1000, build for is 300. I add 2 units on the team as testers, Min 1 Max 1 of each Easterling Horde and Orc Warrior Horde.

I save the game and on the map I place an orc pit and haradrim palace with the team that the scripts are attached to.

Nothing happens in game. 

 

I've tried this process on a number of different teams. I've tried using PlyrCreeps, PlyrTeam_1, PlyrTeam_2, PlyrSkirmishMordor, PlyrMordor and some others. No matter what I do it doesn't work. I've also tried not adding Skirmish Players but that doesn't help, the AI just does even more nothing  :D

 

Separate but related issue, whenever I try and add a player that isn't PlyrCreeps, none of their units are even selectable or interactable. They're just neutral no matter if I set diplomacy in playerlist or force allegiance with scripts, they're just dead. This is ok as I can use player scripts for most things but ideally I want to be able to have an AI that constantly produces untis from PBs then give them custom commands.

 

Any and all help appreciated! If I need to clarify anything any further I'll be happy to