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

Forum Info
Forum Members: 18,537
Total Threads: 8,627
Posts: 94,210

Administrators:
DeeZire, Redemption

There are currently 133 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements

DeeZire Online > Editing Community > Command and Conquer Editing > Generals & Zero Hour Editing » Adding new Generals point... can't seem to get to work!

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

Reply
 
LinkBack Thread Tools
Old 01-24-2004, 01:56 PM   #1 (permalink)
Junior Member
 
Join Date: Jan 2004
Posts: 13
Default Adding new Generals point... can't seem to get to work!

Okay, just to get familiar with how General points work, I've attempted to add the Carpet Bombing from Singleplayer into multiplayer but can't seem to get it right as the game doesn't load. So here's what I've done...

I've added a new SCIENCE power under science.ini
Quote:
; --- LEVEL 8 POWERS ---
Science SCIENCE_DaisyCutter
PrerequisiteSciences = SCIENCE_AMERICA SCIENCE_Rank5
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:USADaisyCutter
Description = CONTROLBAR:ToolTipUSAScienceDaisyCutter
End

Science SCIENCE_CarpetBomb
PrerequisiteSciences = SCIENCE_AMERICA SCIENCE_Rank5
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:USACarpetBomb
Description = CONTROLBAR:ToolTipUSAScienceCarpetBomb
End


I've also created the DisplayName and Description in the generals.csf file.

The SpecialPower was already there and it looks like this:
Quote:
SpecialPower SuperweaponCarpetBomb
Enum = SPECIAL_CARPET_BOMB
ReloadTime = 150000 ; in milliseconds
RequiredScience = SCIENCE_CarpetBomb;;; Never ever ever use a required science with a public timer, since the hiddenbyscience never clears
PublicTimer = No
SharedSyncedTimer = Yes
ViewObjectDuration = 40000
ViewObjectRange = 250
RadiusCursorRadius = 100
End
I set PublicTimer to No and uncommented the RequiredScience as the comment warns not to use a public timer with a required science.

Next, I changed the commandset which looks like this:
Quote:
; Rank 8 now has 2 positions
CommandSet SCIENCE_AMERICA_CommandSetRank8
1 = Command_PurchaseScienceDaisyCutter
2 = Command_PurchaseScienceCarpetBomb
END
And added to the Commandbutton...
Quote:
CommandButton Command_PurchaseScienceCarpetBomb
Command = PURCHASE_SCIENCE
Science = SCIENCE_CarpetBomb
ButtonImage = SACCarpetBomb
ButtonBorderType = UPGRADE ; Identifier for the User as to what kind of button this is
End
I even got the ButtonImage and so forth.

But Generals doesn't load up! If I comment out the Carpet Bomb in the science.ini file (the quoted text in bold), it works but no Carpet Bomb!

Can anyone help me out?
Pint0_Xtreme is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-24-2004, 04:34 PM   #2 (permalink)
Junior Member
 
Join Date: Feb 2003
Location: Germany
Posts: 27
Default

Hmm... why don't you look into the Crash Release.txt found in the Generals ZH Data Folder, there has to be noticed what the Failure is Give it a Try
Cammy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-24-2004, 04:57 PM   #3 (permalink)
Senior Member
 
Join Date: Jun 2003
Location: Texas
Posts: 709
Send a message via ICQ to Vanguard Send a message via AIM to Vanguard Send a message via MSN to Vanguard Send a message via Yahoo to Vanguard
Default

You can't have more than 1 in rank 8 if it is Vanilla Generals, so move it to commandset rank three but leave it so that it becomes available a rank eight, but if it is for ZH then I can't tell you what's wrong as your code looks good.
Vanguard is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-24-2004, 05:17 PM   #4 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 853
Send a message via AIM to mastermind2003 Send a message via MSN to mastermind2003
Default

Also, you can't have more than one special power with the same enum, it doesn't work. You need to comment out the carpet bomb special power, and also find where it is referenced in the factionbuilding.ini files, and comment those modules out. After that, you shouldn't have too many problems.
mastermind2003 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-24-2004, 05:23 PM   #5 (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

You can only use an enum once? I didn't know that. What does the enum control anyway? Is it like the type= setting in TS/RA2?
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-25-2004, 02:38 AM   #6 (permalink)
Junior Member
 
Join Date: Jan 2004
Posts: 13
Default

Thanks guys for the help! I'll update you all on the results once I've implemented the changes.
Pint0_Xtreme is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-25-2004, 03:12 AM   #7 (permalink)
Junior Member
 
Join Date: Jan 2004
Posts: 13
Default

Quote:
Originally Posted by mastermind2003
Also, you can't have more than one special power with the same enum, it doesn't work. You need to comment out the carpet bomb special power, and also find where it is referenced in the factionbuilding.ini files, and comment those modules out. After that, you shouldn't have too many problems.
Hm... I still don't get it. The factionbuilding.ini files don't reference to anything related with carpet bombing. There were a couple lines but those were already commented out.

You mentioned I needed to comment out the carpet bomb special power but that didn't really do anything. Actually, I'm really sure what exactly I'm supposed to comment out. Gah, this is confusing!

:tard:
Pint0_Xtreme 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
Followup Help Needed On Generals Rank Point Ideas Yuki Kiba Dakatsu Generals & Zero Hour Editing 2 02-02-2006 11:52 PM
Generals Rank Point Ideals Yuki Kiba Dakatsu Generals & Zero Hour Editing 0 01-19-2006 12:12 AM
Generals Power doesn't work Granger Generals & Zero Hour Editing 5 05-13-2004 03:47 PM
Generals crash - Worldbuilder Gen / ZH work 2312222 Generals & Zero Hour Editing 2 02-10-2004 12:25 PM
Will work for Generals! Proclone Generals & Zero Hour Editing 15 04-24-2003 01:19 PM


All times are GMT -4. The time now is 12:55 PM.


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