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

Forum Info
Forum Members: 18,679
Total Threads: 8,804
Posts: 95,887

Administrators:
DeeZire, Redemption

There are currently 16 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 01-21-2005, 09:04 PM   #1 (permalink)
Junior Member
 
Join Date: Jan 2005
Posts: 1
Default ENUM issues and Upgrade.ini issues

Hello.

I'm new to your site but not new to C&C generals mods.

After much hassle i'm forced to ask for advice.

I'v pretty much finished a mod, based on the Reborn 5.0 mod (Horray for those guys).


*** The Upgrade prob ***
I need to add a new Upgrade in Upgrade.ini but the game will crash and not load if i do.

here is the text for the commandbutton.ini

CommandButton Command_UpgradeChinaCallToArms
Command = PLAYER_UPGRADE
Upgrade = Upgrade_ChinaCallToArms
TextLabel = CONTROLBAR:UpgradeChinaCallToArms
ButtonImage = SNCallToArms
ButtonBorderType = UPGRADE
DescriptLabel = CONTROLBAR:TooltipChinaCallToArms
End

this is the matching text from Upgrade.ini

Upgrade Upgrade_ChinaCallToArms
DisplayName = CONTROLBAR:UpgradeChinaCallToArms
Type = OBJECT
BuildTime = 60.0
BuildCost = 2000
ButtonImage = SNCallToArms
ResearchSound = RedGuardVoiceUpgradePatriotism
End

all the pictures and sound match but the Upgrade is incompatable with the program.

Am i missing a vital step in another file? Is there a limit on the number of upgrades that i have exceeded? Has the original Reborn mod corrupted the system in some way? or did i just make a typo?

*** The ENUM problem ***
I've pretty much worked out that each ENUM is a counter for the special powers, how do you add a new one so that your new special power does not overlap some old one? Is there another file somewhere outside the Specialpowers.ini file or what?

Any advice would be greatly appreciated. These things seem possible as i see new ENUM and new Upgrades in the files but cannot add my own. This leaves me tinkering with existing stuff and conducting repairs on other peoples work. Very frustrating.

Cheers
Az

Ps : I've since discovered that Zero Hour has a limit of 125 Upgrades, you must delete one to add another.
Azirahael is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-22-2005, 02:17 AM   #2 (permalink)
Senior Member
 
CommieDog's Avatar
 
Join Date: Oct 2004
Location: Alaska (Hell Frozen Over)
Posts: 384
Default

First, the official DeeZire Forum welcome: Y00z3 tEh 53@rCH F1nct0n n008!!11!!1 Now to respond to your post:

Why are you using a PLAYER_UPGRADE button for an OBJECT upgrade?

I believe that it is impossible to add new ENUMs to Generals or ZH. However, you can activate some unused ones like SPECIAL_CRATE_DROP.
CommieDog 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
Modelling Issues.. F-15Cipher Generals & Zero Hour Editing 3 05-17-2006 10:55 PM
Soundmd.ini issues mrchris Red Alert 2 & Yuri's Revenge Editing 6 02-20-2006 09:36 PM
Art code issues Kelso LOTR: Battle For Middle Earth I & II Editing 40 12-24-2004 03:54 AM
Ambush issues Carbon Generals & Zero Hour Editing 4 07-08-2003 08:17 AM
RA2 Yuri Issues CitizenKane Red Alert 2 & Yuri's Revenge Editing 9 01-12-2003 04:49 PM


All times are GMT -4. The time now is 07:43 AM.


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