They Are Billions

They Are Billions

Custom Levels for They Are Billions
Add custom levels to They Are Billions by subscribing to these workshop items!
Learn More
Noise
Hi, I am trying to make my soldiers make less noise but can't get the code working. What would be a correct code to make the soldier as quiet as a ranger?

And would this also immediately work for the veteran? Or does it need its own code?
< >
Showing 1-15 of 19 comments
Gomez 10 May, 2021 @ 12:29am 
Hello,

What code have you used and how are you using it?

Regards
matthescratch 29 10 May, 2021 @ 3:09am 
Hey machineparrot.
What I would do is :
ApplyRules(“SoldierAttack Activity -80%”);
ApplyRules(SoldierAttackVeteran Activity -80%”)
This should reduce their agro by 80%
MachineParrot 10 May, 2021 @ 2:54pm 
Originally posted by Gomez:
Hello,

What code have you used and how are you using it?

Regards

I tride a lot of different once, so i am not sure what i did wrong. I will try what matthescratch posted.
MachineParrot 10 May, 2021 @ 2:54pm 
Originally posted by matthescratch:
Hey machineparrot.
What I would do is :
ApplyRules(“SoldierAttack Activity -80%”);
ApplyRules(SoldierAttackVeteran Activity -80%”)
This should reduce their agro by 80%


Thank you very much, i will try this.
MachineParrot 10 May, 2021 @ 3:23pm 
Originally posted by matthescratch:
Hey machineparrot.
What I would do is :
ApplyRules(“SoldierAttack Activity -80%”);
ApplyRules("SoldierAttackVeteran Activity -80%”)
This should reduce their agro by 80%


I tride these but get an Error Executing Sentence: Function bad arguments list: ApplyRules("SoldierAttack Veteran Activity-80%"

But if i look in the editor i see that there is a ) at the end of the code. But in game the error code does not have it?
Last edited by MachineParrot; 10 May, 2021 @ 3:25pm
Gomez 11 May, 2021 @ 2:31am 
Originally posted by matthescratch:
Hey machineparrot.
What I would do is :
ApplyRules(“SoldierAttack Activity -80%”);
ApplyRules(SoldierAttackVeteran Activity -80%”)
This should reduce their agro by 80%

This is the way to make it.

Regards
matthescratch 29 11 May, 2021 @ 5:11am 
Sorry I missed “ before soldier on second line
MachineParrot 11 May, 2021 @ 12:47pm 
Originally posted by matthescratch:
Sorry I missed “ before soldier on second line

Yes i saw that to, but i allready changed that before i tride it. But for me it does not work. I get an error as mentioned in my last post. Not sure what i do wrong tho.
MachineParrot 11 May, 2021 @ 12:50pm 
Originally posted by Gomez:
Originally posted by matthescratch:
Hey machineparrot.
What I would do is :
ApplyRules(“SoldierAttack Activity -80%”);
ApplyRules(SoldierAttackVeteran Activity -80%”)
This should reduce their agro by 80%

This is the way to make it.

Regards

But why do i stil get this error? Function bad arguments list: ApplyRules("SoldierAttack Veteran Activity -80%"
matthescratch 29 12 May, 2021 @ 1:12am 
You missed ) at the end ><
Gomez 12 May, 2021 @ 1:54am 
Have you tried to use the code in this way?

ApplyRules("SoldierAttack Activity -80%; SoldierAttackVeteran Activity -80%")

All the code in the same line?

Regards
MachineParrot 12 May, 2021 @ 3:16pm 
Originally posted by Gomez:
Have you tried to use the code in this way?

ApplyRules("SoldierAttack Activity -80%; SoldierAttackVeteran Activity -80%")

All the code in the same line?

Regards


I think something else is wrong with my game, because i saved the map with your code under a different name. But when i start the game and try to open the new save file, i get 2 times the same original saved name.

So let's say i have the original name "mylevel1" and the save file with your code in it "mylevel2", when i open the game and try to load the new costum map. It has 2 times "mylevel1". But the new level with the name "mylevel2" is not there.

I tride to re-check the gamefiles but this does not make a difference.
I also stopped Microsoft OneDrive and then re-checked the game files again, but that also did not fix this.


MachineParrot 12 May, 2021 @ 4:27pm 
I deleted every save file and every costom map except the newest costom map "mylevel2". But the name of the costom map did not change to "mylevel2" (the name i saved it under) The game stil refered to it as "mylevel1"

But funny thing is that the code now works: ApplyRules("SoldierAttack Activity -80%; SoldierAttackVeteran Activity -80%")

Last edited by MachineParrot; 12 May, 2021 @ 4:33pm
Gomez 13 May, 2021 @ 12:11am 
Hi,

Good to know it. Maybe you had something wrong at the beggining of the code or who knows...

Regards
matthescratch 29 13 May, 2021 @ 4:33am 
When you hit the test map button it will make a playable map with the name you have called it in the info tab, not what you have called it in saved as.
< >
Showing 1-15 of 19 comments
Per page: 1530 50