PDA

View Full Version : How can i allow to build a chrono comando


kakbkv
06-21-2007, 06:27 PM
i want a specific player for example player 3 , to be able to build a chrono comando in the begining of a game (the player we are talking about begins the game with a battle lab and a barracks... ) . i thought i could mange it by putting an of screen battle lab for this palyer and then oppening the map with notepad and adding "[CASLAB]SecretInfantry=CCOMAND" before "[preview" (first line) , but the map got buggy and instead of giving me that unit it gave me a terrorist.thx in advance....

Jester Kirby
06-21-2007, 07:12 PM
You could modify the secret lab to only give a chrono commando and give that to the player.

Fenring
06-21-2007, 07:19 PM
The SecretX tags do not work on the Secret Lab itself. Those are in the [General] section; tech boons are chosen at the beginning of the game and never change during play.

kakbkv
06-22-2007, 07:28 AM
You could modify the secret lab to only give a chrono commando and give that to the player.
how do i do that?
The SecretX tags do not work on the Secret Lab itself. Those are in the [General] section; tech boons are chosen at the beginning of the game and never change during play.
so you are telling me , i should put "[CASLAB]SecretInfantry=CCOMAND" somewhere else ? and where would that be then ? :flamed:

Fenring
06-22-2007, 09:19 AM
No. Did you even read my post? The SecretX tags go in the [General] section. The Secret Lab has nothing to do with this.

Besides, this isn't going to work the way you want with a Secret Lab. Tech lab boons are pre-determined at the beginning of the game and DOES NOT change during the game.

You'll have to add a different prerequisite and give that to the right player.

kakbkv
06-22-2007, 10:14 AM
so what you are basicly saying is that i should put "[General]SecretInfantry=CCOMAND" before the "[preview]" and then the only random unit i can get from a secret lab would be chrono commando , ya?

Fenring
06-22-2007, 11:38 AM
Theoretically that would work IF the game chose the CC instead of something else.

kakbkv
06-22-2007, 11:57 AM
this doesn't work....
i want a specific player to have a specific unit at the begining of the game . how can i do it ? from what i see battle lab doesn't work!

EliteGi
06-22-2007, 12:04 PM
Couldn't you make the prerequisite of the chrono commando a special building that is placed off a map (some sort of civilian building maybe) and then give that to player three. Simple, player three can then build the chrono commando.

kakbkv
06-22-2007, 01:18 PM
how to do it? i don't know ...

EliteGi
06-22-2007, 01:36 PM
[CCOMAND]
Prerequisite=BARRACKS,(NAME OF BUILDING PLACED OFF MAP)
RequiresStolenAlliedTech=noTo make the building placed off the map belong to the player, make sure FA2 is not in beginner mode (in options at the top menu).

Go to Edit -> Trigger Editor.
Click New Trigger.
Name the trigger.
Change the House to Civilian (leave all other options the same).
Click events tab.
Click New Event.
Select 13 Elapsed Time...
In the Parameters box, put in 1.
Click Actions Tab.
Click new Action.
Select Action 14 Change House.
In the Parameters box, select player 3 (which is Player @ C).
Close the Trigger Editor.

Now, double click on the building that is placed off the map. At the bottom, in the Attached Tag Field, select the tag with the trigger name you made.

There you go, now the building will belong to player three, and if you have done the code correctly, then player 3 will be able to build the CC. But, other players won't get the CC when they capture allied battle labs, so that's where this falls.

kakbkv
06-23-2007, 02:50 PM
you explained me things i knew , i just don't know where i put the code....

Fenring
06-23-2007, 08:58 PM
What code? The Chrono Commando? Anywhere in the map works.

EliteGi
06-23-2007, 11:57 PM
you explained me things i knew , i just don't know where i put the code....
Ah balls to you, I typed all of that you could have at least not known some of it. :p

Where to put the code? Open the map by right-clicking and going to open>with, open with notepad and just paste the code in there and save. :)

kakbkv
06-24-2007, 11:15 AM
What code? The Chrono Commando? Anywhere in the map works.

what is map works

Ah balls to you, I typed all of that you could have at least not known some of it. :p

lol , maybe i didn't :) , thx man

Where to put the code? Open the map by right-clicking and going to open>with, open with notepad and just paste the code in there and save. :)
just pate it wherever i want to , i mean isn't there any specific place for it ? the end of the document maybe or something?


i thought that maybe this goal could be accomplished by cloneing the unit (chrono comando ) and making one of them buildable by player 3 only..
is there any know toutorial wher i can see all this tags like SecretInfantry

thx ...:color3:

EliteGi
06-24-2007, 01:53 PM
i thought that maybe this goal could be accomplished by cloneing the unit (chrono comando ) and making one of them buildable by player 3 only..
is there any know toutorial wher i can see all this tags like SecretInfantry

thx ...:color3:
Paste it anywhere in the document and it should be fine, yes.

If you clone the unit, there's no way that I know of that you can give it a cameo, which looks stupid in game quite frankly. (A cameo is the icon you click on to build the unit.)

kakbkv
06-24-2007, 04:40 PM
no be reasonable there must be a specific place for me to paste this thing in...

apple23
06-24-2007, 09:54 PM
ok heres what i like to do; go to the INI editing section on the map editor(edit>INI editing) then add a new section(NOT a new key) named CCOMAND
Then find CCOMAND in the list and add the new key Prerequisite=BARRACKS,(name of building placed off the map) and another key RequiresStolenAlliedTech=no
Then do what EliteGI said earlier.

EliteGi
06-24-2007, 10:32 PM
no be reasonable there must be a specific place for me to paste this thing in...
It has nothing to do with reason. You can do what apple suggested if you like, both ways have the exact same effect, if you do it in FA2 it places it inside the map for you.

kakbkv
06-25-2007, 08:16 AM
great people thx for the help so far
and is there any way i can also for example change the range of this unit attack , or change his attack to be like prism tower mmm
i just dont understand how do you know what thing to write for example you wrote RequiresStolenAlliedTech , how did you know that the game accepts this thing?
:D thx for the help so far ppl

Fenring
06-25-2007, 10:01 AM
Because RequiresStolenAlliedTech is a valid rules tag, that's why.

If you want the Prism Tower weapon, change the CC's Primary weapon to PrismShot.

kakbkv
06-25-2007, 11:04 AM
where can i see all th valid rule tags ?
and PrimaryWeapon = PrismShot :color1:
thx

EliteGi
06-25-2007, 12:39 PM
where can i see all th valid rule tags ?
and PrimaryWeapon = PrismShot :color1:
thx
From RADEN, the link is http://www.cncgames.com/mods2/yrtext11.zip.

kakbkv
06-25-2007, 02:12 PM
who reads all this crap no seriously cmmon ???
thx any way people
great forum , keep up the awsome job...

Fenring
06-25-2007, 06:18 PM
I read all of that "crap." :p

The weapon tag is Primary and Secondary. Throw Elite in front of those to change elite weapons.

crapsack404
07-21-2007, 01:24 AM
i want a specific player for example player 3 , to be able to build a chrono comando in the begining of a game (the player we are talking about begins the game with a battle lab and a barracks... ) . i thought i could mange it by putting an of screen battle lab for this palyer and then oppening the map with notepad and adding "[CASLAB]SecretInfantry=CCOMAND" before "[preview" (first line) , but the map got buggy and instead of giving me that unit it gave me a terrorist.thx in advance....
man i dont know how to even open the stupid maps in word pad and i have to admit i am kind of a noob at map making so if u would pls help me that would be great
:evil:

Fenring
07-21-2007, 03:26 PM
Stop asking the same question is 4500 threads. Jesus. :rolleyes: