MegaGlest Forum

Modding and game content creation => Mods => Topic started by: thdgaming on 22 October 2016, 17:53:03

Title: Zombie Invasion (faction/techtree for MG)
Post by: thdgaming on 22 October 2016, 17:53:03
Je viens de créer le mod Zombie Invasion basé sur le mc_pack.
I have created the Zombie Invasion pack based on the mc_pack.

Here the download link :
https://drive.google.com/open?id=0B6xRarshdokBYk83dUhUQmRoTDA

And the loading screen :
https://plus.google.com/u/0/photos/photo/100612302222048646439/6344346413947938370?icm=true

C'est juste un mod pour produire des zombies à l'infini mais je n'ai pas fait un gros travail non plus, j'ai juste édité des fichiers xml et des images avec Gimp.
It's just a mod for produce infinited zombies but I don' t work hard, I have just edited xml and images.

Qu'est ce que vous en pensez ?
What do you think about that ?
Title: Re: Zombie Invasion (faction/techtree for MG)
Post by: titi on 27 October 2016, 09:00:37
How can I download this ? The download leads me to a google drive and what do I do there ?
Title: Re: Zombie Invasion (faction/techtree for MG)
Post by: thdgaming on 27 October 2016, 12:35:35
Sorry, I just made chit
Here a valaible link, with an update : https://drive.google.com/open?id=0B6xRarshdokBRVh5VG0wS0Y0cnc
It's in a tar.gz archive, just click download like in this image
https://drive.google.com/open?id=0B6xRarshdokBY0FDTGhNejFZTmc
Title: Re: Zombie Invasion (faction/techtree for MG)
Post by: thdgaming on 27 October 2016, 12:38:41
You need to accept the download, google cannot analyse the file so they don't recommend to download it  :|
Title: Re: Zombie Invasion (faction/techtree for MG)
Post by: titi on 27 October 2016, 13:05:06
But there is no way to download the whole mod, I can just download each seperate file  :'(
Title: Re: Zombie Invasion (faction/techtree for MG)
Post by: thdgaming on 27 October 2016, 13:09:38
You need to click on the new link, the first link is not good.
Title: Re: Zombie Invasion (faction/techtree for MG)
Post by: thdgaming on 27 October 2016, 13:19:23
If you want to try with another way, click on this link
https://drive.google.com/open?id=0B6xRarshdokBeHFCaU56ZHNIOHM
You can download all my maps and all my mods
Title: Re: Zombie Invasion (faction/techtree for MG)
Post by: titi on 27 October 2016, 14:30:11
ah here are some tar.gz:
https://drive.google.com/drive/folders/0B6xRarshdokBazNMdmRBanBwcFU   ;D
Title: Re: Zombie Invasion (faction/techtree for MG)
Post by: titi on 27 October 2016, 17:47:26
I downloaded it and played a bit now. I hope you have the tileset too? https://forum.megaglest.org/index.php?topic=8126.0
Title: Re: Zombie Invasion (faction/techtree for MG)
Post by: thdgaming on 27 October 2016, 19:52:08
Yes I have, but I don't play with it, I don't like
I used Spring tileset
I work on another version with a different gameplay
Title: Re: Zombie Invasion (faction/techtree for MG)
Post by: andy_5995 on 18 February 2017, 02:32:52
Here's a .7z I created of the mod:
link: zombie_invasion.7z (https://drive.google.com/file/d/0B-Ixr8t8mjDsUTVHdjRoazJFTE0/view?usp=sharing)
md5sum: 0c131a18b1ac6557a8b3f22ec205e576
file size: 48294541

I made a correction to one xml file and that fix is included in the 7z archive.

@thdgaming: Problem with the tech faction included with your mod:
Code: [Select]
*ERROR* [2017-02-17 20:06:56] In [/home/andy/src/megaglest-source/source/glest_game/types/skill_type.cpp::load Line 485] ERROR CANNOT LOAD MODEL [/home/andy/src/megaglest-source/mk/linux/.megaglest/techs/zombie_invasion/factions/tech/units/swordman/models/guard_attacking.g3d] for parentLoader [/home/andy/src/megaglest-source/mk/linux/.megaglest/techs/zombie_invasion/factions/tech/units/swordman/swordman.xml]
*ERROR* [2017-02-17 20:06:56] In [unit_type.cpp::loaddd Line: 897] Error [Error: cannot load model [/home/andy/src/megaglest-source/mk/linux/.megaglest/techs/zombie_invasion/factions/tech/units/swordman/models/guard_attacking.g3d] for skill [attack_skill]  ]
*ERROR* [2017-02-17 20:06:56] In [faction_type.cpp::load Line: 195] Error [Error loading UnitType: /home/andy/src/megaglest-source/mk/linux/.megaglest/techs/zombie_invasion/factions/tech/units/swordman/swordman.xml
Message: Error: cannot load model [/home/andy/src/megaglest-source/mk/linux/.megaglest/techs/zombie_invasion/factions/tech/units/swordman/models/guard_attacking.g3d] for skill [attack_skill]  ]
*ERROR* [2017-02-17 20:06:56] In [tech_tree.cpp::load Line: 366] Error [Error loading units: /home/andy/src/megaglest-source/mk/linux/.megaglest/techs/zombie_invasion/factions/tech/
Message: Error loading UnitType: /home/andy/src/megaglest-source/mk/linux/.megaglest/techs/zombie_invasion/factions/tech/units/swordman/swordman.xml
Message: Error: cannot load model [/home/andy/src/megaglest-source/mk/linux/.megaglest/techs/zombie_invasion/factions/tech/units/swordman/models/guard_attacking.g3d] for skill [attack_skill]  ]
*ERROR* [2017-02-17 20:06:56] In [program.cpp::setState Line: 697]
Error [Error loading Faction Types: /home/andy/src/megaglest-source/mk/linux/.megaglest/techs/zombie_invasion/
Message: Error loading units: /home/andy/src/megaglest-source/mk/linux/.megaglest/techs/zombie_invasion/factions/tech/
Message: Error loading UnitType: /home/andy/src/megaglest-source/mk/linux/.megaglest/techs/zombie_invasion/factions/tech/units/swordman/swordman.xml
Message: Error: cannot load model [/home/andy/src/megaglest-source/mk/linux/.megaglest/techs/zombie_invasion/factions/tech/units/swordman/models/guard_attacking.g3d] for skill [attack_skill]  ]
Title: Re: Zombie Invasion (faction/techtree for MG)
Post by: thdgaming on 18 February 2017, 22:50:36
I don't have this problem, I actually run megaglest on Linux Mint 18 cinnamon 64bit but I need to check. I don't know how to fix it 😅
Title: Re: Zombie Invasion (faction/techtree for MG)
Post by: andy_5995 on 18 February 2017, 22:53:57
The problem is more obvious by looking at the end of the 2nd line.

Quote
swordman/models/guard_attacking.g3d] for skill [attack_skill]

