C&C Labs Forums
»
C&C Maps and Modding
»
Generals: Modding
»
Copying AI scripts from one faction to another?
Private Joined: 12/1/2015(UTC) Posts: 29 Location: Auckland Thanks: 3 times Was thanked: 4 time(s) in 3 post(s)
|
Ok so I've made a boss general for each vanilla faction (in Zero Hour) and was thinking whether to make an AI for them.
I've seen this post (http://www.cnclabs.com/forums/cnc_postst13685_Boss-Mod.aspx) of someone who tried making a working AI for the Boss General but I've noticed he copied all the scripts from the China faction and put them into another faction and called it SkirmishBossGeneral.
I want to know if it is possible to copy all the scripts from one faction and put it in another faction. From there I then want to change the buildings to the correct ones for the faction. Can you also do the same for teams as well?
|
|
|
|
General Joined: 3/8/2016(UTC) Posts: 1,156 Thanks: 312 times Was thanked: 185 time(s) in 149 post(s)
|
you can -- click the faction script folder then click export .. and import the script into another faction folder
|
|
|
|
|
Private Joined: 12/1/2015(UTC) Posts: 29 Location: Auckland Thanks: 3 times Was thanked: 4 time(s) in 3 post(s)
|
Originally Posted by: adrianemapmaker you can -- click the faction script folder then click export .. and import the script into another faction folder
Thanks so much. Also, in the AIData.ini file I know that you can put in the buildings that the computer will build and the location of them, which are X and Y coordinates. Do I have to change these coordinates myself or can I use WorldBuilder to place the buildings down and will it show me the coordinates that I can put into the ini? Edited by user Saturday, May 4, 2019 11:51:21 PM(UTC)
| Reason: Not specified
|
|
|
|
General Joined: 3/8/2016(UTC) Posts: 1,156 Thanks: 312 times Was thanked: 185 time(s) in 149 post(s)
|
no not really - just edit structure names with boss_ ones
|
|
|
|
|
Major Joined: 3/27/2015(UTC) Posts: 490
Thanks: 5 times Was thanked: 213 time(s) in 155 post(s)
|
preferably you'd want to have reference using world builder in terms of building placement for AIData.ini
0,0 is at the bottom-left corner of the map. |
|
|
|
|
Users browsing this topic |
Guest
|
C&C Labs Forums
»
C&C Maps and Modding
»
Generals: Modding
»
Copying AI scripts from one faction to another?
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.