3D Game Studio question.

Programming, for all ages and all languages.
Post Reply
Oliver

3D Game Studio question.

Post by Oliver »

I have a question about the 3D game studio.

I'm making a action game. And I want to do like I wanna put some text on the screen.

like this:

When I kill two guys and then there appears a text on the screen: "Man these guys are strong!".

How do I do this? Do I do this with scripts or can I do it somehow without programming.
Because I don't know anything about programming (well maybe a little), and I mean C++ etc...



PS! It would be also cool if somewould show me how I could load a sound where it sayd :"Man these guys are stong!".

Thanks!

-Oliver
Eero Ränik

Re:3D Game Studio question.

Post by Eero Ränik »

1) RTFM!
2) From the f****** manual:

Code: Select all

string hello = "Hello World!";

text screen_txt // text object for displaying our strings
{
  font = _a4font; // standard font
  pos_x = 5; // text begins at (5,40) screen position (in pixels)
  pos_y = 40;
}

function print(str) // Hdisplay a string parameter on the screen
{
  screen_txt.string = str;
  screen_txt.visible = on;
}

function main()
{
  screen_color.blue = 128; // set a dark blue background
  print(hello); // display the string
}
Oliver

Re:3D Game Studio question.

Post by Oliver »

maybe you should relax a little bit...go to a doctor or something ;)
Joey

Re:3D Game Studio question.

Post by Joey »

lol. i tried using this program before, but i didnt spend much time with it, and couldnt get anything working.

oliver, if you can make a game with it, let me know cause i want to try making one, and maybe you could teach me how you made yours ;D
Joey

Re:3D Game Studio question.

Post by Joey »

i would just like to know how to get a basic game running with that. also, i have done level editing with Unreal, and Return to Castle Wolfenstein, so i know a little bit about that. that may help because i want to make a fps game.
Post Reply