BGForums

BattleGoat Studios | Supreme Wiki | Facebook | Twitter | YouTube
It is currently May 24 2013

All times are UTC - 5 hours




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Is there a quick way to mod so the AI never builds units?
PostPosted: Sep 17 2011 
Offline
Lieutenant

Joined: Jun 03 2005
Posts: 56
I searched but could not find if there was any way to mod the game so that the AI never builds any units. I would like to design a fight as you are scenario.
thanks!


Top
 Profile  
 
 Post subject: Re: Is there a quick way to mod so the AI never builds units
PostPosted: Sep 17 2011 
Offline
General

Joined: Jun 23 2009
Posts: 2492
Location: x:355 y:216
There are a few ways you could accomplish this.. but its a question of form vs function which you want. The method you use would really be dependent on how comfortable you are with modding various files and exactly what your trying to accomplish.(A copy of the campaign where no one can build units? A totally new scenario etc)

The easiest way would probably be to cache it with a custom unit file which have the fabs removed.

_________________
Si vis pacem, para bellum
my Supreme Ruler Cold war mods Site
Redistribution of my mods is prohibited. By downloading them you agree to not redistribute the file(s) without expressed permission.


Top
 Profile  
 
 Post subject: Re: Is there a quick way to mod so the AI never builds units
PostPosted: Sep 17 2011 
Offline
Lieutenant

Joined: Jun 03 2005
Posts: 56
Thanks Fistalis. I'm medium level in modding, can rebuild the cache modify the unit files.
My goal would be a short 1989 WWIII "come as you are" scenario.

so if I take the fabs out of the unit file and rebuild, no one will have any build capacity I take it?
that would work!
thanks
B


Top
 Profile  
 
 Post subject: Re: Is there a quick way to mod so the AI never builds units
PostPosted: Sep 17 2011 
Offline
General

Joined: Jun 23 2009
Posts: 2492
Location: x:355 y:216
pitchblack wrote:
Thanks Fistalis. I'm medium level in modding, can rebuild the cache modify the unit files.
My goal would be a short 1989 WWIII "come as you are" scenario.

so if I take the fabs out of the unit file and rebuild, no one will have any build capacity I take it?
that would work!
thanks
B

Yup.. only units they will be able to produce is garrisons. If you don't want those just remove those as well.(use infantry or militia or w/e you deem best for town defense instead)

_________________
Si vis pacem, para bellum
my Supreme Ruler Cold war mods Site
Redistribution of my mods is prohibited. By downloading them you agree to not redistribute the file(s) without expressed permission.


Top
 Profile  
 
 Post subject: Re: Is there a quick way to mod so the AI never builds units
PostPosted: Sep 17 2011 
Offline
General
User avatar

Joined: Aug 22 2008
Posts: 3182
Location: Nearby, really I'll see you tonight when your sleeping
If your goal is to stop the AI from building units. You could always modify the AIPARAMS file. the part where the AI decideds which units to build. This method would also not require a new cache.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Is there a quick way to mod so the AI never builds units
PostPosted: Sep 18 2011 
Offline
Lieutenant

Joined: Jun 03 2005
Posts: 56
Thanks Ruges, I looked a the AI Params in the Wiki, so if I put 0 for all the &&UNITWEIGHTING values would keep the AI from building units, or is there something else?
B


Top
 Profile  
 
 Post subject: Re: Is there a quick way to mod so the AI never builds units
PostPosted: Sep 18 2011 
Offline
General
User avatar

Joined: Aug 22 2008
Posts: 3182
Location: Nearby, really I'll see you tonight when your sleeping
no doing the weighting wont work. You need to do it under the buildsequence.

Code:
0,3,128,4,128,5,128,3,2,1,4,5,160,68,2,131,,// Land-Defense,,,,,,,,,,,,,
128,3,128,4,128,2,5,4,1,128,131,132,2,128,160,4,,// Land-Mixed,,,,,,,,,,,,,
128,131,2,1,128,132,2,133,128,2,196,128,6,160,2,4,,// Land-Offense,,,,,,,,,,,,,
7,7,9,7,9,7,9,9,10,7,9,12,7,9,13,14,,// Air-Defense,,,,,,,,,,,,,
7,9,9,7,9,7,10,10,9,7,9,10,12,9,13,14,,// Air-Mixed,,,,,,,,,,,,,
7,9,9,7,10,10,7,10,9,7,9,10,12,13,14,10,,// Air-Offense,,,,,,,,,,,,,
18,19,18,18,17,17,15,18,17,83,82,81,15,79,20,16,,// Naval-Defense,,,,,,,,,,,,,
18,18,18,18,17,17,19,18,17,83,82,81,15,79,20,16,,// Naval-Mixed,,,,,,,,,,,,,
18,18,18,18,17,17,15,15,17,83,82,81,15,79,20,16,,// Naval-Offense,,,,,,,,,,,,,

to
Code:
30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,,// Land-Defense,,,,,,,,,,,,,
30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,,// Land-Mixed,,,,,,,,,,,,,
30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,,// Land-Offense,,,,,,,,,,,,,
30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,,// Air-Defense,,,,,,,,,,,,,
30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,,// Air-Mixed,,,,,,,,,,,,,
30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,,// Air-Offense,,,,,,,,,,,,,
30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,,// Naval-Defense,,,,,,,,,,,,,
30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,,// Naval-Mixed,,,,,,,,,,,,,
30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,,// Naval-Offense,,,,,,,,,,,,,


Pretty sure that will make it so when the AI is deciding what to build. It will look for unit type 30 which there is none, so it wont build any units. This is just theory thow and untested.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Is there a quick way to mod so the AI never builds units
PostPosted: Sep 19 2011 
Offline
Lieutenant

Joined: Jun 03 2005
Posts: 56
thanks much Ruges, I'll give it a whirl and let you know!
B


Top
 Profile  
 
 Post subject: Re: Is there a quick way to mod so the AI never builds units
PostPosted: Mar 31 2012 
Offline
Major

Joined: Jan 06 2012
Posts: 173
oh btw ruges that way does work that u suggested iv tested it and the ai never builds units


Top
 Profile  
 
 Post subject: Re: Is there a quick way to mod so the AI never builds units
PostPosted: May 02 2012 
Offline
Warrant Officer

Joined: Aug 02 2011
Posts: 36
1989 World War III mod? Sounds like it could be pretty awesome. I shall keep an eye out for it. I want to play as Russia and invade both the eastern and western sea board of the United States!


Top
 Profile  
 
 Post subject: Re: Is there a quick way to mod so the AI never builds units
PostPosted: May 13 2012 
Offline
Major

Joined: Jan 06 2012
Posts: 173
do a lil red dawn scenario :lol:


Top
 Profile  
 
 Post subject: Re: Is there a quick way to mod so the AI never builds units
PostPosted: May 13 2012 
Offline
General

Joined: Sep 29 2008
Posts: 1872
WOLVER.... ah nevermind


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group