December 11, 2017, 05:49:23 AM
News: Hey, we have forums!
  Pages: 1 [2] 3 4 ... 8
Print
Author Topic: Naija sprites  (Read 100848 times)
Xiagan
Global Moderator
Dream Bit
**********
Posts: 1452


"Does absolution lie above the waves?"

xiagan@gmail.com
View Profile
« Reply #15 on: December 22, 2007, 11:51:36 AM »

That's pretty excellent. Does the game mirror sprites, though? If so that eyepatch is gonna fly around all over her face :/.
Isn't Li's blaster flying from left hand to right hand and back sometimes?
Logged

"Sire, I had no need of that hypothesis." (Laplace)

~ www.xiagan.net ~
Alec
Administrator
Dream Bit
**********
Posts: 2211



View Profile Email
« Reply #16 on: December 22, 2007, 05:27:02 PM »

Isn't Li's blaster flying from left hand to right hand and back sometimes?

Yep. ^_^

He just likes to switch it every time he turns around.

cough
Logged

Alec
Administrator
Dream Bit
**********
Posts: 2211



View Profile Email
« Reply #17 on: December 22, 2007, 05:28:03 PM »

How did you do that? I can't seem to edit the head and cape. Everything else I can edit but not those...

All I'm doing is editing the pictures in the graphics folder in the naija sprites mod folder. Am I supposed to do something else too?

The head has a bunch of frames...

Hrm.... some of those might be hard coded.

Not sure if the cape stuff works yet. It might require a "setCostume" call and a new skin.
Logged

Hiro
Hero Bit
*********
Posts: 674


Kriel's Legionary


View Profile WWW Email
« Reply #18 on: December 23, 2007, 03:39:40 AM »

But he seemed to be able to remove the cape (make it invisible?) and make the head show up properly.

Unless he just drew those sprites and put them together without the game?
Logged

My site is: http://www.therathole.co.nr/
Where I put pictures and blog posts and stuff..
EntiteFred
Bit Bit
****
Posts: 64



View Profile
« Reply #19 on: December 23, 2007, 06:03:29 PM »

Quote
But he seemed to be able to remove the cape (make it invisible?) and make the head show up properly.

Unless he just drew those sprites and put them together without the game?

Actually, I only tested it as a new entity.  As for the image in my post, I just made it outside the game to see how it would look, but I made the corresponding entity in the game.  Since I have not modified all head frames, I just previewed it as an entity rather than skinning Naija.
I still have a lot of work to do to use it as a form or costume for Naija.

edit:  I tried to make it a skin and now see the problem with the head not appearing, the cape not being transparent and some problem with relative position (which one over which others)  of body parts.
« Last Edit: December 23, 2007, 06:25:29 PM by EntiteFred » Logged
Zeno
Bit Bit
****
Posts: 85


Ninja+Zeno
View Profile WWW Email
« Reply #20 on: December 24, 2007, 12:19:03 AM »

And now for the inevitable next request, can we get Li sprites?

I'm thinking of starting work on at least the sprites for having Li forms of the other forms.
Logged
DragonXVI
Bit Bit
****
Posts: 77



View Profile Email
« Reply #21 on: December 24, 2007, 12:14:58 PM »

One possible idea I can think of regarding the cape (Until a better solution presents itself) is:

- Make the cape invisible (avatar_setCape(false) or whatnot :p )
- Attach a simple entity, latch it onto Naija (As you would in Character Replacement) but it's pretty much invisible except...
- Initialise some Hair on this entity, and use whatever graphics you want for the cape (Check a good example for the Naupilous (sp) entity in Guert's Mod)

I *may* be right in assuming Naija is rendered in front of other entities, so automatically the 'hair' is rendered behind her.

Technically you could do this with multiply entities, so you could in theory have both a cape and some long, flowing hair, or perhaps some kind of long flowing garment as well (Kimono?)

Downside of this is that Naija's cape already has built in (I'm assuming) movement to represent currents/swaying (Noticed when you sit still), while hair by standard (unless you script it otherwise) just follows along behind you.

