Red_Fists mapping stuff.

If you have found new Downloads or created something by your own, please announce it here
User avatar
sektor2111
Godlike
Posts: 5430
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: Red_Fists mapping stuff.

Post by sektor2111 » Mon Aug 17, 2020 1:27 pm

Barbie wrote:
Mon Aug 17, 2020 12:22 am
But how to get a Titan into this state without coding? :noidea
By setting up orders properly.

User avatar
Barbie
Godlike
Posts: 2135
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: Red_Fists mapping stuff.

Post by Barbie » Mon Aug 17, 2020 3:24 pm

sektor2111 wrote:
Mon Aug 17, 2020 1:27 pm
Barbie wrote:
Mon Aug 17, 2020 12:22 am
But how to get a Titan into this state without coding? :noidea
By setting up orders properly.
properly.jpg
Does not work!
You do not have the required permissions to view the files attached to this post.
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett

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

Re: Red_Fists mapping stuff.

Post by sektor2111 » Mon Aug 17, 2020 6:04 pm

:loool: Seriously ? Show me the state called "properly".
ORDER means a VALID STATE where pawn should start/not start action in Level. I this case it's properly called Sitting or something similar. Not similar as state name just similar to state called sitting if memory doesn't cheat me.
I'm sorry if ScriptedPawn is such a big problem for you, for me they are my friends... I'm playing with them almost daily. You can also use InitialState.

The rest is VISIBLE at more than 255 - Actor.uc

Code: Select all

simulated event SetInitialState()
{
	bScriptInitialized = true;
	if( InitialState!='' )
		GotoState( InitialState );
	else
		GotoState( 'Auto' );
}
and ScriptedPawn.uc

Code: Select all

....
var(Orders) name	Orders;			//orders a creature is carrying out 
						// will be initial state, plus creature will attenmpt
						//to return to this state
...
....
	if (Orders != '')
	{
		if (Orders == 'Attacking')
		{
			Orders = '';
			if (enemy != None)
				GotoState('Attacking');
			else
				StartRoaming();
		}
		else if ( bDelayedPatrol && (Orders == 'Patroling') )
			GotoState('Patroling', 'DelayedPatrol'); 
		else
			GotoState(Orders); //Wooow, this is just amazing. My monster can do what I order him, lol...
		if ( Physics == PHYS_Falling )
			SetFall();
		else
			SetMovementPhysics();
	}
	else
		GotoState('Waiting');
....
Yeah, that's right Properly doesn't work because properly is not a valid name for a state code located in this Pawn :ironic: .
You can set Orders or InitialState as initial monster behavior named corresponding to a valid state from Pawn in cause.

User avatar
Barbie
Godlike
Posts: 2135
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: Red_Fists mapping stuff.

Post by Barbie » Mon Aug 17, 2020 10:32 pm

Maybe you didn't catch the <joke> tags. ;o) But thanks, now I know that I have to set the name of the state in property "Order". That was not obvious by your post before, at least not for me.
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett

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

Re: Red_Fists mapping stuff.

Post by sektor2111 » Tue Aug 18, 2020 5:24 am

Note: This is advisable perhaps as InitialState for... preventing Titan to return at sitting because of using Orders ?
Set Titan InitialState Sitting
AnimSequence TGetUp
Then adding other Non-Sitting Titans in another session if they must be added ?

Red_Fist
Godlike
Posts: 1907
Joined: Sun Oct 05, 2008 3:31 am

Re: Red_Fists mapping stuff.

Post by Red_Fist » Tue Aug 18, 2020 5:58 am

MH is the problem.

If they are sitting you don't need an event to wake them up, they get up as soon as they see a bot.

But in SP they have to have an event to get up.

So I am trying to solve that problem in MH using property flippers, and it does work. Other than the bots can't see them after setting visibility then changing it. I added the attitude to hate and set the Titan to ignore.

It might be that I need to change the order of when things happen, I tried putting the event first to get up, then visibility, then sight radius them hearing and I added attitude. Seems I got a couple of kills, need to retest it, but they don't attack like they would other pawns at all.
Binary Space Partitioning

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

Re: Red_Fists mapping stuff.

Post by sektor2111 » Tue Aug 18, 2020 2:37 pm

