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

Notification

Icon
Error

2 Pages12>
Options
Go to last post Go to first unread
Offline sh_mud_marshall  
#1 Posted : Monday, April 27, 2015 7:01:17 PM(UTC)
sh_mud_marshall
Private
Joined: 4/24/2015(UTC)
Posts: 14
United States

Thanks: 10 times
Was thanked: 1 time(s) in 1 post(s)
I am trying to make it to where when I buy a Comanche, it spawns 2 as a pair. I have tried putting:
FormationSize = 2
FormationSpacing = 35.0
WeaponConvergenceFactor = 0.5
..straight out of the Thunderbolt's Strike3 OCL and pasting it under design parameters, it threw a code. So I deleted it and moved it to the engineering parameters, it threw this code:
UserPostedImage

I've tried to trace down every possible path that this code takes from commandset to commandbutton to its creation and I can't find where to put these lines. I'm guessing it is asking for an object, but I even tried putting it under the main name and it didn't work.

Any ideas?
Sponsor
Offline Gameanater  
#2 Posted : Monday, April 27, 2015 9:00:50 PM(UTC)
Gameanater
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 5/13/2013(UTC)
Posts: 1,537
United States
Location: Right Behind You

Thanks: 574 times
Was thanked: 166 time(s) in 144 post(s)
If you want to spawn two at a time, I would recommend looking at the Chinese Barracks's code and looking for a "QuantityModifier" line.

You also don't need more than one QuantityModifier block if you do use it.

EDIT: Although I have been unable to get two Battlemasters to be built at once for some reason, so not sure if this will work for aircraft

Edited by user Monday, April 27, 2015 9:02:18 PM(UTC)  | Reason: Not specified

Any old friends still on here can add me on discord @jcdenton2187. I'm far more likely to respond there.
thanks 1 user thanked Gameanater for this useful post.
sh_mud_marshall on 4/27/2015(UTC)
Offline sh_mud_marshall  
#3 Posted : Monday, April 27, 2015 9:12:08 PM(UTC)
sh_mud_marshall
Private
Joined: 4/24/2015(UTC)
Posts: 14
United States

Thanks: 10 times
Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: Gameanater Go to Quoted Post
If you want to spawn two at a time, I would recommend looking at the Chinese Barracks's code and looking for a "QuantityModifier" line.

You also don't need more than one QuantityModifier block if you do use it.

EDIT: Although I have been unable to get two Battlemasters to be built at once for some reason, so not sure if this will work for aircraft


good call for multiple spawns, but as far as a formation, they'd need to move together. or possibly have one that is a slave to the other. like an hellfire upgrade but as another comanche.
Offline Zatsupachi  
#4 Posted : Monday, April 27, 2015 11:12:35 PM(UTC)
Zatsupachi
Major
Joined: 3/27/2015(UTC)
Posts: 490

Thanks: 5 times
Was thanked: 213 time(s) in 155 post(s)
1. Make a flying version of the angry mob
2. Make mob member versions of the Comanche
3. Put those two together.
4. Profit

The thing is, they wont be flying in formation like what you wanted rather, they'd just fly together.
"It's precision_bomber."

Death Label HAS BEEN RELEASED(go get v0.99):
http://www.moddb.com/mod...oads/death-label-ver-099

Next Episode:
precision_bomber's Zero Hour SCIENCE!
thanks 1 user thanked Zatsupachi for this useful post.
sh_mud_marshall on 4/28/2015(UTC)
Offline sh_mud_marshall  
#5 Posted : Tuesday, April 28, 2015 12:50:54 AM(UTC)
sh_mud_marshall
Private
Joined: 4/24/2015(UTC)
Posts: 14
United States

Thanks: 10 times
Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: Zatsupachi Go to Quoted Post
1. Make a flying version of the angry mob
2. Make mob member versions of the Comanche
3. Put those two together.
4. Profit

The thing is, they wont be flying in formation like what you wanted rather, they'd just fly together.


So there is no way to have them fly in formation like the A10s?
Offline Zatsupachi  
#6 Posted : Tuesday, April 28, 2015 12:59:41 AM(UTC)
Zatsupachi
Major
Joined: 3/27/2015(UTC)
Posts: 490

Thanks: 5 times
Was thanked: 213 time(s) in 155 post(s)
Nope.
Unless you make Formation-flying Comanches on the model itself.
"It's precision_bomber."

Death Label HAS BEEN RELEASED(go get v0.99):
http://www.moddb.com/mod...oads/death-label-ver-099

Next Episode:
precision_bomber's Zero Hour SCIENCE!
thanks 1 user thanked Zatsupachi for this useful post.
sh_mud_marshall on 4/28/2015(UTC)
Offline sh_mud_marshall  
#7 Posted : Tuesday, April 28, 2015 1:11:03 AM(UTC)
sh_mud_marshall
Private
Joined: 4/24/2015(UTC)
Posts: 14
United States

Thanks: 10 times
Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: Zatsupachi Go to Quoted Post
Nope.
Unless you make Formation-flying Comanches on the model itself.


I also tried to make Comanche Drones to protect the patriot batteries but when I got into the commandbar for the patriots, the game crashes.
Offline Zatsupachi  
#8 Posted : Tuesday, April 28, 2015 1:18:50 AM(UTC)
Zatsupachi
Major
Joined: 3/27/2015(UTC)
Posts: 490

Thanks: 5 times
Was thanked: 213 time(s) in 155 post(s)
If you give me some time, I'll muster up a solution.
"It's precision_bomber."

Death Label HAS BEEN RELEASED(go get v0.99):
http://www.moddb.com/mod...oads/death-label-ver-099

Next Episode:
precision_bomber's Zero Hour SCIENCE!
thanks 1 user thanked Zatsupachi for this useful post.
sh_mud_marshall on 4/28/2015(UTC)
Offline sh_mud_marshall  
#9 Posted : Tuesday, April 28, 2015 1:59:23 AM(UTC)
sh_mud_marshall
Private
Joined: 4/24/2015(UTC)
Posts: 14
United States

Thanks: 10 times
Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: Zatsupachi Go to Quoted Post
If you give me some time, I'll muster up a solution.


If you need anything on my end, just let me know.
Offline Zatsupachi  
#10 Posted : Tuesday, April 28, 2015 8:55:53 AM(UTC)
Zatsupachi
Major
Joined: 3/27/2015(UTC)
Posts: 490

Thanks: 5 times
Was thanked: 213 time(s) in 155 post(s)
Code:

  Behavior            = SpawnBehavior ModuleTag_15
    SpawnNumber       = 1
    SpawnReplaceDelay = 1000
    SpawnTemplateName = AmericaVehicleComancheDrone ;Make one of these
    OneShot           = No
    CanReclaimOrphans = Yes
    SlavesHaveFreeWill = No
    InitialBurst = 1
  End

  Behavior = QueueProductionExitUpdate ModuleTag_16 ;this is important
    UnitCreatePoint   = X:  0.0  Y:  0.0   Z:0.0
    NaturalRallyPoint = X: 0.0  Y:  0.0   Z:0.0
    ExitDelay     = 5000 ; 5 sec
    InitialBurst = 1
  End


Also...
have this one along the patriot battery's KindOfs
Code:

MOB_NEXUS


I still don't have a way to make them travel in formation besides doing the model manually.

Edited by user Tuesday, April 28, 2015 8:57:33 AM(UTC)  | Reason: Not specified

"It's precision_bomber."

Death Label HAS BEEN RELEASED(go get v0.99):
http://www.moddb.com/mod...oads/death-label-ver-099

Next Episode:
precision_bomber's Zero Hour SCIENCE!
thanks 1 user thanked Zatsupachi for this useful post.
sh_mud_marshall on 4/28/2015(UTC)
Offline sh_mud_marshall  
#11 Posted : Tuesday, April 28, 2015 10:40:22 AM(UTC)
sh_mud_marshall
Private
Joined: 4/24/2015(UTC)
Posts: 14
United States

Thanks: 10 times
Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: Zatsupachi Go to Quoted Post
Code:

  Behavior            = SpawnBehavior ModuleTag_15
    SpawnNumber       = 1
    SpawnReplaceDelay = 1000
    SpawnTemplateName = AmericaVehicleComancheDrone ;Make one of these
    OneShot           = No
    CanReclaimOrphans = Yes
    SlavesHaveFreeWill = No
    InitialBurst = 1
  End

  Behavior = QueueProductionExitUpdate ModuleTag_16 ;this is important
    UnitCreatePoint   = X:  0.0  Y:  0.0   Z:0.0
    NaturalRallyPoint = X: 0.0  Y:  0.0   Z:0.0
    ExitDelay     = 5000 ; 5 sec
    InitialBurst = 1
  End


Also...
have this one along the patriot battery's KindOfs
Code:

MOB_NEXUS


I still don't have a way to make them travel in formation besides doing the model manually.


I have the modules list, but I can't find a kindof list. Where did you find all of the coding? Is this just generic code that is not specific to this game or is it all just for CNC? And where can I get the information? You're a big help and I appreciate you givinge a hand with this Zatsupachi.

Edited by user Tuesday, April 28, 2015 10:41:40 AM(UTC)  | Reason: Mis-spelling

Offline Zatsupachi  
#12 Posted : Tuesday, April 28, 2015 12:09:32 PM(UTC)
Zatsupachi
Major
Joined: 3/27/2015(UTC)
Posts: 490

Thanks: 5 times
Was thanked: 213 time(s) in 155 post(s)
UserPostedImage

Well, you can apply the code I posted there to the game.

Where I get these codes is from the game itself-- there's lots of possibilities if you think like how the game wants you to convert an idea.

I got this idea(the code) from the Stinger Site.
And the unit spawned doesn't necessarily be a Stinger Soldier or similar-- so you can put a drone in place of a Stinger Soldier.
"It's precision_bomber."

Death Label HAS BEEN RELEASED(go get v0.99):
http://www.moddb.com/mod...oads/death-label-ver-099

Next Episode:
precision_bomber's Zero Hour SCIENCE!
Offline sh_mud_marshall  
#13 Posted : Tuesday, April 28, 2015 1:49:10 PM(UTC)
sh_mud_marshall
Private
Joined: 4/24/2015(UTC)
Posts: 14
United States

Thanks: 10 times
Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: Zatsupachi Go to Quoted Post
UserPostedImage

Well, you can apply the code I posted there to the game.

Where I get these codes is from the game itself-- there's lots of possibilities if you think like how the game wants you to convert an idea.

I got this idea(the code) from the Stinger Site.
And the unit spawned doesn't necessarily be a Stinger Soldier or similar-- so you can put a drone in place of a Stinger Soldier.


Where can I find the actual KindOf = xxxx. There is a lot of fun stuff it looks like you can do with the KindOf file but without know all of the options it's a bit limited to guessing from what I can see around me. Is there any where I can find the xxxx of KindOf = xxxx? I wan to play with the Xs lol
Offline Gameanater  
#14 Posted : Tuesday, April 28, 2015 9:05:30 PM(UTC)
Gameanater
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 5/13/2013(UTC)
Posts: 1,537
United States
Location: Right Behind You

Thanks: 574 times
Was thanked: 166 time(s) in 144 post(s)
Originally Posted by: sh_mud_marshall Go to Quoted Post
Where can I find the actual KindOf = xxxx. There is a lot of fun stuff it looks like you can do with the KindOf file but without know all of the options it's a bit limited to guessing from what I can see around me. Is there any where I can find the xxxx of KindOf = xxxx? I wan to play with the Xs lol

There is no such "file."
Just look at a bunch of different objects for their KindOfs, which as Zatsupoppihoweverispellhisname said is usually under Engineering Parameters.

There is some cool stuff you can do with them, though. Want to make a vehicle garrison an office building? Change it's KindOf to INFANTRY and boom. You can also have it ride in a Humvee this way! (There's also another way that doesn't involve giving the vehicle the negative side-effects of the INFANTRY KindOf, which I'll tell you if you want.)
Or add EMP_HARDENED to any vehicle or building to make EMP not have any effect! Like how the Spectre Gunship has.
Or add HERO, which will make the Radar mark it as a hero unit no matter what unit it is.

Edited by user Wednesday, April 29, 2015 1:03:10 PM(UTC)  | Reason: EMP

Any old friends still on here can add me on discord @jcdenton2187. I'm far more likely to respond there.
thanks 1 user thanked Gameanater for this useful post.
sh_mud_marshall on 4/28/2015(UTC)
Offline sh_mud_marshall  
#15 Posted : Tuesday, April 28, 2015 9:50:56 PM(UTC)
sh_mud_marshall
Private
Joined: 4/24/2015(UTC)
Posts: 14
United States

Thanks: 10 times
Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: Gameanater Go to Quoted Post
Originally Posted by: sh_mud_marshall Go to Quoted Post
Where can I find the actual KindOf = xxxx. There is a lot of fun stuff it looks like you can do with the KindOf file but without know all of the options it's a bit limited to guessing from what I can see around me. Is there any where I can find the xxxx of KindOf = xxxx? I wan to play with the Xs lol

There is no such "file."
Just look at a bunch of different objects for their KindOfs, which as Zatsupoppihoweverispellhisname said is usually under Engineering Parameters.

There is some cool stuff you can do with them, though. Want to make a vehicle garrison an office building? Change it's KindOf to INFANTRY and boom. You can also have it ride in a Humvee this way! (There's also another way that doesn't involve giving the vehicle the negative side-effects of the INFANTRY KindOf, which I'll tell you if you want.)
Or add EMP_NEUTERED to any vehicle or building to make EMP not have any effect! Like how the Spectre Gunship has.
Or add HERO, which will make the Radar mark it as a hero unit no matter what unit it is.


I figured there wasn't a "file" because of how deep the "KindOf" coding is placed in the encoded game.dat. I was just wondering if there was a file or list that someone had found somewhere online, a cheat sheet of sorts. There is another site I found that has a list of similar of "KindOf"s for a different EA Games title. Just thought with how popular the CNC modding community was, there might be a list somewhere. I appreciate it though.

