• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

how i can change all maxAlive lines to one same?

archimp

New member
it seems over 50 zeds are too much.. i have 1 fps bloodmoons hordes..

im looking for settings where all maxAlive are only 50 so how i use that ctrl+h command on notepad++ to replace all of them what ever i want in one replacement?

i hope there is option to do that.. im not very intrested manually change all over 50 maxAlives to 50....

thank you!

 
Anyone can help me? Understand what looking for? Is there command to do this on notepad++?

Example: there is maxalive 256 and maxalive 10

How i change those both maxalive 50 qith one replacement command??

Is it posible

 
Last edited by a moderator:
To change all of them to 50...

Find what: maxAlive="\d+"

Replace with: maxAlive="50"

Make sure Search Mode is set to Regular Expression before pressing Replace All

If you want to change all of them to 50 only if they are over 50...

change Find what to: maxAlive="(([5-9]\d)||(\d{3}))"

 
Last edited by a moderator:
You're welcome. I'm a software developer. Not games, but mostly office software and web applications. Knowing regular expressions is a must in just about any programming language.

Any computer science degree will include some course that involves regular expressions. Probably not as a course of its own, but you get around to it after learning about either Finite State Automata or Natural Language Processing.

 
Back
Top