Forum

Big pack of questions

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

Postby Wazat » Tue Jan 12, 2010 5:00 am

Freemanoid wrote:Thanks for all of your reply's, but what about quake3 model tagging, how can I attach upper body and legs? I dont understand properly how it works. Can someone help me, or post a link where I can read about this?


dpextensions.qc might show details, but basically the way to do it is give the player model the body, then spawn the legs (and any other models) and use the function in dpextensions.qc to attach them to the "origin" tag of the body. They should be properly offset to make it look right. If not, maybe they need to be attached to a different tag. I don't know how to look at a model's tags except to pull up a Q3 mdl viewer.

Someone else really ought to know well enough. If you look up the mod "Q1Arena", I think it uses the Q3 Ranger player model. You could see how they do it.
When my computer inevitably explodes and kills me, my cat inherits everything I own. He may be the only one capable of continuing my work.
Wazat
 
Posts: 771
Joined: Fri Oct 15, 2004 9:50 pm
Location: Middle 'o the desert, USA

Postby Freemanoid » Tue Jan 12, 2010 7:38 am

Thanks, I'll try to see this mod.
Still, I have now some problems with skyboxes and bumpmapping in darkplaces. When I load a map, I always need to input in console "loadsky sky_". Its bad thing because I dont think that everybody will put this code in console at every start. Is it possible to make this thing do automatically? I tried to put it in config, but DP give me an error.
And bumpmapping. I tried to put bump maps to walls, to models, but I dont see any effects. I tried a lot of variations, but nothing seems to be working, maybe somebody know where problem could be?
^O,..,o^
Freemanoid
 
Posts: 52
Joined: Mon Jun 16, 2008 11:25 am
Location: BELARUS

Postby c0burn » Tue Jan 12, 2010 8:10 am

Add a sky flag with the name of the skybox to "worldspawn" in your map editor.
c0burn
 
Posts: 208
Joined: Fri Nov 05, 2004 12:48 pm
Location: Liverpool, England

Postby Freemanoid » Wed Jan 13, 2010 9:11 am

Thanks! Now I have another one question. Is it possible to make csqc understand floats from progs.dat? For example, I have
.float characterclass, for choosing character class for my game. I want to change images on the screen with csqc when characterclass has different value. But I dont know how I can move it properly.
^O,..,o^
Freemanoid
 
Posts: 52
Joined: Mon Jun 16, 2008 11:25 am
Location: BELARUS

Postby Teiman » Wed Jan 13, 2010 4:43 pm

One of the first "3D Backgrounds" screens that I remenber is "Warcraft 3" and is awesome.

I am looking forward for your mod :-)
Teiman
 
Posts: 309
Joined: Sun Jun 03, 2007 9:39 am

Postby Freemanoid » Thu Jan 14, 2010 1:21 pm

Another one question. How can I control bones in model in qc or somewhere to give DP know what I want?
I have found nothing interesting about md3 in Q1Arena.
Question about communication csqc and ssqc is still active.
^O,..,o^
Freemanoid
 
Posts: 52
Joined: Mon Jun 16, 2008 11:25 am
Location: BELARUS

Previous

Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest