War game

springo
16 Aug 2004, 21:18
i need help on my game the Battle of war.
i cant make a way to allow each player to pick a team and not hurt their own team. i would very much appriciate it if some one helps me for it is very important that i finish this game. im using the attack system in the help file provided with quest so if anyone and adapt to that i thank u. :?: :roll:

007bond
18 Aug 2004, 05:16
That would be very hard to do. Could you give us some more info on this war game? For eg, is your game a multiplayer game?

GameBoy
18 Aug 2004, 10:17
springo wrote:i need help on my game the Battle of war.
i cant make a way to allow each player to pick a team and not hurt their own team. i would very much appriciate it if some one helps me for it is very important that i finish this game. im using the attack system in the help file provided with quest so if anyone and adapt to that i thank u. :?: :roll:


Have an if statement in the attack system where if a player's alignment is equal to your alignment, then make the attack miss or something.

You could do this by using strings, and i assume you would put something like, if the player alignment is equal to self alignment, attack misses. I haven't used ASL in a while again, so i can't write any code for you.

springo
18 Aug 2004, 14:50
It is multi player
im thinking about using flags for the teams like a team_on then i need help checking it for each player u attack

007bond
18 Aug 2004, 23:08
I guess strings or flags would work, but it would take a lot of coding. I'd love tohelpbutI code Single Player games only. I don't do multi-player yet. Do you have experience at using ASL? If not you should probably stick to single-player games first so you can get some experience.

GameBoy
20 Aug 2004, 11:26
agreed with bond, start on single player games.

Cryophile
09 Sept 2004, 19:50
Small single player games. My first games sucked. Really bad too. They were Earthquake 1 and 2 in the games archive. The source code I sent you should get you started ;)

springo
10 Sept 2004, 15:04
thanks slayer i hope it will help