Page 1 of 1

Promblems, problems, problems...

PostPosted: Thu Feb 23, 2006 2:14 am
by duracel92
I'm making an rts game and hit as the title says "problems"
Thank you to everyone who helps or tries to.

1) physical response, i have a thread on support but all the things said do nothing to help... I need the actor to STOP moving when colliding/ed with the border...

2) Creating actors;
I'd like the game to create/ draw actors precisely when needed. I know I will need to use timers for this. But i'm no good with timers. Also when 1 actor 'fires', I do not wish for the actor to be instantly destoryed and allthe other actors of the same kind to be destroyed... Also if 1 actor 'fires'

3) Parameters;
'units' need parameters, I don't know if I am supposed to use variables or timers for this?
e.g. Actor A has parameters of say... 10 damage points and 10 armour points and actor B has 20 damage points and 20 armour armour points. (obviousy by discribing it you would generally know who would win :roll:)
so actor A would be destroyed... and actor B would still be in its position. But actor B's health time/variable would be decreased by a number.

if ur reading this i'm surprised im bored of typing now...

4) Selecting and interface problems;

When a unit is clicked on i.e, selected; I would like an actor (healthbar) that shows the amount of health in both colour and length... There are tutorials but I just get lost half way through.. :(

Thank you for reading... help me!

Oh yeah, I missed this one out... Is it possible using GE to program CPU's so they can; Use terrain to their advantage, know exactly what to move and where... Its probably possible but only with variables...

Re: Promblems, problems, problems...

PostPosted: Thu Feb 23, 2006 9:32 am
by Troodon
duracel92 wrote:I'm making an rts game and hit as the title says "problems"
Thank you to everyone who helps or tries to.

1) physical response
, i have a thread on support but all the things said do nothing to help... I need the actor to STOP moving when colliding/ed with the border...
2) Creating actors;
I'd like the game to create/ draw actors precisely when needed. I know I will need to use timers for this. But i'm no good with timers. Also when 1 actor 'fires', I do not wish for the actor to be instantly destoryed and allthe other actors of the same kind to be destroyed... Also if 1 actor 'fires'

3) Parameters;
'units' need parameters, I don't know if I am supposed to use variables or timers for this?
e.g. Actor A has parameters of say... 10 damage points and 10 armour points and actor B has 20 damage points and 20 armour armour points. (obviousy by discribing it you would generally know who would win :roll:)
so actor A would be destroyed... and actor B would still be in its position. But actor B's health time/variable would be decreased by a number.

if ur reading this i'm surprised im bored of typing now...

4) Selecting and interface problems;

When a unit is clicked on i.e, selected; I would like an actor (healthbar) that shows the amount of health in both colour and length... There are tutorials but I just get lost half way through.. :(

Thank you for reading... help me!

Oh yeah, I missed this one out... Is it possible using GE to program CPU's so they can; Use terrain to their advantage, know exactly what to move and where... Its probably possible but only with variables...


Physical response: Have you tried to make xvelocity and yvelocity zero?
Health meter: I think you should do a healt variable for each actor. I'd do the health meter with numbers.

Create actor: If you mean that the actors are created randmly in random time you need timer(s).

Re: Promblems, problems, problems...

PostPosted: Thu Feb 23, 2006 4:25 pm
by duracel92
tekdino wrote:Physical response: Have you tried to make xvelocity and yvelocity zero?
Health meter: I think you should do a healt variable for each actor. I'd do the health meter with numbers.

Create actor: If you mean that the actors are created randmly in random time you need timer(s).


Physical responses never work... sometimes the stop the actor for maybe a second and then the actor can still travel...

Health: I was thinking that but i'm not sure how to do it... I'll try using the tutorial that was posted...

Create actor: This situation is when actor A looks at actor B from a distance and a 'gunfire' actor is created...

PostPosted: Sun Feb 26, 2006 11:13 pm
by plinydogg
duracel92,

I encountered numerous problems with physical response similar to what you're encountering, and changing the numbers (mass, velocity, etc.) didn't fix the problem either. As far as I know, the only thing that can fix the problem is to make the thing your actor runs into a lot thicker. In my case, this was just too thick. In the end, I just decided not to include that aspect in my game. Sorry I can't tell you anything more useful :(

Good luck!