hacker.org Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
Radio from Cities

 
Reply to topic    hacker.org Forum Index » BitBath View previous topic
View next topic
Radio from Cities
Author Message
TieR



Joined: 24 Jan 2009
Posts: 1

Post Radio from Cities Reply with quote
Hi,
can cities comunicate via radio?
And if not, wouldn't it be a nice feature?
Thanks
TieR
Sun Nov 07, 2010 12:15 am View user's profile Send private message
Kender



Joined: 25 Jun 2009
Posts: 18

Post Reply with quote
Yes, cities can also use the radio.
Sun Tzu uses this so its cities request help from different nearby units based on both the type of enemy unit nearing as well as the terrain type it is on. They also act as relays to pass on information broadcast by nearby bots to make the message travel further.
Wed Nov 10, 2010 8:25 pm View user's profile Send private message Visit poster's website
tails



Joined: 10 Jun 2008
Posts: 191
Location: Tokyo

Post Reply with quote
How do cities cast radio signals?
To my understanding about cities, only "build" is called and "think" is not called. And "build" can only return an integer, thus unabe to cast radio.
Am I missing anything?
Thu Nov 11, 2010 1:17 am View user's profile Send private message
Kender



Joined: 25 Jun 2009
Posts: 18

Post Reply with quote
I had to decompile Sun Tzu since I seem to have lost my sourcefiles, but it seems I simply use
this.radio[x] = y
in my build method.
Thu Nov 11, 2010 7:10 am View user's profile Send private message Visit poster's website
Display posts from previous:    
Reply to topic    hacker.org Forum Index » BitBath All times are GMT
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.