Re: game_text entity and CS
Posted by Wild Card on
Sun Feb 8th 2004 at 6:44pm
2321 posts
391 snarkmarks
Registered:
May 20th 2002
Occupation: IT Consultant
Location: Ontario, Canada
Ok, first off, Im not a moron (wait a minute... :biggrin: )
I know how to make text appear on screen. The wonderfull game_text entity.
However for my CS map, I want to have several messages displayed to the players. 1 message to a single player at the start (cause he will trigger a trigger_once brush) then a few other messages to both the CT's and the T's.
But in the CS .fgd there is no game_text entity. :sad: How do I get text to the player then? Or can I load both the HL and CS .fgd's at the same time?
Re: game_text entity and CS
Posted by Gollum on
Sun Feb 8th 2004 at 6:53pm
Gollum
member
1268 posts
525 snarkmarks
Registered:
Oct 26th 2001
Occupation: Student
Location: Oxford, England
The FGDs should be irrelevant, in the sense that loading a FGD file does not "give" you any actual game entities.
Presumably the CS FGD is correct, and therefore not only is there no game_text entity listed in the FGD, but further there is no game_text entity supported by the game.
Re: game_text entity and CS
Posted by Wild Card on
Sun Feb 8th 2004 at 6:54pm
2321 posts
391 snarkmarks
Registered:
May 20th 2002
Occupation: IT Consultant
Location: Ontario, Canada
so how do I display a message to the player?
Re: game_text entity and CS
Posted by Dr Brasso on
Sun Feb 8th 2004 at 6:55pm
1878 posts
198 snarkmarks
Registered:
Aug 30th 2003
Occupation: cad drafter
Location: Omaha,NE
write em a note....western union is kinda expensive tho.../runs like hell...
Doc B... :dodgy:
Re: game_text entity and CS
Posted by Wild Card on
Sun Feb 8th 2004 at 6:57pm
2321 posts
391 snarkmarks
Registered:
May 20th 2002
Occupation: IT Consultant
Location: Ontario, Canada
Tosses Doc B a brick :razz:
Re: game_text entity and CS
Posted by Leperous on
Mon Feb 9th 2004 at 11:30am
Posted
2004-02-09 11:30am
Leperous
Creator of SnarkPit!
member
3382 posts
1635 snarkmarks
Registered:
Aug 21st 2001
Occupation: Lazy student
Location: UK
The game_text might still be supported; try making a working one for another mod and copying it into a CS map (so all its keyvalues and properties are kept)- keep it simple though so that your chances are highter :wink: If it doesn't work then I guess you're screwed. And if it does, copy over the relevant part from the Half-Life FGD to make life easier.
Re: game_text entity and CS
Posted by matt on
Mon Feb 9th 2004 at 2:50pm
matt
member
1100 posts
246 snarkmarks
Registered:
Jun 26th 2002
Occupation: Student!
Location: Edinburgh
erm why not use the half life fgd to create the entity, then switch back to cs. Ok that probably won't work.
Re: game_text entity and CS
Posted by Monqui on
Mon Feb 9th 2004 at 3:25pm
Monqui
member
743 posts
94 snarkmarks
Registered:
Sep 20th 2002
Occupation: Poor College Student
Location: Iowa, USA
Actually, you may be able to pull that off. I know that there is on-screen text, but I'm not sure how it works. I know that it exists, because at the very beginning, there is some text on the screen telling you what to do.
It's worth a shot at least.
Re: game_text entity and CS
Posted by Wild Card on
Mon Feb 9th 2004 at 6:51pm
2321 posts
391 snarkmarks
Registered:
May 20th 2002
Occupation: IT Consultant
Location: Ontario, Canada
Lep I'll try your idea ASAP.
I know you can pull off messages with the env_message (or whatever the entity is called) cause they do that in HL single player but I dont know how to use that entity.
Can I add the HL fgd into a CS map?
Re: game_text entity and CS
Posted by omegaslayer on
Mon Feb 9th 2004 at 9:46pm
2481 posts
595 snarkmarks
Registered:
Jan 16th 2004
Occupation: Sr. DevOPS Engineer
Location: Seattle, WA
Well you could download the newest fgd for cs, or it seems like the text entity code isn't in the fgd itself, you can edit it by changing the .fgd to .txt to look at the code (im probably using the wrong context) then insert the "code" for the text entity into the cs fgd. but make sure you change the cs fgd from .txt back to .fgd, ohh and make a copy of the ORGINAL fgd, just in case you f-up.
Re: game_text entity and CS
Posted by Crono on
Mon Feb 9th 2004 at 10:07pm
Posted
2004-02-09 10:07pm
Crono
super admin
6628 posts
700 snarkmarks
Registered:
Dec 19th 2003
Location: Oregon, USA
. . . . or you could just open it directly in a text editor of some sort lol.
(Sorry, Omega, I'm not picking on you, but come on)
Also, if I'm not mistaken the FGD is a text listing for the EDITOR to see what the game can do, not the other way around. Meaning if you did get it to work, you could possibly be the only person who would be able to play your map, being that other people don't have the same configuration. Although I could be wrong and the code could be generated whenst you run HL. . .
Re: game_text entity and CS
Posted by omegaslayer on
Mon Feb 9th 2004 at 10:14pm
Posted
2004-02-09 10:14pm
2481 posts
595 snarkmarks
Registered:
Jan 16th 2004
Occupation: Sr. DevOPS Engineer
Location: Seattle, WA
once again blame microsoft for making things so complicated, look what they did 2 me...... Now I think too complicated (not trying to make mysel sound smart), but even if you edit the fgd,....the only reason why the fgd is there is to tell the HL engine what entities to use, so if there is a text entity in cs then it should work, but dont follow me im too stupid to know what the hell is going on these days.
Re: game_text entity and CS
Posted by Crono on
Wed Feb 11th 2004 at 10:35pm
Posted
2004-02-11 10:35pm
Crono
super admin
6628 posts
700 snarkmarks
Registered:
Dec 19th 2003
Location: Oregon, USA
wow. . .such hostility.
Ah, they deserve it for the most part. BUT, no need to senslessly rat on them. Because after all there's an 85% probability that you're using Windows to make these posts. Microsoft might just flip that "blow up computers" switch and inadvertantly blow up the world lol
If I had this amount of power I'd definatly have something like that installed :biggrin:
jk, I'm not psycho, I swear . . . Tyler made me do it :biggrin:
"You can blow up just about anything with enough soap."