More Cardassians... -1 reply

Please wait...

B3ta

The forums staffers think I'm Cool

50 XP

22nd April 2004

0 Uploads

191 Posts

0 Threads

#101 10 years ago

Thats wot i mean...it wont upload to the forums for me...




B3ta

The forums staffers think I'm Cool

50 XP

22nd April 2004

0 Uploads

191 Posts

0 Threads

#102 10 years ago

no still wont work




Freyr VIP Member

A2Files Staff

46,876 XP

6th February 2005

11 Uploads

4,275 Posts

0 Threads

#103 10 years ago

instead of trying to actually post the file as an attachment just copy and paste all the text in the file.

If you wrap it in spoiler tags you'll need to write a few words outside of that because the forum doesn't recognise quotes as part of your message so it thinks it's blank.




DarkEnergy

a basin of water

50 XP

12th April 2006

0 Uploads

459 Posts

0 Threads

#104 10 years ago

this is the instant action build list I got via mail by B3ta. I will have a test run of this and the other files and hope it doesn't blow my game to pieces :-)

// // Cardassian AI // Version I // Last edited by Dan, 24th June 2009 // // Load up the basic structures... #include "aipdef.h"

// NOTE: DO NOT change MAX_EVAL_ values. int MAX_EVAL_ATTACK_BASE = 10; int MAX_EVAL_ATTACK = 10; int MAX_EVAL_DEFEND = 30; int MAX_EVAL_ESCORT = 10; int MAX_EVAL_EXPLORE = 10; int MAX_EVAL_RESOURCE = 10;

// PRIORITIES OF DIFFERENT GOALS & FACTORS int attack_troops_priority = 1000; int attack_region_priority = 1000; int defend_priority = 100000; int attack_enemy_base_priority = 1000; int exploration_priority = 120000; int explorationFailurePenalty = 50000; int scripted_priority = 1; int perimeter_priority = 1000; int resource_priority = 100000; int escort_priority = 3000;

double min_matching_force_ratio = 1.0; double fleetAIRatio = 0.8;

int min_escort_force = 1; int max_escort_force = 1; int min_perimeter_force = 8; int max_perimeter_force = 8; int max_defense_force = 32; int min_defense_force = 16; int min_exploration_force = 1; int max_exploration_force = 1; int min_attack_force = 8; int max_attack_force = 16; int relaxation_cycles = 1;

double relaxation_coefficient = 0.5; int recompute_strategy_period = 200; double threatModifier = 1000; double danger_diminishment = 1; int distance_from_home_priority_modifier = -300; int distance_from_enemy_priority_modifier = 10; int threat_proximity_modifier = 10; int human_target_raw_bonus = 200; int max_misc_bid_bonus = 600; int persistence_modifier = 100;

double distance_from_goal_match_modifier = -0.5; int patrol_one_in_n = 2;

