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

Forum Info
Forum Members: 18,643
Total Threads: 8,744
Posts: 95,519

Administrators:
DeeZire, Redemption

There are currently 26 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements

DeeZire Online > Editing Community > Command and Conquer Editing > Red Alert 2 & Yuri's Revenge Editing » Disabling Units in Multiplayer Maps/ Garrisonable Bonuses

Red Alert 2 & Yuri's Revenge Editing Discuss any modding related issues to do with Red Alert 2 and Yuri's Revenge here.

Reply
 
LinkBack Thread Tools
Old 10-07-2003, 04:57 PM   #1 (permalink)
Junior Member
 
Join Date: Oct 2003
Posts: 1
Default Disabling Units in Multiplayer Maps/ Garrisonable Bonuses

I have no experience in modding the game itself, so I've been experimenting for quite a bit on multiplayer maps instead, trying to bring new challenge into them, such as tinkering with triggers and teams. I've reached one or two snags that I hope someone would kindly help me solve or make me understand better.

1. I've read the tutorials here and at RADEN, and I've noticed how to disable Naval Yards. So I did experiment with the code, and found it successful using the code that they have written:

[GAYARD]
Techlevel=11

[NAYARD]
Techlevel=11

[YAYARD]
Techlevel=11

However, I also experimented on disabling multiple units by copying the code and modifying it to disable other units. This is a part of what I've tried:

[ATESLA]
Techlevel=11

[BEAG]
Techlevel=11

[BORIS]
Techlevel=11


When I played the map, none of those units were disabled. Only the Naval Yards were disabled. So back to the question: Is it possible to modify the code in multiplayer maps to disable certain units and structures other than the Naval Yards from being built by players?


2. Garrisonable bonuses: I noticed that certain civilian buildings when garrisoned in multiplayer mode allows special units to be built. This is what I've found when garrisoning the following buildings:

Pentagon: Navy SEALs (both in RA2 and YR)
Sears Tower: Reveals the map (both in RA2 and YR)
Kremlin: Yuri Clones (YR, unsure about RA2)

Is it possible to mod the game (or preferably the map alone) to offer hidden bonuses to players if they garrison certain buildings other than the ones listed above?

Hope you guys would offer some assistance. Thanks a lot.
DTRUCK is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-07-2003, 05:06 PM   #2 (permalink)
Senior Member
 
Join Date: Jan 2003
Location: Egypt
Posts: 1,241
Send a message via ICQ to DeeZeL Send a message via MSN to DeeZeL
Default

to disable a building/unit..its preferable giving it a negative tech level value:

[ATESLA]
TechLevel=-1

and to know most of the tags of modifying units..check my tutorial on how to code a tank

and to make a building that gives certain units in the map...youll have to modify the rules.ini for the building manor and the art.ini for the building shape...code your building, then give it the Capturable=yes tag then modify the Prerequisite= tag (the tag which determines what is the buildings required to build the unit) to the desired building.
DeeZeL is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-08-2003, 12:45 AM   #3 (permalink)
Senior Member
 
Join Date: Jul 2003
Location: Lithuania, Central Europe
Posts: 1,057
Send a message via MSN to DCoder
Default

Actually, -1 won't stop AI building it...
And those garrisonable buildings usually are listed under PrerequisiteOverride, not Prerequisite.
Also, if you capture/garrison/whatever a Smithsonian Castle, you'll get Chrono Legionnaires.
DCoder is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-08-2003, 10:31 PM   #4 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: Sydney, Australia
Posts: 202
Send a message via MSN to Wize
Default

-1 will stop a the AI building it. The AI can override other things like techlevel 11 not but -1.
Wize is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-09-2003, 12:11 AM   #5 (permalink)
Senior Member
 
Join Date: Jul 2003
Location: Lithuania, Central Europe
Posts: 1,057
Send a message via MSN to DCoder
Default

I think I've seen a post that says exactly the opposite Oh well, maybe my memory is lying to me :S We'll need to try it to see which one is right...
DCoder is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-09-2003, 02:24 AM   #6 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: Sydney, Australia
Posts: 202
Send a message via MSN to Wize
Default

Well. Simple test. Put all the civillian cars in the Vehicle List after 102. If the AI can override -1 it'll produce civvies like it's going out of style
Wize is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-09-2003, 08:27 AM   #7 (permalink)
Senior Member
 
Join Date: Jan 2003
Location: Hamburg, Germany
Posts: 2,208
Send a message via ICQ to Renegade
Default

Yes, but that's not an accurate test, since the civilian cars are normally unused...the important point is the ai-file, I think...I dunno what's up with TechLevel=-1, but at least requiredhouses and prerequisites are frequently ignored by the AI...

Simply put RequiredHouses=Americans or something like that on the Grizzly and you'll see...all Allies will still build it, until you modify the Trigger to be Americans only...maybe the AI overrides the TechLevel as well...
Renegade is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-09-2003, 08:56 AM   #8 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: Sydney, Australia
Posts: 202
Send a message via MSN to Wize
Default

Anything that is a positive can be over-ridden but anything that is negative can't (AFAIK)

For example (And DZ will back me on this one) the AI Can't override the ForbiddenHouses tag. It's a negative. Same with -1 TL it's a negative.

Like I said all AFAIK but yeah AFAIK an AI can't override a negative.
Wize is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-09-2003, 12:06 PM   #9 (permalink)
Junior Member
 
Join Date: May 2003
Posts: 20
Default

I am certain you need more than just a -1 for a tech level. I have tried disabling buildings in rules.ini and the computer still builds the structure. I can only get the building to disable completely by giving it AIBuildThis=no as well as a -1 for tech level.
ragnarok2200 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-09-2003, 04:19 PM   #10 (permalink)
Senior Member
 
Join Date: Jan 2003
Location: Hamburg, Germany
Posts: 2,208
Send a message via ICQ to Renegade
Default

Quote:
Originally Posted by ragnarok2200
I am certain you need more than just a -1 for a tech level. I have tried disabling buildings in rules.ini and the computer still builds the structure. I can only get the building to disable completely by giving it AIBuildThis=no as well as a -1 for tech level.
True, true.
Renegade 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
Veterancy and garrison bonuses schtoogie Generals & Zero Hour Editing 3 12-22-2004 05:11 PM
Help?-Zero Hour-Campaign to multiplayer maps calinmatney Map Authoring 2 01-16-2004 09:41 AM
Adding Units to start in Multiplayer? Oldfaq Generals & Zero Hour Editing 9 06-24-2003 05:33 AM
Starting a multiplayer map with different units Wriggler Generals & Zero Hour Editing 1 06-21-2003 12:07 AM
The Garrisonable Barracks and issues OneWingedAngel Red Alert 2 & Yuri's Revenge Editing 5 01-24-2003 04:25 PM


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


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