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,885

Administrators:
DeeZire, Redemption

There are currently 13 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 11-30-2004, 09:14 PM   #1 (permalink)
Member
 
Join Date: Nov 2004
Posts: 49
Default Science help needed

I have added the Artillery Barrage to the USA as a rank 3 science. I have the 3 barrage images present in the Science Purchase window, but when I click on them, no shortcut image appears in the on-screen sidebar.

What I need to know is what I'm missing. I went into CommandSet and placed 'Command_ArtilleryBarrage' in the CommandCenter CommandSet and again in the CommandSetShortcut.

Is there a maximum number of short cut images that can be present in the on-screen short cut bar?
Nox911 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-30-2004, 09:25 PM   #2 (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

Yes, see PlayerTemplate.ini

Also, you have to make a seperate shortcut button, not use the firing one.
Phoib is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-30-2004, 09:37 PM   #3 (permalink)
Member
 
Join Date: Nov 2004
Posts: 49
Default

Okay, I'm real new to this so bear with me please. What needs to be done in the PlayerTemplate.ini and I have no idea what it is I need to do exactly concerning the shortcut and where it needs to be placed :/
Nox911 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-01-2004, 09:26 AM   #4 (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

Look in playertemplate for Shortcut count... Alternatively, you'd also want to edit the wnd files...

As for the shortcut, just copy and paste the Chinese ones, it'll work.
Phoib is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-01-2004, 09:37 AM   #5 (permalink)
Member
 
Join Date: Nov 2004
Posts: 49
Default

So before I undertake this, can two factions share/use the same Science?
Nox911 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-01-2004, 01:56 PM   #6 (permalink)
Member
 
Join Date: Nov 2004
Posts: 49
Default

Okay...The game doesn't crash at startup. The three images for the artillery barrage are in the promotion window in the correct spot. The only thing I need, and hopefully the last on this subject, is the code for creating a shortcut, which ini file the code goes in and which texture folder I place the shortcut image in. :tard:

Thanks for the help from everyone who's thrown in
Nox911 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-01-2004, 06:31 PM   #7 (permalink)
Junior Member
 
Join Date: Jul 2004
Location: Toronto, Canada
Posts: 4
Default

you shortcut code should look similar to this:

Code:
CommandButton Command_ArtilleryBarrageFromShortcut
  Command           = SPECIAL_POWER_FROM_SHORTCUT
  SpecialPower      = SuperweaponArtilleryBarrage
  Options           = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
  Science           = SCIENCE_ArtilleryBarrage1 SCIENCE_ArtilleryBarrage2 SCIENCE_ArtilleryBarrage3 ;These will cause the buttons to change icons, nothing more
  TextLabel         = CONTROLBAR:NoHotKeyArtilleryBarrage
  ButtonImage       = SSBarrage
  ;ButtonBorderType  = ACTION ; Identifier for the User as to what kind of button this is
  DescriptLabel     = CONTROLBAR:TooltipFireArtilleryBarrage
  RadiusCursorType  = ARTILLERYBARRAGE
  InvalidCursorName     = GenericInvalid
End
Change the code to suit your ability. Once you're done, place the finished shortcut code in commandbutton.ini. If you want to see you button show up on the right side of the screen, make a commandset entry (in commandset.ini) to, ' CommandSet SpecialPowerShortcutUSA'. If you've done everything correctly, your shortcut should work in-game
Grazor is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-01-2004, 07:18 PM   #8 (permalink)
Member
 
Join Date: Nov 2004
Posts: 49
Default

Everything seems good except that I can't get the targeting crosshair to lock on the target I select. It just keeps moving with the cursor. :tard:
Nox911 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-02-2004, 12:02 AM   #9 (permalink)
Senior Member
 
CommieDog's Avatar
 
Join Date: Oct 2004
Location: Alaska (Hell Frozen Over)
Posts: 384
Default

Quote:
Originally Posted by Nox911";p=&quot View Post
So before I undertake this, can two factions share/use the same Science?
Yes. In ZH, most sciences are shared by the four generals of a faction.
CommieDog is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-02-2004, 12:13 AM   #10 (permalink)
Member
 
Join Date: Nov 2004
Posts: 49
Default

:rofl: FINALLY!!!!!!!!!!!!!
Nox911 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
Science Credits Kelso Generals & Zero Hour Editing 2 08-17-2004 10:52 PM
Science.ini modsonly Generals & Zero Hour Editing 23 10-10-2003 10:27 PM
Buying Science Generals & Zero Hour Editing 0 05-18-2003 07:01 PM
science training for usa NewGhost Generals & Zero Hour Editing 8 05-18-2003 05:41 PM
Grant Science guyee Generals & Zero Hour Editing 2 05-04-2003 12:27 PM


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


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