欧卡2中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

需要三步,才能开始

只需两步,慢速开始

欧卡2入门方向盘选莱仕达V9莱仕达折叠便携游戏方向盘支架欢迎地图Mod入驻
查看: 1719|回复: 6
收起左侧

[地图] 欧卡2编辑器背景editor_data里的这两串代码是什么意思?

[复制链接]
mnhc 发表于 2022-12-26 16:43 | 显示全部楼层 |阅读模式
20金币
如题

附件: 您需要 登录 才可以下载或查看,没有账号?立即注册
知行 发表于 2022-12-26 16:55 | 显示全部楼层
中心坐标

点评

这个是什么意思?  详情 回复 发表于 2022-12-27 13:39
回复 打印

使用道具 举报

知行 发表于 2022-12-26 17:05 | 显示全部楼层

where bcg_size_x and bcg_size_y is approximately the covering size in reality of the image used, divided by the scale of the map made.
The two bcg_offset_x and bcg_offset_y is to position the background at its proper location in the same way. The middle of the image
is positioned at an offset measured from the SCS ORIGIN point to the point you want your background located divided by the scale.
I've made a lot of Map Editor backgrounds and registered them to be positioned at the proper location. BUT, there's one more important
thing to consider, the background image you want to use MUST be in the correct map projection, which is specified by SCS to be
Lambert Conic Conformal one. This is especially important the further away from the map ORIGIN you are positioned! Which area
are you trying to cover?

From: https://roextended.ro/forum/viewtopic.php?t=1807

回复 打印

使用道具 举报

 楼主| mnhc 发表于 2022-12-27 13:39 | 显示全部楼层


这个是什么意思?

点评

[md] 没有关注过这个参数。 以下仅供参考 > map_import_offset is as far as I know coordinates of edge and center of the picture. While half of 270000 is 135000, I set the numbers to: > map_imp  详情 回复 发表于 2022-12-27 13:48
回复 打印

使用道具 举报

知行 发表于 2022-12-27 13:48 | 显示全部楼层
mnhc 发表于 2022-12-27 13:39
这个是什么意思?

没有关注过这个参数。

以下仅供参考

map_import_offset is as far as I know coordinates of edge and center of the picture.
While half of 270000 is 135000, I set the numbers to:

map_import_offset: (-135000, 0, -135000)

And then my background picture should be centered on the map.

the @include "/custom/editor_data.sii" at the very bottom refers to a custom file which we don't use in this case.
So if You like to, You can just erase the line.

From: https://forum.scssoft.com/viewtopic.php?t=167214

回复 打印

使用道具 举报

知行 发表于 2022-12-27 14:21 | 显示全部楼层
回复 打印

使用道具 举报

浪梦 发表于 2023-1-9 11:28 | 显示全部楼层
代表着左右
回复 打印

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

联系我们|手机版|欧卡2中国 ( 湘ICP备11020288号-1 )

GMT+8, 2024-12-22 01:14 , Processed in 0.041426 second(s), 8 queries , Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表