Heroes level 5 buffs
- ParaworldFan
- - SEAS -
- Posts: 482
- Joined: Tue Nov 26, 2019 19:36 pm
- Location: Russia, Surgut
Heroes level 5 buffs
I added two new units in the game, but I still can’t figure out how to add them heroes 5 Lvl bonus like Cole HP bonus and etc.
example of code
AddHP_Hu_CHTR_tec_abs = '1' {
op = 'add'
path = '/Modifications/Hu/CHTR/Hitpoints/tec_abs'
value = '250.0'
}
I still don’t know how it’s works. My two new units is not getting the HP buff. How can I fix it?
example of code
AddHP_Hu_CHTR_tec_abs = '1' {
op = 'add'
path = '/Modifications/Hu/CHTR/Hitpoints/tec_abs'
value = '250.0'
}
I still don’t know how it’s works. My two new units is not getting the HP buff. How can I fix it?
Re: Heroes level 5 buffs
have you tried removing the part that says /tec_abs ? or Modifications is the wrong path?
2nd Place Johnnyzocker's Tournament 2008.
2nd Place Saturday Battle Tournament 2010.
3rd Place X-Mas Tournament 2010.
2nd Place Saturday Battle Tournament 2010.
3rd Place X-Mas Tournament 2010.
- ParaworldFan
- - SEAS -
- Posts: 482
- Joined: Tue Nov 26, 2019 19:36 pm
- Location: Russia, Surgut
Re: Heroes level 5 buffs
No I didn’t. Already, I was hoping Henry help me to figure out how this thing with tec and NATO is working.
Re: Heroes level 5 buffs
first things first: what do you want your heroes to do on level 5 exactly?
- ParaworldFan
- - SEAS -
- Posts: 482
- Joined: Tue Nov 26, 2019 19:36 pm
- Location: Russia, Surgut
Re: Heroes level 5 buffs
I just want to add their default lvl 5 bonus to my new units, the Cole’s ones exactly. Like I want they will get an additional +250HP like all infantry units while Cole is lvl 5
Re: Heroes level 5 buffs
Okay, i may have misunderstood what you wanted. I thought you made 2 new heroes, and simply want to give them the same lvl5 bonus.
But now i think you made 2 new infantry units, which should get +250 hitpoints when Cole in on level 5, but they don't get it.
Which one is the case?
But now i think you made 2 new infantry units, which should get +250 hitpoints when Cole in on level 5, but they don't get it.
Which one is the case?
- ParaworldFan
- - SEAS -
- Posts: 482
- Joined: Tue Nov 26, 2019 19:36 pm
- Location: Russia, Surgut
Re: Heroes level 5 buffs
hu_zombie_killer and hu_stone_statue. You can see them in Tech tree what I sended you earlier. And yes, you understood me now right^^.
Re: Heroes level 5 buffs
the techtree which i got from you to try making dc icespearman be producible from seas jail?
- ParaworldFan
- - SEAS -
- Posts: 482
- Joined: Tue Nov 26, 2019 19:36 pm
- Location: Russia, Surgut
Re: Heroes level 5 buffs
Yes, TechTree from my Mega. There all changes what I did for future, about which you read in Changelog, what I was sending you.
Re: Heroes level 5 buffs
... i'm guessing simply adding those two units to the list at Cole's lvl5 entry didn't work?
2nd Place Johnnyzocker's Tournament 2008.
2nd Place Saturday Battle Tournament 2010.
3rd Place X-Mas Tournament 2010.
2nd Place Saturday Battle Tournament 2010.
3rd Place X-Mas Tournament 2010.
Re: Heroes level 5 buffs
the bonus should be automatically working.
what is the class of hu_zombie_killer for example?
(class set in .txt file, and looks like this:
aje_archer {
classattribs {
classname = 'CAje'
gfx = 'aje_archer_s1'
}
objectattribs {
gender = 'female'
level = '0'
caste = 'tec'
tribe = 'Aje'
}
}
)
what is the class of hu_zombie_killer for example?
(class set in .txt file, and looks like this:
aje_archer {
classattribs {
classname = 'CAje'
gfx = 'aje_archer_s1'
}
objectattribs {
gender = 'female'
level = '0'
caste = 'tec'
tribe = 'Aje'
}
}
)
- ParaworldFan
- - SEAS -
- Posts: 482
- Joined: Tue Nov 26, 2019 19:36 pm
- Location: Russia, Surgut
Re: Heroes level 5 buffs
Two new units have claws CHu. Because original ones, had specific class and used to be like standing objects, should be activated through trigger. And yes agree, it should be automatic, but it isn’t. So for better mapping, I created two new same units, but they have their own classes: zombie_killer have class CHu and hu_stone_statue have a new specific one, because of game models, it have my new created class named StoneStatue or like this.
Yes, what you mentioned I already did. I found correct files and changed them, but it didn’t helped.
Yes, what you mentioned I already did. I found correct files and changed them, but it didn’t helped.
Re: Heroes level 5 buffs
ParaworldFan, you have a bunch of questions, requests, bug reports, etc., but i don't have even enough time to respond to all of them.
Upload a package of your current version in an archive somewhere, and i will try to bug test it to find out, why it doesn't work.
Upload a package of your current version in an archive somewhere, and i will try to bug test it to find out, why it doesn't work.
- ParaworldFan
- - SEAS -
- Posts: 482
- Joined: Tue Nov 26, 2019 19:36 pm
- Location: Russia, Surgut
Re: Heroes level 5 buffs
http://www.file-upload.net/download-430 ... a.ula.html Path Mirage/new units.zip
Will try to set up GitHub later
Will try to set up GitHub later
- ParaworldFan
- - SEAS -
- Posts: 482
- Joined: Tue Nov 26, 2019 19:36 pm
- Location: Russia, Surgut
Re: Heroes level 5 buffs
I wanted that stina Chief bonus (lvl5) also gives armor to wild animals if they are player controlled like James warden’s pet, but seems it’s not easy. Any ideas, help? Or maybe I ve messed up with world animals weapon class idunno xD
Re: Heroes level 5 buffs
can't say if you messed it up or not, if i don't know how did you try to do it
- ParaworldFan
- - SEAS -
- Posts: 482
- Joined: Tue Nov 26, 2019 19:36 pm
- Location: Russia, Surgut
Re: Heroes level 5 buffs
chief_mod_world_anml_close = '1' {
op = 'add'
path = '/Modifications/World/ANML/Defence/tec_rel'
value = '20'
}
chief_mod_world_anml_ranged = '1' {
op = 'add'
path = '/Modifications/World/ANML/RangedDefence/tec_rel'
value = '20'
}
op = 'add'
path = '/Modifications/World/ANML/Defence/tec_rel'
value = '20'
}
chief_mod_world_anml_ranged = '1' {
op = 'add'
path = '/Modifications/World/ANML/RangedDefence/tec_rel'
value = '20'
}
Re: Heroes level 5 buffs
seems to be okay at first glance, but i will take a look at your files, once you upload them to dropbox
- ParaworldFan
- - SEAS -
- Posts: 482
- Joined: Tue Nov 26, 2019 19:36 pm
- Location: Russia, Surgut
Re: Heroes level 5 buffs
You meant Mega. And as I mentioned, I not able to delete or replace any files. If I put the new file in the folder where the old one, it just leaves here two files with different name. If this okay, I will upload it very quick, but I think it’s a good idea, because something could be messed up
Re: Heroes level 5 buffs
ohh right, you said that really, i'll change it ASAP
- ParaworldFan
- - SEAS -
- Posts: 482
- Joined: Tue Nov 26, 2019 19:36 pm
- Location: Russia, Surgut
Re: Heroes level 5 buffs
I uploaded new TechTree on shared Mega
- ParaworldFan
- - SEAS -
- Posts: 482
- Joined: Tue Nov 26, 2019 19:36 pm
- Location: Russia, Surgut
Re: Heroes level 5 buffs
Nevermind, figured out all by myself, correct code is here:ParaworldFan wrote: ↑Sat May 30, 2020 11:37 am chief_mod_world_anml_close = '1' {
op = 'add'
path = '/Modifications/World/ANML/Defence/tec_rel'
value = '20'
}
chief_mod_world_anml_ranged = '1' {
op = 'add'
path = '/Modifications/World/ANML/RangedDefence/tec_rel'
value = '20'
}
chief_mod_world_anml_close = '1' {
op = 'add'
path = '/Modifications/World/ANML/Defence/tec_abs'
value = '20'
}
chief_mod_world_anml_ranged = '1' {
op = 'add'
path = '/Modifications/World/ANML/RangedDefence/tec_abs'
value = '20'
}
- ParaworldFan
- - SEAS -
- Posts: 482
- Joined: Tue Nov 26, 2019 19:36 pm
- Location: Russia, Surgut
Re: Heroes level 5 buffs
I ve found the problem, and it’s solved. Somehow for unknown reason, probably that because I created and gave new class to hu_stone_statue the level 5 bonus is get fixed, so now it works. But buffs was still it working for hu_zombie_killer. And how I found out it was mainly because of it had class CHu....I putted code of unit in file, sl_valhalla.txt cause it’s object related by topic to here, it seems technically this file doesn’t have attach to CHu class or to the script which works for heroes Chief bonus, because all what I did just copied code of hu_zombie_killer from sl_valhalla, and paste it in mirage.txt and now level 5 bonuses works properly for this unit.MrMorgana wrote: ↑Thu Apr 09, 2020 5:03 am the bonus should be automatically working.
what is the class of hu_zombie_killer for example?
(class set in .txt file, and looks like this:
aje_archer {
classattribs {
classname = 'CAje'
gfx = 'aje_archer_s1'
}
objectattribs {
gender = 'female'
level = '0'
caste = 'tec'
tribe = 'Aje'
}
}
)