PDA

View Full Version : Need some help !


0 hour
03-29-2008, 10:35 PM
Question 1: I want the computer to sell the buildings it has captured (remember building doesnot exist at the start of the map, the human player creates it after some time) ?

Question 2: I want the computer to build a specific team only once. (I have already tried the check box in the team window, but it didnot work.The computer builts it again and again)

Question 3: I want the computer to re-build the team at intervals (2-3 minutes after it is destroyed) . But the computer actually re-builts the team as soon as it destroyed.

Me Myself & Pi
03-30-2008, 10:08 AM
Is this for a solo player map, or are you modifying the skirmish scripts?

0 hour
03-30-2008, 11:16 AM
solo player map

Me Myself & Pi
03-31-2008, 09:17 AM
Okay then.

1) I briefly looked through the skirmish scripts & couldn't find any where they sell captured buildings. If their isn't a script, maybe skirmish player a program to sell captured buildings while AI player aren't. But you can go ahead & look through the skirmish script if you want, I know they at least sell their captured buildings.
Their located at C:\Program Files\EA Games\Command & Conquer Generals Zero Hour\Data\Scripts\SkirmishScripts.scb Be sure to import them into just a test map & to uncheck Auto Verify. Also, make sure Skirmish Players have been added.

2) You could try to have that team act upon a condition from a subroutine script. Then void the condition after the team has been built, that might work.

3) Again, you may have to do some scripting to void that condition every now & that.

0 hour
03-31-2008, 11:13 AM
Thats what I am asking !

Which specific script do i need for question 2 and 3 ?Did anyone tried my first map yet? :\