Keen: Modding Forum Index Keen: Modding
All the modding info you'll ever need
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Tank bots shoot at keen

 
Post new topic   Reply to topic    Keen: Modding Forum Index -> Patches: Marooned on Mars
View previous topic :: View next topic  
Author Message
lemm



Joined: 05 Jul 2009
Posts: 532

PostPosted: Sun Sep 13, 2009 4:23 am    Post subject: Tank bots shoot at keen Reply with quote

You can run, but you can't hide! Now the tank bots shoot directly at keen with every shot.

Binary Patchfiles and Patch Script
(Requires dosbox or 386 + 387 coprocessor or better)
Back to top
View user's profile Send private message
levellass



Joined: 11 Oct 2006
Posts: 2053
Location: Ngaruawahia New Zealand

PostPosted: Sun Sep 13, 2009 10:44 am    Post subject: Reply with quote

I suspect more, involving other enemies will appear soon.
Back to top
View user's profile Send private message
Fleexy



Joined: 12 Dec 2008
Posts: 281
Location: Blogham Tower

PostPosted: Thu Oct 29, 2009 12:52 am    Post subject: Reply with quote

Wow! It has a really cool effect when combined with the 'Robot shoots icecubes' patch. Could you make a version that would make Keen's shot seek the nearest living thing (creature)? No more wasted ammo (except on the other side of a wall! I will never miss my target! Bwahahaha!!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
levellass



Joined: 11 Oct 2006
Posts: 2053
Location: Ngaruawahia New Zealand

PostPosted: Sat Oct 31, 2009 8:44 pm    Post subject: Reply with quote

By 'seek' I take it you mean 'Keen always shoots in the direction of the nearest enemy'?
Back to top
View user's profile Send private message
lemm



Joined: 05 Jul 2009
Posts: 532

PostPosted: Sat Nov 07, 2009 11:49 am    Post subject: Reply with quote

That would be harder.

Keen is always at the beginning of the sprites array, so you know where his location is. The nearest enemy could be anywhere in the array.
Back to top
View user's profile Send private message
levellass



Joined: 11 Oct 2006
Posts: 2053
Location: Ngaruawahia New Zealand

PostPosted: Mon Nov 09, 2009 10:25 am    Post subject: Reply with quote

*Smacks head*

THAT'S why my 'Gargs look for not-Keen' patches always failed Awww man!
Back to top
View user's profile Send private message
thehackercat



Joined: 26 Sep 2009
Posts: 69
Location: Mississippi, USA

PostPosted: Tue Dec 22, 2009 4:23 am    Post subject: Reply with quote

Sorry for the necropost..

But would it be possible to recode the sprites array? Maybe if someone worked from the dissassembly they could write a new, improved engine for Keen1 that allows sprites more parameters!

For example purposes, I will write this code in its entirety in HackerCatBASIC.

Code:
CreateSprite("Garg1")
     Garg
          coord == (34,20)

CreateSprite("Garg2")
     Garg
          coord == (27,50)

CreateSprite("Yorp1")
     Yorp
          coord == (5,20)                     

:begin
IF distance_from_Keen_Garg1 is LOWEST,
Make Keen's shot follow Garg1

ELIF distance_from_Keen_Garg2 is LOWEST,
Make Keen's shot follow Garg2

ELIF distance_from_Keen_Yorp1 is LOWEST,
Make Keen's shot follow Yorp1

ELSE goto :begin
Back to top
View user's profile Send private message
Draik



Joined: 26 Jul 2008
Posts: 118

PostPosted: Tue Dec 22, 2009 5:14 am    Post subject: Reply with quote

Um no. It would be near impossible to rewrite that much of Keen in assembly.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
levellass



Joined: 11 Oct 2006
Posts: 2053
Location: Ngaruawahia New Zealand

PostPosted: Tue Dec 22, 2009 5:17 am    Post subject: Reply with quote

The way things are going, it will *be* a totally different engine in a year or two...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Keen: Modding Forum Index -> Patches: Marooned on Mars 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