Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline SUPER-G  
#1 Posted : Sunday, September 2, 2012 12:27:08 PM(UTC)
SUPER-G
Colonel
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 4/21/2012(UTC)
Posts: 690
Canada

Thanks: 260 times
Was thanked: 116 time(s) in 100 post(s)
how can i make an american dozer build the chinese gatling cannon?

and i would also like to know how to create a chinese MiG in the american airfeild (in general, how to make it so that i can build units and buildings from different factions).

thanks in advance!

Edited by user Sunday, September 2, 2012 12:28:30 PM(UTC)  | Reason: Not specified

Discord - PK_Soar #9531
PK_Soar #9531

He that is slow to believe anything and everything is of great understanding, for belief in
one false principle is the beginning of all unwisdom. - Anton Lavey


Sponsor
Offline qqqqqqqqp  
#2 Posted : Sunday, September 2, 2012 2:28:01 PM(UTC)
qqqqqqqqp
Private
Joined: 8/22/2012(UTC)
Posts: 9

Yes i know a way to do exactly what your saying But in mod form not map form all you really have to do is just copy some things from a command-set like the MiG and then del its prerequisite for it same with the Gatling cannon OR!! you could just make the American command center produce both Gla workers,and China Dozer. if thts not the way you want it then you'd have to also del the Prerequisite for it to (although tht means the china side can instantly build the turrets
Offline SUPER-G  
#3 Posted : Monday, September 3, 2012 10:14:03 AM(UTC)
SUPER-G
Colonel
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 4/21/2012(UTC)
Posts: 690
Canada

Thanks: 260 times
Was thanked: 116 time(s) in 100 post(s)
i need it in map form.

but can you break it down into steps? im new to this kind of stuff.
Discord - PK_Soar #9531
PK_Soar #9531

He that is slow to believe anything and everything is of great understanding, for belief in
one false principle is the beginning of all unwisdom. - Anton Lavey


Offline Annihilationzh  
#4 Posted : Tuesday, September 4, 2012 4:25:07 AM(UTC)
Annihilationzh
General
Joined: 8/2/2008(UTC)
Posts: 1,779
United Kingdom

Thanks: 26 times
Was thanked: 476 time(s) in 331 post(s)
World Builder>Edit>Scripts...>PlyrCivilian>New Script...>Actions if true.>New...>Map>Modify>Adjust the tech tree for a specific object type.>'???'

Navigate to the MiG/gattling cannon>ok>Buildable (Yes)

Change it to Ignore_Prerequisites>ok>ok

You should be back in Actions if true.

New...>Scripting>Add a command button to an object type.

Choose your build button (MiG/Gatting cannon) and add it to your constructer (Airfield/Dozer) in an empty slot. You'll also have to remove the invisible character at the end with backspace. It SHOULD give an error [???] if it's working.

BTW, the button layout is like this:

Code:
;+--+--+--+--+--+--+--+  
;|01|03|05|07|09|11|13|
;+--+--+--+--+--+--+--+
;|02|04|06|08|10|12|14|
;+--+--+--+--+--+--+--+
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.
thanks 1 user thanked Annihilationzh for this useful post.
SUPER-G on 9/4/2012(UTC)
Offline SUPER-G  
#5 Posted : Tuesday, September 4, 2012 3:16:31 PM(UTC)
SUPER-G
Colonel
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 4/21/2012(UTC)
Posts: 690
Canada

Thanks: 260 times
Was thanked: 116 time(s) in 100 post(s)
perfect, makes sense. but how do i backspace the hidden character? it may sound like a dumb question but i seriously dont know how!
Discord - PK_Soar #9531
PK_Soar #9531

He that is slow to believe anything and everything is of great understanding, for belief in
one false principle is the beginning of all unwisdom. - Anton Lavey


Offline Annihilationzh  
#6 Posted : Wednesday, September 5, 2012 6:30:09 AM(UTC)
Annihilationzh
General
Joined: 8/2/2008(UTC)
Posts: 1,779
United Kingdom

Thanks: 26 times
Was thanked: 476 time(s) in 331 post(s)
I honestly have no idea what you're struggling with.

Do you not know what the backspace key is? Or...?

Edited by user Wednesday, September 5, 2012 6:31:32 AM(UTC)  | Reason: Not specified

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.
Offline SUPER-G  
#7 Posted : Wednesday, September 5, 2012 10:41:50 AM(UTC)
SUPER-G
Colonel
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 4/21/2012(UTC)
Posts: 690
Canada

Thanks: 260 times
Was thanked: 116 time(s) in 100 post(s)
its not that i dont know how to backspace its just that, it wont let me backspace. i've tried the scripts menu, the script itself. where am i supposed to do it anyway?

Edited by user Wednesday, September 5, 2012 10:46:34 AM(UTC)  | Reason: Not specified

Discord - PK_Soar #9531
PK_Soar #9531

He that is slow to believe anything and everything is of great understanding, for belief in
one false principle is the beginning of all unwisdom. - Anton Lavey


Offline Annihilationzh  
#8 Posted : Wednesday, September 5, 2012 12:29:28 PM(UTC)
Annihilationzh
General
Joined: 8/2/2008(UTC)
Posts: 1,779
United Kingdom

Thanks: 26 times
Was thanked: 476 time(s) in 331 post(s)
It's the window with the drop down list, which has "Edit Parameter:" at the top.
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.
thanks 1 user thanked Annihilationzh for this useful post.
SUPER-G on 9/5/2012(UTC)
Offline SUPER-G  
#9 Posted : Thursday, September 6, 2012 3:20:22 PM(UTC)
SUPER-G
Colonel
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 4/21/2012(UTC)
Posts: 690
Canada

