Disable Strategic Bombers Mod?

Everything about mods can be found here.

Moderator: Morax

Disable Strategic Bombers Mod?

Postby Icefrenzy » 24 Aug 2015, 04:47

Hi, New to this forum but I'll get right to my point..

Is there any mods at all that disables Strategic Bombers?
I really love turtling games with my friends and watch the AI send waves of units but the Strategic bombers completely spoil our fun.

If there is no mods for the said units, can someone link me to a tutorial on disabling units/buildings in-game? Thanks in advance!
Nothing down here... move along :c
User avatar
Icefrenzy
 
Posts: 1
Joined: 24 Aug 2015, 04:44
Has liked: 0 time
Been liked: 0 time
FAF User Name: Icefrenzy

Re: Disable Strategic Bombers Mod?

Postby speed2 » 24 Aug 2015, 09:56

Try to search the mod vault, it might already exist. If not, it will be really easy to make this mod. Just find any mod that is restricting some unit and change it. Cod eis gonna be something like
Code: Select all
AddRestriction(categories.uea0304)

Where uea0304 is unit ID. You can find unit IDs of strats in unit DB.
User avatar
speed2
Contributor
 
Posts: 3189
Joined: 05 Jan 2013, 15:11
Has liked: 636 times
Been liked: 1119 times
FAF User Name: speed2

Re: Disable Strategic Bombers Mod?

Postby justmakenewgame » 24 Aug 2015, 09:57

or build sams
better colors for FA - forums/viewtopic.php?f=2&t=5434&start=30#p106723
https://www.youtube.com/watch?v=3--CgLvJGpk

<Aurand> dogler; you made bad decisions
User avatar
justmakenewgame
Avatar-of-War
 
Posts: 245
Joined: 05 Dec 2014, 16:53
Has liked: 13 times
Been liked: 23 times
FAF User Name: justmakenewgame

Re: Disable Strategic Bombers Mod?

Postby ckitching » 24 Aug 2015, 10:34

speed2 wrote:Try to search the mod vault, it might already exist. If not, it will be really easy to make this mod. Just find any mod that is restricting some unit and change it. Cod eis gonna be something like
Code: Select all
AddRestriction(categories.uea0304)

Where uea0304 is unit ID. You can find unit IDs of strats in unit DB.


Instead of adding lists of unit ids, you can use the category system. (There's a special category for every unit that just contains itself, which is what speed is using here), but you can more generally bad T3 bombers with the "TECH3 * BOMBER" category (the intersection of T3 and BOMBER categories). This has the advantage of probably also working in the presence of mods. Should you play with a mod that adds an extra race or extra units, you probably won't have to modify your bomber-removing mod if you do it this way (whereas if you just union the individual unit ids you'll have to keep tweaking it)
User avatar
ckitching
Avatar-of-War
 
Posts: 229
Joined: 03 Jan 2015, 12:51
Has liked: 2 times
Been liked: 69 times
FAF User Name: ckitching


Return to Mods & Tools

Who is online

Users browsing this forum: No registered users and 1 guest