need weapon tutorial tutorial

Author Topic: need weapon tutorial tutorial  (Read 3607 times)

i have thing in text so i need a tutorial to make weapon and i need animation

Well you have to script and you have to make your model with somthing that has a torque exporter. This video will help!

http://www.youtube.com/watch?v=2UVWfhaUCjQ

Credits to Azerath for the video.

Modeler to make the model with is Milkshape download it here

 http://www.download.com/MilkShape-3D/3000-2121_4-10050779.html?part=dl-MilkShape&subj=uo&tag=button&cdlPid=10760433


Also when you are done go to in Milkshape then say
file\export\Tourque Game Engine\---Then put that file in Blockland\Add-ons\shapes\---after that download these example scripts and just follow the <YOURWEAPONNAME>
by the export saved name... and save the script when all the <YOURWEAPONNAME> things are gone and replaced with the saved export. finely save the script into blockland\add-ons\  save it as .cs

This is how I started

Here are the Example files for <YOURWEAPONNAME> thing

Most credits to

Gun script: http://www.mediafire.com/?iy9zstltzt0
Melee script: http://www.mediafire.com/?vbylztdv2mj
Thrown script: http://www.mediafire.com/?obmhs5ymtfi

Thank you

p.s. my weapons called black nyoibo (goku's staff)  what should i use to save as any way  :nes:
« Last Edit: April 26, 2008, 01:54:49 PM by beamsword »

What ever you want it to be...


Change the dropdown menu to "all files" and put .cs at the end of the filename.

what should i use to save .dts file? notepad or something else whoever answers gets a nes  :nes:

Jesus christ, learn to English, PLEASE.



To make a .dts, you'll wanna use a modelling program, such as Milkshape3D.

i have everything made but still not working  :panda: locking thread DUE to MEAN people picking on noobs
« Last Edit: April 30, 2008, 09:00:38 PM by beamsword »

Orly, admitting that you are a n00b doesn't help you very much.

lol! I tried to help...

Quote
weapon tutorial tutorial

You require a tutorial on how to write weapon tutorials? :cookieMonster:

First, export the model you have made (I can't help you with that) as a DTS model. Put this model in your Add-Ons/shapes folder.
Since it's a staff, download Azerath's mêlée weapon script. Save it in your Add-Ons folder as Weapon_Staff.cs.
Open the file in Notepad or any plain text editor. (Not Microsoft Word, that adds random characters to the file for its format). Use Find and Replace to replace "<YOURWEAPONNAME>" with "Staff".
Change the filename parts of the sounds at the top of the file if you want a different sound instead of the sword draw/chop sounds.
Save the file. Start Blockland and enable your weapon in the Add-Ons menu.
Try changing random values in the file for things like the light colour/radius in the Explosion, the textureName and lifetime of the particles, etc. to see how they affect it in-game. Restart the game after saving the file with these new settings to see what it looks like. Alternately, open the console and type:
Code: [Select]
exec("Add-Ons/Weapon_Staff.cs");to reload these settings for you. Other people in your server will not see these changes until they rejoin, however.
« Last Edit: May 03, 2008, 08:42:43 AM by Space Guy »