Skip to content
View in the app

A better way to browse. Learn more.

SW:Rebellion Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to change unit models based on terrain...

Featured Replies

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

yeah i love that tid bit of code :D

but i havnt found where u add a new "terrain"

http://www.swgbex.com/sig.jpg

Hehe IA 2 venator :P

  • Author
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

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 Battles

Legacy of War - Staff Member

  • Author

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

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.