Index | FAQ | Search | Memberlist | Usergroups | Profile | Log in to check your private messages | Log in | Register

Translocator - getting stuck Goto page Previous 1, 2

| Inside3d Forums Forum Index -> QuakeC Programming

View previous topic :: View next topic
Author | Message
--- | ---
Orion Joined: 12 Jan 2007 Posts: 413 Location: Brazil |

Posted: Sat Apr 28, 2007 12:29 am Post subject: |

What?? I said "I don't think so" <----- I forget the I. (or don't think so == i don't think so?) I'm brazilian, and I forget that pronouns are obrigatory... and not all English I can understand. _________________ There's no signature here. Stop looking for one.

Back to top |

Sajt Joined: 16 Oct 2004 Posts: 1026 |

Posted: Sat Apr 28, 2007 2:24 am Post subject: |

Orion wrote:
Yeah, that's right... This is why if I set the rocket's size to something like '-8 -8 -2', '8 8 2' I'll get funky entity-to-world collisions, a good example is on e2m5's start elevator. Firing a rocket in its centre it will explode anyway. But looks like the mins won't affect the clipping hulls... Notice the below code, I've made a new monster model, and see its size below:

Code:
setmodel (self, "progs/knight_commander.mdl"); setsize (self, '-16 -16 -32', '16 16 38'); self.health = 350; self.th_stand = com_stand; self.th_walk = com_walk1;
self.th_run = com_run1;
self.th_melee = com_spear1;
self.th_missile = com_missile;
self.th_die = com_death;
walkmonster_start ();
self.origin = self.origin + '0 0 10'; // don't get stuck on the floor

If I don't call self.origin = self.origin + '0 0 10' it'll get stuck.. Looks like only the maxs are affected by clipping hulls...

The mins_z should be -24, not -32...
_________________
F. A. Špork, an enlightened nobleman and a great patron of art, had a stately Baroque spa complex built on the banks of the River Labe.

Back to top |

Orion Joined: 12 Jan 2007 Posts: 413 Location: Brazil |

Posted: Sat Apr 28, 2007 3:03 am Post subject: |

Yeah, but if I set to that value, his legs will "noclip" the floor, and I'll se only half legs. _________________ There's no signature here. Stop looking for one.

Back to top |

Preach Joined: 25 Nov 2004 Posts: 122 |

Posted: Sat Apr 28, 2007 9:52 am Post subject: |

Orion wrote:
Yeah, but if I set to that value, his legs will "noclip" the floor, and I'll se only half legs.

Then edit the model so that the whole thing is moved 8 units vertically. You can do this with QMe or just by editing the header with a hex editor.

Back to top |

FrikaC Site Admin Joined: 08 Oct 2004 Posts: 947 |

Posted: Sat Apr 28, 2007 6:21 pm Post subject: |

Orion wrote:
What?? I said "I don't think so" <----- I forget the I. (or don't think so == i don't think so?) I'm brazilian, and I forget that pronouns are obrigatory... and not all English I can understand.

Just kidding.

Back to top |

Display posts from previous:

| Inside3d Forums Forum Index -> QuakeC Programming | All times are GMT Goto page Previous 1, 2
Page 2 of 2

Jump to:

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2004 phpBB Group