Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (AndrewAMD, alibaba, Konsti, 2 invisible), 1,418 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Is it possible to hide MED groups at runtime? #222011
08/17/08 15:10
08/17/08 15:10
Joined: Nov 2006
Posts: 45
Germany
Tracker Offline OP
Newbie
Tracker  Offline OP
Newbie

Joined: Nov 2006
Posts: 45
Germany
I have made a human model which consists of 5 groups in MED
(body, sunglasses, headset, pistol, holster).

I know, I could delete e.g. the group 'sunglasses', save the result in a new model and change the models with entmorph at runtime.

But I would like to know, whether it is possible to hide groups at runtime.
In this case, I could use one single model and could hide or unhide the accessories if required.
Is it possible to hide groups in Lite-C at runtime and if not, is this feature planned in near feature?



3DGS A7.85 Com
Re: Is it possible to hide MED groups at runtime? [Re: Tracker] #222574
08/19/08 23:46
08/19/08 23:46
Joined: Mar 2008
Posts: 67
crumply Offline
Junior Member
crumply  Offline
Junior Member

Joined: Mar 2008
Posts: 67
Hmmm, I am a total newbie but could you not put bones at places where you would attach/detach model and then do vec_for_bone()?

Re: Is it possible to hide MED groups at runtime? [Re: crumply] #222579
08/20/08 00:03
08/20/08 00:03
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
cant you just replace the skin of the sunglasses group, but change it to a skin that has 0 alpha, so it is transparent?

You can replace skins at runtime. Search the manual.

Last edited by DJBMASTER; 08/20/08 00:03.
Re: Is it possible to hide MED groups at runtime? [Re: DJBMASTER] #222762
08/20/08 21:52
08/20/08 21:52
Joined: Nov 2006
Posts: 45
Germany
Tracker Offline OP
Newbie
Tracker  Offline OP
Newbie

Joined: Nov 2006
Posts: 45
Germany
Thank you for your hints! smile

@crumply
It's a pity, but I can't use bones functions.
I made this model with Milkshape and imported it in MED.
Unfortunately the mesh at some bones animations is deformed.
Therefore I converted the bones animations in vertex animations.
The vertex animations work fine for me.
Perhaps I could use vertex functions like vec_for_vertex to mark the points of the group and hide the mesh, but it's complecated.
It would be much easier the hide a group over its group number, but it seems that Lite-C has no function to allow this.

@DJBMASTER
It's a nice idea the use transparent skins and make them invisible.
I'll try it out. smile


3DGS A7.85 Com
Re: Is it possible to hide MED groups at runtime? [Re: Tracker] #222765
08/20/08 22:30
08/20/08 22:30
Joined: Mar 2008
Posts: 67
crumply Offline
Junior Member
crumply  Offline
Junior Member

Joined: Mar 2008
Posts: 67
You should request it as a new feature in the requests forum! They might say yes!

That's a nice model btw, do you know a tutorial where I could learn to make one like that?

-Ed

Re: Is it possible to hide MED groups at runtime? [Re: crumply] #222930
08/21/08 17:08
08/21/08 17:08
Joined: Nov 2006
Posts: 45
Germany
Tracker Offline OP
Newbie
Tracker  Offline OP
Newbie

Joined: Nov 2006
Posts: 45
Germany
@crumply
I'm glad if you like my model. smile
Before I bought GameStudio, I learned to build human models in Milkshape and Ultimate Unwrap with the Counterstike Girl Tutorial.
The CS Girl Tutorial contains about 140 pages and 650 screenshots.
I don't know, if the download links still work, but you can watch the online version here:
CS Girl Tutorial
The big problem with Milkshape is, to export a model with animations correctly to MED.
The only useable way is to use the "Milkshape 3D ASCII Export".
Today, I think, it would be better, to create the whole model in MED.

But this is the wrong thread to discuss this.

My problem is, how to hide MED groups in Lite-C.
There are different commands in MED to hide selected groups (e.g. hide selected, hide unselected, flip, show all).

I would be glad, if anyone of the GameStudio developers would read this and could give me a hint, how to hide MED groups at runtime with Lite-C. smile


3DGS A7.85 Com

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1