Hey, we have forums!

Author Topic: Naija sprites  (Read 153037 times)

0 Members and 1 Guest are viewing this topic.

Offline Xiagan

  • Global Moderator
  • Dream Bit
  • **********
  • Posts: 1452
  • "Does absolution lie above the waves?"
    • View Profile
Re: Naija sprites
« Reply #15 on: December 22, 2007, 12:51:36 pm »
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?
"Sire, I had no need of that hypothesis." (Laplace)

~ www.xiagan.net ~

Offline Alec

  • Administrator
  • Dream Bit
  • **********
  • Posts: 2211
    • View Profile
Re: Naija sprites
« Reply #16 on: December 22, 2007, 06: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

Offline Alec

  • Administrator
  • Dream Bit
  • **********
  • Posts: 2211
    • View Profile
Re: Naija sprites
« Reply #17 on: December 22, 2007, 06: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.

Offline Hiro

  • Hero Bit
  • *********
  • Posts: 674
  • Kriel's Legionary
    • View Profile
    • The Rat Hole
Re: Naija sprites
« Reply #18 on: December 23, 2007, 04: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?
My site is: http://www.therathole.co.nr/
Where I put pictures and blog posts and stuff..

Offline EntiteFred

  • Bit Bit
  • ****
  • Posts: 64
    • View Profile
Re: Naija sprites
« Reply #19 on: December 23, 2007, 07: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, 07:25:29 pm by EntiteFred »

Offline Zeno

  • Bit Bit
  • ****
  • Posts: 85
    • View Profile
    • Internetography Forums
Re: Naija sprites
« Reply #20 on: December 24, 2007, 01: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.

Offline DragonXVI

  • Bit Bit
  • ****
  • Posts: 77
    • View Profile
Re: Naija sprites
« Reply #21 on: December 24, 2007, 01: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 :P

Up Up Down Down Left Right Left Right (Chu!)

Offline Hiro

  • Hero Bit
  • *********
  • Posts: 674
  • Kriel's Legionary
    • View Profile
    • The Rat Hole
Re: Naija sprites
« Reply #22 on: December 25, 2007, 10: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.)  :-\

Although I don't want to sound like a whiner  :-X

But yeah, Alec looks to be working toward that very end, and its holiday season. He deserves a break for now at least.  >:D
My site is: http://www.therathole.co.nr/
Where I put pictures and blog posts and stuff..

Offline Alec

  • Administrator
  • Dream Bit
  • **********
  • Posts: 2211
    • View Profile
Re: Naija sprites
« Reply #23 on: December 26, 2007, 06: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: [Select]
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.

Offline Hiro

  • Hero Bit
  • *********
  • Posts: 674
  • Kriel's Legionary
    • View Profile
    • The Rat Hole
Re: Naija sprites
« Reply #24 on: January 03, 2008, 07: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.
My site is: http://www.therathole.co.nr/
Where I put pictures and blog posts and stuff..

Offline DragonXVI

  • Bit Bit
  • ****
  • Posts: 77
    • View Profile
Re: Naija sprites
« Reply #25 on: January 08, 2008, 10: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
Up Up Down Down Left Right Left Right (Chu!)

Offline Alec

  • Administrator
  • Dream Bit
  • **********
  • Posts: 2211
    • View Profile
Re: Naija sprites
« Reply #26 on: January 08, 2008, 10:08:42 am »
Okay.. I should hardcode some kind of override.

Offline Alphasoldier

  • Dream Bit
  • **********
  • Posts: 1810
  • Zero Suit!
    • View Profile
Re: Naija sprites
« Reply #27 on: January 09, 2008, 05: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.   :-\
God sees and knows everything, but at least he won't gossip about it.

Offline Hiro

  • Hero Bit
  • *********
  • Posts: 674
  • Kriel's Legionary
    • View Profile
    • The Rat Hole
Re: Naija sprites
« Reply #28 on: January 11, 2008, 11: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?
My site is: http://www.therathole.co.nr/
Where I put pictures and blog posts and stuff..

Offline Alec

  • Administrator
  • Dream Bit
  • **********
  • Posts: 2211
    • View Profile
Re: Naija sprites
« Reply #29 on: January 11, 2008, 11:19:13 am »
If you want/need the other sprites, just send me a PM for now and I can hook you up. ;)