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

Forum Info
Forum Members: 18,581
Total Threads: 8,669
Posts: 94,547

Administrators:
DeeZire, Redemption

There are currently 38 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-20-2004, 11:29 AM   #1 (permalink)
Senior Member
 
Join Date: Nov 2003
Location: Hell
Posts: 272
Default perchase since buttons help??

i tried to putback the black market nuke (part of my mod) but the perchase scince button doesn't apper in the game well perchase scince code:

Quote:
CommandButton Command_PurchaseBlackMarketNuke
Command = PURCHASE_SCIENCE
Science = SCIENCE_BlackMarketNuke
ButtonImage = SNNukeLaunch
ButtonBorderType = UPGRADE ; Identifier for the User as to what kind of button this is
End
commandbutton.ini in the GLA PS section


BTW help me put the old control bar and the old CB buttons back into the game
4hammer is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-21-2004, 08:20 AM   #2 (permalink)
Senior Member
 
Join Date: Nov 2003
Location: Hell
Posts: 272
Default

anybody d@/\/\/\|it that can help me???
4hammer is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-21-2004, 08:25 AM   #3 (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

Spelling things right will get more people to read your thread in the first place...

To be able to buy a science you must first add a "purchase" button to the generals menu. I don't know if you did that, you didn't post all the code (I think).
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-21-2004, 08:36 AM   #4 (permalink)
Senior Member
 
Join Date: Nov 2003
Location: Hell
Posts: 272
Default

i did and here is the Command Set code:


Quote:
CommandSet SCIENCE_GLA_CommandSetRank3
1 = Command_PurchaseScienceHijacker
2 = Command_PurchaseBlackMarketNuke
4 = Command_PurchaseScienceRebelAmbush1
5 = Command_PurchaseScienceRebelAmbush2
6 = Command_PurchaseScienceRebelAmbush3
7 = Command_PurchaseScienceCashBounty1
8 = Command_PurchaseScienceCashBounty2
9 = Command_PurchaseScienceCashBounty3
10 = Command_PurchaseScienceEmergencyRepair1
11 = Command_PurchaseScienceEmergencyRepair2
12 = Command_PurchaseScienceEmergencyRepair3
END

here you go
4hammer is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-21-2004, 08:45 AM   #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

Right, now I still need the code you added to whatever object you stuck the nuke onto (probably the command center but what do I know), and the code for the science, as well as the code for that nuke's special power.
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-21-2004, 08:50 AM   #6 (permalink)
Senior Member
 
Join Date: Nov 2003
Location: Hell
Posts: 272
Default

from what files i need to show you?
4hammer is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-21-2004, 09:33 AM   #7 (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

FactionBuilding.ini (assuming you added it to the command center), but only post the code you added for this nuke weapon. And the code for the weapon's science, in Science.ini. Finally, the special power should be in SpecialPower.ini.

CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-21-2004, 09:43 AM   #8 (permalink)
Senior Member
 
Join Date: Nov 2003
Location: Hell
Posts: 272
Default

specielpower.ini

Quote:
SpecialPower SuperweaponBlackMarketNuke
Enum = SPECIAL_BLACK_MARKET_NUKE
ReloadTime = 600000 ; in milliseconds. min is 2x door/open close time!
RequiredScience = SCIENCE_BlackMarketNuke
PublicTimer = Yes
SharedSyncedTimer = Yes
ViewObjectDuration = 30000
ViewObjectRange = 250
RadiusCursorRadius = 100
ShortcutPower = Yes ;Capable of being fired by the side-bar shortcut.
AcademyClassify = ACT_SUPERPOWER ;Considered a powerful special power that a player could fire. Not for simpler unit based powers.
End
scinece.ini

Quote:
Science SCIENCE_BlackMarketNuke
PrerequisiteSciences = SCIENCE_GLA SCIENCE_Rank3
SciencePurchasePointCost = 0 ; note that this means "not purchasable", NOT "free"!
IsGrantable = Yes
DisplayName = SCIENCE:TempName
Description = SCIENCE:TempDescription
End

what i need to do in FB.ini
4hammer is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-21-2004, 09:51 AM   #9 (permalink)
Senior Member
 
Join Date: Nov 2003
Location: Hell
Posts: 272
Default

now it's works working thx


what i need to do in factionbuilding??

EDIT: the BMN is still in the GLA command center (so much usable trash!!)

can you help me with the control bar??

there is a ceamo for the BMN???
4hammer is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-22-2004, 03:54 AM   #10 (permalink)
Senior Member
 
Join Date: Nov 2003
Location: The Netherlands
Posts: 794
Send a message via MSN to The_Hunter
Default

goto google and search for a nukeclear explosion u should find more than enough nice pics to use
The_Hunter 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
Buttons, buttons, and more buttons =ARSF=Thumpit Generals & Zero Hour Editing 29 04-13-2008 10:23 AM
WND File Buttons Yuki Kiba Dakatsu Generals & Zero Hour Editing 13 07-15-2005 06:21 AM
Command Buttons and Fog Waraddict Generals & Zero Hour Editing 7 08-01-2004 12:06 PM
Max buttons in shortcut bar? Kuja Generals & Zero Hour Editing 5 07-12-2004 02:26 AM
adding more than 12 buttons ( help! ) ccs Generals & Zero Hour Editing 3 01-26-2004 09:10 PM


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


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