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

Administrators:
DeeZire, Redemption

There are currently 56 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 » 3 questions: Countdown, keyboard mapping, shortcut color

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

Reply
 
LinkBack Thread Tools
Old 03-30-2006, 12:02 AM   #1 (permalink)
Junior Member
 
Join Date: Mar 2006
Posts: 6
Default 3 questions: Countdown, keyboard mapping, shortcut color

I have 3 questions I hope someone can tell me how to solve, regarding changing ProGenDC26 for myself:

1. How do I enable super weapon countdown timers?

2. When ever you point to something to build, the shortcut key is highlighted (or black lighted) in a dark blue color that's hard for me to see, how do i change it to another color?

3. The keyboard is suddenly "american", how do I get it back to my system setting?

I know about modding from RA2 etc, so probably just need to know which file and what to tweak - hope someone can fill me in
IceHunter is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-30-2006, 04:01 AM   #2 (permalink)
Member
 
Join Date: Sep 2004
Posts: 39
Default

1. For the superweapons timers check the used superweapon in specialpower.ini and add the line publictimer = Yes

example:

Code:
;-----------------------------------------------------------------------------
SpecialPower SuperweaponMOAB
  Enum                = SPECIAL_DAISY_CUTTER ;Stays as daisy cutter, because this is really an upgrade to the original...
  ReloadTime          = 360000   ; in milliseconds
  RequiredScience     = SCIENCE_DaisyCutter

  PublicTimer         = No  >>>>>>>>>>>>Set to Yes For timer

  SharedSyncedTimer   = Yes    
  ViewObjectDuration  = 30000  ; Lifetime of a Look done belonging to the firing player
  ViewObjectRange     = 250 ; And how far it can see
  RadiusCursorRadius  = 170 
  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


2. Try looking in InGameUI.ini or Mouse.ini

3. ????
DarkSentinel is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-30-2006, 06:01 AM   #3 (permalink)
Senior Member
 
Join Date: Jun 2003
Location: Germany
Posts: 363
Send a message via ICQ to Dibelius
Default

"3. The keyboard is suddenly "american", how do I get it back to my system setting?"

what do you mean exactly?
Dibelius is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-30-2006, 03:28 PM   #4 (permalink)
Junior Member
 
Join Date: Mar 2006
Posts: 6
Default

Quote:
Originally Posted by DarkSentinel";p=&quot View Post
1. For the superweapons timers check the used superweapon in specialpower.ini and add the line publictimer = Yes
Hm.. thats only part of it apparently. No problem with the scudstorm, but the text for the particle cannon shows up as "MISSING: 'GUI:SupW_SuperweaponParticleUpLinkCannon" - of course there is a countdown *g*

Btw, is it possible to add tomahawkstorm as a sidebar button? ("ShortcutPower = Yes" doesn't seem to be enough)

Quote:
Originally Posted by DarkSentinel";p=&quot View Post
2. Try looking in InGameUI.ini or Mouse.ini
Nothing seems relevant?
IceHunter is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-30-2006, 03:30 PM   #5 (permalink)
Junior Member
 
Join Date: Mar 2006
Posts: 6
Default

Quote:
Originally Posted by Dibelius";p=&quot View Post
"3. The keyboard is suddenly "american", how do I get it back to my system setting?"

what do you mean exactly?
It was using the typical american keyboard mapping, for instance, the "-" button was resulting in a "?" - but its gone again, perhaps something i deleted removed it.
IceHunter is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-31-2006, 02:45 AM   #6 (permalink)
Senior Member
 
Join Date: Jun 2003
Location: Germany
Posts: 363
Send a message via ICQ to Dibelius
Default

1]
The string "MISSING: 'GUI:SupW_SuperweaponParticleUpLinkCannon" must be set in generals.csf in Data\Language\... before it will display the correct name. Of course only "GUI:SupW_SuperweaponParticleUpLinkCannon" without "MISSING: "

And of course it's possible to add new commands to the shortcut bar. But there's a limit of 11 shortcuts, so if you already reached this limit you can't add more shortcut powers. In the other case open your CommandSet.ini and search e.g. for "SpecialPowerShortcutUSA"

Code:
CommandSet SpecialPowerShortcutUSA
  1 = Command_SpyDroneFromShortcut
  2 = Command_ParadropFromShortcut
  3 = Command_A10ThunderboltMissileStrikeFromShortcut
  4 = Command_EmergencyRepairFromShortcut
  5 = Command_DaisyCutterFromShortcut
  6 = Command_FireParticleUplinkCannonFromShortcut
  7 = Command_SpySatelliteScanFromShortcut
  8 = Command_CIAIntelligenceFromShortcut
  9 = Command_SpectreGunshipFromShortcut
  10 = Command_LeafletDropFromShortcut

  11 = Command_TomahawkStormFromShortcut ; << your new superweapon
