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

Forum Info
Forum Members: 18,644
Total Threads: 8,746
Posts: 95,530

Administrators:
DeeZire, Redemption

There are currently 20 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 04-11-2003, 02:27 PM   #11 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: UK
Posts: 164
Default

Quote:
Originally Posted by Malc
Ok, got it in the sciences now have do I make it so it can only be called if you purchase the science?
I thought I would repeat my question
Malc is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-11-2003, 03:25 PM   #12 (permalink)
Member
 
Join Date: Mar 2003
Location: Ireland
Posts: 83
Default

there should be a carpet bomb entry in commandbutton.ini add this button to the building you want to use.
Zainal is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-11-2003, 03:26 PM   #13 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: UK
Posts: 164
Default

You don't understand my problem, Ihave the button but you can use it when ever not just if you purchase the science.
Malc is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-11-2003, 03:31 PM   #14 (permalink)
Member
 
Join Date: Mar 2003
Location: Ireland
Posts: 83
Default

You need Need_Special_Power_Science in the options part of the button and the entry in SpecialPower.ini needs to have a RequiredScience tag.
Zainal is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-11-2003, 03:39 PM   #15 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: England
Posts: 228
Send a message via ICQ to Shadow Send a message via AIM to Shadow Send a message via MSN to Shadow Send a message via Yahoo to Shadow
Default

And then you need to set
PublicTimer
to no
Shadow is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-11-2003, 11:11 PM   #16 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: USA
Posts: 188
Send a message via MSN to Chronomaw
Default

Quote:
;SpecialPower.ini
SpecialPower CarpetBomb
Enum = SPECIAL_CARPET_BOMB
ReloadTime = 240000 ; in milliseconds
RequiredScience = SCIENCE_CarpetBomb
PublicTimer = No
InitiateAtLocationSound = CarpetBombActivated
SharedSyncedTimer = Yes
RadiusCursorRadius = 50
End

;Science.ini
Science SCIENCE_CarpetBomb
PrerequisiteSciences = SCIENCE_USA SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:TempName
Description = SCIENCE:TempDescription
End

;CommandButton.ini
CommandButton Command_CarpetBomb
Command = SPECIAL_POWER
SpecialPower = SuperweaponCarpetBomb
Options = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
TextLabel = CONTROLBAR:CarpetBomb
ButtonImage = SSCarpetBomb
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:TempDescription
RadiusCursorType = CARPETBOMB
InvalidCursorName = GenericInvalid
End

CommandButton Command_PurchaseScienceCarpetBomb
Command = PURCHASE_SCIENCE
Science = SCIENCE_CarpetBomb
ButtonImage = SSCarpetBomb
ButtonBorderType = UPGRADE
End

;CommandSet.ini
CommandSet AmericaCommandCenterCommandSet
1 = Command_ConstructAmericaDozer
5 = Command_A10ThunderboltMissileStrike
4 = Command_Paradrop
6 = Command_SpyDrone
7 = Command_EmergencyRepair
8 = Command_DaisyCutter
9 = Command_CarpetBomb
10 = Command_SpySatelliteScan
11 = Command_SetRallyPoint
12 = Command_Sell
End

CommandSet SCIENCE_AMERICA_CommandSetRank3
1 = Command_PurchaseScienceCarpetBomb;This was the PathFinder
4 = Command_PurchaseScienceParadrop1
5 = Command_PurchaseScienceParadrop2
6 = Command_PurchaseScienceParadrop3
7 = Command_PurchaseScienceA10ThunderboltMissileStrike 1
8 = Command_PurchaseScienceA10ThunderboltMissileStrike 2
9 = Command_PurchaseScienceA10ThunderboltMissileStrike 3
10 = Command_PurchaseScienceEmergencyRepair1
11 = Command_PurchaseScienceEmergencyRepair2
12 = Command_PurchaseScienceEmergencyRepair3
END

;FactionBuilding.ini
Object AmericaCommandCenter
Behavior = OCLSpecialPower ModuleTag_21
SpecialPowerTemplate = SuperweaponCarpetBomb
OCL = SUPERWEAPON_CarpetBomb
CreateLocation = CREATE_AT_LOCATION
End
You will need to put the code in it's specified INI file in your Generals Dir (C:\Programs\Ea Games\C&C Generals\data\Ini) and note if do have to put some of this code in the specified INI's or it will crash so don't try and just put it all in one map.ini or it WILL crash the game witha serious error message.

Happy Modding,Chrono
Chronomaw is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-12-2003, 04:37 AM   #17 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: UK
Posts: 164
Default

Don't worry I think ive fixed the problem, when I was originally trying to get carpet bombing working I removed the requiredscience bit so I just put that back in and it worked. But thanks for your help anyway.
Malc 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
GEN DEV Tutorial SCIENCES goblinsleez Generals & Zero Hour Editing 9 04-04-2005 04:17 PM
Adding Sciences to factions IronFist Generals & Zero Hour Editing 2 04-02-2005 06:24 AM
Adding Hidden Sciences IronFist Generals & Zero Hour Editing 4 03-31-2005 01:07 PM
Creating Sciences goblinsleez Generals & Zero Hour Editing 1 03-23-2005 05:16 PM
General Sciences Kelso Generals & Zero Hour Editing 16 07-02-2004 11:38 PM


All times are GMT -4. The time now is 10:14 PM.


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