Jump to content
RenCorner Network

Field_RxD - hon bug fix


Recommended Posts

Posted

This is only sollution if you havent source map files - *.lvl files. Will be fixed when I will load new plugin since it require restart server:

image.png

Code if someone want implement it on own server (same apply for original Field.mix):

void Fix_Broken_Spawner_Point_in_Hand_of_Nod_On_Field_RxD() {
    if (!The_Game()->Get_Map_Name().Compare_No_Case("c&c_field_rxd.mix")) {
        for (int i = 0; i < SpawnerList.Count(); i++) {
            SpawnerClass *FieldBadSpawner = SpawnerList[i];
            //id we got from LevelEditor with double click on that bad spawner
            if (FieldBadSpawner->Get_ID() == 1500733) {
                //here we define new position for spawner from LevelEditor
                FieldBadSpawner->transform.Set(Vector3(-90.944f,58.289f,0.118f));
            }
        }
    }
}

 

  • Like 8

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...