Cortex Command

Cortex Command

Endless content for every part of the game
Built for modding from the ground up, Cortex Command supports a community of talent whose quality work can be enjoyed here: actors, items, vehicles, scenes, game modes, tech factions - you name it!
Learn More
roboticred 1 26 Nov, 2015 @ 12:16pm
Need a modder for help
Some devices and actors of my mod arn't showing up in game. can someone help me out?
< >
Showing 1-4 of 4 comments
Reelshiny 25 2 Dec, 2015 @ 2:12pm 
First of all: In the ini if you see

Buyable = 0

under the actor or weapon you want to appear buyable, replace the 0 with a 1, or delete that line entirely. Making every emitter, gib, and magazine buyable is not necessary to make an actor buyable. You can even make a actor pre-equipped with a weapon that isn't buyable, or make a craft drop an actor that isn't buyable.

Second: You need to designate your buyable...thing... to a group. Groups are places like the Weapons tab where you see generally all weapons, or the Snipers tab where you can see sniper actors specifically. Some groups also add special attributes to things within it: Sniper actors have extra range, and the Primary/Secondary weapon and other specific weapon groups have something to do with how CPU factions arm themselves in a skirmish. Check the .inis of other mods and lurk around to really learn how that stuff works; that's how i'm doing it.

Generally assigned groups can be found here in a .ini; under the buyable object's name and description.

AddDevice = HDFirearm
PresetName = Micro Pulsar
Description = A powerful pistol which fires short homing laser shots. Zooming in will highlight targets that the lasers are likely to lock on to.
AddToGroup = Weapons <<----------one group
AddToGroup = Secondary Weapons <-----------2group
Mass = 4
HitsMOs = 0
GetsHitByMOs = 1
OTHERSTUFF
OTHERSTUFF
OTHERSTUFF
Last edited by Reelshiny; 2 Dec, 2015 @ 2:14pm
roboticred 1 2 Dec, 2015 @ 2:19pm 
First of all: In the ini if you see

Buyable = 0

under the actor or weapon you want to appear buyable, replace the 0 with a 1, or delete that line entirely. Making every emitter, gib, and magazine buyable is not necessary to make an actor buyable. You can even make a actor pre-equipped with a weapon that isn't buyable, or make a craft drop an actor that isn't buyable.

Second: You need to designate your buyable...thing... to a group. Groups are places like the Weapons tab where you see generally all weapons, or the Snipers tab where you can see sniper actors specifically. Some groups also add special attributes to things within it: Sniper actors have extra range, and the Primary/Secondary weapon and other specific weapon groups have something to do with how CPU factions arm themselves in a skirmish. Check the .inis of other mods and lurk around to really learn how that stuff works; that's how i'm doing it.

Generally assigned groups can be found here in a .ini; under the buyable object's name and description.

AddDevice = HDFirearm
PresetName = Micro Pulsar
Description = A powerful pistol which fires short homing laser shots. Zooming in will highlight targets that the lasers are likely to lock on to.
AddToGroup = Weapons <<----------one group
AddToGroup = Secondary Weapons <-----------2group
Mass = 4
HitsMOs = 0
GetsHitByMOs = 1
OTHERSTUFF
OTHERSTUFF
OTHERSTUFF
Sorry to disapoint you but i fixed it, BUT i didnt find any buyable code which is really interesting to me becuase i found no buyable code in any of the documents.
Reelshiny 25 2 Dec, 2015 @ 2:32pm 
Ahh, good to hear you fixed it.

that code isn't used much. Some mods would hide units by changing the Buyable property to 0; which is useful if you have one unit that's going to be used as a template to make copies but you only want those copy to be buyable. You would apply Buyable = 0 to the template and Buyable = 1 to the copies.

I think the Space Pirate Faction does this with a few units.
Last edited by Reelshiny; 2 Dec, 2015 @ 2:33pm
roboticred 1 2 Dec, 2015 @ 2:33pm 
Ahh, good to hear you fixed it.

that code isn't used much. Some mods would hide units by changing the Buyable property to 0; which is useful if you have one unit that's going to be used as a template to make copies but you only want those copy to be buyable. You would apply Buyable = 0 to the template and Buyable = 1 to the copies.
oh ok thanks for the tip. :)
< >
Showing 1-4 of 4 comments
Per page: 1530 50