War game

springo
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
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
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
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
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
agreed with bond, start on single player games.

Cryophile
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
thanks slayer i hope it will help

This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums