gazza22
  • gazza22
  • 99.75% (Exalted)
  • Captain Topic Starter
17 years ago
am trying to put the usa supply centre on a timer. coz they can use the hellycopters to fly over my no rush river but when i do that it cant build the usa war factory coz it needs the use supply center. coz i put 4 china supply centres on my so they can be capture. so when u capture the china supply centre and be able to build the uas war factory can u help plz
untitled.JPG

Click to View Image110 View(s)


g.Threlkeld
Sponsor
gazza22
  • gazza22
  • 99.75% (Exalted)
  • Captain Topic Starter
17 years ago
plz Can Some one help iv been waiting for a long time for a reply thx
g.Threlkeld
Drummin
17 years ago
I don't believe capturing a China suppy center will allow you to build a USA war factory.
Annihilationzh
17 years ago
1. Go into Edit->scripts.

2. Create a new script in the Civilian folder (if you don't have a civilian folder, go into edit->Edit Player List... and click Add Skirmish Players, then start these instructions again).

3. Click actions if true->New

4. In the drop down list, choose [Map]Adjust the tech tree for a specific object type.

5. You should see a '???' becomes Buildable (Yes) below the drop down. Click the '???' and choose AmericaWarFactory.

6. Click the 'Buildable (Yes)' and change it to 'Buildable (Ignore_Prerequisites)'

Done.

If you are playing online, you may also wish to use the Buildable (No) for the superweapons. Map.ini code generally causes mismatches when you are playing online. Also, you may want to put the war factory on a timer to stop rushes.

The American AI may not work under these circumstances. So if it doesn't you might want to set the American Supply Center as Buildable (Only_By_AI).
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
Me Myself and Pi
17 years ago
Ah, I see from another of you posts that:

thanx but i play generals only.


This makes things a bit different. For one, it allows you the use of Map.ini files:
Object AmericaSupplyCenter
 ReplaceModule ModuleTag_12
  Behavior            = SpawnBehavior ModuleTag_12_Override
    SpawnNumber       = 1
    SpawnReplaceDelay = 9999
    SpawnTemplateName = ChinaVehicleSupplyTruck
    OneShot           = Yes
    CanReclaimOrphans = No
  End
 End
End
Copy & paste this into Notepad & then same the document as, Map.ini in your map folder. This will have the supply center give a supply truck instead.

Now for the scripting part. At game start, choose these scripts:
*** IF ***
    True.
*** THEN ***
   Command button: 'Command_ConstructChinaVehicleSupplyTruck' is added to all objects of type 'AmericaSupplyCenter' in slot number  1  (1-12).
   'ChinaVehicleSupplyTruck' becomes Buildable (Ignore_Prerequisites)
[Scripting] Add a command button to an object type.
[Map] Adjust the tech tree for a specific object type.
*** IF ***
   Timer 'So & So' has expired.
*** THEN ***
   Command button: 'Command_ConstructAmericaVehicleChinook' is added to all objects of type 'AmericaVehicleChinook' in slot number  1  (1-12).
[Scripting] Add a command button to an object type.
Annihilationzh
17 years ago

For one, it allows you the use of Map.ini files


It does? WOW!

If that's true, then do what Me Myself and Pi said. I was just trying to work around using a map.ini.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
Drummin
17 years ago
Annihilationzh that's a Good point!

And Pi, that's an interesting way to handle this situation. I like it.
gazza22
  • gazza22
  • 99.75% (Exalted)
  • Captain Topic Starter
17 years ago
OMG thanx kida my map is done now it works. but i put the gla on just to test it and they were starting to build stuff but china was not so how can i get it to work on skimish game one player. coz i thought u have to do way points an that for them to start building now do i do it plz


colone i cant find it wot it under kida. map,skimish or ?
g.Threlkeld
Drummin
17 years ago
What gazza22????
I don't understand your post.
gazza22
  • gazza22
  • 99.75% (Exalted)
  • Captain Topic Starter
17 years ago
wot is it under in scripts i cant find it mate
g.Threlkeld
Drummin
17 years ago
Are you trying to adjust the tech tree for a specific object type?
That's found under [Map].
As you're using Generals, I'd go with the map.ini file as Pi suggested.
As far as China not building... did you add InnerPerimeter and OuterPerimeter areas to your bases? Are they seperate and NOT overlapping?
gazza22
  • gazza22
  • 99.75% (Exalted)
  • Captain Topic Starter
17 years ago
*** IF ***
Timer 'So & So' has expired.
*** THEN ***
Command button: 'Command_ConstructAmericaVehicleChinook' is added to all objects of type 'AmericaVehicleChinook' in slot number 1 (1-12).

were it says timer so & So has expird do i just copy it in to script or do i but a time in
g.Threlkeld
Drummin
17 years ago
Look at Pi's post carefully. I just went through his steps and it's all there. You'll find these objects as in 'Command_ConstructAmericaVehicleChinook' by scrolling down your list of object buttons.
gazza22
  • gazza22
  • 99.75% (Exalted)
  • Captain Topic Starter
17 years ago
yer mate its a done. but do i but a time in this so it make chinnooks again
*** IF ***
Timer > 'So & So' < has expired

g.Threlkeld
Drummin
17 years ago
Didn't you have a delay timer for the water to drop?
Wasn't this the time you'd want to be able to build chinooks again?
Use that timer OR make a new timer.
gazza22
  • gazza22
  • 99.75% (Exalted)
  • Captain Topic Starter
17 years ago
yer mate i thouth i had to do that. my map is done now then and i am very gratefell for all your help over the last 2days thank u very much mate ill put my map on this. so u can have ago off it and could u let me noe what ya think kida thanx
g.Threlkeld
gazza22
  • gazza22
  • 99.75% (Exalted)
  • Captain Topic Starter
17 years ago
but my chinook it dose not come buildable after my time. i but 520.00 as the timer but still no joy. and i wait 9mins lol
g.Threlkeld
FatalSwoop
17 years ago
Hey
suup Gazza,
sry cant help you on your issue, dont know much about scripts or them no rush, rush type maps.
but how you take that screen shot!! plz could you tell me,
TECstar operates within the shadow of FatalSwoop!! Making its tactical line up highly Fatal and oh so Swooping,,,

FaTalSwoop XV// 003

Real time tag,. made on location at Fallen Empire... destroyed 2 GLA armies using 9 ground units ( no loses )and a constant bombardment of Air,,,,
gazza22
  • gazza22
  • 99.75% (Exalted)
  • Captain Topic Starter
17 years ago
all u have to do is press an hold ctrl then print Screen button then u go to paint and then past it and save as jpg
g.Threlkeld
Sky Demon
17 years ago
That's one nice looking map. You got talent!