.qc (dot qc) - the group for quake c coders of all denominations. If you make quake one mods and write code in quake c, join our group! I'll try to answer any quake c questions - please post your inquiry in the forums...
|Sep 6 2016 Anchor|
SV_PushMove: entity #100 has an invalid modelindex 0.000000
I will update when research is complete.
Plats use a map brush based bsp model.
Edited by: numbersix
|Oct 31 2016 Anchor|
yea doors, plats and func walls are all inline map models, ie: "*44", "*83" etc. Turns out their edict number is almost the same incrementally except off by 1. Since they have hard coded absmns and absmaxs, cant use them except where they exactly are in quake units position,=.
Well sorta - :o)
setmodel (self, self.model);
Edited by: Teknoskillz
|Dec 4 2016 Anchor|
I better point this out...
The value "69" will not be entirely reliable.
When loaded with the same engine on the same mod, it should always be the same.
However, there is a possibility that a different engine might load bsp sub models differently.
A more ideal solution if you are compiling the map as well as writing the code is to use another field:
You know netname for that func_wall will always be "swall1".
If you are writing this code for a map where you have no source and using darkplaces based engines:
Then you can modify the entity data.
You can NOT change bsp data in the .ent file - that task requires re-compiling into the map proper.
Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.