That should be 'swordman_attacking.g3d'
Title: Re: Zombie Invasion (faction/techtree for MG)
Post by: thdgaming on 18 February 2017, 22:57:56
That's interressant, I will correct it as soon as I can  :thumbup:  :) In 48 hours max I promise
Title: Re: Zombie Invasion (faction/techtree for MG)
Post by: thdgaming on 19 February 2017, 17:18:04
I had a problem with the pack, the size... I need to correct it but I can't, can someone suggest me a way to remove some folders of units in the factions ?  :(
Title: Re: Zombie Invasion (faction/techtree for MG)
Post by: andy_5995 on 19 February 2017, 18:23:01
Maybe I can help. What correction do you wish to make? What do you wish to remove?
Title: Re: Zombie Invasion (faction/techtree for MG)
Post by: jammyjamjamman on 19 February 2017, 18:39:54
I had a problem with the pack, the size... I need to correct it but I can't, can someone suggest me a way to remove some folders of units in the factions ?  :(

You delete units from the faction like how you delete a normal folder. However, it is likely you will get errors doing this for which there are no uniform methods to correct.

If you're getting errors when you delete the folder, that means there's another unit/ building/ upgrade/ resource that requires this unit in the faction. You then have to remove all mentions of this unit in all the xml's in the faction.
Hint: suppose you want to remove the cave_spider. First delete the cave_spider folder. Next, open a terminal in the faction folder (NOT the techtree folder, the faction's folder inside the techtree) which contained the now-deleted cave_spider folder. Next, type this into the terminal:
Code: [Select]
grep -r -l "cave_spider" .This command will list all the files in the faction which contain the word "cave_spider". You then have to manually fix these files. If you want to delete a different unit/ building, it's the same process but delete that unit's folder, and replace "cave_spider" with the unit you want to delete.

Unfortunately, there's a few different types of errors that might pop up which require different fixes.

Another thing I noticed, your faction folders are full of .xml~'s (probably backups generated from using gedit). You can delete these by going into the top directory of the techtree in a terminal and then recursively delete them:
Code: [Select]
find -name '*.xml~' -exec rm -f {} \;
Title: Re: Zombie Invasion (faction/techtree for MG)
Post by: thdgaming on 19 February 2017, 22:14:47
I have tried, however my main PC stay with that errors. Thanks for your help, I wanna try to fix as fast as I can 😉
Title: Re: Zombie Invasion (faction/techtree for MG)
Post by: titi on 20 February 2017, 10:07:57
Just a hint: Use latest git version of MG to test, this gives much better error messages.
Title: Re: Zombie Invasion (faction/techtree for MG)
Post by: thdgaming on 20 February 2017, 10:39:33
 Thanks, I gonna try letter  :thumbup:
Title: Re: Zombie Invasion (faction/techtree for MG)
Post by: andy_5995 on 20 February 2017, 19:28:10
@thdgaming:

This link I provided above has a package that produces no errors. I edited the file before I made the archive.

You want to remove a faction though?

If you use GitHub, and place your project into a github repository, I could help you faster with it.

Here's a .7z I created of the mod:
link: zombie_invasion.7z (https://drive.google.com/file/d/0B-Ixr8t8mjDsUTVHdjRoazJFTE0/view?usp=sharing)
md5sum: 0c131a18b1ac6557a8b3f22ec205e576
file size: 48294541

I made a correction to one xml file and that fix is included in the 7z archive.

@thdgaming: Problem with the tech faction included with your mod:
Code: [Select]
*ERROR* [2017-02-17 20:06:56] In [/home/andy/src/megaglest-source/source/glest_game/types/skill_type.cpp::load Line 485] ERROR CANNOT LOAD MODEL [/home/andy/src/megaglest-source/mk/linux/.megaglest/techs/zombie_invasion/factions/tech/units/swordman/models/guard_attacking.g3d] for parentLoader [/home/andy/src/megaglest-source/mk/linux/.megaglest/techs/zombie_invasion/factions/tech/units/swordman/swordman.xml]
*ERROR* [2017-02-17 20:06:56] In [unit_type.cpp::loaddd Line: 897] Error [Error: cannot load model [/home/andy/src/megaglest-source/mk/linux/.megaglest/techs/zombie_invasion/factions/tech/units/swordman/models/guard_attacking.g3d] for skill [attack_skill]  ]
*ERROR* [2017-02-17 20:06:56] In [faction_type.cpp::load Line: 195] Error [Error loading UnitType: /home/andy/src/megaglest-source/mk/linux/.megaglest/techs/zombie_invasion/factions/tech/units/swordman/swordman.xml
Message: Error: cannot load model [/home/andy/src/megaglest-source/mk/linux/.megaglest/techs/zombie_invasion/factions/tech/units/swordman/models/guard_attacking.g3d] for skill [attack_skill]  ]
*ERROR* [2017-02-17 20:06:56] In [tech_tree.cpp::load Line: 366] Error [Error loading units: /home/andy/src/megaglest-source/mk/linux/.megaglest/techs/zombie_invasion/factions/tech/
Message: Error loading UnitType: /home/andy/src/megaglest-source/mk/linux/.megaglest/techs/zombie_invasion/factions/tech/units/swordman/swordman.xml
Message: Error: cannot load model [/home/andy/src/megaglest-source/mk/linux/.megaglest/techs/zombie_invasion/factions/tech/units/swordman/models/guard_attacking.g3d] for skill [attack_skill]  ]
*ERROR* [2017-02-17 20:06:56] In [program.cpp::setState Line: 697]
Error [Error loading Faction Types: /home/andy/src/megaglest-source/mk/linux/.megaglest/techs/zombie_invasion/
Message: Error loading units: /home/andy/src/megaglest-source/mk/linux/.megaglest/techs/zombie_invasion/factions/tech/
Message: Error loading UnitType: /home/andy/src/megaglest-source/mk/linux/.megaglest/techs/zombie_invasion/factions/tech/units/swordman/swordman.xml
Message: Error: cannot load model [/home/andy/src/megaglest-source/mk/linux/.megaglest/techs/zombie_invasion/factions/tech/units/swordman/models/guard_attacking.g3d] for skill [attack_skill]  ]
Title: Re: Zombie Invasion (faction/techtree for MG)
Post by: thdgaming on 20 February 2017, 22:02:10
Thanks for your help. I cannot place my project on GitHub because I don't have 18 years old and that's is not a very good project. But I think if I start a new version of MegaGlest that will be interessant to share !  :thumbup:
If you want to work faster with me, please contact me linuxplayercr@gmail.com.
Title: Re: Zombie Invasion (faction/techtree for MG)
Post by: thdgaming on 28 June 2018, 19:53:16
A new version is available. You can download on my Google Drive here : https://drive.google.com/file/d/1ieeiGWdTMMdf1W2R7dn9O8of8YXmghz5/view
Title: Re: Zombie Invasion (faction/techtree for MG)
Post by: titi on 4 August 2018, 22:21:01
good job :)

Here the end of a mega CPU playing Zombie Invasion. ( Me tech )

(http://titi.megaglest.org/tmp/screen293.jpg)
Title: Re: Zombie Invasion (faction/techtree for MG)
Post by: thdgaming on 7 August 2018, 12:47:58
Now the Zombie_invasion mod is part of the ZetaGlest project. It is downloadable from github at this link : https://github.com/ZetaGlest/zombie_invasion
Title: Re: Zombie Invasion (faction/techtree for MG)
Post by: titi on 7 August 2018, 22:52:55
ok, but we played the version above using MegagGlest today and it was very fun to fight the AI with tech. Thats not for beginners :D . We played it coop on map "conflict" several times its really fun.
Title: Re: Zombie Invasion (faction/techtree for MG)
Post by: thdgaming on 10 August 2018, 08:49:46
The mod is ZetaGlest and MegaGlest compatible  :)