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

Administrators:
DeeZire, Redemption

There are currently 30 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 » How do I edit the random option in the skirmish menu in ZH?

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

Reply
 
LinkBack Thread Tools
Old 01-05-2005, 06:46 AM   #1 (permalink)
Member
 
Join Date: Dec 2004
Location: Romania,Bucharest
Posts: 51
Default How do I edit the random option in the skirmish menu in ZH?

When I select random option I whant the AI to select only some generals for exemple: I whant the AI to select only USA generals from all the generals. Can I do this or can I create a new random option like: USA random general, China random General or GLA random general in the skirmish menu?
Incult_1985 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-05-2005, 05:43 PM   #2 (permalink)
Member
 
Join Date: Sep 2004
Location: Germany
Posts: 71
Send a message via ICQ to glouf
Default

I think not.
Has any1 outthere an idea?
I'd also like to know it. :-)
POST PLEASE

_}-{° °}-{_
( O )
|_________|
glouf is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-07-2005, 02:26 AM   #3 (permalink)
Senior Member
 
CommieDog's Avatar
 
Join Date: Oct 2004
Location: Alaska (Hell Frozen Over)
Posts: 375
Default

You might be able to do it by making a new general that begins with an object that randomly chooses a Command Center through the BuildVariations tag. But you would have to make the Command Center spawn a free constructor object.
CommieDog is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-07-2005, 06:51 AM   #4 (permalink)
Member
 
Join Date: Dec 2004
Location: Romania,Bucharest
Posts: 51
Default

Ok, so what must I do to tell the AI what general must he choose, give me the command line...
Incult_1985 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-07-2005, 07:28 AM   #5 (permalink)
Senior Member
 
Join Date: Jul 2003
Location: Revora Forums
Posts: 496
Send a message via MSN to Boomerang_Python
Default

I believe that this is impossible
Boomerang_Python is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-07-2005, 11:57 PM   #6 (permalink)
Senior Member
 
CommieDog's Avatar
 
Join Date: Oct 2004
Location: Alaska (Hell Frozen Over)
Posts: 375
Default

Quote:
Originally Posted by Incult_1985";p=&quot View Post
Ok, so what must I do to tell the AI what general must he choose, give me the command line...
Basically, you need to copy the Technical code. Then, copy the Command Center code for each side you wish to be eligible for the new random side. You need to use the BuildVariations= tag to have the engine select one of the Command Centers at random when the object is called. Finally, have the new PlayerTemplate you create start with the object with the BuildVariations tag at the beginning of a game in place of a Command Center.
CommieDog is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-08-2005, 05:47 AM   #7 (permalink)
Member
 
Join Date: Dec 2004
Location: Romania,Bucharest
Posts: 51
Default

What is the technical code and where do I find it? BuildVariations= like the GLA technical right? but where do I put the variations? What inis must I edit and how? I whant the random option to select the 12 sides from the original ZH instalation because I have a mod that has 34 generals and there is a very big chance that the AI will chose a new faction with no scripts.
Incult_1985 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-09-2005, 11:53 PM   #8 (permalink)
Senior Member
 
CommieDog's Avatar
 
Join Date: Oct 2004
Location: Alaska (Hell Frozen Over)
Posts: 375
Default

Maybe I could write a tutorial on this...

Quote:
Originally Posted by Incult_1985";p=&quot View Post
What is the technical code and where do I find it?
The Technical code it what makes the Technical run in Generals without crashing. You can find the default GLA Technical code in \Object\GLAVehicle.ini. (In other words, it is in a subdirectory of the root INI directory.)

Quote:
Originally Posted by Incult_1985";p=&quot View Post
BuildVariations= like the GLA technical right?
Yes. That is the code that makes your friendly GLA Technical appear in 3 forms: the van, the jeep, and the pickup. The trick behind it is that the Technical button you press to build one actually orders a dummy unit that transforms into 1 of 3 options given through the BuildVariations= tag.

Quote:
Originally Posted by Incult_1985";p=&quot View Post
but where do I put the variations?
I suppose it would be best to put the dummy Command Center into /Object/System.ini.

Quote:
Originally Posted by Incult_1985";p=&quot View Post
What inis must I edit and how?
Besides creating a dummy Command Center, you will need to add a new PlayerTemplate entry in PlayerTemplate.ini with the line:
Code:
  StartingBuilding  = [name of dummy Command Center]

But now that I'm thinking about it, there is no way to ensure that the player receives the correct dozer with the correct Command Center. :/
CommieDog is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-10-2005, 11:38 AM   #9 (permalink)
Senior Member
 
Join Date: Jan 2004
Location: Elgin, Scotland, UK
Posts: 168
Send a message via ICQ to Alphathon Send a message via AIM to Alphathon Send a message via MSN to Alphathon Send a message via Yahoo to Alphathon
Default

Also, if you were to go this new random side, I don't believe the AI would read the scripts from the other factions just because of the new comm center.
Alphathon 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
Random option editing for Zero Hour? Need help!!! Incult_1985 Generals & Zero Hour Editing 0 12-26-2004 06:46 AM
Changing the name of a side in the skirmish drop down menu Accele Generals & Zero Hour Editing 6 11-12-2004 12:16 AM
-game or -mod option? MisterGoid Generals & Zero Hour Editing 3 12-11-2003 02:56 PM
The deal with Random...... LtZack Red Alert 2 & Yuri's Revenge Editing 22 09-19-2003 12:08 PM
random? Botjer Generals & Zero Hour Editing 0 07-23-2003 07:18 AM


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


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