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

Forum Info
Forum Members: 18,642
Total Threads: 8,744
Posts: 95,512

Administrators:
DeeZire, Redemption

There are currently 23 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 03-04-2003, 04:14 AM   #21 (permalink)
Senior Member
 
Join Date: Dec 2002
Posts: 1,031
Send a message via ICQ to Phoib Send a message via MSN to Phoib
Default

:tard:

Ok. One last time.. :dead:

Save the CommandSet.ini in Generals/Data/INI

This was the last time I explained...

FOr the rest, search these forums, damn it!
Phoib is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-06-2003, 12:04 AM   #22 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: USA
Posts: 143
Send a message via MSN to Hyperjag3
Default

Hi,

I have been trying to add Carpet Bombing as a Generals Power, but so far it doesn't work (Generals won't start). I have looked through every *.ini file that seems like it might have something to do with it. I have tried everything I can think of, but to no prevail. I searched the forums too, but I didn't find anything. Can someone help me get this working (if it is possible to add new Generals Powers)? I'll post all the code that I have changed or I think has something to do with Carpet Bombing (I'm trying to make it deploy from the American Command Center like the other powers).

FactionBuilding.ini
American CC
Quote:
Behavior = OCLSpecialPower ModuleTag_23;this has been removed from everywhere but the ChinaAirfield in CHI05
SpecialPowerTemplate = SuperweaponCarpetBomb
OCL = SUPERWEAPON_CarpetBomb
CreateLocation = CREATE_AT_EDGE_NEAR_SOURCE
CommandButton.ini
I didn't change any of this.
Quote:
;Not actually used in-game, left in to allow for use in solo missions. - DB 9/02
CommandButton Command_CarpetBomb
Command = SPECIAL_POWER
SpecialPower = SuperweaponCarpetBomb
Options = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
TextLabel = CONTROLBAR:CarpetBomb
ButtonImage = SSCarpetBomb
RadiusCursorType = CARPETBOMB
InvalidCursorName = GenericInvalid
ButtonBorderType = ACTION ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:TooltipCarpetBomb
End

;Not actually used in-game, left in to allow for use in solo missions. - DB 9/02
CommandButton Command_CarpetBombFromCommandCenter
Command = SPECIAL_POWER_FROM_COMMAND_CENTER
SpecialPower = SuperweaponCarpetBomb
Options = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
TextLabel = OBJECT:CarpetBomb
ButtonImage = SSCarpetBomb
RadiusCursorType = CARPETBOMB
InvalidCursorName = GenericInvalid
;ButtonBorderType = ACTION ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:TooltipCarpetBomb
End

CommandButton Command_PurchaseScienceCarpetBomb
Command = PURCHASE_SCIENCE
Science = SCIENCE_CarpetBomb
ButtonImage = SAPathfinder1;For testing because I didn't bother to look for the carpet bombing icon
ButtonBorderType = UPGRADE
End
CommandSet.ini
Added CarpetBomb to the lists.
Quote:
CommandSet AmericaCommandCenterCommandSet
1 = Command_ConstructAmericaDozer
3 = Command_CarpetBomb
5 = Command_A10ThunderboltMissileStrike
6 = Command_Paradrop
7 = Command_SpyDrone
8 = Command_EmergencyRepair
9 = Command_DaisyCutter
10 = Command_SpySatelliteScan
11 = Command_SetRallyPoint
12 = Command_Sell
End

; Rank 3 assign buttons to position like so:
; 1 4 7 10
; 2 5 8 11
; 3 6 9 12
CommandSet SCIENCE_AMERICA_CommandSetRank3
1 = Command_PurchaseSciencePathfinder
3 = Command_PurchaseScienceCarpetBomb
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
ObjectCreationList.ini
Added "FormationSize = 2"
Quote:
ObjectCreationList SUPERWEAPON_CarpetBomb
DeliverPayload
Transport = AmericaJetB52
StartAtPreferredHeight = Yes
StartAtMaxSpeed = Yes
FormationSize = 2
MaxAttempts = 1
DropOffset = X:0 Y:0 Z:-2
DropVariance = X:30 Y:40 Z:0
DropDelay = 300 ;500 ; time in between each item dropped (if more than one)
Payload = CarpetBomb 20
DeliveryDistance = 400
DeliveryDecalRadius = 100
DeliveryDecal
Texture = SCCA10Strike_USA
Style = SHADOW_ALPHA_DECAL
OpacityMin = 25%
OpacityMax = 50%
OpacityThrobTime = 500
Color = R:255 G:156 B:0 A:255
OnlyVisibleToOwningPlayer = Yes
End
End
End
Science.ini
Added "SCIENCE_CarpetBomb"
Quote:
Science SCIENCE_CarpetBomb
PrerequisiteSciences = SCIENCE_AMERICA SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:CarpetBomb
Description = CONTROLBAR:ToolTipCarpetBomb
End
SpecialPower.ini
Tweaked the CarpetBomb superweapon.
Quote:
SpecialPower SuperweaponCarpetBomb
Enum = SPECIAL_CARPET_BOMB
ReloadTime = 150 ; in milliseconds (for testing)
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 hope somone can help me!
Hyperjag3 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-06-2003, 04:48 AM   #23 (permalink)
Senior Member
 
Join Date: Dec 2002
Posts: 1,031
Send a message via ICQ to Phoib Send a message via MSN to Phoib
Default

I think you forgot to state the Power as a button you can select.
Phoib is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-06-2003, 04:17 PM   #24 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: USA
Posts: 143
Send a message via MSN to Hyperjag3
Default

I looked around some more, but I don't know what you mean. Like, I'm not sure what *.ini file it is in and I didn't see anything like that on the other powers. Could you explain better please?
Hyperjag3 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-06-2003, 11:28 PM   #25 (permalink)
Senior Member
 
Join Date: Jan 2003
Location: Bunbury, Western Australia
Posts: 130
Default Can you re-enable the Terror Cell special power?

Can anyone re-enable the Terror Cell special power for the GLA? Please post instructions here!
Sponge is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-07-2003, 03:37 AM   #26 (permalink)
Senior Member
 
Join Date: Sep 2001
Posts: 734
Send a message via ICQ to Flyby
Default Re: Can you re-enable the Terror Cell special power?

Quote:
Originally Posted by Sponge
Can anyone re-enable the Terror Cell special power for the GLA? Please post instructions here!
Can anyone make a mod for me?

Please fill in this form (7 duplicates) , get it signed by your local birth registration office and approved by the fireman commander. A life insurance policy and a drivers licence are compulsory to be accepted....
Flyby is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-07-2003, 05:45 AM   #27 (permalink)
Senior Member
 
Join Date: Jan 2003
Location: Bunbury, Western Australia
Posts: 130
Default It's all done except the powers

Flyby, most of it's done already. It's only a few INI refinements really, but I think it adds something fun to the game. I've finally added the carpet bombing to the USA airfield (can anyone give me some pointers on how to get an icon at the side of the screen for it like for A10 missile strike, etc?) but would like to add Terror Cell for the GLA (maybe Defector fo China if it can be made to work). If anyone can give any pointers to help me in the right direction (perhaps add a tutorial on this site or a section in the generals encyclopaedia) please post here. While full instructions would be nice, most people here seem to have the same attitude to that request as they would if I asked for warez (which I won't do, my stuff is original).

One other thing, Flyby, would a letter signed by my mother be acceptable instead? :lol: :lol:
Sponge is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-07-2003, 03:39 PM   #28 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: USA
Posts: 143
Send a message via MSN to Hyperjag3
Default Re: It's all done except the powers

Quote:
Originally Posted by Sponge
I've finally added the carpet bombing to the USA airfield (can anyone give me some pointers on how to get an icon at the side of the screen for it like for A10 missile strike, etc?)
While I was trying to solve my problem I foulnd this:
CommandSet.ini
Quote:
;///////////////////////////////////////
;/ Special Power Shortcut Command Sets /
;///////////////////////////////////////
;A max of 5 controls are supported at this time

CommandSet SpecialPowerShortcutUSA
3 = Command_A10ThunderboltMissileStrikeFromCommandCent er
2 = Command_ParadropFromCommandCenter
1 = Command_SpyDroneFromCommandCenter
4 = Command_EmergencyRepairFromCommandCenter
5 = Command_DaisyCutterFromCommandCenter
END

CommandSet SpecialPowerShortcutChina
1 = Command_ClusterMinesFromCommandCenter
2 = Command_ArtilleryBarrageFromCommandCenter
3 = Command_CashHackFromCommandCenter
4 = Command_EmergencyRepairFromCommandCenter
5 = Command_EMPPulseFromCommandCenter
END


CommandSet SpecialPowerShortcutGLA
1 =Command_AmbushFromCommandCenter
2 =Command_EmergencyRepairFromCommandCenter
3 =Command_AnthraxBombFromCommandCenter
END
It says that only 5 slots are supported, so you would have to remove another one to do it (or more than 5 might work. Only one way to find out).
Hyperjag3 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-08-2003, 01:51 PM   #29 (permalink)
Junior Member
 
Join Date: Mar 2003
Posts: 4
Default

Errr, minor problem.

I done what you said.

The icon shows up, you can click it, you get the big orange target circle..... but you also get the little red "You cant use it now" circle so, well, you cant use it.
TheFirstEvil is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-08-2003, 02:14 PM   #30 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: Look Behind you
Posts: 211
Send a message via MSN to Goketa Send a message via Yahoo to Goketa
Default Cant get it to work

I cant get any to work i cant even get the airfield 1 to work
plz help
Goketa 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
old modder trying to locate tools... neox.286 Generals & Zero Hour Editing 7 08-14-2007 07:09 AM
Newbie modder seeking advice. demingo Generals & Zero Hour Editing 8 10-07-2005 10:57 AM
Editing Help Needed For Newbie Modder Apophis Generals & Zero Hour Editing 10 03-06-2004 09:43 AM
The worst thing that can happen 2 a ra2 modder Daedalus Red Alert 2 & Yuri's Revenge Editing 45 01-02-2004 02:43 AM
Amateur modder wants to be serious. Opinions requested. sinistershadow Red Alert 2 & Yuri's Revenge Editing 86 09-24-2003 03:04 AM


All times are GMT -4. The time now is 03:35 AM.


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