.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...
So, I have crates. Damage them and they open. Stuff comes out. The design idea is to add new things to maps in an original way.
Some (map spawned ones) can be set to respawn.
This is the code in SUB_regen to reset the model:
self.model = self.mdl; // restore original model
Only...it does what you see with crates! The solid = 2 bounding box is back. But the model doesnt change... Why? No idea.
You have to use:
setmodel(self, self.mdl); // restore original model x_ents version - because crates are burger kings - see mh_000547.jpg in id1/screenshots
Burger king - they have it "their" way.
Your comment will be anonymous unless you join the community. Or sign in with your social account:
So, I have crates. Damage them and they open. Stuff comes out.
The design idea is to add new things to maps in an original way.
Some (map spawned ones) can be set to respawn.
This is the code in SUB_regen to reset the model:
self.model = self.mdl; // restore original model
Only...it does what you see with crates! The solid = 2 bounding box is back. But the model doesnt change... Why? No idea.
You have to use:
setmodel(self, self.mdl); // restore original model x_ents version - because crates are burger kings - see mh_000547.jpg in id1/screenshots
Burger king - they have it "their" way.