3 participantes

    Ayuda con parties y otros

    Peace Walker
    Peace Walker
    Miliciano
    Miliciano


    Mensajes : 10
    Facción : Guerrilla

    Ayuda con parties y otros Empty Ayuda con parties y otros

    Mensaje por Peace Walker Dom Jun 07, 2015 9:19 pm

    Hola, últimamente estoy trabajando con el mapa de mi mod, solo habrá dos facciones, cual estoy trabajando en ello hace dos días.
    Primero probe en "comentar" (#) todo lo que era sobre la faccioón 4 y kingdom 4, (nords) y no hubo caso.
    Finalmente, volví de cero e intente borrar todos los castillos, pueblos, ciudades de las facciones para que desaparecieran, pude hacerlo sín probleba, pero ocasione muchos problemas... Primero me tira errores como:
    Código:
    Error: Unable to find object:
    ERROR: Illegal Identifier:
    Leí que puede que el objeto que busca no lo encuentra o está mal escrito, el tema es que no se donde esta ese objeto, dejo algo pegado del build_module.bat:
    Código:
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_castle_1
    ERROR: Illegal Identifier:p_castle_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_castle_1
    ERROR: Illegal Identifier:p_castle_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_castle_1
    ERROR: Illegal Identifier:p_castle_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_castle_1
    ERROR: Illegal Identifier:p_castle_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_castle_1
    ERROR: Illegal Identifier:p_castle_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_castle_1
    ERROR: Illegal Identifier:p_castle_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_castle_1
    ERROR: Illegal Identifier:p_castle_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_castle_1
    ERROR: Illegal Identifier:p_castle_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_castle_1
    ERROR: Illegal Identifier:p_castle_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_castle_1
    ERROR: Illegal Identifier:p_castle_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_village_16
    ERROR: Illegal Identifier:p_village_16
    Error: Unable to find object:p_village_23
    ERROR: Illegal Identifier:p_village_23
    Error: Unable to find object:p_village_51
    ERROR: Illegal Identifier:p_village_51
    Error: Unable to find object:p_village_75
    ERROR: Illegal Identifier:p_village_75
    Error: Unable to find object:p_village_85
    ERROR: Illegal Identifier:p_village_85
    Error: Unable to find object:p_village_87
    ERROR: Illegal Identifier:p_village_87
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_castle_1
    ERROR: Illegal Identifier:p_castle_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_castle_1
    ERROR: Illegal Identifier:p_castle_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_village_1
    ERROR: Illegal Identifier:p_village_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Error: Unable to find object:p_town_1
    ERROR: Illegal Identifier:p_town_1
    Eso es parte.
    Pero no tan solo me tira esos errores, sí no que cuando entro a un "Castillo" me lo toma como "pueblo" y me cambio muchas cosas totalente irritables.
    Pido dos cosas, uno, como arreglar esto, o dos, como puedo eliminar una facción... Gracias.
    Rafalongo
    Rafalongo
    Modder
    Modder


    Mensajes : 694
    Facción : Imperio Calrádico del Sur

    Ayuda con parties y otros Empty Re: Ayuda con parties y otros

    Mensaje por Rafalongo Lun Jun 08, 2015 1:05 am

    por lo de borrar facciones quizas puedas mirar un tutorial de agregar faccion y hacer el procedimiento a la inversa, asi vez todos los archivos implicados en que exista una faccion, y eliminarlos a todos

    [Tienes que estar registrado y conectado para ver este vínculo]
    Peace Walker
    Peace Walker
    Miliciano
    Miliciano


    Mensajes : 10
    Facción : Guerrilla

    Ayuda con parties y otros Empty Re: Ayuda con parties y otros

    Mensaje por Peace Walker Mar Jun 09, 2015 3:30 pm

    Rafalongo escribió:por lo de borrar facciones quizas puedas mirar un tutorial de agregar faccion y hacer el procedimiento a la inversa, asi vez todos los archivos implicados en que exista una faccion, y eliminarlos a todos

    [Tienes que estar registrado y conectado para ver este vínculo]
    Hola, gracias por comentar todos mis problemas, pero eso no me sirve para nada, sería mejor tener un procedimiento para borrar que agregar, es dificil, pero no me sirve un tutorial traducido de alguien que nisiquiera esta en el tema de modeo, gracias por tus respuestas, repito, lo solucionaré solo. study
    Rafalongo
    Rafalongo
    Modder
    Modder


    Mensajes : 694
    Facción : Imperio Calrádico del Sur

    Ayuda con parties y otros Empty Re: Ayuda con parties y otros

    Mensaje por Rafalongo Mar Jun 09, 2015 6:31 pm

    Este tuto de arriba esta bastante bien hecho y deberias darle una ojeada a modo d estudio, para comprender como funciona todo, si te toma una ciudad como castillo debes estar poniendo algo donde no va, no podes eliminar a lo loco siguiendo tus instintos xq t van a saltar muchos errores!

    Yo comence con mi mod hace dos dias al igual q con el module system (antes toqueteaba los archivos .txt como venian) asi q si keres podemos mantener contacto para intercambiar informacion ya q no hay mucha gente activa en este subforo

    Salu2!


    Última edición por Rafalongo el Mar Jun 09, 2015 8:53 pm, editado 1 vez
    JBJ
    JBJ
    Modder
    Modder


    Mensajes : 553
    Facción : Sultanato Sarránido

    Ayuda con parties y otros Empty Re: Ayuda con parties y otros

    Mensaje por JBJ Mar Jun 09, 2015 7:15 pm

    Hola chicos.
    Nunca lo hice, pero eliminar una facción es muy laborioso.
    No solo bastaría con eliminar la definición en faction.py sino que habría que eliminar todas las referencias a la facción del resto de los archivos, y no son pocas esas referencias. E incluso así quizás haya algún script que produzca resultados no deseados para un número menor a seis facciones.

    Como bien dices, Peace, una solución más sencilla es trabajar con los asentamientos (aunque esto no es muy profesional, ya que esas facciones a pesar de no tener asentamientos seguirán existiendo y seguirán apareciendo en el menú de relaciones del jugador entre otros lugares, aunque después podrías ir desactivando esos menús).
    Para borrar el asentamiento borra primero su definición en parties.py y luego busca en que otros archivos se hace referencia a él, seguramente sean solo una u dos veces.

    Si no lo sabes el primer script del script.py se encarga entre otras cosas de repartir los asentamientos entre los reinos, quizás te sea útil.
    Busca esta línea en script.py
    (call_script, "script_give_center_to_faction_aux", "p_castle_1",
    Podrás ver la extensa línea de reparto.


    _________________
    [Tienes que estar registrado y conectado para ver este vínculo]

    Contenido patrocinado


    Ayuda con parties y otros Empty Re: Ayuda con parties y otros

    Mensaje por Contenido patrocinado


      Fecha y hora actual: Jue Mar 28, 2024 12:34 pm