Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Mervbot rotate

 
Post new topic   Reply to topic Printable version
 View previous topic  Warning: Post :: Post substats download?  View next topic  
Author Message
Maverick
broken record


Age:40
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Mon May 23, 2005 8:50 am    Post subject: Mervbot rotate Reply to topic Reply with quote

Simple, small question:

How can I make a bot rotate itself? I can't figure it out icon_confused.gif
It can't be done with tell(botEvents), maybe with me->move() method?
_________________
Nickname: Maverick (I changed my name!)
TWCore developer | Subspace statistics
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Muslum
Guest


Offline

PostPosted: Mon May 23, 2005 11:40 am    Post subject: Reply to topic Reply with quote

me->d (0-39)
Back to top
Underlord
Novice


Gender:Gender:Male
Joined: Feb 17 2004
Posts: 55
Offline

PostPosted: Tue May 24, 2005 7:54 am    Post subject: Reply to topic Reply with quote

Code: Show/Hide

// put bot in ship
tell(makeShip(1));
tell(makeFollowing(false));
tell(makeFlying(true));

// change ship angle
me->d = 20;  // 0-40

// have bot send position packets (spawn.cpp)
case EVENT_PositionHook:  {

  tell(makeSendPosition(true));
}
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Maverick
broken record


Age:40
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Tue May 24, 2005 2:27 pm    Post subject: Reply to topic Reply with quote

thanks to both icon_smile.gif
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Bot Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can 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
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 68 page(s) served in previous 5 minutes.

phpBB Created this page in 0.532516 seconds : 29 queries executed (95.1%): GZIP compression disabled