Yep... the same movie: MonsterHunt controller is triggering monster against Bot doesn't matter in which state is the monster, the same are those SkaarjStatues, Warlord randomly forgetting to teleport and coming back to attack, and it's the same MH story already under X discussions. Attraction code from MonsterHunt is BASIC, nothing taking monsters seriously in account if they are in logic states for combat. Code says: S.GoToState('Attacking') - doesn't matter who is in which state. Perhaps some future more pro MH versions will take in account community "creatures" and stock ones and their options. I'm not going to talk again about whatever improvements because I will trigger useless poems with zero help. I already explained what is doable and what community should do in UT instead of making it more flawed or completely useless in machines where UT was running for years. A lot of these I have solved in my private server without uber UT updates, just a bit of fine tuning letting pawn code to work instead of pushing methods. If you are using the same stock, the same issues will happen even in year 2100, believe me or not.

Red_Fist
Godlike
Posts: 1907
Joined: Sun Oct 05, 2008 3:31 am

Re: Red_Fists mapping stuff.

Post by Red_Fist » Wed Jan 06, 2021 8:00 am

MH-Warp5DMz

This was just messing around connecting stock DM maps with warp zones.Since I messed with it so long I made a funky MH map.
I didn't get into the original stock bot pathing very much, plus I did some corny stuff with paths, but the bots seems to finish at some point.

I also didn't try to make it easy or difficult or make a "perfect" game-play balanced map. It was more for fun making warp zones.
Oh, if you mess with pathing it would be better to start from scratch, it's very odd how those bots move to one level to the next on their own. Then they WOULD NOT go into the final section, strangest thing. The only thing that got them to move around the final section was ammo.I switched a shield belt with the shield and I finally got them to circulate through that bottom side wing. Just very weird stuff going on.

Don't think you need any other files, you might need that propertyflipper.u file that I should have left out since I used it for something that wouldn't work without a new class for the shield belt. Hope it works :|
You do not have the required permissions to view the files attached to this post.
Last edited by Red_Fist on Wed Jan 06, 2021 7:19 pm, edited 1 time in total.
Binary Space Partitioning

User avatar
Gustavo6046
Godlike
Posts: 1226
Joined: Mon Jun 01, 2015 7:08 pm
Personal rank: Zeta Group leader
Location: Brazil

Re: Red_Fists mapping stuff.

Post by Gustavo6046 » Wed Jan 06, 2021 6:15 pm

For a second I almost thought you posted a picture! Now I want to take a picture of the city around and edit it so it kinda looks like a huge city map. :P

User avatar
Barbie
Godlike
Posts: 2135
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: Red_Fists mapping stuff.

Post by Barbie » Wed Jan 06, 2021 9:19 pm

readmeRF.txt wrote:Uses 5 DM stock maps from UT.

Copyright
[...]
Authors may not NOT use this level as a base to build additional levels.
You took stock UT maps - I guess without author's permission - and forbid other to use your patchwork? :roll:
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett

Red_Fist
Godlike
Posts: 1907
Joined: Sun Oct 05, 2008 3:31 am

Re: Red_Fists mapping stuff.

Post by Red_Fist » Thu Jan 07, 2021 12:16 am

Nooooo, that was the readme I used way back from the Nalicity days.

But if you want to edit it, keep it close, I didn't put much thought into placing enemies or items., it was a sort of test map that got out of hand. :loool:

Besides if you were to sell it gimme half of the million you get.............. :P


If you do repack it, get rid of that propertyflipper in the map.
Binary Space Partitioning

User avatar
TexasGtar
Adept
Posts: 270
Joined: Sun Feb 16, 2020 5:52 pm

Re: Red_Fists mapping stuff.

Post by TexasGtar » Thu Jan 07, 2021 1:46 am

Titan properly.
Comedy perfectly.
Loved it absolutely!

Red_Fist
Godlike
Posts: 1907
Joined: Sun Oct 05, 2008 3:31 am

Re: Red_Fists mapping stuff.

Post by Red_Fist » Thu Jan 07, 2021 5:06 am

As I played this thing I was wondering if using no friendly fire the same as DM after they finish the map or decide to exit unless they want to fight !! as an added bonus. LoL
Since we are all so accustom to these maps having a DM but get around pretty fast with those warps, might be a good DM.
Binary Space Partitioning