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

Forum Info
Forum Members: 18,617
Total Threads: 8,723
Posts: 95,213

Administrators:
DeeZire, Redemption

There are currently 39 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 09-05-2003, 07:45 AM   #1 (permalink)
Senior Member
 
Join Date: Jun 2003
Posts: 415
Default Flashbang prerequisite

how can I make the flashbang have it's prerequisite to upgrade the Ranger, I mean, I want it to require the Detention Center before you can upgrade it. I did change the CommandSet and placed the controlbar upgrade to the Detention Center, but the Rangers attacked my Rebels with Flashbangs and when I went to their base, they didn't even build the Detention Center, how can I do this? Is this somehow AI related? Thanks!
Indigo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-05-2003, 07:48 AM   #2 (permalink)
Senior Member
 
Join Date: Jul 2003
Posts: 138
Default

it is probably sopmething in the upgrade.ini

i believe that has the prequsits for upgrades (same with cost and buildtime)
Jim-Bob is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-05-2003, 08:34 AM   #3 (permalink)
Senior Member
 
Join Date: Jun 2003
Posts: 415
Default

This one? How can I fiddle with the prerequisites?

Upgrade Upgrade_AmericaRangerFlashBangGrenade
DisplayName = UPGRADE:RangerFlashBangGrenade
BuildTime = 30.0
BuildCost = 800
ButtonImage = SSFlashbang
ResearchSound = RangerVoiceUpgradeFlashBangGrenades
End
Indigo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-05-2003, 10:02 AM   #4 (permalink)
Senior Member
 
Join Date: Jan 2003
Location: uk
Posts: 186
Send a message via MSN to TylerD
Default

Upgrades cant have prerequisites... and if you want to create the effect like in your first post, youll have to edit the skirmish scripts.
TylerD is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-05-2003, 10:12 PM   #5 (permalink)
Senior Member
 
Join Date: Apr 2003
Location: Asia, Philippines
Posts: 311
Send a message via ICQ to Cold-Blooded Send a message via AIM to Cold-Blooded Send a message via Yahoo to Cold-Blooded
Default

Yeah upgrade can't be prerequisite, you can only messed things up so that it can be a prerequisite. About Indigo's prob, it is a AI related. if you changes the name of your original flashbang upgrade for example:

Upgrade Upgrade_AmericaRangerFlashBangGrenadeX
DisplayName = UPGRADE:RangerFlashBangGrenade
BuildTime = 30.0
BuildCost = 800
ButtonImage = SSFlashbang
ResearchSound = RangerVoiceUpgradeFlashBangGrenades
End

then add some code in your commandset.ini. There, your enemy AI can't upgrade flash without the Detention Camp. But as I said still you need to add some code in your .scb files so that it will upgrade the new FlashBang weapon. ah and also edit the Upgrade_AmericaRangerFlashBangGrenade formyour ranger unit to Upgrade_AmericaRangerFlashBangGrenadeX
to triger the upgrade.
Cold-Blooded is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-06-2003, 04:20 AM   #6 (permalink)
Senior Member
 
Join Date: Jun 2003
Posts: 415
Default

thanks guys, and Cold!
Indigo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-07-2003, 10:03 PM   #7 (permalink)
Senior Member
 
Join Date: Apr 2003
Location: Asia, Philippines
Posts: 311
Send a message via ICQ to Cold-Blooded Send a message via AIM to Cold-Blooded Send a message via Yahoo to Cold-Blooded
Default

NP pre!
Cold-Blooded 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
Real Flashbang FTV Z-mann Generals & Zero Hour Editing 6 09-17-2006 11:52 PM
How FlashBang & AssaultRifle Auto Switching work?? Plasma Generals & Zero Hour Editing 6 12-13-2004 11:57 PM
flashbang trajectory Indigo Generals & Zero Hour Editing 11 07-17-2003 12:54 PM
Turning the flashbang into an actual flashbang (need help) NationalSniper Generals & Zero Hour Editing 6 06-21-2003 06:09 AM
A neat change to the flashbang Syndicate Generals & Zero Hour Editing 28 06-16-2003 10:02 PM


All times are GMT -4. The time now is 05:02 AM.


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