SA-MP Forums Archive
To get the cube object model id - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: To get the cube object model id (/showthread.php?tid=421392)



To get the cube object model id - pasha97 - 09.03.2013

Hey there. I need a cube object, like in this video: [ame]http://www.youtube.com/watch?v=37zscEIK_0s[/ame]
I've searched everythere, but all i found is: 18764, which is too big, and 1271, which is too small. Neither the first, nor the second suits me. I need a cube of exactly that size, whic you can see in the video Thanks in advance


Re: To get the cube object model id - pasha97 - 09.03.2013

No one knows the solution?


Re: To get the cube object model id - Babul - 09.03.2013

try id 18762, its the 1x1x5 concrete. just smash it into the ground, spawn it at z=1.5 below ground. this will make a 1x1x1 cube visible. all you need is to know the texture. i would like to know aswell btw..
aaw nvm, i didnt notice that its really a small cube, saw it when it was in the air


Re: To get the cube object model id - Virtual1ty - 09.03.2013

You know you can just decompile the compiled .amx?
The object you need is shown in the video just moments before the object-material has been changed:



Re: To get the cube object model id - pasha97 - 09.03.2013

Quote:
Originally Posted by Virtual1ty
View Post
You know you can just decompile the compiled .amx?
The object you need is shown in the video just moments before the object-material has been changed:
I tried to decompile it, but there is anti-deamx.


Re: To get the cube object model id - Virtual1ty - 09.03.2013

Ah, yes, true, I see now.. Well you can still decompile it if you exclude the code that crashes DeAMX, and decompile with everything but variable declarations...
I'll edit this post when I find the object model ID...

Edit: Got it! Buried deep in the decompiled .pwn I found that object model and it's ID is 1685! Just don't ask me about object materials as I couldn't get that decompiled (because of the AntiDeAMX)..


Re: To get the cube object model id - pasha97 - 09.03.2013

Quote:
Originally Posted by Virtual1ty
View Post
Ah, yes, true, I see now.. Well you can still decompile it if you exclude the code that crashes DeAMX, and decompile with everything but variable declarations...
I'll edit this post when I find the object model ID...

Edit: Got it! Buried deep in the decompiled .pwn I found that object model and it's ID is 1685! Just don't ask me about object materials as I couldn't get that decompiled (because of the AntiDeAMX)..
Dude, you are awesome!!! Thank you a lot!!! Alghough it is not a cub, it is a square, i will make a cube of 6 this objects, like i guess it was made in that gm. Again, thank you veeeery much! I'm happy! 1 more question, can you share me with the decompiled file?


Re: To get the cube object model id - Virtual1ty - 09.03.2013

Quote:
Originally Posted by pasha97
View Post
Dude, you are awesome!!! Thank you a lot!!! Alghough it is not a cub, it is a square, i will make a cube of 6 this objects, like i guess it was made in that gm. Again, thank you veeeery much! I'm happy! 1 more question, can you share me with the decompiled file?
No problem, I'm trying to be
I can send it to you over PM, but you will get nowhere with it, it's all scrambled, floats are represented as integers, and no function/variable names whatsoever (unless they're forwarded), + no variable definitions (arrays I believe)..


Re: To get the cube object model id - pasha97 - 10.03.2013

Quote:
Originally Posted by Virtual1ty
View Post
No problem, I'm trying to be
I can send it to you over PM, but you will get nowhere with it, it's all scrambled, floats are represented as integers, and no function/variable names whatsoever (unless they're forwarded), + no variable definitions (arrays I believe)..
nvm, ill try to find some info from it, e.g. what materials are used


Re: To get the cube object model id - mastermax7777 - 16.03.2013

http://pastebin.com/MKuEKxdH