Skip to content
View in the app

A better way to browse. Learn more.

W3D Hub

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.

Renegade crashes when using altmat for exterior of buildings

  • Open
  • Severity: Low
  • Game Area: Maps

Description

I have a map that I've made and I wanted to mimic how the original style Westwood maps are done, this also includes changing the textures of the buildings when they get destroyed to be all dark and smokey. I've used altmat with an "alive" terrain .w3d, and altmat for a "dead" terrain .w3d to produce mp_citymap_v2.w3d, where the stage 1 texture changes from an 'alive' texture to a 'dead' texture when a building gets destroyed.

This works flawlessly initially where I destroy the buildings, and the texture changes when they are destroyed. However if I have that map twice in a rotation and it reloads to that map, it will crash the game. I've spoken to Unstoppable and gave him the extended crashdump file and he told me that it's specifically trying to load a texture from W3D that doesn't exist "yet". I was wondering if you guys know a way of solving this issue? I also do wonder if it's because the alive and dead w3d terrains are too large for altmat to handle and would probably be better to separate buildings into their own W3D files but I don't know the inner workings of that application.

I have noticed other issues which is probably related to this one, such as the interior of the Airstrip randomly disappearing when you enter it.

Reproduction Steps

  1. Download this CityTest.mix map.
  2. Have CityTest as the only map in rotation in LAN.
  3. Destroy all the enemy buildings so that it game overs naturally (doesn't matter if you're GDI or Nod. I used 'weapon_ultimateweapon' to destroy the enemy buildings quicker)
    1. Note, you'll see the buildings change textures as they get destroyed to be all darker and smokey, just like in stock Westwood maps.
  4. Wait for it to load CityTest.mix again as the next map.
  5. Produces an error message and a crashdump.

Attachments
Attachments: CnC_Citytest_beta.zip

User Feedback

Recommended Comments

This is not an area that I am versed in to be able to give much help, but I just wonder what might happen if you switch the textures back to the "alive" versions at gameover. The fact that this is somehow caused by the 2nd run of the map not having the same "clean slate" that the first run has is a bit worrisome. Maybe Unstoppable or another of our gurus can figure this out. Thanks for bringing it to our attention.

altmat expects the exact same meshes & configuration in both W3D files. It doesn't play well if you try to add new passes or change things too much.

To be on the safe side, separate buildings from terrain. In other words, make two max/gmax files, one for buildings only and one for everything else. Then, make a clone of building-only max/gmax and change the material as you wish. Change it incrementally and make backups so you can figure out/recover what exact change breaks it.

These were the steps I followed making C&C_Frostbite.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Add a 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.