Way_Better_Build_List_Element the_build_list[MAX_ELEMENTS] = { //-------------------------------------------------------------------- // // Syntax: "ODF name", number to build, base to build at, max number from this line, min tech level //

// TECH LEVEL 0 - MAIN BASE INFRASTRUCTURE "cbase", 1, 0, -1, 0, // starbase "cconst", 1, 0, -1, 0, // construction ship "cconst", 1, 0, -1, 0, // second construction ship "cconst", 1, 0, 0, 0, // third construction ship "cresear", 1, 0, -1, 0, // basic research "corbital", 1, 1, -1, 0, // build an orbital station "cyard", 1, 0, -1, 0, // basic shipyard "cmining", 1, 1, -1, 0, // mining stations "ccolony", 1, 0, 4, 0, // colony ship "cfreight", 3, 0, -1, 0, // mining freighter - two freighters for each station "cscout", 4, 0, 1, 0, // scout "codekra", 1, 0, 1, 0, //odekra class "cyard2", 1, 0, -1, 0, // advanced shipyard "cturret", 2, 1, 4, 0, // basic mining defense

// TECH LEVEL 1 - DEFENSE FORCE AND EXPANSION

"cbattle", 2, 0, 1, 1, // Galor "corbital", 1, 2, 1, 1, // second orbital station "cargrai", 2, 0, 1, 1, // Argrai "cdestroy2", 2, 0, 1, 1, // Sartans "cdestroy3", 2, 0, 1, 1, // Kimal "ccruise1", 2, 0, 1, 1, // Brinok "ctalim", 2, 0, 1, 1, // Talim "cikava", 2, 0, 1, 1, // Ikava "cbattle", 2, 0, 1, 1, // Galor "cmining", 1, 2, 1, 1, // second mining station "cfreight", 3, 0, 1, 1, // mining freighters "cturret", 2, 2, 4, 1, // mining defense "csensor", 1, 2, 4, 1, // mining defense "cbattle", 2, 0, 1, 1, // Galor "ccruise2", 2, 0, 1, 1, // Gul Vystan "cakril", 2, 0, 1, 1, // Akril "cconst2", 2, 0, 1, 1, // construction ship II

// TECH LEVEL 2 - ATTACK FORCE AND 2nd LEVEL TECH

"cdestroy2", 2, 0, 1, 1, // Sartans "crabol", 2, 0, 1, 2, // Rabol "catarek", 2, 0, 1, 2, // Atarek "cresear2", 1 ,0, 1, 2, // advanced research station "cfrigate", 1, 0, 1, 2, // Vasad "cgrylmat", 2, 0, 1, 2, // Grylmat "corbital", 1, 0, 2, 2, // third orbital processing facility "cmining", 1, 3, 2, 2, // third mining station "cbattle", 1, 0, 1, 2, // Galor "cdestroy3", 1, 0, 1, 1, // Kimals "cbattle", 1, 0, 1, 2, // Galor "cdestroy2", 1, 0, 1, 1, // Sartans "cbattle", 1, 0, 1, 2, // Galor "ckorinar", 1, 0, 1, 2, // Korinar "cdestroy2", 1, 0, 1, 1, // Sartans

// TECH LEVEL 3 - ATTACK FORCE TO KEEP THE OPPOSITION BUSY

"coutpost", 1, 0, -1, 3, // Outpost "cscout", 5, 0, 1, 3, // Hideki "cconst", 1, 0, 1, 3, // construction ship "cturret3", 2, 0, 1, 3, // disruptor turret "cassault", 2, 0, 1, 3, // Janissary "cturret", 2, 1, 1, 3, // pulse turret "ccruise4", 2, 0, 1, 3, // Veracidor "ckorinar", 2, 0, 1, 3, // Korinar "carpod16", 1, 0, -1, 3, // Sensor Scrambler "carpod1", 1, 0, -1, 3, // Plasma Bank Overload "cyard3", 1, 0, -1, 3, // Yard 3 "cbattle", 1, 0, 1, 3, // Galor "cdestroy", 3, 0, 1, 3, // Rasilak "cdestroy2", 2, 0, 1, 3, // Sartans "cdestroy3", 3, 0, 1, 3, // Kimals "cbakrus", 1, 0, 1, 3, // Bakrus "cbiranok", 2, 0, 1, 3, // Biranok "cmakur", 1, 0, 1, 3, // Makur "cturret2", 3, 2, 1, 3, // torpedo turret "cbattle", 2, 0, 1, 3, // Galor "ccarrier", 2, 0, 1, 3, // Dalmak "cturret2", 3, 0, 1, 3, // torpedo turret

// TECH LEVEL 4 - UPGRADES

"cupgrade", 1, 0, -1, 4, // ship upgrade station "cbattle2", 2, 0, 1, 4, // Keldon "carpod11", 1, 0, -1, 4, // weapon upgrade level 2 "cbakrus", 1, 0, 1, 4, // Bakrus "cdaesar", 1, 0, 1, 4, // Daesar "cmakur", 2, 0, 1, 4, // Makur "cfrigate", 1, 0, 1, 4, // Vasad "cikava", 2, 0, 1, 4, // Ikava "carpod21", 1, 0, -1, 4, // weapon upgrade level 3 "cspecial", 1, 0, 1, 4, // Kulinor "cbattle2", 2, 0, 1, 4, // Keldon "cbattle", 2, 0, 1, 4, // Galor "cakril", 2, 0, 1, 4, // Akril "cfrigate", 1, 0, 1, 4, // Vasad "csensor", 2, 0, 1, 4, // disruptor turret "carpod12", 1, 0, -1, 4, // shield upgrade level 2 "cspecial", 1, 0, 1, 4, // Kulinor "cbattle", 2, 0, 1, 4, // Galor "cdaesar", 2, 0, 1, 4, // Daesar "cgrylmat", 2, 0, 1, 4, // Grylmat "ccruise2", 1, 0, 1, 4, // Gul Vystan "carpod22", 1, 0, -1, 4, // shield upgrade level 3 "ccruise1", 2, 0, 1, 4, // Brinok "ccruise4", 1, 0, 1, 4, // Veracidor "ccruise3", 2, 0, 1, 4, // Legate "csrepair", 1, 0, 1, 4, // repair ship

// TECH LEVEL 5 - ENDGAME

"cbakrus", 2, 0, -1, 5, // Bakrus "cyard3", 1, 0, -1, 5, // Command Base "cdread", 2, 0, -1, 5, // Hutet "cnorin", 3, 0, -1, 5, // Norin "ccruise1", 3, 0, -1, 5, // Brinok "ccruise2", 3, 0, -1, 5, // Gul Vystan "ccruise3", 2, 0, -1, 5, // Legate "ccruise4", 3, 0, -1, 5, // Veracidor "cscout", 4,0, -1, 5, // Hideki "cargrai", 2, 0, -1, 5, // Argrai "cbattle", 2, 0, -1, 5, // Galor "cbattle2", 2, 0, -1, 5, // Keldon "cbakrus", 2, 0, -1, 5, // Bakrus "cmakur", 2, 0, -1, 5, // Makur "ckorinar", 2,0, -1, 5, // Korinar "cbiranok", 2,0, -1, 5, // Biranok "cyard", 1, 0, -1, 5, // Command Base "cardassian_super_station", 1,0, -1, 5, //Could the name for this station be any longer? "csuper", 2, 0, -1, 5, // dreadnought missle "cdread", 1, 0, -1, 5, // Hutet "cdaesar", 3, 0, -1, 5, // Daesar "cbattle", 2, 0, -1, 5, // Galor "ccommand", 1, 0, -1, 5, // Command Base "cbattle2", 2, 0, -1, 5, // Keldon "cdestroy", 2, 0, -1, 5, // Rasilak "cdestroy2", 2, 0, -1, 5, // Sartans "cdestroy3", 2, 0, -1, 5, // Kimals "cgrylmat", 2, 0, -1, 5, // Grylmat "cakril", 2, 0, -1, 5, // Akril "cyard2", 1, 0, -1, 5, // Command Base "cbakrus", 2, 0, -1, 5, // Bakrus "cdread", 2, 0, -1, 5, // Hutet "cbattle", 2, 0, -1, 5, // Galor "cbattle2", 2, 0, -1, 5, // Keldon "cfrigate", 2, 0, -1, 5, // Vasad "cbakrus", 2, 0, -1, 5, // Bakrus "cbattle", 2, 0, -1, 5, // Galor "cikava", 2,0, -1, 5, // Ikava "cbattle2", 2, 0, -1, 5, // Keldon "cbakrus", 1, 0, -1, 5, // Bakrus "ccommand", 1, 0, -1, 5, // Command Base "cbattle", 20, 0, -1, 5, // Galor "cbattle2", 100, 0, -1, 5, // Keldon

};




