• Home
  • Index
  • Search
  • Download
  • Server Rules
  • House Roleplay Laws
  • Player Utilities
  • Player Help
  • Forum Utilities
  • Returning Player?
  • Toggle Sidebar
Interactive Nav-Map
Interactive DarkMap
Tutorials
New Wiki
ID reference
Restart reference
Players Online
Player Activity
Faction Activity
Player Base Status
Discord Help Channel
DarkStat
Server public configs
POB Administration
Missing Powerplant
Stuck in Connecticut
Account Banned
Lost Ship/Account
POB Restoration
Disconnected
Member List
Forum Stats
Show Team
View New Posts
View Today's Posts
Calendar
Help
Archive Mode




Hi there Guest,  
Existing user?   Sign in    Create account
Login
Username:
Password: Lost Password?
 
  Discovery Gaming Community Discovery Development Discovery Developers Forum Freelancer Modding Tutorials
« Previous 1 2 3 4 5 Next »
Tutorial: CMP/Animation/Sur Creation with Autodesk 3ds Max

Server Time (24h)

Players Online

Active Events - Scoreboard

Latest activity

Tutorial: CMP/Animation/Sur Creation with Autodesk 3ds Max
Offline Lohingren
08-16-2011, 09:42 AM,
#3
Member
Posts: 1,097
Threads: 48
Joined: Sep 2007

With this part of the tutorial i will now explain how to hitbox your models in 3ds max along with adding moving hitbox parts for your ships and stations.

The tools you will need for this part of the tutorial are.

- Havoc Content Tool
- Schmak's OBJ -> Sur tool
- A Hex editor of your choice
- DB software - CRC hash calculator

I have supplied a link to all the tools you need (i have also given a trial version of hex workshop just to show how this is done. but you will need to find a free version for yourself at a later date or buy hex workshop) for this tutorial i will be using a trial version of "Hex workshop"


This link is for the Havoc content tools -

http://www.mediafire.com/?46oyg292mz2l10h

This link is for the rest of the applications you need -

http://www.mediafire.com/?51rtq718xb919l5



(1) Install everything you need to install (hex workshop + havoc content tools)

(2) Open up your model, click the 'utilities' button at the right of the screen (1), click the More button (2) a window will pop up select the Havoc Convex Hull Utility. (3) Once you have done that a section will appear on the right roll out scroll down to find it it should read something like.

Max verts
Samples per step
number of steps
Generate Hull


Refferance Image shown below -

http://i54.tinypic.com/317egqd.jpg

(3) Once you have done that set your Convex hull utility to the following settings

Max Verts - 64
Samples Per Step - 10
Number of steps - 5


(4) Delete the parts of the model that you wish to animate. In this case i will be deleting Docking clamps on the side of my station. I know what you are all thinking. "WHY! WHY DO I NEED TO DO THIS!?" all will be explained later on. Just make sure you dont save your model by the end of this or you will need to remake your doors/clamps/whatever.

Referance Image shown below -

http://i51.tinypic.com/2h5i1ih.jpg

(4) Ok now its time for us to start creating the hitbox (cheers) Just like the way i detached the dish in my previous tutorial Select the polygon tool (1), Highlight the area you wish to detach (2) and then hit the detach button (3), Please note that when detaching objects for hitboxing keep them simple. You can detach as many times as you like so to keep a nice tight fitting hitbox keep the objects simple.

For this part i will make a couple of images and show you how i am splitting my model up.

Referance Image shown below -

- http://i56.tinypic.com/28jee6v.jpg
- http://i54.tinypic.com/dz8ltx.jpg
- http://i54.tinypic.com/ibz1pc.jpg

Ok, another tip i would give is to right click the view port and select "Hide unselected" This way you get rid of the stuff you have detached and it helps you get around your model.

(5) Ok once you have split up your model into the proper chunks, Its time to start creating our convex hull. Select one of your groups (1) Click the Utilities button once again (2) And then hit the Generate Hull button (3). You will see a horrible colour appear over your group. Just hit the delete key and you will be left with your convex hull. Repeat this for all of your groups! until you are left with something like the image below (4).

Referance Image shown below -

- http://i52.tinypic.com/n2nzpx.jpg
(4) - http://i55.tinypic.com/2hibamr.jpg

(4) Note - Notice all those different colours. Thats all the pieces i have split my model into. All of which are simple little shapes. Try and mimic that as much as possible or get even more intricate with the process

(6) Ok once we have done that hit "CTRL+A" hit the group drop down at the top, Group the model together it does not matter what you name this just click ok. Click the Rotate button at the top of the screen (1) And Rotate the model 180 Degrees (2)

Referance Image Shown Below -

http://i56.tinypic.com/x3si01.jpg

(7) Ok once you have done that select the move button (1) and then right click it. A window will pop up with 2 sets of XYZ coordinates Put 0 in all of these boxes and then hit ok (2)

Referance Image shown below -

http://i54.tinypic.com/zbmfn.jpg

(8) ok click on your model and then goto Group -> Ungroup. Now that we have done that we can export the model. Click File -> Export Select the file type "Wavefront OBJ" and match your setting to the image below. Also name the model the same name as the CMP you are making a sur for.

Referance Image Shown below -

http://i56.tinypic.com/2ynqvxc.jpg

(9) Ok now open up Schamks OBJ -> Sur converter, Browse for the .obj file you just exported and select it. make sure the box you can type in is set to 5,0 and both of the other options are unticked and then click "Go!"

Congratulations folks, you have created a tight fighting hitbox!? With absolute ease.

(10) Ok now for adding in your parts of the hitbox you wish to move along with your animation. Open up your model once again in 3ds max. And delete the MAIN model this time leaving your groups you wish to animate.

(11) ok now in my case i am left with 6 clamps. Delete all but one of the clamps that you need. Leaving you with one group.

Referance Image Shown Below -

http://i56.tinypic.com/4vpua0.jpg

(12) Once we have done that we need to goto 'utilities' and then Generate Hull, Delete the old group leaving your convex hull.

Referance Image Below -

http://i56.tinypic.com/34or4mg.jpg

(13) Ok now select your Single clamp/door/dish. And then right click the move button at the top. Same as last time Put '0' in all of the boxes and hit ok. Once you have done that Export the file as a .obj, Open up Schmaks OBJ -> SUR converter. Browse and select the piece you just exported and then hit "Go!"

(14) Ok now for the tricky part (this could get confusing so please just bare with me. Its still easier to do than the old Sur splice method) Open up the CRC calculator and type in "Root" at the top without the quotations ofcourse (1). note the number inside the unsigned CRC sections (2).

Referance Image Shown Below -

http://i56.tinypic.com/2e2qnhd.jpg


(15) ok now open up the hitbox piece you just exported with Hex workshop and hit "CTRL + F" now here is the confusing part. Remember that unsiged CRC number i told you to take note of in the CRC calculat? i need you to put that number in the Value box but in reverse. I shall show you what i mean in the image below.

Referance Image Shown below -

http://i55.tinypic.com/2wchch5.jpg

(16) Once you have done that hit ok. And it will highlight a set of numbers "-.h." from that number i need you to highlight EVERYTHING below it including the code. The only part that should not be highlighted is "vers...@"

Referance Image shown below -

http://i51.tinypic.com/nfj2r.jpg


(17) Copy everything you have highlighted and then hit "CTRL+A" to highlight everything DELETE everything then hit "CTRL+V" to paste what you have copied. It will come up with some mumbo jumbo message just say yes. And save your file.


(18) Once you have done that go back into your CRC calculator and in the box Type the name of your component.

THIS MUST MATCH THE NAME YOU GAVE THE GROUP IN 3DS MAX. If i was to give my previous tutorials model a hitbox i would name the component "Dish.rev" But in this instance since i am hitboxing the station. I will be calling it Clamp03.rev. I cannot stress enough how important it is that you match the names TO THE LETTER. Or this will not work and you will screw your hitbox.

Referance Image Shown Below -

http://i54.tinypic.com/30j20zs.jpg


(19) Once you have done this Go into Hex editor and hit "CTRL+H"

In the find box. Type in your reversed "Root" code in (2d8f6812). And in the Replace box put the name of your piece's unsigned crc code in reverse. In this instance Clamp03.rev = Unsigned CRC = (4a6ca5f4)

Referance Image Shown Below -

http://i52.tinypic.com/16775sw.jpg

(20) Once you have done this hit ok. A screen will come up saying Find next, Find previous blargh blargh. Hit "Replace All" and then save the file, once you have saved the file hit "CTRL+A" again and then copy all the writting. Now open up the hitbox you wish to add this piece to. In this instance i will be opening up the "dsy_small_Station.sur"

Paste the information you just copied previously. to the VERY BOTTOM of the currently opened file. Save the file.

And HEY PRESTO!?

Referance Image Shown Below -

http://i53.tinypic.com/2s9ywc5.jpg

You have just added an animated, moving piece to your sur. Just rinse and repeat steps "10 -> 20" if you wish to add more. and you will be done in no time!

And with this my 3DS FL modding 101 tutorial is complete. I hope you all had a good time reading these tutorials and i hope they have helped everyone get their heads around getting your models setup. If there is any questions feel free to pm me on the forum, on skype or on here.

[Image: 112505j.jpg]

Thank you

Credits:

W0dka - For creating the CMP exporter
That idiot Silent Assassin (my brother) - for creating the CMP exporter
Schmakbolzen - For creating the OBJ2SUR exporter

[Image: smniko.jpg]
Reapers of Sirius Database
  Reply  


Messages In This Thread
Tutorial: CMP/Animation/Sur Creation with Autodesk 3ds Max - by Lohingren - 08-16-2011, 09:41 AM
RE: Tutorial: CMP/Animation/Sur Creation with Autodesk 3ds Max - by Gamazson - 10-04-2014, 11:43 PM
Tutorial: CMP/Animation/Sur Creation with Autodesk 3ds Max - by Lohingren - 08-16-2011, 09:41 AM
Tutorial: CMP/Animation/Sur Creation with Autodesk 3ds Max - by Lohingren - 08-16-2011, 09:42 AM
Tutorial: CMP/Animation/Sur Creation with Autodesk 3ds Max - by Seth Karlo - 08-16-2011, 09:49 AM
Tutorial: CMP/Animation/Sur Creation with Autodesk 3ds Max - by MarvinCZ - 08-16-2011, 10:55 AM
Tutorial: CMP/Animation/Sur Creation with Autodesk 3ds Max - by Lohingren - 08-16-2011, 11:05 AM
Tutorial: CMP/Animation/Sur Creation with Autodesk 3ds Max - by MarvinCZ - 08-16-2011, 01:20 PM

  • View a Printable Version
  • Subscribe to this thread


Users browsing this thread:
1 Guest(s)



Powered By MyBB, © 2002-2026 MyBB Group. Theme © 2014 iAndrew & DiscoveryGC
  • Contact Us
  •  Lite mode
Linear Mode
Threaded Mode