Here is the link to the other list site:
http://forums.revora.net/topic/19570-kindof/

Edited by user Tuesday, April 28, 2015 11:58:33 PM(UTC)  | Reason: Wrong Address

Offline Zatsupachi  
#16 Posted : Tuesday, April 28, 2015 10:20:17 PM(UTC)
Zatsupachi
Major
Joined: 3/27/2015(UTC)
Posts: 490

Thanks: 5 times
Was thanked: 213 time(s) in 155 post(s)
Originally Posted by: Gameanater Go to Quoted Post
EMP_NEUTERED


That's EMP_HARDENED.

Basically, KindOfs defines what kind of behaviors an object has.

Edited by user Tuesday, April 28, 2015 10:22:25 PM(UTC)  | Reason: Not specified

"It's precision_bomber."

Death Label HAS BEEN RELEASED(go get v0.99):
http://www.moddb.com/mod...oads/death-label-ver-099

Next Episode:
precision_bomber's Zero Hour SCIENCE!
thanks 1 user thanked Zatsupachi for this useful post.
Gameanater on 4/29/2015(UTC)
Offline klingondragon  
#17 Posted : Wednesday, April 29, 2015 1:51:50 AM(UTC)
klingondragon
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 4/10/2014(UTC)
Posts: 1,591
United Kingdom
Location: Laniakea; Virgo Supercluster; Local Sheet; Local Group; Milky Way Galaxy; Orion–Cygnus Arm; Gould Belt; Local Bubble; Local Interstellar Cloud; Sol System; Sol III; Europe; United Kingdom of Great Britain and Northen Ireland; Great Britain; England; Essex

Thanks: 16 times
Was thanked: 247 time(s) in 217 post(s)
There is a list of kindofs I'll see I i I can find it
thanks 1 user thanked klingondragon for this useful post.
sh_mud_marshall on 4/29/2015(UTC)
Offline Annihilationzh  
#18 Posted : Wednesday, April 29, 2015 10:52:50 AM(UTC)
Annihilationzh
General
Joined: 8/2/2008(UTC)
Posts: 1,779
United Kingdom

Thanks: 26 times
Was thanked: 475 time(s) in 331 post(s)
Here's a module list:
http://www.sleipnirstuff...um/viewtopic.php?t=13171

It contains a complete list of kindofs near the bottom of the file.

Originally Posted by: sh_mud_marshall Go to Quoted Post
I am trying to make it to where when I buy a Comanche, it spawns 2 as a pair. I have tried putting:
FormationSize = 2
FormationSpacing = 35.0
WeaponConvergenceFactor = 0.5
..straight out of the Thunderbolt's Strike3 OCL and pasting it under design parameters

I... I... huh? Comanches aren't a superpower, they're a unit.

Quote:
EMP_NEUTERED

Ouch that sounds painful.
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 3 users thanked Annihilationzh for this useful post.
CommieDog on 4/29/2015(UTC), Gameanater on 4/29/2015(UTC), sh_mud_marshall on 4/29/2015(UTC)
Offline sh_mud_marshall  
#19 Posted : Wednesday, April 29, 2015 1:56:28 PM(UTC)
sh_mud_marshall
Private
Joined: 4/24/2015(UTC)
Posts: 14
United States

Thanks: 10 times
Was thanked: 1 time(s) in 1 post(s)
"Comanches are not a superpower" ~ see this is the fun stuff I wish I knew. I mean how are you supposed things like this? It is kind of hard to mod when you don't completely know what all the parameters and necessities are for each individual task. Where did you find all this info Annihilationzh? It is greatly appreciated.
Offline Zatsupachi  
#20 Posted : Wednesday, April 29, 2015 5:19:04 PM(UTC)
Zatsupachi
Major
Joined: 3/27/2015(UTC)
Posts: 490

Thanks: 5 times
Was thanked: 213 time(s) in 155 post(s)
for one.
You can take note where the inis are located.

What you can use in one ini doesn't necessarily translate to the other.

FormationSize and FormationSpacing are from ObjectCreationList.ini
which is not the same thing as anything from the Data/INI/Object/ files.
nor it is to any other inis besides from ObjectCreationList.ini
"It's precision_bomber."

Death Label HAS BEEN RELEASED(go get v0.99):
http://www.moddb.com/mod...oads/death-label-ver-099

Next Episode:
precision_bomber's Zero Hour SCIENCE!
thanks 1 user thanked Zatsupachi for this useful post.
sh_mud_marshall on 4/29/2015(UTC)
Users browsing this topic
Guest
2 Pages12>
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.