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 

Shockshund

 
Post new topic   Reply to topic    Keen: Modding Forum Index -> Galaxy Requests and Discussion
View previous topic :: View next topic  
Author Message
Flyingmouse



Joined: 05 Aug 2009
Posts: 49

PostPosted: Tue Sep 22, 2009 10:46 pm    Post subject: Shockshund Reply with quote

I need five patches for the shockshund:

-Strength patch for shockshund.

-Horizontal jump speed for shockshund.

-Make the shockshund spawn a mine on death without crashing the game.

-Make the standing behavior for the shockshund the Shikidai Master's teleport, and then turn back into a shockshund.
Edit: I found this already.

-Shockshund randomness of stopping.
Back to top
View user's profile Send private message
levellass



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

PostPosted: Thu Sep 24, 2009 8:08 pm    Post subject: Reply with quote

*Rubs hands together*

Well, these are mostly easy:

Code:
#Shocksund strength
%patch $1328A $02 $00



Simple enough to get, strength is set when a sprite is spawned.

Code:
#Shocksund jump speeds:
%patch $132FA $28 $00 #Right speed (On flat ground)
%patch $13301 $D8 $FF #Left speed (On flat ground)
%patch $13306 $D8 $FF #Upwards speed (On flat ground)
%patch $13489 $28 $00 #Right speed (At platform's edges)
%patch $13490 $D8 $FF #Left speed (At platform's edges)
%patch $13495 $D8 $FF #Upwards speed (At platform's edges)



Both h and v speeds for the TWO types of jump the Shocksund uses.

Code:
#Shocksund produces a mine when shot
#NOTE: Needs an 'e' mine in-level or game will crash!
%patch $133B7 $2608W #Shikadi mine sit



Remember, there must be an EASY difficulty mine already in the level, otherwise you get a cache error. Being too close to the Hound when it's shot is interesting, as is the Mine's eye when it first appears.

Code:
#Shocksund becomes a Shik Master teleport when standing
#SIDE EFFECT: Master can't use teleport anymore
#SIDE EFFECT: Teleport anims should be as big as the Shocksund
#SIDE EFFECT: Hound doesn't teleport either!
%patch $132D6 $2BA8W #Shikadi master teleport (Random when Hound walking)
%patch $12AE7 $2F0EW #Shocksund walk (After Shikadi teleports)


The problem you have here is that the teleporting code is complex. Here instead of standing, the Hound produces the Master's teleport sparks and sounds. To actually get the hound to teleport will be more difficult. Also, like the mine patch, it will need an easy-difficulty Master in the level to work.


Code:
#Bark frequency
%patch $1330E $80



Enjoy!
Back to top
View user's profile Send private message
Flyingmouse



Joined: 05 Aug 2009
Posts: 49

PostPosted: Sat Nov 14, 2009 5:45 pm    Post subject: Reply with quote

I can't get the mine to stop moving, even with this patch:
Code:
#Stop Mine moving
%patch $11D1B $90 $90
Back to top
View user's profile Send private message
levellass



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

PostPosted: Tue Nov 17, 2009 11:16 pm    Post subject: Reply with quote

Interesting, it *should* work. Can you send me a copy of your patchfile? Perhaps there is some sort of interference.
Back to top
View user's profile Send private message
Flyingmouse



Joined: 05 Aug 2009
Posts: 49

PostPosted: Wed Nov 18, 2009 11:00 pm    Post subject: Reply with quote

The regular mines don't move and produce the endgame sequence; it seems only the created mine messes up. Maybe shockshunds and mines don't mix behaviors well.
Back to top
View user's profile Send private message
levellass



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

PostPosted: Thu Nov 19, 2009 6:56 am    Post subject: Reply with quote

Aaaah, NOW we're making progress. So you're saying that only the Mines produced by Shocksund move and such? That would make more sense.
Back to top
View user's profile Send private message
Flyingmouse



Joined: 05 Aug 2009
Posts: 49

PostPosted: Tue Dec 22, 2009 6:18 pm    Post subject: Reply with quote

Yes, that is true.

However, would it be possible to use the explosion immediately after the shockshund dies? That would save a lot of trouble of using the mine to spawn the explosion.
Back to top
View user's profile Send private message
levellass



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

PostPosted: Tue Jan 05, 2010 10:45 pm    Post subject: Reply with quote

So you want a Shocksund, when shot, to produce a Mine explosion and fragments? This should do it:

Code:
#Shocksund becomes exploding Mine when shot:
%patch $133B7 $2662W #Mine detonate
Back to top
View user's profile Send private message
Flyingmouse



Joined: 05 Aug 2009
Posts: 49

PostPosted: Sat Jan 09, 2010 1:58 am    Post subject: Reply with quote

Thanks! It works!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Keen: Modding Forum Index -> Galaxy Requests and Discussion 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