Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - jamesreg

#61
I have a character portrait gui in the corner of my game screen
I have it set up so that if the player clicks on the portrait of the player character then it will display a gui with the inventory in it
how would I go about making it disapear after a few mins if the player has not used the inventory?
#62






function room_AfterFadeIn()
{
 mouse.Visible = false;      //turns mouse off

RemoveWalkableArea (1);     //keeps player from moving

SetMusicRepeat(0);

PlayMusic(1);            //play star trek theme

SetBackgroundFrame(0);      //switch to title screen 1

Wait(650);                  //wait for a moment

SetBackgroundFrame(1);      //switch to title screen 2

Wait(500);                  //wait for a moment

SetBackgroundFrame(2);      //switch to title screen 3

Wait(300);                 //wait for a moment

SetBackgroundFrame(3);      //switch to title screen 1

Wait(400);        

SetBackgroundFrame(4);      //switch to title screen 1


mouse.Visible = true;       //Restores Mouse usage

player.Transparency=(0);    //make character visable

PlaySound(1);               //play transporter sound
 
 
 ckirk.LockView(VKIRKBEAM1); //sets kirks transporter sprite view
 cSpock.LockView(VSPOCKBEAM1); //sets spocks transporter sprite view
cmccoy.LockView(VMCCYBEAMDOWN);    //sets mccoys beam down sprite view
cscotty.LockView(VSCOTTYTRANS); //sets scottys beam down sprite view
cCheckov.LockView(VCHECKOVBEAM);//sets checkovs beam down sprite view
cuhura.LockView(VUHURABEAM);//sets uhuras beam down sprite view
csulu.LockView(VSULUTBEAM);//sets sulus beam down sprite
csecurity.LockView(BEAMDEAD);//sets security guards beam down sprite


 ckirk.Animate(0, 5, eOnce,eNoBlock); // show kirks transporter beaming in effect under title
 cSpock.Animate(0, 5, eOnce, eNoBlock); //shows spocks transporter beaming in effect and allows next player to beam
 cmccoy.Animate(0,  5, eOnce, eNoBlock);//Shows mccoys transporter beaming in effect and allows next player to beam in
 cscotty.Animate(0, 5,  eOnce, eNoBlock);//shows scottys transorter beaming in effect and allows next player to beam
 cCheckov.Animate(0, 5, eOnce, eNoBlock);//shows checkovs beam down effect and allows next person to beam into view
 cuhura.Animate(0, 5, eOnce, eNoBlock);//shows uhuras beam down effect and allows next person to beam into view
 csulu.Animate(0, 5, eOnce, eNoBlock);//shows sulus beam in effect
 
 Wait(200); //wait a moment and allow crew to beam in before security gaurds beaming starts
 
 
 PlaySound(1); //play transporter sound for security gaurd beaming
 //PlaySound(2); //plays security guards death scream
 
 csecurity.Animate(0, 5, eOnce, eBlock); //shows security guards beam in effect
 
 PlaySound(2); //plays security guards death scream
 
 csecurity.LockView(PHASERKILL); //sets security guards to phaser death view
 
 csecurity.Animate(0, 5, eOnce, eBlock);//plays security guards death scene by disintigration
 
 PlaySound(3); //play sound mccoy hes dead jim
 
// ckirk.LockView(VKIRKWALK); //Locks kirks view so he is frozen on screen
 
}



function hnewgame_AnyClick()
{
PlayVideo("final.mpg", eVideoSkipEscKey, 1); //play space the final frontier intro video


}

function hloader_AnyClick() //open restore game box

{
RestoreGameDialog();


}
#63
I want to have two buttons on my start screen a play new game button and a continure Previous game button.

I was able to set up the start new game button button but I can not figure out how to make the previous game button open the load game gui I am using default game and my area that I wish to use as my load previous game button is a clickable hotspot.

What do I need to do to get it to open the restore game screen when a player clicks on that hotspot

Thanks you
#64
Hello all,

I want to have a hotspot on the screen and have the user be able to click it and then want a sound file to play but I wish to have several optional sound files to play and have ags pick at random which one will play when the player clicks that hotspot. Hope that made sense.

Im sure its very easy to code but I just got to the point of learning to make one sound file play lol.

Could someone be kind enough to possibly show me how I would achieve what I want.

Thank you in advance
#65
I know this is probably listed somewhere but having trouble finding it and the commands I think do it don't work

If I am doing a scene where I have a character appear on screen via an animation sequence then I do not want the
player to be able to move the character I just want him frozen on screen but i still want you to be able to move the mouse and do other things on the screen how do i do this

I know this is simple as pie just not for me lol
#66
Ok,

I have a problem I am making a Star Trek game and I am attempting to create a Scene where Kirk, Spock, McCoy beam down to a planet
Fairly basic Trek scene that will be used though out the game.

I have all my beaming down sprites cycles and have scripted it in so that kirk beams down no problem even have the sound playing and its all timed just right.

My problem lays in when I add spock to it what happens is spock appears on screen in his normal standing view waits for kirk to go though the beam down cycle and then spock goes into beam down cycle after kirk has. I need them to both do it at the same time

here is what I scripted and I am sure I left a lot of things out I am totaly new to scripting and figuring most of this out as I go.

function room_AfterFadeIn()
{
  PlaySound(1);
  ckirk.LockView(VKIRKBEAM1);
   ckirk.Animate(0, 5, eOnce);
   cSpock.LockView(VSPOCKBEAM1);
   cSpock.Animate(0, 5, eOnce);
}


I will need to script this so I can have multiple people going though the beam down cycle at the same time I am sure it is simple just do not know what to add.

thank you.
#67


Official Website www.startrekadventures.com/yearone

Teaser Trailer http://www.youtube.com/watch?v=w4NpWmO4Oj0
Teaser trailer 2 http://www.youtube.com/watch?v=RkBnJJdLCa0

Official Demo Download  http://www.startrekadventures.com/yearone/index.php?option=com_content&view=article&id=75&Itemid=77



If you download the demo please help us improve the series by voting in our poll section on our website
These polls were designed to give us the quickest feedback on specific issue of the game series and wouuld
help us a lot and only take a couple moments of your time thank you.

http://www.startrekadventures.com/yearone/index.php?option=com_apoll&view=apolls&Itemid=93

Get prepared to go warp speed with the original crew of STAR TREK as you remember them!  Including Captain
James T. Kirk, Commander Spock, Dr. Leonard 'Bones' McCoy and others.  You will relive the marvelous adventures
of the Starship Enterprise as you travel through space directing space battles, firing hand phasers, solving puzzles,
exploring the galaxy and much more in this nostalgic voyage.

Whether you are a die-hard Trek fan or just mildly interested; the beautiful artwork, design and incredible musical
score of this classic point & click adventure leaves something everyone is sure to enjoy!  STAR TREK ADVENTURES:
YEAR ONE promises to boldly take you where no Star Trek game has ever gone before!

Game Information

Star Trek Adventures: Year One is a freeware
point-and-click adventure game.  Actually, it is being
developed to be a series of games.  The games are
going to be released as "missions".  Each "mission"
will be based on an episode from Gene Roddenberry's
Star Trek: The Original Series television program.

The first mission that is due to be released is based
off of the episode "Arena".  All missions will have
at least one demo released so fans may get a glimpse
of the gameplay/story before the full mission is actually
released.


The Story

Star Trek Adventures: Year One is being developed as a series
of games(called Missions).  Although each Mission will have it's own
unique story line (which you can read about on the download
page), below you can find a general synopsis for all  of the Missions.

The Plot
Space, the final frontier. These are the voyages of the
Starship Enterprise. Its five year mission, to explore
strange new worlds, to seek out new life and new
civilizations, to boldly go where no man has gone
before.

The Setting
Set in the year circe 2265, The crew of the Enterprise
has set out on the first year of their historic five year
mission and will explore planets and interact with alien
life forms. They will interact with other crew members
aboard ship. Travel around the ship will be conducted
using turbo-lifts and corridors. To travel to planets, the
landing party will use either the transporter or a
shuttlecraft.

The Overall Structure
This game is a point and click adventure game set in
the Star Trek TOS universe. The player will assume the
role of one of the main Star Trek TOS characters and
explore and interact with the environment in a graphical
adventure. He/she will progress through the game solving
puzzles and manipulating objects in order to complete tasks
that will solve the mysteries throughout the game. The player
will be represented in third person. He/she will be free to
move about the ship and other locations to interact with other
players/characters. Game is designed with strong role play in
mind. Players will be able to play as all characters from the
Star Trek universe that they have come to love. The players
will travel to distant locations in search of answers to solve the
mystery which drives the game.

Game Features

-  Original graphics and GUI
-  Tons of puzzles to solve
-  Communicate with anyone in your team using your
  communicator
-  Set your phaser pistol from stun to kill or vice versa
-  Play as multiple characters
  (including Kirk, Spock, & McCoy)
-  Utilize McCoy's medical kit and Spock's tricorder
-  Find hidden "easter eggs"
-  Command space battles
-  Authentic original musical score
-  Animated cut scenes


System Requirements

-  Windows 2000, XP, Vista and Windows 7
-  800x600 resolution
-  32-bit true color
-  Sound Blaster compatible sound card & speakers
-  100-200 mb hard drive space


Join us at www.startrekadventures.com/yearone today


Development Team

This is our team as of now.  If you think you have a skill that
you can lend to use then please e-mail us at
startrekadventures@gmail.com


James "JamesReg" Regaldo
project leader & lead programming
James is the project leader and he is in charge of the way the game is put together.  He does all of the organizing, planning, and programming for the project.  He has come up with intriguing ideas that has made this project unique and fun! James is new to the AGS engine but has caught on very quickly and has been scripting his little heart out to meet the deadlines we've set.  Even though he's new to AGS, he hasn't limited himself to the basics of programming.  This game series features many of the features that every adventure game should have!


You may recognize XCalPro as the creator of many of the Star Trek TOS models currently available to the Poser community. He joined the project in 2009 and since then has created most of the background and sprite art seen in Star Trek Adventures fan project. Tony creates much of the art we need, and also provides technical assistance in some of the programming aspects of the game. He has worked on other game projects in the past and brings his experience in game development process to the team.


Andrew "DrewCCU" Smith
music/sound, additional art & promotions
Andrew is an exciting addition to the project.  He has been noted as "bringing this thing to life".  He has assisted with some cut scene animations and designing the GUI for the games.  Andrew is also the lead webmaster and promotions advisor.  But his greatest talent he has brought to the table is music and sound effects.  Andrew has composed a musical score for this project that delivers that desired nostalgic Star Trek feel.  You will feel as if you are actually back in time with the crew of the Enterprise when you play this game thanks to Andrew's score.


Brought to you by

www.games4fans.com
www.xcalpro.com
www.factor8studios.com

Official game site www.startrekadventures.com/yearone


And now the screen shots.





































SMF spam blocked by CleanTalk