Help with entity ModelAttributes.

Post topics regarding Level Building/Design and Entity Usage with Reality Factory
Post Reply
User avatar
Vertex
Posts: 108
Joined: Fri May 22, 2015 1:01 am
Location: Colombia
Contact:

Help with entity ModelAttributes.

Post by Vertex » Fri Jul 03, 2015 9:54 pm

The idea is to create an environment of lava, but still do not quite understand how.

At my level I have put an entity called ModelAttributes , I created a model called Lava.

What else do I have to do? :(

Image
http://www.iris3dgames.com Reality Factory Spanish :wink:

Veleran
Posts: 891
Joined: Mon Aug 22, 2005 10:22 am
Location: Greece

Re: Help with entity ModelAttributes.

Post by Veleran » Sat Jul 04, 2015 12:39 am

If you want to move through it It has to be flagged as empty,and add a Model State modifier entity to do damage by collision.The EChaos can give some waving distortion to the lava texture to look like the lava is moving.

User avatar
Vertex
Posts: 108
Joined: Fri May 22, 2015 1:01 am
Location: Colombia
Contact:

Re: Help with entity ModelAttributes.

Post by Vertex » Sat Jul 04, 2015 1:57 am

Not understand the translator google does not help me much .

then what I mean is that no entity attributes using the model ( brush ) . ?
http://www.iris3dgames.com Reality Factory Spanish :wink:

Veleran
Posts: 891
Joined: Mon Aug 22, 2005 10:22 am
Location: Greece

Re: Help with entity ModelAttributes.

Post by Veleran » Sat Jul 04, 2015 3:04 am

Do you mean the model attributes entity does nothing at all?You can also try look the brush properties.
It is supposed to tell the environment settings sounds that when you run on the lava a specific sound can be played.
This way you can have different sounds played as you run on different grounds.

;*********************************************************
;
; environment.ini
;
; defines player movement sounds when in different environments
;
;*********************************************************

[Default]
footsteps\footstep.wav


[Water]
footsteps\w1.wav
footsteps\w2.wav
footsteps\w3.wav

[Lava]

[ToxicGas]

[ZeroG]

[Frozen]

[Sludge]

[SlowMotion]

[FastMotion]

[Ladders]
footsteps\m1.wav
footsteps\m2.wav

[Unclimbable]

User avatar
Vertex
Posts: 108
Joined: Fri May 22, 2015 1:01 am
Location: Colombia
Contact:

Re: Help with entity ModelAttributes.

Post by Vertex » Sat Jul 04, 2015 3:53 am

Ok, I get it. The attributes of the entity model is to establish sound where the player walks .

My question is that I can not run the company for a gap to establish it with sound wood model. I may be doing wrong?
http://www.iris3dgames.com Reality Factory Spanish :wink:

Veleran
Posts: 891
Joined: Mon Aug 22, 2005 10:22 am
Location: Greece

Re: Help with entity ModelAttributes.

Post by Veleran » Sun Jul 05, 2015 12:54 am

I am not sure what you are saying ,but no,although the wood sounds should be common,a wood floor attributes has not been added yet.
You can still try play wood sounds for a frozen -for example model attributes model (and tell me if it worked).

I too would like some more model attributes added as a feature request, like :
Wood , Stone, Mud, Acid, Foliage , Twigs, and some spooky like - Bones, Bugs.
It would be cool for the atmosphere if you can get the sounds.

User avatar
Vertex
Posts: 108
Joined: Fri May 22, 2015 1:01 am
Location: Colombia
Contact:

Re: Help with entity ModelAttributes.

Post by Vertex » Sun Jul 05, 2015 4:33 am

In my tests of learning, I realize that the model ATTRIBUTES entity is only for hollow models. Where to put it so utomatica on stage and his property is set for example in "Water," the character to be walked in contact with the ground heard the steps, but if this character jump, the sound of water is heard.

No achievement yet understand this at all.
http://www.iris3dgames.com Reality Factory Spanish :wink:

Veleran
Posts: 891
Joined: Mon Aug 22, 2005 10:22 am
Location: Greece

Re: Help with entity ModelAttributes.

Post by Veleran » Sun Jul 05, 2015 5:44 am

Did you already try the liquid entity.which can play water sounds as you contact the water model brush?

User avatar
Vertex
Posts: 108
Joined: Fri May 22, 2015 1:01 am
Location: Colombia
Contact:

Re: Help with entity ModelAttributes.

Post by Vertex » Mon Jul 06, 2015 5:05 pm

Image
I can not make this work . :x
I need that when you stand above the lava, its attribute decienda health. What am I doing wrong?

Image
http://www.iris3dgames.com Reality Factory Spanish :wink:

User avatar
Vertex
Posts: 108
Joined: Fri May 22, 2015 1:01 am
Location: Colombia
Contact:

Re: Help with entity ModelAttributes.

Post by Vertex » Mon Jul 06, 2015 10:15 pm

Image

No change health as soon as this player on lava. Modify attribute the entity does not work here . :cry:
http://www.iris3dgames.com Reality Factory Spanish :wink:

User avatar
Vertex
Posts: 108
Joined: Fri May 22, 2015 1:01 am
Location: Colombia
Contact:

Re: Help with entity ModelAttributes.

Post by Vertex » Mon Jul 06, 2015 11:13 pm

Ok, no problem.

Code: Select all

	// Orden de actualizacion.
	Update[()
	{
		Jugador.SetAttribute("SaludPawn",Jugador.GetAttribute("SaludPawn","Jugador"),"Player");
		Gorra.LuzLinterna();			// Encender y apagar linterna.
		
		
		Jugador.RotacionPersonaje();						// Rotando personaje.
		Jugador.MovimientoPersonaje();						// Movimiento personaje.
		Jugador.AnimandoPersonaje();						// Animaciones personaje.

		// Here pawn walk on Lava
		if(GetEventState("LavaDanger"))
		{
		ModifyAttribute("SaludPawn", -1, "Jugador");
		}
	
		
		
		
	}]
Now my concern , as I do to move the texture of a mild form of the model that represents Lava.
http://www.iris3dgames.com Reality Factory Spanish :wink:

Veleran
Posts: 891
Joined: Mon Aug 22, 2005 10:22 am
Location: Greece

Re: Help with entity ModelAttributes.

Post by Veleran » Tue Jul 07, 2015 3:22 am

Add the lava box world model to a liquid Entity and set the DamageIn = true yo make the model damage the player.

In other cases you use a modelstatemodifier which is that make a world model do damage to the player.

Post Reply