SA-MP Forums

Go Back   SA-MP Forums > SA-MP DL Edition > SA-MP 0.3.DL

Reply
 
Thread Tools Display Modes
Old 01/04/2018, 06:06 PM   #1
Croheart
Big Clucker
 
Croheart's Avatar
 
Join Date: Sep 2013
Location: Šibenik
Posts: 66
Reputation: 23
Default How to create object?

Hello dear SAMP forum members,

I am desperatly trying to create my custom object for SAMP but I fail everytime. Kalcor's tutorial doesn't explain much and on ******* I can't find any good tutorial since 90% of them are old ~5 years. Can anyone experienced could explain me or send me a tutorial how to create object for SAMP in blender / 3ds max / sketchup or whatever. I want to learn!

Thank you.
Croheart is offline   Reply With Quote
Old 01/04/2018, 06:19 PM   #2
Kasis
Huge Clucker
 
Kasis's Avatar
 
Join Date: Mar 2010
Location: Weed, New Mexico
Posts: 475
Reputation: 71
Default Re: How to create object?

Well, in short its quite easy. Can't say much about other tools, but in 3ds max you model an object use Kam's script to export it. Then with kdff tool you generate collisions and that is it. To be honest, i learned from very old ******* video on how to edit objects in 3ds max for gta sa. That video had nothing to do with sa-mp whatsoever.
Also when you done making your objects you will need to apply prepared images for textures and then from those images made .txd file with txdworkshop.

https://www.*******.com/watch?v=bjPQEa24N3U
Thats the video i learned very basics and it really helped me.
Sure there are many things you will understand along the way how to because not many tutorials talk about it or mention.
Kasis is offline   Reply With Quote
Old 01/04/2018, 07:30 PM   #3
Croheart
Big Clucker
 
Croheart's Avatar
 
Join Date: Sep 2013
Location: Šibenik
Posts: 66
Reputation: 23
Default

Thanks, but this doesn't explain much. This only shows editing existing object, not creating a new one. Can you record a tutorial?

It's all about money, nobody knows nothing and this few guys that know something won't tell a word because they want to get money from their knowledge... I understand that.

So this is what I did:
Resizing the object > edit mode > triangulate faces > subdivide > uv unwrap > cube projection > adding the texture, uv, uvmap, gl5l (something like that), renaming the texture (everyting in the Kalcor's videos) > export dff

This is how my object looks in Blender

And this is what I get in-game??

Last edited by dugi; 02/04/2018 at 09:33 AM.
Croheart is offline   Reply With Quote
Old 01/04/2018, 11:04 PM   #4
Kasis
Huge Clucker
 
Kasis's Avatar
 
Join Date: Mar 2010
Location: Weed, New Mexico
Posts: 475
Reputation: 71
Default Re: How to create object?

Quote:
Originally Posted by Croheart View Post
It's all about money, nobody knows nothing and this few guys that know something won't tell a word because they want to get money from their knowledge... I understand that.

So this is what I did:
Resizing the object > edit mode > triangulate faces > subdivide > uv unwrap > cube projection > adding the texture, uv, uvmap, gl5l (something like that), renaming the texture (everyting in the Kalcor's videos) > export dff
Haha man, i don't know about others, but i don't care about money in help with this.
As you use blender, i can't help you much cuz its different from 3ds max 2010.

Anyways as your texture doesn't show in game does it show in kdff? Texture size must be 16x16 or 32x32 or 512x256 such sizes examples. Otherwise it will not show ig.
Edit Alright, as i paid little more attention to screens something seems very wrong because in blender ur cube is different from ig one. So it means you didn't do something properly. Also do make sure you have correct name of texture that was assigned to object in .txd
Kasis is offline   Reply With Quote
Old 01/04/2018, 11:27 PM   #5
Croheart
Big Clucker
 
Croheart's Avatar
 
Join Date: Sep 2013
Location: Šibenik
Posts: 66
Reputation: 23
Default Re: How to create object?

I solved it! The problem was in blender exporting, I imported and exported in 3ds max and now it works.



Anyway, thank you Kasis for your help! rep+
Croheart is offline   Reply With Quote
Old 02/04/2018, 07:59 AM   #6
Kasis
Huge Clucker
 
Kasis's Avatar
 
Join Date: Mar 2010
Location: Weed, New Mexico
Posts: 475
Reputation: 71
Default Re: How to create object?

Nice man, good to see it worked out. A good tip is after you do UV Map to apply it properly do right click and convert to edible poly.
Kasis is offline   Reply With Quote
Old 02/04/2018, 10:01 AM   #7
Croheart
Big Clucker
 
Croheart's Avatar
 
Join Date: Sep 2013
Location: Šibenik
Posts: 66
Reputation: 23
Default Re: How to create object?

Is this process of triangulating faces, subdiving and unwrapping always necessary?
Croheart is offline   Reply With Quote
Old 02/04/2018, 10:16 AM   #8
Kasis
Huge Clucker
 
Kasis's Avatar
 
Join Date: Mar 2010
Location: Weed, New Mexico
Posts: 475
Reputation: 71
Default Re: How to create object?

Quote:
Originally Posted by Croheart View Post
Is this process of triangulating faces, subdiving and unwrapping always necessary?
Nah. All i can think of its probably blender thing or just for advanced texturing.
Kasis is offline   Reply With Quote
Old 02/04/2018, 11:37 AM   #9
Croheart
Big Clucker
 
Croheart's Avatar
 
Join Date: Sep 2013
Location: Šibenik
Posts: 66
Reputation: 23
Default Re: How to create object?

How do I know which size my texture needs to be? 128*256, 256*512 or 512*512?
Croheart is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create object does not create the actual object TheDarkBlade Scripting Help 5 19/10/2016 09:14 PM
gun object create iBots Scripting Help 1 23/04/2014 02:37 PM
Create Object jop9888 Scripting Help 8 20/08/2012 11:39 AM
Can you create a new object? dirkblok Help Archive 14 15/10/2009 03:25 PM
Object Create (2) Starskyyy Help Archive 19 04/03/2009 07:40 PM


All times are GMT. The time now is 02:25 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.