- Joined
- Oct 9, 2007
- Messages
- 83
- Reaction score
- 10
Could you use imgur.com for upload images? photobucket pisses me off.. btw really nice project.
right click on image and click on view image.
Could you use imgur.com for upload images? photobucket pisses me off.. btw really nice project.
bool CWorld::load_obj(int32 id) // Completa
{
FILE * fp = open_world_path(id,"WorldObjects");
if ( !fp )
{
sLog->outFile(">>> ERROR <<< Loading World%d Objects failed",id);
return false;
}
int32 file_size;
void * info_1;
uint8 xor_info[250000];
int32 world_id;
fseek(fp, 0, 2);
file_size = ftell(fp);
fseek(fp, 0, 0);
info_1 = (void*)GlobalAlloc(GPTR,file_size);
fread(info_1, 1, file_size, fp);
fclose(fp);
Xor_16((char*)info_1,(char*)xor_info,file_size);
GlobalFree(info_1);
World_Obj_Header * header = (World_Obj_Header*)xor_info;
World_Obj_Body * body = (World_Obj_Body*)&xor_info[sizeof(World_Obj_Header)];
world_id = header->id;
this->object_count = header->count;
for ( uint32 i = 0; i < header->count; ++i )
{
this->AddWorldObj(id,body[i].object_id,body[i].position,body[i].rotation,body[i].scale);
}
return true;
}
void CWorld::AddWorldObj(int32 world,int32 object_id,float * position,float * rotation, float scale)
{
std::ostringstream file_path;
file_path << "TestSMD\\Model" << object_id;
sSMDMgr->LoadSMD(object_id,file_path.str().c_str());
CWorldObject * new_object = new CWorldObject(object_id);
new_object->position.set(position[1]/COMMON_SCALE,position[2]/COMMON_SCALE,position[0]/COMMON_SCALE);
new_object->rotation.set(rotation[0],rotation[1],rotation[2]);
new_object->scale.set(scale);
new_object->setModelClass(sSMDMgr->getSMD(object_id));
if ( !new_object->isValid() )
{
delete new_object;
return;
}
int16 animation = new_object->getModel()->getAnimationCount() -1 ;//new_object->getModel()->getAnimationCount()>0?1:0;
new_object->AnimationChange(animation);
this->world_object.push_back(new_object);
}
... just code it by yourself, after some time you will drop the project and no one will see your code...but i cannot work with a team since there is almost no people with enough knowledge to understand this, at least not here (maybe 1 or 2 guys, no more.)
I just want to say that you're doing an amazing job with this! And also a +1 on using Ogre.
Hi, I need help with something. it is an easy job but it takes some time
anyone can do it, no knowledge is required (just need to know how to use skype -.-), send me a pm of you want to collaborate
so if i finish this project and i publish it, its not much but, u will be in the credits
![]()
edit: well, some milkshape/blenderknowledge (basic) or any other soft like these would be useful.

.can i suggest about questing? could you make the game a little more focused on questing? like life quests? or something?
like in any other MMO's have this life and story quests thing so it would be much fun not just leveling and reset and grand resets thing...
i hope you get my point...
& more power to your project/development.
thanks!!!
god bless!!!
can i suggest about questing? could you make the game a little more focused on questing? like life quests? or something?
like in any other MMO's have this life and story quests thing so it would be much fun not just leveling and reset and grand resets thing...
i hope you get my point...
& more power to your project/development.
thanks!!!
god bless!!!
yea, np.What about 3ds Max?