Author Topic: Need 1 on 1 Blender/Coding help. Details inside.  (Read 8546 times)

So, many months ago, I got into Blender, with hopes of being able to make weapons. I believe I got pretty competent with the modeling portion. I have tons and tons of models that could potentially be ready for working into addons. Many of them I didn't even post to my old topic, as I was cranking them out, 2 or 3 a day when I wasn't working.


During this time, I ran into a few snags though. All I had to go on tutorial wise was Racer's stuffty videos. While those helped in the early stages, it left out some important details when it came to exporting and all that stuff. When I came here looking for help, I was directed to a post on this forum that is full of broken images, and I couldn't find anything from the text that I could tell was missing from my process. I managed to get 1 person on steam to try and help me... But that resulted in responses being several hours apart, and not actually being helpful with what I was asking for help on.

http://cloud-4.steampowered.com/ugc/486693770191083992/009BE47A9A47241E306EA261DBCAE7E544CCA4A3/
This image (Large) was the result of my best attempt. The model came in properly, but the textures did not. The bullets came out of the barrel properly, but the gun did not mount to the hand... Or anywhere near the blockhead. And no, simply flipping the model around didn't work. I tried that.

What I need:
Someone patient, with Steam, who will help me step by step through chat, the entire process of making a weapon work, with the starting point being the complete model with no mount points set. This will include changing any settings in Blender (2.6.2) that need to be set, then the exporting, and then the coding. If I can make JUST ONE weapon function properly ingame, I am confident that I can be self reliant from then on, with the exception of "special" weapons I might try at a later date. In this case, all I will need is the weapon shown above to function in a very basic way.

-Custom bullet model and casing, lower poly than default
-Custom sounds, which I will obtain and doctor appropriately
-No reloading, ironsights, or hands. Just basic like the "good ol days"
-(Optional) Bullet drop without needing other addons, if possible.
-(Optional) Headshot bonus without needing any other addons, if possible. May not even use these last 2, but we'll see

Things I may need at a later date, though do not need for this particular weapon are
-Custom projectile trail, incase of rocket or tracer bullet
-Bare basic animation, in case of bolt/pump guns. Nothing fancy, just an idle position, and a cycle position.
-Alt fire, incase of underbarrel mounts, or multi functional items
-Delayed function when holding fire or alt fire, incase of minigun or charge-up type weapons
-Healing items, incase it's not as simple as making negative numbers for damage
-Modified movement speed, incase I want a certain heavy weapon to slow you down

Time and other details:
-I live in a -6 timezone. Adjust accordingly. http://www.timeanddate.com/time/map/
-I am available all day on Mondays and Wednesdays. Every other day, I am available at 1:30 AM to roughly 7:30 AM, as I work a very long/late shift job.
-If this timing doesn't quite work, you can give me a specific time to look for you, though it will be difficult for me to adapt too far, because again, job.
-Upon completion of the fully functional weapon, I can gift the teacher $20 worth of games through steam, purely as a show of goodwill. I'm ready to get this stuff going!
-If interested, add me on Steam, and comment on my profile. http://steamcommunity.com/id/theshadowcross/
« Last Edit: January 16, 2015, 06:28:11 AM by TheShadowCross »

i could help with the exporting bit.
« Last Edit: December 30, 2014, 01:46:21 AM by Kobewarrior »

Alright. If you know how to export though, do you know anyone else who could take over for the coding part?

do you know anyone else who could take over for the coding part?
i don't think so. i don't really code but whatever you need now isn't going to be any difficult. i usually just stitch together samples from other add-ons and figure it out from there.

Well let's see if we can figure it out then. I might be able to do the same, at least for now.

Ok, I might be a bit out-dated here but there are no DTS exporters available from blender 2.49b and up. Unless you can export it into another modelling program and export from there, you will have to redesign all your models in an earlier version of blender. Which is really stuff. -.- I think you can load models from new blender to old blender, but animation data will be lost.
Again I'm not too sure of this at all.
« Last Edit: December 30, 2014, 01:45:44 PM by Makingblah »

Ok, I might be a bit out-dated here but there are no DTS exporters available from blender ~2.59(?) and up. Unless you can export it into another modelling program and export from there, you will have to redesign all your models in an earlier version of blender. Which is really stuff. -.-
Again I'm not too sure of this fact.. I would happily be proven wrong :)

No dts exporters for versions after 2.49b, correct

Save your current model as legacy mesh format and load it up in the old version.

Kobe has been very helpful. I was using an old version of Blender to do everything, but now I'm using a newer version to model and the older version to export. After some trial and error, I got the weapon functioning properly, and even got headshot damage in there. Turns out I was close in my attempts, but there were some things I would have never been able to figure out myself, like Location, Rotate, and Scale. Only problem now is, I don't know how to modify the stats of the weapon in coding. Rate of fire, damage, velocity, etc.

Also, in Blender 2.72b, I can't figure out how to change the colors of materials. In the old version, it was so simple, but I can't locate it in this new-fangled stuff. I can only get ones to work that I made in 2.6.2. There has to be something I'm missing there...

For new blender, just change the "Diffuse" color and that will work.
Also add me on steam (makingblah) and I'm fairly confident I can help with the rate of fire for your weapons and such. It's actually not difficult at all; just read the code and I'm sure you'll figure it out yourself anyways.

One little thing I haven't been able to figure out, is what controls the ingame name of the weapon. Looking at other weapon packs hasn't made it any clearer for me.

Search another mod for 'uiname' and follow the example.