Thanks: 260 times
Was thanked: 116 time(s) in 100 post(s)
im sorry, i dont know where the window you're talking about is located.Indifferent
Discord - PK_Soar #9531
PK_Soar #9531

He that is slow to believe anything and everything is of great understanding, for belief in
one false principle is the beginning of all unwisdom. - Anton Lavey


Offline i^love^mixery  
#10 Posted : Friday, September 7, 2012 4:41:05 AM(UTC)
i^love^mixery
Colonel
Joined: 10/13/2008(UTC)
Posts: 782

Thanks: 7 times
Was thanked: 201 time(s) in 147 post(s)
oh jesus, SUPER-G...........

seriously?

IF your script looks like this:

Code:

  Command button: 'Command_Frenzy
' is added to all objects of type 'AmericaBarracks' in slot number  3  (1-12).
   Command button: 'Command_Sell
' is removed from all objects of type 'AmericaBarracks'.


then you see a paragraph there after 'Command_Frenzy

and that is a WORLDBUILDER BUG.

you CLICK on EDIT script again, then you click on Command_Frenzy again, then you DELETE the character after Command_Frenzy. its either an invisible character or a paragraph or sometimes a black rectangle.

and sometimes this bug doesnt occur either.

Edited by user Friday, September 7, 2012 4:41:47 AM(UTC)  | Reason: Not specified

thanks 1 user thanked i^love^mixery for this useful post.
Annihilationzh on 9/7/2012(UTC)
Offline SUPER-G  
#11 Posted : Friday, September 7, 2012 10:53:09 AM(UTC)
SUPER-G
Colonel
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 4/21/2012(UTC)
Posts: 690
Canada

Thanks: 260 times
Was thanked: 116 time(s) in 100 post(s)
Originally Posted by: i^love^mixery Go to Quoted Post
oh jesus, SUPER-G...........

seriously?


I apolagize for not knowing the answer and asking a question...

Originally Posted by: i^love^mixery Go to Quoted Post

IF your script looks like this:

Code:

  Command button: 'Command_Frenzy
' is added to all objects of type 'AmericaBarracks' in slot number  3  (1-12).
   Command button: 'Command_Sell
' is removed from all objects of type 'AmericaBarracks'.



it doesnt, here is what it looks like:

*** IF ***
True.
*** THEN ***
'ChinaGattlingCannon' becomes Buildable (Yes)
Command button: 'Command_ConstructChinaGattlingCannon
' is added to all objects of type 'AmericaVehicleDozer' in slot number 7 (1-12)

Originally Posted by: i^love^mixery Go to Quoted Post

then you see a paragraph there after 'Command_Frenzy

and that is a WORLDBUILDER BUG.

you CLICK on EDIT script again, then you click on Command_Frenzy again, then you DELETE the character after Command_Frenzy. its either an invisible character or a paragraph or sometimes a black rectangle.


i have tried that too and when i select it i cant backspace it any further.
Discord - PK_Soar #9531
PK_Soar #9531

He that is slow to believe anything and everything is of great understanding, for belief in
one false principle is the beginning of all unwisdom. - Anton Lavey


Offline VTULCobra  
#12 Posted : Friday, September 7, 2012 12:00:42 PM(UTC)
VTULCobra
Major
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 10/20/2011(UTC)
Posts: 383
Sweden

Thanks: 39 times
Was thanked: 33 time(s) in 33 post(s)
This is what your code looks like:

Code:
*** IF ***
True.
*** THEN ***
'ChinaGattlingCannon' becomes Buildable (Yes)
Command button: 'Command_ConstructChinaGattlingCannon
' is added to all objects of type 'AmericaVehicleDozer' in slot number 7 (1-12)


In the line "Command button: 'Command_ConstructChinaGattlingCannon'" there's an invicible character/letter after the n in cannon and before the ' symbol. Delete this by double-clicking after the line in the box and then hit backspace once.
Rank up!
thanks 1 user thanked VTULCobra for this useful post.
SUPER-G on 9/8/2012(UTC)
Offline SUPER-G  
#13 Posted : Saturday, September 8, 2012 8:40:58 AM(UTC)
SUPER-G
Colonel
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 4/21/2012(UTC)
Posts: 690
Canada

Thanks: 260 times
Was thanked: 116 time(s) in 100 post(s)
AWESOME! it works, i never knew that the problem was in the pop-up window! it didnt even look like it could be backspaced!(my WB is tricking me XD).
Discord - PK_Soar #9531
PK_Soar #9531

He that is slow to believe anything and everything is of great understanding, for belief in
one false principle is the beginning of all unwisdom. - Anton Lavey


Offline thebunnybruce  
#14 Posted : Wednesday, November 28, 2012 3:22:50 AM(UTC)
thebunnybruce
Captain
Joined: 11/19/2012(UTC)
Posts: 55
Location: south africa durban

Thanks: 5 times
Was thanked: 6 time(s) in 6 post(s)
Now you know how to do that, opens the world builder up to a whole new level of editing!
I'm not as cute as I look!

I'm still learning!
Offline SUPER-G  
#15 Posted : Wednesday, November 28, 2012 3:06:16 PM(UTC)
SUPER-G
Colonel
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 4/21/2012(UTC)
Posts: 690
Canada

Thanks: 260 times
Was thanked: 116 time(s) in 100 post(s)
Sure does!
Discord - PK_Soar #9531
PK_Soar #9531

He that is slow to believe anything and everything is of great understanding, for belief in
one false principle is the beginning of all unwisdom. - Anton Lavey


Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.