Add more mapent keys
This commit is contained in:
parent
c32a8fdda6
commit
b49ef0aba7
@ -82,6 +82,12 @@ namespace mapents
|
|||||||
{"script_vehicle_anim", 40318},
|
{"script_vehicle_anim", 40318},
|
||||||
{"script_vehicledetour", 31510},
|
{"script_vehicledetour", 31510},
|
||||||
{"script_vehiclegroupdelete", 31514},
|
{"script_vehiclegroupdelete", 31514},
|
||||||
|
{"script_flag_wait", 31197},
|
||||||
|
{"script_emptyspawner", 31161},
|
||||||
|
{"script_aigroup", 31025},
|
||||||
|
{"script_group", 31245},
|
||||||
|
{"script_index", 31259},
|
||||||
|
{"script_delay_post", 31122},
|
||||||
};
|
};
|
||||||
|
|
||||||
std::unordered_map<unsigned int, game::scriptType_e> custom_fields;
|
std::unordered_map<unsigned int, game::scriptType_e> custom_fields;
|
||||||
@ -402,6 +408,11 @@ namespace mapents
|
|||||||
utils::hook::call(0x1406B3384, cm_trigger_model_bounds_stub);
|
utils::hook::call(0x1406B3384, cm_trigger_model_bounds_stub);
|
||||||
|
|
||||||
add_field("script_specialops", game::SCRIPT_INTEGER);
|
add_field("script_specialops", game::SCRIPT_INTEGER);
|
||||||
|
|
||||||
|
for (const auto& key : keys)
|
||||||
|
{
|
||||||
|
scripting::token_map[key.first] = key.second;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user