CSQC questions

Discuss CSQC related programming.

Moderator: InsideQC Admins

CSQC questions

Postby Max_Salivan » Sun May 08, 2016 7:37 pm

Hello guys. Have some questions about csqc and fte.

1)I saw,what fte has half life model loader,is there a way,how to load it? only from csqc?

2)If i made simple model(dpm,or iqm) with animation blending,can i see model animations in lan game? or better to use md3 with tags?

3)Its possible to make realistic bulletholes with CSQC? by deleting polygons lol

4)Saw on one site about lua support in fte,its a joke?)
Sorry for my english :)
Posts: 88
Joined: Thu Dec 15, 2011 1:00 pm

Re: CSQC questions

Postby Spike » Mon May 09, 2016 12:31 am

this is not tested at all. it probably won't work.

2) logic running in csqc is specific to that client. logic running in ssqc is visible to all equally. you can use iqm exactly like mdl if you're lazy, but you won't get foot sync etc.
skeletal models can use the csqc skeletal objects extension if you want full control over how that model's skeleton is displayed each frame, but its easier to just use simple frame blending, no special logic needed then.

3) its easier to just use the decal system and get clipped decals that way.
if you want to chop stuff up, you *could* use the brush editing system and implement some csg subtraction in your ssqc or whatever, but this isn't a polished feature and may have sync issues currently.

you'll need to provide the libraries+headers. I think I tested with lua 5.1, but I've no idea if you'll need to fix anything for more recent versions, I don't really care enough to try.
servers will now load progs.lua in preference to progs.dat.
its ssqc only, and has limited extended-builtin support (as they need to be rewritten explicitly for it) but at least string manipulation can be handled natively by lua.
there's no guarentee that it'll work correctly.
you'll need to provide your own gamecode (vectors are a real pain). you'll probably need to look at the engine source to figure out how to call builtins. I don't recall what happened to my test lua gamecode.
So yes, its a bit of a joke feature (like the lua language itself..), but it was working at one point. I don't recommend seriously using it though, just because lua kinda sucks.
Posts: 2859
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: CSQC questions

Postby Max_Salivan » Mon May 09, 2016 4:21 pm

will be better to use hlmdl,i'll try it later,when compile fte:D

i need to know,how csqc works(player model loading,blending,etc)
so,need to spend a lot of time on csqc stuff)

i dont wont to use lua,but its will be good for close source games
fte has a multiprogs for this(want to test this feature later)

and,yes,Spike,thanks for answers)

i'll use fte for my game later,because dp is not updating)
Sorry for my english :)
Posts: 88
Joined: Thu Dec 15, 2011 1:00 pm

Re: CSQC questions

Postby drm_wayne » Mon May 09, 2016 5:20 pm

i remember theres an example for iqm playermodels and weapons somewhere (maybe here or
HLMDL is shit, i dont suggest to use it with fte, i tried it and it sucks xD..

Also this could be helpfull for fte games:
User avatar
Posts: 232
Joined: Sat Feb 11, 2012 5:47 pm

Return to CSQC Programming

Who is online

Users browsing this forum: No registered users and 1 guest