logo   login
right
Home Forums Downloads Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Forum Info
Forum Members: 18,677
Total Threads: 8,798
Posts: 95,842

Administrators:
DeeZire, Redemption

There are currently 29 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements


Generals & Zero Hour Editing Discuss any modding related issues to do with Generals and Zero Hour here.

Reply
 
LinkBack Thread Tools
Old 09-02-2008, 10:23 AM   #1 (permalink)
Junior Member
 
Ace commander's Avatar
 
Join Date: Aug 2008
Location: Beit Mery, Lebanon
Posts: 11
Post destroyed buildings effect

I want the buildings to smoke for a while when destroyed. How files should i edit and how?
Ace commander is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-02-2008, 10:40 AM   #2 (permalink)
Senior Member
 
Join Date: Jan 2008
Posts: 777
Default

Which buildings? Civilian building rubble already smokes constantly when destroyed.
beng is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-05-2008, 07:41 PM   #3 (permalink)
Senior Member
 
Join Date: Aug 2004
Location: Philippines
Posts: 452
Send a message via MSN to IraqiPeopleRocks Send a message via Yahoo to IraqiPeopleRocks
Default

If you're talking about the faction buildings, Use/Add the KeepObjectDie module to it.
IraqiPeopleRocks is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-09-2008, 07:10 AM   #4 (permalink)
Junior Member
 
Ace commander's Avatar
 
Join Date: Aug 2008
Location: Beit Mery, Lebanon
Posts: 11
Post

I want smoke to rise up from all buildings. I want it to be a long black smoke that reaches the top of the screenand that will fade after a while. Do you know how?
Ace commander is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-09-2008, 11:57 AM   #5 (permalink)
Senior Member
 
Join Date: Jul 2008
Location: Jakarta, Indonesia
Posts: 298
Default

I don't know how to make a smoke to the top of the screen, but maybe this can make the building smoked a while when destroyed: Make the smoke particle effect (or use the existing one), put slowdeath behavior to the building, make DYING condition (not RUBBLE) in the building's draw module, add the smoke effect to that condition. It's worked like infantry's death animation.
n5p29 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-09-2008, 07:20 PM   #6 (permalink)
Senior Member
 
Join Date: Jan 2008
Posts: 777
Default

See gamedata.ini from "AutoFireParticleSmallPrefix" onwards. Rubble models have FireSXX SmokeSXX etc bones where XX is a number and the letter after the fire or smoke says the size (Small Medium Large).

You can edit gamedata.ini and change the particle system to bigger smokes like SootySmokeColumn02, or make your own:
ini editing discoveries and tips for Generals & ZH - CnCMaps Map Editing Forums

If you make your own, give them DUST_TRAIL priority, which is down the priority list, so your computer won't render them if it bogs down too much. If you really want it to render even if it slows things down, use a higher priority (see the link at the bottom of the post in the link above).

And for the building object, do like IPR says and use keepobjectdie instead of any other death behavior (no slow death or instant, no destroy die) so the rubble stays, and make sure your rubble model has those special bone names for auto fire and smoke.

Last edited by beng; 09-09-2008 at 07:24 PM..
beng is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-09-2008, 09:09 PM   #7 (permalink)
Senior Member
 
Join Date: Jul 2008
Location: Jakarta, Indonesia
Posts: 298
Default

The reason why I use slow death: keepobjectdie will make the building's rubble will shown forever until it cleared by build. I think slow death suits better for faction buildings that buildable. It will sink slowly and smoked until totally disappeared.
n5p29 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-10-2008, 07:03 AM   #8 (permalink)
Junior Member
 
Ace commander's Avatar
 
Join Date: Aug 2008
Location: Beit Mery, Lebanon
Posts: 11
Post

thanks, this will make the buildings look more realistic when destroyed
Ace commander is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 09:56 PM.


Design By: Miner Skinz.com
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.