End
Furthermore you have to define how much shortcut powers a faction can use as maximum. So go to PlayerTemplate.ini and search e.g. for:

Code:
SpecialPowerShortcutButtonCount = 11 ; << new COmmandSet uses 11 instead of 10


2]
I dunno if it's this what you mean but...
If you mean the build clock color look in ControlBarScheme.ini and search for "BuildUpClockColor". There you can define Red-Blue-Green-Alpha values to give it a new color. You have to do it for each faction.
The flash image when you click on a button is hardcoded afaik. Maybe there's any texture you can modify but I didn't find it up to now...
Dibelius is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-31-2006, 01:25 PM   #7 (permalink)
Jamie T
Guest
 
Posts: n/a
Default thank you

thank you, I also needed that because I lost the thing for it..

I have a Dutch Keyboard and that is very easy
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-31-2006, 05:17 PM   #8 (permalink)
Junior Member
 
Join Date: Mar 2006
Posts: 6
Default

Quote:
Originally Posted by Dibelius";p=&quot View Post
1]
The string "MISSING: 'GUI:SupW_SuperweaponParticleUpLinkCannon" must be set in generals.csf in Data\Language\... before it will display the correct name. Of course only "GUI:SupW_SuperweaponParticleUpLinkCannon" without "MISSING: "
Eeek, a binary file. Btw, don't you mean Data\English?

Quote:
Originally Posted by Dibelius";p=&quot View Post
And of course it's possible to add new commands to the shortcut bar. But there's a limit of 11 shortcuts,
11 displayed or 11 defined?

Quote:
Originally Posted by Dibelius";p=&quot View Post

so if you already reached this limit you can't add more shortcut powers. In the other case open your CommandSet.ini and search e.g. for "SpecialPowerShortcutUSA"

Code:
CommandSet SpecialPowerShortcutUSA
  1 = Command_SpyDroneFromShortcut
  2 = Command_ParadropFromShortcut
  3 = Command_A10ThunderboltMissileStrikeFromShortcut
  4 = Command_EmergencyRepairFromShortcut
  5 = Command_DaisyCutterFromShortcut
  6 = Command_FireParticleUplinkCannonFromShortcut
  7 = Command_SpySatelliteScanFromShortcut
  8 = Command_CIAIntelligenceFromShortcut
  9 = Command_SpectreGunshipFromShortcut
  10 = Command_LeafletDropFromShortcut

  11 = Command_TomahawkStormFromShortcut ; << your new superweapon
End
Ah.. though that change causes it to crash. Perhaps you need to define something in CommandButton.ini as well? There is a button called SupW_Command_TomahawkStormFromShortcut and using that in your list above removes the crash again, but no button.



Quote:
Originally Posted by Dibelius";p=&quot View Post
2]
I dunno if it's this what you mean but...
I mean shortcut key.
When you select a dozer from the USA, and move the point to point at, say a "Cold Fusion Reactor" the "R" is in a different color because its the shortcut key. Its that color I'd like to change.

But its so laggy and stuttering that i may give up :-/
IceHunter is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-01-2006, 10:27 AM   #9 (permalink)
Senior Member
 
Join Date: Jun 2003
Location: Germany
Posts: 363
Send a message via ICQ to Dibelius
Default

Of course "Language" stands for the actucal language (in my case it would be "German")

The shortcut limit is given by the engine code and this again means that no more than 11 buttons can be displayed.

The code I gave you was only an example how to do it. Of course you have to define a new entry in CommandButton.ini or you simply use the "SupW_Command_TomahawkStormFromShortcut" that you've found.

Ok, the Hotkey color can be defined in GameData.ini (this entry doesn't exist in original file, just type it in on your own)
>> HotKeyTextColor = R:0 G:255 B:0 ; or whatever color you want...
Dibelius is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-01-2006, 01:07 PM   #10 (permalink)
Junior Member
 
Join Date: Mar 2006
Posts: 6
Default

Thanks
IceHunter 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
how to change the countdown time of super weapon? wah123wah Generals & Zero Hour Editing 2 02-24-2007 12:26 AM
Changing color of laser to match color of player? Vger Generals & Zero Hour Editing 12 07-25-2004 03:30 AM
Matching Particle cannon color with player color ? Mikerator Generals & Zero Hour Editing 12 02-20-2004 09:51 AM
Unit movement control from keyboard ? Sypher_5 Generals & Zero Hour Editing 25 01-31-2004 04:17 AM
Keyboard mapping help please CommandMap.ini? key0p Generals & Zero Hour Editing 0 09-14-2003 11:16 PM


All times are GMT -4. The time now is 06:46 PM.


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