Lord Shadow General Joined Oct 14, 2005 Messages 2,005 Location Buenos Aires Oct 27, 2014 #1 Is it possible, without them overwriting each other? The aim is to have a handful of equivalent units with different abilities. Or do I need one class per unit?
Is it possible, without them overwriting each other? The aim is to have a handful of equivalent units with different abilities. Or do I need one class per unit?
Nutty Deity Joined Mar 9, 2011 Messages 3,181 Location Orange County, California, U.S.A. Oct 27, 2014 #2 Why not just use the Unit Perk system? EDIT: They'd basically be unique units that wouldn't be trainable, but you could use Lua and PlayerCanTrain.
Why not just use the Unit Perk system? EDIT: They'd basically be unique units that wouldn't be trainable, but you could use Lua and PlayerCanTrain.
Lord Shadow General Joined Oct 14, 2005 Messages 2,005 Location Buenos Aires Oct 27, 2014 #3 Hmm. It's new and I'm not really familiar with it. Also, all of these units would exist in parallel and have separate AI flavours. To unveil my plans a bit further, it's for my Alien Strains mod, which would add two (equivalent, reskinned) variants to each base alien species. The aliens should be able to randomly choose between the strains when they want, say, to produce a Wolf Beetle or a Raptor Bug.
Hmm. It's new and I'm not really familiar with it. Also, all of these units would exist in parallel and have separate AI flavours. To unveil my plans a bit further, it's for my Alien Strains mod, which would add two (equivalent, reskinned) variants to each base alien species. The aliens should be able to randomly choose between the strains when they want, say, to produce a Wolf Beetle or a Raptor Bug.
Nutty Deity Joined Mar 9, 2011 Messages 3,181 Location Orange County, California, U.S.A. Oct 27, 2014 #4 See this thead.
Lord Shadow General Joined Oct 14, 2005 Messages 2,005 Location Buenos Aires Oct 28, 2014 #5 Nutty said: See this thead. Click to expand... My brain was fried last night and I couldn't make much sense out of the proposed code. But now it's looking mighty interesting. Will try it out!
Nutty said: See this thead. Click to expand... My brain was fried last night and I couldn't make much sense out of the proposed code. But now it's looking mighty interesting. Will try it out!