Jump to content


Photo
- - - - -

Dissapearing Debris


  • Please log in to reply
7 replies to this topic

#1 AZ-Stalker

AZ-Stalker

    Sergeant

  • Members
  • 297 posts
  • Location:Zagreb, Croatia

  • Favourite C&C:
    Tiberian Sun

Posted Thursday, 19 July 2012 - 02:18 AM

Any destroyed vehicle hulls I place in the World Builder don't show up in game (I think they act lice freshly destroyed vehicles and "fall" down out of the map almost instantly). I've tried making them indestructable and switching their ownership (plyrcivilian/neutral/AI/player...) but they just wont stay on map. I need them to stay permanently. Scorch marks stay, but the hulls vanish. Any ideas? Do I need to enable them to stay on the map via scripting or something?

Posted Image
  • 0
azstalker.png

#2 Zee Hypnotist

Zee Hypnotist

    C&C Legos Creator

  • Administrators
  • 4,587 posts
  • Location:San Mateo, California, USA, WORLD.

  • Favourite C&C:
    Red Alert

Posted Thursday, 19 July 2012 - 11:21 PM

I really don't think you can make them stay.

When a unit is destroyed, it is temporarily replaced with the hull, and the sole purpose of the hull is to sink into the ground after a few moments.

The only workaround I can think of is if you create a new unit that is a normal unit (that doesn't sink and sits stationary), and somehow link the art models to that unit.
  • 0
Posted Image
Check out my website: http://zeehive.net | My creations: Tiberium RPG | C&C Legos

#3 Plokite_Wolf

Plokite_Wolf

    Community nuisance

  • News Team
  • 3,536 posts
  • Location:Split, Croatia

  • Favourite C&C:
    Yuri’s Revenge

Posted Friday, 20 July 2012 - 08:17 AM

The only workaround I can think of is if you create a new unit that is a normal unit (that doesn't sink and sits stationary), and somehow link the art models to that unit.

Then make it completely invincible and let the units transform to that unit when they're destroyed. But then you'll need to copy the entire Generals arsenal to do this.
  • 0

c6WtL.jpg

left64_by_obsidianlake-d5ruayp.pngfacebook64_by_obsidianlake-d5ruayu.pngyoutube64_by_obsidianlake-d5ruayx.pngrevora64_by_obsidianlake-d5ruaz5.pngtwitter64_by_obsidianlake-d5ruayz.pngright64_by_obsidianlake-d5ruf44.png

Patrol Comics Co-Founder | CNCNZ.com News Updater | EVA Database System Operator | C3N Creator | Mental Omega 3.0 Beta Tester
"My children, today we make one giant step closer in our revolution. A sentence which doesn't make sense." --Kane


#4 AZ-Stalker

AZ-Stalker

    Sergeant

  • Members
  • 297 posts
  • Location:Zagreb, Croatia

  • Favourite C&C:
    Tiberian Sun

Posted Saturday, 21 July 2012 - 10:12 PM

Should have known this would have been a long shot, since I don't remember any hulls being present in any campaign missions. Though I'm just messing around with my own singleplayer map, so modding isn't something I'd like to get into at the moment. Thanks for the help but I think I'll just work around it by replacing the hulls with severely damaged neutral vehicles (+ "unselectable" option). Should have thought of that a long time ago. *facepalms*

Edited by AZ-Stalker, Monday, 17 September 2012 - 03:11 PM.

  • 0
azstalker.png

#5 Zee Hypnotist

Zee Hypnotist

    C&C Legos Creator

  • Administrators
  • 4,587 posts
  • Location:San Mateo, California, USA, WORLD.

  • Favourite C&C:
    Red Alert

Posted Wednesday, 26 September 2012 - 08:20 AM

Alright, tooled around in TibEd, and figured out how to make it work in TibEd. I can't say the same about the worldbuilder.

With each hull, you need to make the following changes:
  • In the SlowDeathBehavior module, you need to change Destruction Delay and Sink Delay to 9999999999
  • In LifetimeUpdate module, change both the maximum and minimum lifetime to 9999999999
  • In the PhysicsBehavior module, change the KillWhenRestingOnGround to No. This part might not be necessary, but it's one of the steps I took.
Doing these three things will give you the grey husks indefinitely. They will never disappear unless you play a game that takes 2777 hours.

Unfortunately, I don't know how to make these rule changes apply to maps individually. And if you don't, well, it looks like this will be a single-player only mod or one that you'll have to send to someone before playing with them.
  • 1
Posted Image
Check out my website: http://zeehive.net | My creations: Tiberium RPG | C&C Legos

#6 AZ-Stalker

AZ-Stalker

    Sergeant

  • Members
  • 297 posts
  • Location:Zagreb, Croatia

  • Favourite C&C:
    Tiberian Sun

Posted Wednesday, 26 September 2012 - 08:34 AM

Good to know, thanks for the follow up info, but the problem of the dissapearing debris that was puzzling me at the time wasn't anything critical so I worked around it with similar techniques to the one described in my previous post. Nevertheless, it's good to know how it can be done. A shame it's not an option without modding the actual game though.
  • 0
azstalker.png

#7 Nmenth

Nmenth

    The Nuclear Dragon

  • Moderators
  • 4,722 posts
  • Location:A dank cave

  • Favourite C&C:
    Yuri’s Revenge

Posted Wednesday, 26 September 2012 - 09:25 AM

They will never disappear unless you play a game that takes 2777 hours.

When you can turtle as well as I, you'll start calling that a quick match. :P
  • 1

#8 Plokite_Wolf

Plokite_Wolf

    Community nuisance

  • News Team
  • 3,536 posts
  • Location:Split, Croatia

  • Favourite C&C:
    Yuri’s Revenge

Posted Thursday, 27 September 2012 - 01:22 PM

A shame it's not an option without modding the actual game though.

Not necessarily. If you open MapsZH.big in your Zero Hour directory, you can see that certain maps have their own .ini file which can be modified in the same manner as the game files themselves. Just put "Object yaddayaddayadda" and ONLY the strings that you want to CHANGE. Hope this helps.

Edited by Plokite_Wolf, Friday, 28 September 2012 - 06:10 PM.

  • 0

c6WtL.jpg

left64_by_obsidianlake-d5ruayp.pngfacebook64_by_obsidianlake-d5ruayu.pngyoutube64_by_obsidianlake-d5ruayx.pngrevora64_by_obsidianlake-d5ruaz5.pngtwitter64_by_obsidianlake-d5ruayz.pngright64_by_obsidianlake-d5ruf44.png

Patrol Comics Co-Founder | CNCNZ.com News Updater | EVA Database System Operator | C3N Creator | Mental Omega 3.0 Beta Tester
"My children, today we make one giant step closer in our revolution. A sentence which doesn't make sense." --Kane





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users


Hosted by Freedom Studios
eXTReMe Tracker