www.tombraiderforums.com

Go Back   www.tombraiderforums.com > Tomb Raider Modding > Tomb Raider Level Editor > Next Generation Level Editor

Reply
 
Thread Tools
Old 11-08-18, 18:34   #12951
LoreRaider
Explorer
 
LoreRaider's Avatar
 
Join Date: Jul 2016
Location: Italy
Posts: 762
Default

Since you're building the ORC level, check if you have more than 27/28 effects in the flipped room
EDIT: Actually I had the same issue now, from what I can see the limit for effects it's of 20 on flipped rooms :/
__________________
"Everybody lies. No exceptions."

Last edited by LoreRaider; 11-08-18 at 22:18.
LoreRaider is online now   Reply With Quote
Old 12-08-18, 13:47   #12952
A_De
Explorer
 
A_De's Avatar
 
Join Date: Jan 2012
Location: Kazakhstan
Posts: 993
Default

Which is the best way to stop freezed both Lara and Enemies, or just Lara?
__________________
Time of Shadows: 80% done. Check it's page on FB.
A_De is offline   Reply With Quote
Old 12-08-18, 15:39   #12953
sampiza
Historian
 
sampiza's Avatar
 
Join Date: Sep 2015
Location: Brazil
Posts: 364
Default

Quote:
Originally Posted by LoreRaider View Post
Since you're building the ORC level, check if you have more than 27/28 effects in the flipped room
EDIT: Actually I had the same issue now, from what I can see the limit for effects it's of 20 on flipped rooms :/
And what is exactly this effects?
sampiza is offline   Reply With Quote
Old 12-08-18, 17:31   #12954
LoreRaider
Explorer
 
LoreRaider's Avatar
 
Join Date: Jul 2016
Location: Italy
Posts: 762
Default

^ Effects are cameras, lightbulbs, sinks and sounds, I think I didn't missed anything
__________________
"Everybody lies. No exceptions."
LoreRaider is online now   Reply With Quote
Old Today, 10:21   #12955
A_De
Explorer
 
A_De's Avatar
 
Join Date: Jan 2012
Location: Kazakhstan
Posts: 993
Question

Could somebody help me with enemy's health bar?
I already use it for showing the bar when the enemies are being targeted, this is a small bar. But I also need the big bar for boss enemy, and this bar must be shown all the time the boss is alive. I turned off the GT showing small bar for usual enemies, but the new setup does not work. Not sure what is wrong here:
Code:
ColorRGB=	9, 180,135,80		; hp-color for boss
Customize=	CUST_BAR, BAR_CUSTOM2, IGNORE, 55, 841, 886, 49, 9, IGNORE, #0800	; big hp-bar for boss

; gr3-193: 
TriggerGroup=	193, $5000,495,$36, >			; A54 set enemy(id=495) as selected item,
	$2000,256,$350, $2000,245,$5450, $2000,293,$950,  >	; F256 copy slot to LSA1, F245 copy LSA1 to savegame memory, F293 copy to LSA1 hp of enemy, 
	$2000,263,$FF, $2000,287,$50, $2000,256,$C50, > 	; F263 copy to current value Param_Big_Numbers at index 0, F287 divide current value to LSA1, F256 copy to LSA1 current hp of enemy,
	$2000,288,$50, $2000,253,$64FF, $2000,331,$5, $2000,357,$3	; F288 multiply current value to LSA1, F253 divide current value to 100, F331 show bar_custom_2, F357 show bar sprite

; gr3-194: F332 remove bar-custom2,  F358 remove bar sprite, F109 disable globaltrigger-40
TriggerGroup=	194, $2000,332,$5, $2000,358,$3, $2000,109,$2800	

GlobalTrigger=	40, FGT_DISABLED+FGT_NOT_TRUE, GT_ENEMY_KILLED, 495, IGNORE,193,194
The sprite is showing while the bar does not...
__________________
Time of Shadows: 80% done. Check it's page on FB.
A_De is offline   Reply With Quote
Old Today, 15:35   #12956
AkyV
Moderator
 
Join Date: Dec 2011
Location: Hungary
Posts: 3,028
Default

"False" TG and FGT flag fields do not like each other ever.
You should split into two "true" GT's: "if enemy is alive is true" and "if enemy is not alive is true".
AkyV is online now   Reply With Quote
Old Today, 15:41   #12957
A_De
Explorer
 
A_De's Avatar
 
Join Date: Jan 2012
Location: Kazakhstan
Posts: 993
Default

^thanks, I'll split the conditions. This is not related with non-appearing bar though.
How to get the start max. HP for item with certain index ID? I guess I missed something simple...
__________________
Time of Shadows: 80% done. Check it's page on FB.
A_De is offline   Reply With Quote
Old Today, 16:03   #12958
AkyV
Moderator
 
Join Date: Dec 2011
Location: Hungary
Posts: 3,028
Default

Did you see my enemy health bar tutorial?
AkyV is online now   Reply With Quote
Old Today, 16:06   #12959
A_De
Explorer
 
A_De's Avatar
 
Join Date: Jan 2012
Location: Kazakhstan
Posts: 993
Default

^ of course, I use your tutorial as a base

Edit: I managed to make the bar appear and work, but for some reason it looks like if enemy is a bit hurt
__________________
Time of Shadows: 80% done. Check it's page on FB.
A_De is offline   Reply With Quote
Old Today, 16:20   #12960
AkyV
Moderator
 
Join Date: Dec 2011
Location: Hungary
Posts: 3,028
Default

I said this in the tutorial:

Quote:
(So, we can see now, using the hundredfold of the proportion, we could prevent the problem of "the solution of the dividing operation is a whole number" thing.
If we'll perhaps realize that this is still a bit unaccurate - because the appearance of the MHP is not at unit 100 but 98-99 -, and it bothers us, then let's increase on the proportion: not hundredfold, but thousandfold etc. But this time don't forget dividing by not 100, but 1000 etc.)
MHP = Max HP at the bar
AkyV is online now   Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 21:20.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.