No idea Whats going on.
#1

Hello folks, I have no idea whats going on with my Maps. I have two files of Map. So basically, When i upload my 2nd map file, Some Objects of previous map file getting disappeared, I don't know whats the problem. Both files use Streamer plugin tho'.
Reply
#2

Use CreateDynamicObjectEx
Reply
#3

Okay, But Anyone knows, How to convert these map codes into Dynamic?

Код:
new g_Object[288];
g_Object[0] = CreateObject(1649, 1443.7491, -1021.7053, 26.9577, 0.0000, 0.0000, 0.0000); //wglasssmash
g_Object[1] = CreateObject(1502, 1441.5561, -1021.6953, 22.9030, 0.0000, 0.0000, 0.0000); //Gen_doorINT04
There are about 288 Coordinates like this. I can't convert them manually.

EDIT: I also tried CovertFFS and Delux map converter, But they ain't showing results.
Reply
#4

http://convertffs.com/ here you can convert all the code to dynamic or in other streamer versions.
Reply
#5

I also tried CovertFFS and Delux map converter, But they ain't showing results

-EDIT: My maps are textured completely, So when i paste my codes, Sometimes it shows the result by removing all textures.

Код:
g_Object[12] = CreateObject(19378, 1461.8853, -1021.6735, 25.7712, 0.0000, 0.0000, -89.9999); //wall026
SetObjectMaterial(g_Object[12], 0, 2567, "ab", "chipboard_256", 0xFFFFFFFF);
Reply
#6

If those two maps are close, the client can stream only 1000 objects at a time and there's nothing you can do about it.

As for the code, just CTRL + H and replace "CreateObject" with "CreateDynamicObject". The first 7 parameters are the same and the rest have default values.
Reply
#7

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
If those two maps are close, the client can stream only 1000 objects at a time and there's nothing you can do about it.

As for the code, just CTRL + H and replace "CreateObject" with "CreateDynamicObject". The first 7 parameters are the same and the rest have default values.
So Actually Map objects loaded without any problem but SetObjectMaterial didn't load when i coverted CreateObject to CreateDynamicObject.

Код:
g_Object[282] = CreateDynamicObject(19441, 1079.0937, -1400.6486, 14.3438, -0.9999, 90.1999, 0.0000); //wall081
SetObjectMaterial(g_Object[282], 0, 1717, "cj_tv", "green_glass_64", 0xFFFFFFFF);
Reply
#8

SetObjectMaterial becomes SetDynamicObjectMaterial. Their parameters are the same.
Reply
#9

My bad, All good now. Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)