Re: [hlcoders] Add a text property to certain game objects

2014-05-13 Thread Krzysztof Lesiak
Programmingmailto:hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] Add a text property to certain game objects You can extend a class like CBaseAnimating, add a member variable, and then expose it with the DATADESC macros and your FGD file. From: wave@hotmail.com To: hlcoders@list.valvesoftware.com

Re: [hlcoders] Add a text property to certain game objects

2014-05-12 Thread eric brown
You can extend a class like CBaseAnimating, add a member variable, and then expose it with the DATADESC macros and your FGD file. From: wave@hotmail.com To: hlcoders@list.valvesoftware.com Date: Sun, 11 May 2014 22:40:46 + Subject: Re: [hlcoders] Add a text property to certain game

[hlcoders] Add a text property to certain game objects

2014-05-11 Thread Krzysztof Lesiak
Hello, I would like to be able to associate (mostly, but not only) text information with objects in the game world and I’m thinking about the best way to do this. Should I add stuff to CBaseAnimating, extend the prop classes or do something completely different? I’d like to be able to set

Re: [hlcoders] Add a text property to certain game objects

2014-05-11 Thread Jesse Oak
As far as the fgd goes you can make modifications to existing entries that are part of the base.fgd you would just have your fgd load in the base.fgd rather then include it in hammer. All you need is @include base.fgd at the top of your fgd. That way hammer knows that yours is using the base.fgd

Re: [hlcoders] Add a text property to certain game objects

2014-05-11 Thread Krzysztof Lesiak
Yeah, I’ve already known about @include, but how would I go on about modifying classes declared in the base (e.g. prop static) in my own fgd? Declare it again and add some stuff I need for my purposes? From: Jesse Oak Sent: ‎Sunday‎, ‎11‎ ‎May‎, ‎2014 ‎23‎:‎49 To: