Jump to content

Jefferzoonn

Vintarian
  • Posts

    22
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Jefferzoonn

  1. Buenas me presento, soy JefferZ y hoy vengo aquí para compartir un servidor que he creado abierto para todo el publico, por el momento es vanilla pero se irán añadiendo mods, aunque todos los mods serán testeados y traducidos antes de ser añadidos.

     

    EL NUEVO MUNDO

    image.thumb.png.fdfa2a30feb06f171da1c509f189e3e7.png

    Para entrar puedes buscarlo desde el "Explorador de servidores públicos"

    Búscalo como "el nuevo mundo"

     

    AJUSTES DEL MUNDO

    Spoiler

    Modo: Survival
    Clima: Realista
    Estabilidad Temporal: Activada
    Tormentas Temporales: Raras
    Cincelado: Todos los bloques
    Distancia a los polos: 200.000 bloques
    Capacidad Pulmonar: 1 minuto
    Inviernos verdaderos: Activados
    Días por mes: 9
    Radio de Nodos: 8
    Agricultura subterránea: Activada
    Usos de respawn engrane temporal: Infinitos
    Estaciones: Activadas
    Gravedad de bloques: Arena y Grava
    Resistencia corporal temperatura: -5 cº
    Puntos de salud del jugador: 20
    Tasa hambre: Ligeramente lento (75%)
    Velocidad al caminar: Ligeramente Rápido
    Generación depósitos globales: 120%
    Tamaño del mundo: 1024000
    Borde del mundo: Traspasable
    Temperatura Global: Templado
    Precipitación Global: Normal
    Forestación y Arbustos: Algo mas de bosque (+25%)
    Frecuencia cobre superficie: Común
    Frecuencia estaño superficie: Raro
    Permitir reclamar áreas: Activado
    Recetas exclusivas: Activadas
    Subastas: Activas

     

    ES MUY RECOMENDABLE UNIRSE AL DISCORD!

    https://discord.gg/pHqgTtdrjV

  2. 8 minutes ago, Frepo said:

    I made it do the opposite (increase fall damage). It's basically a custom made behavior for the player, that extends EntityBehavior and overrides the OnFallToGround method in there. But I'm not quite sure it completely replaces the fall damage mechanic (actually I think my method adds on top of the vanilla method), I wrote that a looong time ago with little experience. But it increased the damage for sure, so I was content and never looked back at it again. Maybe you can find something useful here.

    Patch json

      Reveal hidden contents
    
    	 
    		  
    		  
    		  
    		  
    		    
    	
    	 
    		  
    		  
    		  
    		  
    		    
    	
    

     

    My custom behavior class

      Hide contents
    namespace fregtech
    {
        internal class BehaviorFTHealth : EntityBehavior
        {
            public BehaviorFTHealth(Entity entity) : base(entity)
            {
            }
    
            public override void Initialize(EntityProperties properties, JsonObject typeAttributes)
            {
                base.Initialize(properties, typeAttributes);
            }
    
            // FALL DAMAGE OVERHAUL
            public override void OnFallToGround(Vec3d positionBeforeFalling, double withYMotion)
            {
                float fallDmgMod = 1.8f;
                IInventory inv;
    
    
                if (!this.entity.Properties.FallDamage)
                {
                    return;
                }
                double yDistance = Math.Abs(positionBeforeFalling.Y - this.entity.Pos.Y);
                if (yDistance < 3.5)
                {
                    return;
                }
                if (withYMotion > -0.19)
                {
                    return;
                }
    
                // reduce from gear
                if(this.entity is EntityPlayer) // this.entity.Api.Side == EnumAppSide.Server
                {
                    EntityPlayer plr = this.entity as EntityPlayer;
                    // GearInventory = characterInventory:
                    // 0 = head (clothes), 1 = cape (clothes), 2 = over shirt (clothes), 3 = pants (clothes), 4 = boots (clothes), 5 = gloves (misc)
                    // 6 = necklace (misc), 7 = brooch (misc), 8 = mask (misc), 9 = belt (misc), 10 = bracelet (misc), 11 = under shirt (clothes)
                    // 12 = helmet (armor), 13 = body (armor), 14 = legs (armor)
                    inv = plr.GearInventory;
                    
                    if(inv != null)
                    {
                        // each piece of clothing reduces fall damage by 5%
                        if (!inv[0].Empty) {fallDmgMod -= 0.05f;}
                        if (!inv[1].Empty) { fallDmgMod -= 0.05f; }
                        if (!inv[2].Empty) { fallDmgMod -= 0.05f; }
                        if (!inv[3].Empty) { fallDmgMod -= 0.05f; }
                        if (!inv[4].Empty) { // boots
                            if (inv[4].Itemstack.GetName() == "Catfeet boots") { fallDmgMod -= 0.25f; }
                            else { fallDmgMod -= 0.05f; }
                        }
                        if (!inv[11].Empty) { fallDmgMod -= 0.05f; }
    
                        // legs armor
                        if (!inv[14].Empty)
                        {
    
                        }
                    }
                }
    
                if (fallDmgMod <= 0.0)
                {
                    return;
                }
               
                  
                
                    
                
                
                   
                
                          
                
    
                
                      
                      
                 
            
    
            
                
                 
            
        
    

     

    Tal vez puedas escribir algo como esto.

    
    
    	
    

    Pero nuevamente, no estoy muy seguro de que este método reemplace completamente la mecánica básica.

     

    Thank you very much for your contribution, as soon as I have some free time I will try it.

  3. Good morning everyone, today I come with a suggestion that may seem somewhat absurd but in my opinion they are details that give pleasure to the user, let me explain:

    On the new world creation screen, when writing the name you want to give it, you cannot select all the text and delete it, but rather you have to delete it letter by letter (I am attaching a reference image of the new world creation screen, although it is in Spanish, sorry).

    Spoiler

    Captura.PNG.43f890c306f7521fd0d855786c21b9f4.PNG

    Well, my suggestion would be that you can select everything with the mouse, either by selecting and moving the mouse from front to back and vice versa or by double clicking on the word you want to select.

     

    Basically that would be my suggestion, I know it is an unimportant detail and that it practically does not contribute anything, but it is a detail that I wanted to suggest, thanks for your time and best regards

    • Like 3
  4. 3 hours ago, AdrianNumbers said:

    demasiado desorden, imagina una situación 2 o 3 o más chicos tienen la misma idea para una sugestión, pero cada uno tiene un idioma principal diferente, por lo que todos buscan en el foro usando dicho lenguaje para ver si alguien ya publicó algo similar y como no lo encuentran, hacen una nueva publicación, así que ahora tenemos un montón de sugestiones casi idénticas solo en diferentes idiomas, Te aseguro que incluso Tyron (genial como es) dejaría de mirar este foro si Hed tuviera que leer constantemente la misma cosa y posiblemente traducirla por sí mismo cada vez. Es la misma idea de estandarización que los humanos intentan implementar en todas partes, es mucho más fácil organizar todo si es consistente, solo dos sistemas diferentes producen muchos errores, por ejemplo: sistema métrico vs sistema imperial y aquellos que murieron en accidentes aéreos debido a esto. Sé que es un ejemplo extremo XD

    I also thought of something similar and I think you're absolutely right, most likely it would end up being all chaos but the idea of adding a small button that is integrated into the forum and translates it into your preferred language is not such an idea. bad, I think it would greatly speed up the navigation through the forum

  5. I'm trying to create a mod that simply consists of having a block that if you jump on top of it throws you up with great force, but I can't understand the api documentation, I don't even know what methods to look for, for example To cancel the fall damage, does anyone know of an api guide or if someone would be so kind as to make one, it would be great, at least with the basics to know how to use it.

     



    Excuse my English, I have used the google translator

  6. On 16/11/2022 at 1:36, dakko said:

    Con esa información, busqué en el foro de noticias para obtener más información.

    Hubo 2 adiciones recientes que se prepararon para implementar cuerdas y botes:

    No pude encontrar la información wiki sobre estos, pero tal vez la simulación de la cuerda no funcionó y se eliminó en 1.16.5. No sé. Esta es la primera vez que lo escucho.

    Thank you very much, now I have everything clearer

    • Like 1
  7. 9 hours ago, l33tmaan said:

    ROPES WHEN

     

    4 hours ago, dakko said:

    Boats and ropes for animals have not been added to Vintage Story yet. I believe they are planned for the future.

    If you've already seen them in the game, then it must have been a mod.

    I could swear I read on the wiki that they were removed in version 1.16.5 or maybe it was a translation error, if so, please forgive me for the inconvenience caused by my question

    • Like 1
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.