Nali tools

Tutorials and discussions about Mapping - Introduce your own ones!
Post Reply
User avatar
EvilGrins
Godlike
Posts: 9668
Joined: Thu Jun 30, 2011 8:12 pm
Personal rank: God of Fudge
Location: Palo Alto, CA
Contact:

Nali tools

Post by EvilGrins »

Lil' edit, really old CTF map, never messed around with Nali configuration before.

There's an option for "tools" but it won't let me give it a weapon.

What's an acceptable tool I can give it?
Attachments
Clip0001.png
http://unreal-games.livejournal.com/
Image
medor wrote:Replace Skaarj with EvilGrins :mrgreen:
Smilies · viewtopic.php?f=8&t=13758
User avatar
sektor2111
Godlike
Posts: 6403
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: Nali tools

Post by sektor2111 »

You can give it a hammer, a fork, a spoon, anything like a Weapon which you want - it's just useless.
This class is unfinished as that bActorShadows (not Pawn.Shadow) and that LensFlare and the rest of unfinished things.
But I can try to arm this pawn in some Level, I wanna see what will do, probably nothing just chickening out.
User avatar
EvilGrins
Godlike
Posts: 9668
Joined: Thu Jun 30, 2011 8:12 pm
Personal rank: God of Fudge
Location: Palo Alto, CA
Contact:

Re: Nali tools

Post by EvilGrins »

sektor2111 wrote:But I can try to arm this pawn in some Level, I wanna see what will do, probably nothing just chickening out.
That's okay. There's a combat version of the Nali I have, though never tested.

I was just curious what this option might mean.

Whenever I tried to give it a weapon, it opened up a section of pawn properties I'd never seen before. May poke around in there some more.
http://unreal-games.livejournal.com/
Image
medor wrote:Replace Skaarj with EvilGrins :mrgreen:
Smilies · viewtopic.php?f=8&t=13758
Red_Fist
Godlike
Posts: 2163
Joined: Sun Oct 05, 2008 3:31 am

Re: Nali tools

Post by Red_Fist »

I think it is to create an event as the Nali picks up or is told to use, then in SP maps it's looks like they are doing something for the storyline.

Is my theory.

Don't know if it works, only messed with it once before. I don't think it works like Sektor says, it wasn't finished or something.
Binary Space Partitioning
User avatar
Barbie
Godlike
Posts: 2792
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: Nali tools

Post by Barbie »

I played around with that but couldn't get it working...

Because that "tool" is defined as class Weapon:

Code: Select all

var() Weapon Tool;
I tried spawning a weapon and giving it to the Nali:
Spoiler

Code: Select all

class MyActor expands Actor;

Var() Name MyNaliTag;
Var Nali MyNali;

event PostbeginPlay() {
	foreach AllActors(Class'Nali', MyNali, MyNaliTag)
		break;
	if (MyNali != None)
		Disable('Trigger');
}

event Trigger(Actor Other, Pawn EventInstigator) {
local Weapon W;
	
	W = spawn(class'ShockRifle');
	if (W != None)
	{
		//W.GiveTo(MyNali);
		MyNali.Tool = W;
		MyNali.Weapon = W;
		BroadcastMessage(MyNali $ ".Tool=" $ MyNali.Tool $ ", Weapon=" $ MyNali.Weapon);
	}
}
but that did not work (the weapon just moves with the Nali):
NaliWithWeapon.jpg
While looking at the Nali's stock code I found such:

Code: Select all

function TweenToWalking(float tweentime)
{
	if (Region.Zone.bWaterZone)
		TweenToSwimming(tweentime);
	else if (AnimSequence == 'Bowing')
		PlayAnim('GetUp', 0.4, 0.15);
	else if ( Weapon != None )
		TweenAnim('WalkTool', tweentime);
	else
		TweenAnim('Walk', tweentime);
}
The mesh of a Nali has the animation 'WalkTool' (having that tool on the shoulder and keeping it with one hand, see above pic), but it is played if the WEAPON is set, not the TOOL. Maybe the Epic coders messed that up...
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett
User avatar
sektor2111
Godlike
Posts: 6403
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: Nali tools

Post by sektor2111 »

Not maybe, they have done nothing to arm this pawn - actually the code for loading weapon doesn't even exist - animation is used by any of those NaliPlayer types using that mesh... and probably Pawn.Weapon is also conflicting with Nali.tool(weapon as well) like that AttachTag crapped thing and/or the duplicated TriggerLight + the rest of trash.
User avatar
UTNerd24
Adept
Posts: 325
Joined: Sat Oct 22, 2011 6:06 am
Personal rank: Professional Camper

Re: Nali tools

Post by UTNerd24 »

Not sure if i've gotten the right end of this conversation, but if its a Nali with weapons you're looking for, there's a ScriptedPawn class in Nali Chronicles that is capable of holding weapons, does not shut you out from friendly fire and is more than capable of killing small enemy groups.

Alternatively there is a special class of Nali in Return to NaPali: Ultimate Edition that can conjure spells such as fireballs and orbs of light.
I've been playing UT for so long it's practically tradition.
User avatar
sektor2111
Godlike
Posts: 6403
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: Nali tools

Post by sektor2111 »

EG was asking about Nali class from UT not other "adds" coming from community. Yeah, read again, for Nali mapped in a Level, by using that "tool" nothing like a magic will happen, no worries.
User avatar
makemeunreal
Masterful
Posts: 546
Joined: Tue Mar 26, 2013 6:34 pm

Re: Nali tools

Post by makemeunreal »

Here's a Nali usin' a pickaxe. :P
Image

And another doin' the same.
Image

Teamwork.
Image

Krasnaya armiya
Image
User avatar
sektor2111
Godlike
Posts: 6403
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: Nali tools

Post by sektor2111 »

Pointless, that's not a Nali from UT because those images are not from UT. except confusing noobs I don't see what's the deal. My daughter has a toy looking as a smartphone but is not a smartphone :tongue: .
User avatar
makemeunreal
Masterful
Posts: 546
Joined: Tue Mar 26, 2013 6:34 pm

Re: Nali tools

Post by makemeunreal »

True.
Just wanted to show him an example of a Nali usin' a tool. :P
Post Reply