Jump to content


bloodredwolf

Member Since 18 May 2004
Offline Last Active Jun 15 2004 04:33 PM

Posts I've Made

In Topic: New factions SkirmishScripts.scb

18 May 2004 - 09:16 PM

it's a generals mod. basically i copied the scripts and teams from china and modified them to the new faction. but if it comes to flags and attack priorities, there are just the standard ones in the combobox (China, GLA, USA). so i stuck with china. one attack script looks like this.

*** IF ***
True.
*** THEN ***
For Attack priority set 'China Tank Priority' set the priority of object type 'Spy' to 30
For Attack priority set 'China Tank Priority' set the priority of object type 'RocketGuy' to 30
For Attack priority set 'China Tank Priority' set the priority of object type 'Tanks' to 29
For Attack priority set 'China Tank Priority' set the priority of object type 'Base Defenses' to 29
For Attack priority set 'China Tank Priority' set the priority of object type 'Artillery' to 29
For Attack priority set 'China Tank Priority' set the priority of object type 'ChinaInfantryHacker' to 29
For Attack priority set 'China Tank Priority' set the priority of object type 'Anti-Air Vehicle' to 28
For Attack priority set 'China Tank Priority' set the priority of object type 'Utility' to 27
For Attack priority set 'China Tank Priority' set the priority of object type 'Infantry' to 27
For Attack priority set 'China Tank Priority' set the priority of object type 'Base Factories' to 27
For Attack priority set 'China Tank Priority' set the priority of object type 'Super Weapons' to 27
For Attack priority set 'China Tank Priority' set the priority of object type 'Base Buildings' to 26


and i have set:

*** IF ***
True.
*** THEN ***
Have Team 'teamSkirmishSuper' use Attack priority set 'China Tank Priority'.


the debug shows a lot of this:

0 Run script - Super Tank Priority0
0 ***Attempting to set attack priority on an invalid thing:***
0 China Tank Priority


I also use "China Defcon" but i don't get any errors using it.

any clue?

In Topic: New factions SkirmishScripts.scb

18 May 2004 - 08:57 PM

i got a similar problem here. i have the ai for a new faction in a more or less working condition. but at the beginning of a match i got alot of "Attempting to set attack priority on an invalid thing:" error messages in the debug window. it has something to do with the attack priority. so i was wondering if one can make additional flags and attck priorities?