Server Help

Bot Questions - Turret Limiting Bot

Anonymous - Sun Dec 28, 2003 5:10 pm
Post subject: Turret Limiting Bot
Loha,

Working on a new zone etcetera etcetera
Anyway I was wondering if its possible for a bot to disallow attaching to a player unless its within a certain radius, im thinking this is a server function only but i was just wondering...

Its basically so that a Ship can load/unload to a carrier But only if its near to it. So that ships cant jump across the map to attach.

My other option i suppose is being fiddly with Anti-Warp fields. But that could be a bit nasty.

Oh Not the right Section but how does one replace the background graphic without overlaying an image using lvz

Thanks

-Manic
Manic090 - Sun Dec 28, 2003 5:42 pm
Post subject:
Just Another Quickie.

Is is possible for a bomb to explode after its time has expired. Some way of fooling it that its hit a proximity distance?

Thanks

-Manic
Dr Brain - Sun Dec 28, 2003 10:18 pm
Post subject:
All impossible with Subgame2. Some are possible with ASSS, but you don't want to get into that without working with subgame a LOT.
knightrider01 - Sun Dec 28, 2003 10:24 pm
Post subject:
Which might mean some lag.
Cyan~Fire - Sun Dec 28, 2003 11:23 pm
Post subject:
ASSS is not laggy in theory... and by time you learn how to write modules in it, it won't be laggy anymore. icon_razz.gif
SuSE - Sun Dec 28, 2003 11:42 pm
Post subject: Re: Turret Limiting Bot
Manic wrote:
Oh Not the right Section but how does one replace the background graphic without overlaying an image using lvz


http://forums.minegoboom.com/viewtopic.php?p=13079#13079
Anonymous - Mon Dec 29, 2003 6:52 pm
Post subject:
you could imitate all of those behavoirs using a bot, yes

dr brain is too pesimistic

-------
for the attach radius thing you could have to bot store where everyone's last position is and when they attach check if they are close enough... if they are not then you can sc them twice... making them unattach and then use *warpto to warp them to their old spot. their ship would be reset but that isn't an issue in most zones since people don't have to "green" their ship. Their velocity would be changed to zero and people might abuse it as a quick brake. you could punish them for doing this by giving them an engine shutdown or steal all their energy(with a prize)

------------------------
for the background it has already been answered but it's just pretty much use an lvz to override the default background and just make it a 1x1 black (transparent) tile. the lvz size would be tiny (like only a few K)

--------------------

for the bombs exploding you could have them disappear using a server setting after a certain amount of time.

or if you want them to explode you could keep track of the bombs position and velocity... since these don't change (unless affected by a repel or wormhole) you can accurately predict where the bomb will be after a certain time. Then have the bot go in after x seconds in the predicted spot and the bot will get "hit" by the bomb causing it to explode. then the bot specs and your effect is achived.

of course you need a pretty good programmer to do most of this... so good luck icon_smile.gif still it's not impossible
Manic090 - Tue Dec 30, 2003 6:45 am
Post subject:
No Problems. Doing it in asss.
Thanks Everyone

-Manic
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group