ID:150680
 
I need to know these, or if they are even possible, to make Strategic Intervals. Sorry about asking but I really can't figure these out, if you don't want to help stop here :(.
Anyways, I want to know how or what to use in order to make a player on the red team not to be able to see the game pieces on the blue team(I want the blue team player to see the ships, but the red team to see question mark icons that I made). This is a board game.
One more thing, is it possible to allow one person control multiple pieces(move one piece whenever their turn comes up).
Thanx for any help,
-Obliv

(Edited) - I think I know how to do the first question, in the login() and switch(t) just put what shows up there for the team?
Oblivian wrote:
I need to know these, or if they are even possible, to make Strategic Intervals. Sorry about asking but I really can't figure these out, if you don't want to help stop here :(.
Anyways, I want to know how or what to use in order to make a player on the red team not to be able to see the game pieces on the blue team(I want the blue team player to see the ships, but the red team to see question mark icons that I made). This is a board game.

Sounds like you want image.

One more thing, is it possible to allow one person control multiple pieces(move one piece whenever their turn comes up).

Sure. Make each piece an obj, and allow players to select them using the Click proc. Make player mobs invisible, non-dense, and place them all somewhere on the board. Make sure their client.eye is at the center of the board so they can see the whole thing at once. That's basically what I do in Una, Hog, and ShapeShifter.
In response to Air Mapster
Air Mapster wrote:
Oblivian wrote:
I need to know these, or if they are even possible, to make Strategic Intervals. Sorry about asking but I really can't figure these out, if you don't want to help stop here :(.
Anyways, I want to know how or what to use in order to make a player on the red team not to be able to see the game pieces on the blue team(I want the blue team player to see the ships, but the red team to see question mark icons that I made). This is a board game.

Sounds like you want image.

One more thing, is it possible to allow one person control multiple pieces(move one piece whenever their turn comes up).

Sure. Make each piece an obj, and allow players to select them using the Click proc. Make player mobs invisible, non-dense, and place them all somewhere on the board. Make sure their client.eye is at the center of the board so they can see the whole thing at once. That's basically what I do in Una, Hog, and ShapeShifter.

I get most of this, but on the client.eye I dont know where to put it.. i did this after the login() logout().
client
eye = locate(20,20,1)

I get an error,
strategy.dm:29:error::expected a constant expression

forgot what constant expression is lol.
In response to Oblivian
forgot what constant expression is lol.

a constant expression is.. well, constant. it doesn't change.
In response to Oblivian
Oblivian wrote:
I get most of this, but on the client.eye I dont know where to put it.. i did this after the login() logout().
client
eye = locate(20,20,1)

I get an error,
strategy.dm:29:error::expected a constant expression

forgot what constant expression is lol.

A constant expression is something that never changes. Any number like 45, 852, etc is a constant expression. So is any text string like "blah" and "I rule." Anything that is the result of a proc or the value of another variable could possibly change, therefore it is not constant. Thus, the result of locate() is not a constant, so you can't assign that result to the value of client/eye at compile time.

What you want to do is assign the value of the mob's client.eye in Login():

mob/Login()
// all your login code here...
src.client.eye = locate(20,20,1)

That way it gets set at run time rather than compile time.
In response to Air Mapster
Ooh, Ooh, I wanna know somting...

How do I make my "eye" larger?

I want to see more map and less text on the screen.

Can this be done?

In response to Lord of Water
Lord of Water wrote:
Ooh, Ooh, I wanna know somting...

How do I make my "eye" larger?

I want to see more map and less text on the screen.

Can this be done?


set world.view i think
In response to XgavinX
XgavinX wrote:
forgot what constant expression is lol.

a constant expression is.. well, constant. it doesn't change.

ok, thanx for the info :)