Page 1 of 1

Teddy_bear мои ссылки

Posted: Mon Dec 02, 2013 00:32
by Teddy_bear2
Please dont post here anything. Просьба в теме ничего не писать

для "Скриптовые мечты" Might&Magic
________________________________________

Artifacts_restriction_by_Teddy_bear last update 01.12.2013 description
Artifacts_mapscenario_restriction last update 01.12.2013
Arts_punishment_by_Accolon last update 01.12.2013
creature_generator_point_problem last update 02.12.2013
statistic_equi_army last update 02.12.2013
________________________________________


для Баги мода
________________________________________

hero_and_army_events_test last update 02.12.2013
________________________________________



PS. модерам и админам большая просьба: дать юзерам встраивать теги в текст поста, чтобы можно было на конкретный пункт ссылаться.
кроме того, для создания описаний spoiler необходим. Иначе обзорность и ссылки теряются за массой бУкОв
Url_Self и таг для быстрого перехода по постам в том же окне не работает, печалько.

Posted: Mon Dec 02, 2013 13:18
by Игорь Павлов
ага-ага. нашел место в интернете, куда впихнуть свои сылки на вирусы
вот только к ссылкам полагается описание

Posted: Tue Dec 03, 2013 04:32
by Teddy_bear2
Description for Artifacts_restriction_by_Teddy_bear
_______________

Working example of how to make restriction for any hero/team of heroes to wear a certain artifact individually.
Usefull for RPG-like maps (like Might&Magic series).
Insert a boolean into Carry_over_Hero_Encountered_Event with your own switching conditions.
(for ex. to let a certain hero "learn" a new skill of wearing heavy armors during a game / or you may set up your own level promotion table, letting "Paladin" wear heavy armors by standart, during "Archer" wont be able to do that)

(-) requires lots of programming
(-) works upon attacking the enemy
(-) can not restrict 100% all of artifatcs in the game at the same time for 1 hero. requires at least 1 item for every slot, that this hero wont be using dirung the whole map.
(+-) the only known possible way by now

Could be better solved with
1) some "dummy" items, to insert into a slot (while giving the original artifacts back to the hero's bag). Wich are not used by the game in any way further.
--> saves time for recoding/selecting "dummy" items for the new map/heroes conditions.

2) copy-paste and text edit function for a script code (lets also use find in .txt. Slava's H4 Map Utility somehow cant be usefull with events on carry_over_heroes and heros).
--> saves time for creating many individual variable_names for different heroes

3) an event for "wearing/not wearing" (checks if item is in the slot) instead of only "owns/not owns"(checks if item is in the bag)
--> prevents computations if hero is only carrying items in the bag (for ex. till the nearest shop)
--> let create a pop-up message directly after hero put on the restricted artifact, and take action before attacking the enemy (more aesthetically acceptable)

____Image