IPB

Welcome Guest ( Log In | Register )


 
Reply to this topicStart new topic
> Core Defender built by A.I., Howcome it won't work?
Krillinballs
post Mar 12 2012, 07:10 AM
Post #1

Technician
Group Icon

Group: Members
Posts: 9
Joined: 2-June 09
From: Everywhere
Member No.: 1,566
Favorite game: Tiberian Sun



I can't get the AI to build the unit version of the core defender. I tried simply re-arranging the Prerequisite and techlevel etc. but the AI will never build it. They build the building (deployed) version but it never attacks or retaliates.

I tried to swap the wolverine with Core Defender stats and Image and now it doesn't show on the buildlist, even with Techlevel=1, correct owner and no Prerequisites.

Also,

The Core Defender has a tag called Iscoredefender=yes and another one declaring it is not a vehicle, what are these tags and what do they do, just curious.

Sorry for a nooby question, I really just can't get this to work. I'm designing a CABAL side but I'm just checking everything I want can be done before I start.
Go to the top of the page
 
: | +Quote Post
Lin Kuei Ominae
post Mar 12 2012, 02:11 PM
Post #2


Stealth Tank
Group Icon

Group: Members
Posts: 1,065
Joined: 14-November 06
From: Germany
Member No.: 281
Alliance: CABAL
Favorite game: Tiberian Sun



You have to edit ai.ini and aifs.ini to make the AI build a certain unit.
There you find several Nod attack teams and you just have add to one or more of the teams the coredefender. (Or create a complete new team)

Modifications in rules.ini only tell if a house can actually build a unit (if it appears in den sidemenu) or not in the first place.
Ai.ini tells the AI how it should behave with certain units: e.g. offensive, defensive teams. capture or destroying buildings etc
Only Buildings are defined in rules.ini if the ai builds them.

IsCoreDefender has two functions.
1. Used on a Buildingtype it's a deployer key. Like TickTank=yes or IsJuggernaut=yes, these tell the game into which direction the unit should turn, before it deploys.
These keys also make sure, that the unit isn't sold and vanishes after undeploying.
2. Used on a Vehicletype, it tells the engine to give this vehicle the huge selection box and to make the vehicle immune against emp.


--------------------
Co-Leader of Twisted Insurrection
my public units for you
Nod units:____________________________GDI units:
Nod Scorpion__________________________GDI 3A Kodiak
Nod Tachyon Tank______________________GDI Medusa (Triple Cannon Mech)
Nod Goliath___________________________GDI Behemoth (medium size Mech)
Nod Cobra (fast medium mech)__________GDI Battleship Aurora
Nod Siegebot (light MG-Mech)__________GDI Fortress Tower (Heavy Base Defense)
Nod Redeemer (4 legged heavy Cyborg)__GDI Triton (Titan support Mech)
Nod/Scrin WotW Tripod_________________GDI Exciter
______________________________________GDI Ion Charge Collector
Misc and Fun units:
X-Mech Calendar 28 SHP Units
Star Wars Mechs ATAT/ATST
Cyborg Barrack on PPM_________________Mech Factory
Mutant Tiberium Flyer
yt1300 (Millenium Falcon + BIG version)

if you use my units in your mod, please credit me.if you want to use my units on your website please ask me before.
Go to the top of the page
 
: | +Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 28th March 2024 - 10:55 PM


XGhozt.com