DragonShadow Posted March 25, 2006 Posted March 25, 2006 A little line of code called: Temperate, EI_TROOPER.ALO, Urban, EI_TROOPER.ALO, Arctic, EI_TROOPER_Snow.ALO, Volcanic, EI_TROOPER_Sand.ALO, Desert, EI_TROOPER_Sand.ALO, Forest, EI_TROOPER.ALO, Swamp, EI_TROOPER.ALO Neat, huh? With this, you can do pretty much anything to make units change based on environment. This can work for simply changing textures as well. http://i61.photobucket.com/albums/h65/NightshadowDragon/RyuuKageSIG.jpg http://i61.photobucket.com/albums/h65/NightshadowDragon/AoSW-JCW_Banner.jpg
swgbex Posted March 25, 2006 Posted March 25, 2006 yeah i love that tid bit of code but i havnt found where u add a new "terrain" http://www.swgbex.com/sig.jpgHehe IA 2 venator
DragonShadow Posted March 25, 2006 Author Posted March 25, 2006 I've actually added three new terrain types (basically to replace a function I would otherwise have made in LUA, because we can't change LUA). I don't know whether or not they work, though. I did it at about midnight last night and haven't had a chance to test it... http://i61.photobucket.com/albums/h65/NightshadowDragon/RyuuKageSIG.jpg http://i61.photobucket.com/albums/h65/NightshadowDragon/AoSW-JCW_Banner.jpg
FormulaRedline Posted March 25, 2006 Posted March 25, 2006 I've actually added three new terrain types (basically to replace a function I would otherwise have made in LUA, because we can't change LUA). I don't know whether or not they work, though. I did it at about midnight last night and haven't had a chance to test it... Let us know how it goes, though I imagine this should work. The terrain type for a planet is determined by the tag in planets.xml, I just wonder if these types need to be defined in something we can't access. Hopefully not. Victory Mod - Space Ships in Land BattlesLegacy of War - Staff Member
DragonShadow Posted March 25, 2006 Author Posted March 25, 2006 Let us know how it goes, though I imagine this should work. The terrain type for a planet is determined by the tag in planets.xml, I just wonder if these types need to be defined in something we can't access. Hopefully not. That's what my tests are banking on. I'll know in hopefully a few hours. http://i61.photobucket.com/albums/h65/NightshadowDragon/RyuuKageSIG.jpg http://i61.photobucket.com/albums/h65/NightshadowDragon/AoSW-JCW_Banner.jpg
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now