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
Hmm

 
Post new topic   Reply to topic Printable version
 View previous topic  Hockey Plugin Post :: Post question  View next topic  
Author Message
Azian Samurai X
Thread Necromancer in Training



Gender:Gender:Male
Joined: Jun 21 2004
Posts: 20
Offline

PostPosted: Tue Jul 13, 2004 9:23 pm    Post subject: Hmm Reply to topic Reply with quote

How do I make bots actually Die!!! if you shoot them. When I put them on turret mode, they just shoot at nmes have 0 nrg so they can never die... Any plugins for bots to die?
Back to top
View users profile Send private message Add User to Ignore List
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Tue Jul 13, 2004 10:17 pm    Post subject: Reply to topic Reply with quote

Make a plugin that detect's a bots supposive energy; subtract weapon hits; add recharge, you've got a deathable bot. tongue.gif
_________________
Performance is often the art of cheating carefully. - James Gosling
Back to top
View users profile Send private message Add User to Ignore List
Matzke
Novice


Joined: Jan 26 2004
Posts: 88
Offline

PostPosted: Tue Jul 13, 2004 10:24 pm    Post subject: Reply to topic Reply with quote

i think there's some out there, maybe not on sites but i think 50% PL has one, cause Wormhole Surfer told me he made one for the one in his zone SSZ Sin City(3D) and there's two bots there that have energy and die
_________________
z0rz
Back to top
View users profile Send private message Add User to Ignore List AIM Address
50% Packetloss
Server Help Squatter


Age:40
Gender:Gender:Male
Joined: Sep 09 2003
Posts: 561
Location: Santa Clarita, California
Offline

PostPosted: Wed Jul 14, 2004 12:12 am    Post subject: Reply to topic Reply with quote

Both bots that detect damage are mine, Sin City and Monster bot in MK. Its not as simple as the *watchdamge because bots dont send that packet. So what has to be done is to calculate where a weapon is going in event_playerweapon. A player fires a weapon, i use some of catid's forumlas in SSBot2 to figure out where the bullet/bomb is going. Then a formula to judge if the weapon was close enough to the ship's diameter to impact. If a weapon is going to hit, it calculates damage and then the time it will take for the weapon to get to the bot's location. Then in event_positionhook it will go through the weaponlist to calculate any damage if a weapon hit.
The formulas are far from perfect and there is a lot to add still. Plus i need to go back through the code and fix some stuff, but for Sin City's purposes it works perfect.
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
Mr Ekted
Movie Geek


Gender:Gender:Male
Joined: Feb 09 2004
Posts: 1379
Offline

PostPosted: Wed Jul 14, 2004 12:55 am    Post subject: Reply to topic Reply with quote

You also have to factor in shrapnel, weapon/shrap bounce, proximity, weapons hitting other ships, etc.
_________________
4,691 irradiated haggis!
Back to top
View users profile Send private message Add User to Ignore List
50% Packetloss
Server Help Squatter


Age:40
Gender:Gender:Male
Joined: Sep 09 2003
Posts: 561
Location: Santa Clarita, California
Offline

PostPosted: Wed Jul 14, 2004 1:24 am    Post subject: Reply to topic Reply with quote

yah, there is a lot that it cant do. It takes bullet and bomb damage if they hit directly. No bouncie anything, no repping bombs into it, no mines, no thors, there is an endless amount of code that would be required for the bot to keep track of everything.
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
Azian Samurai X
Thread Necromancer in Training



Gender:Gender:Male
Joined: Jun 21 2004
Posts: 20
Offline

PostPosted: Wed Jul 14, 2004 8:09 am    Post subject: Reply to topic Reply with quote

lol complex
Back to top
View users profile Send private message Add User to Ignore List
D1st0rt
Miss Directed Wannabe


Age:37
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Wed Jul 14, 2004 9:44 am    Post subject: Reply to topic Reply with quote

Maybe priit could release some of his physics engine? (lol)
_________________

Back to top
View users profile Send private message Add User to Ignore List Visit posters website
50% Packetloss
Server Help Squatter


Age:40
Gender:Gender:Male
Joined: Sep 09 2003
Posts: 561
Location: Santa Clarita, California
Offline

PostPosted: Wed Jul 14, 2004 10:23 am    Post subject: Reply to topic Reply with quote

nah, its not hard to figure out. Just lots of writting and some trig
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
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: 81 page(s) served in previous 5 minutes.

phpBB Created this page in 0.474764 seconds : 33 queries executed (94.2%): GZIP compression disabled