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

Forum Info
Forum Members: 18,604
Total Threads: 8,693
Posts: 94,827

Administrators:
DeeZire, Redemption

There are currently 56 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 10-05-2003, 05:23 AM   #1 (permalink)
Member
 
Join Date: Sep 2003
Posts: 52
Default enabling salvaging

i wasnt able to find any talk of this on the board....and maybe i'm just overlooking something....but if you want, say, a US unit to have salvaging capabilities, how do you cause enemies to drop the salvage crates when they die?

thanks for your time
Kaldak is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-05-2003, 06:22 AM   #2 (permalink)
Senior Member
 
Join Date: May 2003
Location: Eindhoven, Netherlands
Posts: 2,278
Send a message via ICQ to CodeCat Send a message via MSN to CodeCat
Default

Well, there are a few things you should check. First, make sure the unit that can salvage has the SALVAGER KindOf, and if it can upgrade its weapon by salvaging, it must also have the WEAPON_SALVAGER KindOf.

Then, make sure the unit you're trying to destroy has this piece of code:

Behavior = CreateCrateDie ModuleTag_nn
CrateData = USASalvageCrateData
End

Most units have a similar piece of code (which calls for SalvageCrateData rather than USASalvageCrateData) so do a search and add the code to every unit that already has the original code. And also make sure that the module tag number is unique to the unit and not used anywhere else on some other module on the same unit.

Next up, open crate.ini and go to the SalvageCrateData section. You can see here that you need to be GLA to get the scrap. Copy the section and name it USASalvageCrateData. Change the line that has the crate name to USASalvageCrate, and change the KillerScience line to SCIENCE_America. Then, go down to the SalvageCrate section. Copy the entire section, and paste it just below it. Change the name to USASalvageCrate, and change the PickupScience line to SCIENCE_America.

That should work. Enjoy.
CodeCat 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Enabling the LOTR map editor wolfgangster LOTR: Battle For Middle Earth I & II Editing 3 07-11-2005 04:30 PM
newbie help: weapon salvaging mod blacker_lotus Generals & Zero Hour Editing 2 02-17-2004 02:37 PM
Enabling Sounds in WB DiscoStew Generals & Zero Hour Editing 2 11-12-2003 03:56 PM
3 Problems: Radar Van Salvaging Syndicate Generals & Zero Hour Editing 4 10-26-2003 01:54 AM
AI enabling, maps in PRO GEN Indigo Generals & Zero Hour Editing 2 07-12-2003 08:37 AM


All times are GMT -4. The time now is 08:24 PM.


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