Freyr VIP Member

A2Files Staff

46,876 XP

6th February 2005

11 Uploads

4,275 Posts

0 Threads

#105 10 years ago

DarkEnergy;4964760this is the instant action build list I got via mail by B3ta. I will have a test run of this and the other files and hope it doesn't blow my game to pieces :-)

// // Cardassian AI // Version I // Last edited by Dan, 24th June 2009

No, hopefully it will just blow the player fightitng it to bits. :)

And remember to change the versioning stuff; it can make life easier down the line. If nothing else, if someone complains their cardassian AI isin't working properly you can easily find out if someone is complaining about your version or not. =p

// Cardassian AI // Version 1.1; bugs fixed // Last edited by B3ta, 2nd August 2009




B3ta

The forums staffers think I'm Cool

50 XP

22nd April 2004

0 Uploads

191 Posts

0 Threads

#106 10 years ago

Durr, sorry was in a rush and didnt think about the clearly obvious....but glad i could help anyway




DarkEnergy

a basin of water

50 XP

12th April 2006

0 Uploads

459 Posts

0 Threads

#107 10 years ago

right I had one game on a random map and wasn't too happy about the result. the AI keeps throwing ships at me - but the construction ship keeps building mine stations and deleting them. all around the dil moons next to the base there are like 4-5 mining ships waiting for the next station to be build, then they have a go for it and stop in the middle when the station is deconstruced again. so the AI runs out of resources quite fast.




Freyr VIP Member

A2Files Staff

46,876 XP

6th February 2005

11 Uploads

4,275 Posts

0 Threads

#108 10 years ago

Tell the AI to build more freighters in the AIP.

The building then deleting the station thing happens (in my experience) when the AI needs more freighters, but hasn't been told to build them explicitly in the AIP. Therefore, it creatively interprets "rebuild the dilithium mine an infinite number of times" to mean that it should decommission it, keep the freighter and then build another one until it reaches it's desired number of freighters.

The AI can be frustratingly literal, but it's also capable of some very creative interpretation of your instructions.




DarkEnergy

a basin of water

50 XP

12th April 2006

0 Uploads

459 Posts

0 Threads

#109 10 years ago

current script tech level 0: "cfreight", 3, 0, -1, 0, // mining freighter - two freighters for each station

freyr, it really wasn't short on freighters. anything but. will try anyway.




Knight-2000

Dread thinks I'm a special person

50 XP

19th March 2006

0 Uploads

338 Posts

0 Threads

#110 10 years ago

lol, can't we believe we missed that the yard was problem. good spot Freyr :) Never occured to me because I know it was in the original AI dan did. So that's that problem sorted. Excellent :). Good work and collaboration here we had guys :)