|
You last visited: Today at 10:05
Advertisement
Look what i found
Discussion on Look what i found within the Dekaron Private Server forum part of the Dekaron category.
06/28/2010, 20:30
|
#16
|
elite*gold: 0
Join Date: Oct 2008
Posts: 1,227
Received Thanks: 568
|
Hey how do i get this >
1. Open Command Prompt/Console/Terminal
2. Type: C:\Python31\python.exe dekaron_unpacker.py --directory="<Dekaron_Directory>\data\"
i open CMD and then ?:S
|
|
|
06/29/2010, 06:44
|
#17
|
elite*gold: 0
Join Date: Feb 2010
Posts: 115
Received Thanks: 182
|
to bad we cant export as dekaron .mesh so its pointless
|
|
|
06/30/2010, 17:35
|
#18
|
elite*gold: 0
Join Date: Feb 2010
Posts: 73
Received Thanks: 23
|
I found a script on the web to export meshes from blender, im not sure if it works or anything as im not good at any of this stuff.
If your interested just let me know and ill post a link here.
|
|
|
07/01/2010, 13:39
|
#19
|
elite*gold: 0
Join Date: Jan 2009
Posts: 226
Received Thanks: 80
|
i am very interested in that export ^_^
i have worked with this program ALOT and have made some nice stuff
but sadly i haven't been able to export as .mesh T_T
|
|
|
07/01/2010, 14:39
|
#20
|
elite*gold: 0
Join Date: Jan 2008
Posts: 568
Received Thanks: 176
|
it that would work it would mean a complete new start in the modding part for dekaron!
|
|
|
07/02/2010, 04:29
|
#21
|
elite*gold: 0
Join Date: Feb 2010
Posts: 73
Received Thanks: 23
|
Here guys heres the script, i dont know who to give credits to BUT I DID NOT MAKE THE CODE. Also im not sure if its a full or unfinished script.
import Blender210 as Blender
import math
import string
import sys
exportAnimations = 1
def printModuleInfo(module, example):
exec("import %s" % module)
print
print "#" * 79
exec("print %s.__doc__" % module)
print "#" * 79
exec("names = dir(%s)" % module)
for name in names:
exec('ifClause = "if type(%s.%s) == type(%s.%s): "' %
(module, name, module, example))
exec('statement = "print %s.%s.__doc__"' % (module, name))
exec(ifClause + statement)
class AllegroExport:
def __init__(self, filename):
self.filename = filename
self.file = None
self.scene = None
self.display = None
self.meshname = None
def export(self, meshname):
self.meshname = meshname
print "exporting ..."
self.file = open(self.filename, "w")
self.writeHeader()
self.writeVertexes(meshname)
self.writeTris(meshname)
self.writeEnd()
self.file.close()
def writeVertexes(self, name):
#if Blender.isMesh(name):
self.writeIdentifier(name)
object = Blender.getObject(name)
mesh = Blender.getMesh(object.data)
cname = name
cname = string.replace(cname, ".", "_")
cname = string.replace(cname, " ", "_")
cname = string.lower(cname)
self.file.write("V3D %s_v3d[]= {\n" % (cname))
index = 0
for vertex in mesh.vertices:
self.file.write(" {%2.6f, %2.6f, %2.6f},\n" %
(vertex[0],
vertex[1],
vertex[2]))
index = index + 1
self.file.write(" };\n")
def writeTris(self, name):
if Blender.isMesh(name):
meshobj = Blender.getObject(name)
mesh = Blender.getMesh(meshobj.data)
self.writeIdentifier(name)
cname = name
cname = string.replace(cname, ".", "_")
cname = string.replace(cname, " ", "_")
cname = string.lower(cname)
self.file.write("TRIS %s_tris[]= {\n" % (cname))
index = 0
for face in mesh.faces:
self.file.write(" {%s, %s, %s},\n" %
(face[0],
face[1],
face[2]))
self.file.write(" }\n")
index = index + 1
self.file.write("}\n")
else:
print "Sorry can export meshes only ..."
def writeEnd(self):
print "... finished"
def writeHeader(self):
self.file.write("/* file exported by blender mesh_exp.py\n")
self.file.write(" script by Matt Smith 2003 */\n")
def writeIdentifier(self, name):
self.file.write("// %s\n" % name)
#if __name__ == "__main__":
# printModuleInfo("Blender", "getCurrentScene")
v3d_export = AllegroExport("\\Devprojects\\speedhack\\test.c")
scene = Blender.getCurrentScene()
v3d_export.export("Plane.021")
Good luck and i hope this will solve everyones problems.
Regards
♠Vegeta♠
|
|
|
09/07/2010, 03:43
|
#22
|
elite*gold: 0
Join Date: Jul 2009
Posts: 29
Received Thanks: 8
|
It was taken from here  and it is only the very basic frame work for exporting the vertices and indices. It WILL NOT instantly export to .mesh format.
|
|
|
03/19/2014, 21:31
|
#23
|
elite*gold: 0
Join Date: May 2013
Posts: 9
Received Thanks: 0
|
my blender cant open .mesh
|
|
|
03/19/2014, 23:46
|
#24
|
elite*gold: 0
Join Date: Jun 2013
Posts: 572
Received Thanks: 341
|
Quote:
Originally Posted by Rasty04
my blender cant open .mesh 
|
This post was about 4 years ago
|
|
|
03/20/2014, 00:02
|
#25
|
elite*gold: 0
Join Date: May 2013
Posts: 9
Received Thanks: 0
|
i need to resolve this please :/ add me at skype: julian.gomez910 please need solution to open .mesh
|
|
|
03/20/2014, 00:45
|
#26
|
elite*gold: 0
Join Date: Aug 2009
Posts: 1,297
Received Thanks: 928
|
he posted how to do it ffs. . .
and if u continue reading u will see
where he tells you it cant be exported to use with the game.
i find it hard to believe that you are going to get this done seeing as how u cant even read the first page of a thread about how to import it
|
|
|
02/12/2015, 16:31
|
#27
|
elite*gold: 0
Join Date: Nov 2014
Posts: 34
Received Thanks: 1
|
QQ
|
|
|
02/13/2015, 06:35
|
#28
|
elite*gold: 0
Join Date: Aug 2009
Posts: 1,297
Received Thanks: 928
|
CONGRATZ!!!
u just revived a year old post for nothing but to prove ur a moron *claps*
|
|
|
Similar Threads
|
NEW MLE FOUND
07/02/2009 - Grand Chase - 193 Replies
new MLE version 1337 and 1342 was already been used by others...
just cant find where they get it..
sana wala nang leechers ngaun...
|
Found a AL Bot -_-
12/20/2007 - Archlord - 11 Replies
hey all , i found a al bot but gotta pay for it , it looks good ... but didn't test it , says has alot of functions if any1 want it pm me , dont want post it here , cause of CM etc. (if i dont answer to your pm pls wait)
|
Trojan found in server.exe found in 0919 + Crack by Mandark (Projecthax) post
12/15/2007 - SRO Hacks, Bots, Cheats & Exploits - 26 Replies
WARNING
Alright look at what AVG thought of the server.exe that originated form this post: 0919 + Crack by Mandark (Projecthax)
glad i didnt bot on my main account :D
http://i32.photobucket.com/albums/d34/nellyrev/un titled2.jpg
|
come and look what i found
10/28/2006 - Conquer Online 2 - 3 Replies
here is the image
|
All times are GMT +1. The time now is 10:06.
|
|