How to config the Spawn Score Mech? Question and Improvement Request

Is it possible to set different respawn score values for different Vehicles?

Is it possible to spawn score for Infantry Squad?

Can Respawn Score be used for Engineer Buildings?

Can Respawn Score be used for Radioman Requests?

in Mod Editor

2 Likes

It should be possible.

Should possible too!

But this seems no…

Some problems…

  1. These respawn score set only in profile file.
    In theory you can edit enlisted_player entity in entities.blk to set respawn score for some squads. But…

  2. These respawn score defined only to X squad on player set. I mean in event our mechs are first squad. In code its too set for first squad. And there no checks to vehicle/aircraft/infantry.

1 Like

not working for now

In multiplayer or in local?

Anyways… I checked it and now sure that editing enlisted_player or profile 100% works on local game:

Code
enlisted_player{
  _override:b=yes

  "respawner__scorePricePerSquad:list<i>"{
    item:i=250
    item:i=100
    item:i=0
    item:i=0
    item:i=0
    item:i=0
    item:i=0
    item:i=0
  }

  "respawner__scorePricePerSquadPerSpawn:object"{
    "0:array"{
      0:i=250
      0:i=500
      0:i=750
    }

    "1:array"{
      1:i=100
      1:i=150
      1:i=250
    }
  }
}

And it seems not works in multiplayer game.

1 Like

Can’t config by squad weapons or vehicles type.

We can’t reliably do this by order when players are using their own squads

1 Like

Well… I take my words back.
Code that I sent works in multiplayer.

Yeah. I too hope that someday we will got more features and abilities in editor/modding.
But at least can lock some squads. And it good works with event profiles.

Or… Maybe it’s possible to edit player profiles by editing entities.blk way…?

1 Like

I prefer to let players choose their own set of squads instead of locked

1 Like

@Devenddar

Can this value be based on squad name id?

For example ger_berlin_tank_2

@Enginya

Or adding a configuration method based on squad ID may also work, I don’t know if it is more possible?


It seems that currently it can only be based on order (squad order id) but not yet squad name id.


"respawner__scorePricePerSquadPerSpawn:object"{

    // works by slot position
    "0:array"{

      0:i=250

      0:i=500

      0:i=750

    }

    // not working
    "ussr_moscow_tank_1:array"{

      0:i=250

      0:i=500

      0:i=750

    }

     // not working
    "ussr_moscow_pilot_fighter_1:array"{

      0:i=250

      0:i=500

      0:i=750

    }

  }

1 Like