As for faces, I recall reading that the setFace command had to be called constantly because Naija's face graphic was constantly set to something in the base code.  You'd probably at least have to make replacements for *all* the head frames for Naija to be on the safe side... Failing that, I've no idea Tongue

Logged

Up Up Down Down Left Right Left Right (Chu!)
Hiro
Hero Bit
*********
Posts: 674


Kriel's Legionary


View Profile WWW Email
« Reply #22 on: December 25, 2007, 09:13:02 AM »

Well, yeah; I tried changing all the face graphics. But all it did was a whole lot of nothing as far as the game was concerned. I even made all the graphics invisible just to see, and sure enough there is a really creepy floating Naija head and cape when you run the mod.

I'd like to see some support for making modifications to the game, rather than expansions. (The way the mod system is done is really good, but its all set up for making new adventures for Naija, not making modifications to the game or making total conversions.)  Undecided

Although I don't want to sound like a whiner  Lips Sealed

But yeah, Alec looks to be working toward that very end, and its holiday season. He deserves a break for now at least.  Evil
Logged

My site is: http://www.therathole.co.nr/
Where I put pictures and blog posts and stuff..
Alec
Administrator
Dream Bit
**********
Posts: 2211



View Profile Email
« Reply #23 on: December 26, 2007, 05:40:30 PM »

I think to override the head you'd have to do something like, make a node script that overrides the head graphic every frame


Code:
function init(me)
end

function update(me, dt)
 head = entity_getBoneByName(getNaija(), "Head")
 bone_setTexture(head, "MYMAGICALTEXTURE")
end



It may be that the head files have to have their own name (not the same name as the main content head files), because those might be getting perma-cached when the game starts up.

I don't have time to test this right now, but those are just my thoughts atm.
Logged

Hiro
Hero Bit
*********
Posts: 674


Kriel's Legionary


View Profile WWW Email
« Reply #24 on: January 03, 2008, 06:43:32 AM »

Mmk, maybe I'll have a look when I get home (I'm in Australia for now).
Good job thinking of that though.
Logged

My site is: http://www.therathole.co.nr/
Where I put pictures and blog posts and stuff..
DragonXVI
Bit Bit
****
Posts: 77



View Profile Email
« Reply #25 on: January 08, 2008, 09:03:30 AM »

The Above Works with one exception: Naija's "Blink" animation (And I'm guessing her emotes too) for her head overrides it again.  While swimming around normally the new head texture displays fine but once she starts blinking it flips between the two
Logged

Up Up Down Down Left Right Left Right (Chu!)
Alec
Administrator
Dream Bit
**********
Posts: 2211



View Profile Email
« Reply #26 on: January 08, 2008, 09:08:42 AM »

Okay.. I should hardcode some kind of override.
Logged

Alphasoldier
Dream Bit
**********
Posts: 1810


Zero Suit!

alphasoldier@hotmail.com alphasoldier1990
View Profile
« Reply #27 on: January 09, 2008, 04:10:38 PM »

I kinda wondered if Alec could post every suit of Naija there is, or just to learn us how to get the sprite files out of the .000 file.
Even though this is a big request.   Undecided
Logged

God sees and knows everything, but at least he won't gossip about it.
Hiro
Hero Bit
*********
Posts: 674


Kriel's Legionary


View Profile WWW Email
« Reply #28 on: January 11, 2008, 10:04:18 AM »

Well, I don't see that as really that necessary... If we have the default sprites as a template, why would we need to see the others?
Logged

My site is: http://www.therathole.co.nr/
Where I put pictures and blog posts and stuff..
Alec
Administrator
Dream Bit
**********
Posts: 2211



View Profile Email
« Reply #29 on: January 11, 2008, 10:19:13 AM »

If you want/need the other sprites, just send me a PM for now and I can hook you up. Wink
Logged

  Pages: 1 [2] 3 4 ... 8
Print
Jump to: