home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


We have mpitch, how about myaw?

by Meigus on 08/07/2010 09:29, 6 messages, last message: 08/08/2010 04:26, 1245 views, last view: 05/01/2024 07:36

I finally got an md3 model put into Cube2, and now I find out some parts can't be still while other parts rotate. (besides the spin command)

Specifically, I've loaded the model for the machine gun turret from Tremulous, after alot of fidgeting.

For you nitpickers, the license is the Attribution-ShareAlike 2.5 Generic, so what I'm doing is ok.

I'm thinking an myaw model command could work just like the mpitch, and like 1 0 -180 180 would allow something to rotate completely.

I'll throw in that there could be a problem, as a sentry gun would have to rotate all the way around, so it would have to wrap, unlike models looking up/down.

   Board Index   

#1: Know the engine

by MeatROme on 08/07/2010 17:09

Uhm, you /do/ know that the first entity attribute controls yaw, right?

reply to this message

#2: Re: Know the engine

by Meigus on 08/07/2010 19:04, refers to #1

Well that's all fine and dandy if I want to rotate an object in edit mode, except I'm talking about a model rotating some of it's parts.

mpitch is a setting in the md3 configuration which allows the controlling of pitch for each part of an md3 (and whichever else support it). I'm looking for something that allows for a single rotation of a part of the model, done by non-player action e.g. a nonrotating base and a rotating upper part.

reply to this message

#3: Re: Know the engine

by MeatROme on 08/07/2010 20:18, refers to #2

You can't change the settings from the model-config in-game. IIRC there was a sauerbraten MOD that had auto-turrets and python-scriptable stuff (for mapping and in-game events). Can't remember the name ATM, but it looked really nice!

reply to this message

#4: ah, this was it

by MeatROme on 08/07/2010 20:21

http://wiki.syntensity.com/introduction/quick-start-1

reply to this message

#5: ..

by SheeEttin on 08/07/2010 21:48

Now if the engine wouldn't do all kinds of caching, we could use /mapmodelreset to reload another model in-place! :P

(Seriously, though, quitting and restarting the whole game is annoying every time I want to do something trivial in a model CFG... or am I doing something wrong?)

reply to this message

#6: Re: ..

by Hirato Kirata on 08/08/2010 04:26, refers to #5

I think the command is clearmodel. using that should force the engine to reload it, with the cfg.

reply to this message

   Board Index   


Unvalidated accounts can only reply to the 'Permanent Threads' section!


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
53864650 visitors requested 71639794 pages
page created in 0.018 seconds using 10 queries
hosted by Boost Digital