Mine with reptions[message #361654]
|
Sun, 25 October 2020 04:17
|
|
MH17 |
|
Messages:46
Registered:November 2018 Location: Antarctica |
|
|
Hi! I'm exploring function InitCreatureQuest() in file Creature Spreading.cpp. I'd like to preselect the mine in Alma as a nest of the insects. Straightforward modification of iChosenMine parameter didnt help me, is there anything else I have to take into account?
Thanks a lot in advance!
Report message to a moderator
|
Corporal
|
|
|
|
Re: Mine with reptions[message #361697 is a reply to message #361658]
|
Wed, 28 October 2020 13:09
|
|
MH17 |
|
Messages:46
Registered:November 2018 Location: Antarctica |
|
|
Hello SilverSurfer!
Straightforward modification of "Infectible = 1" for Alma doesnt work, but it seems to me I have managed to complete the quest!
The solution is in the folder "scripts" containing the *.lua code.
After few corrections in the function "CheckConditionsForTriggeringCreatureQuest", which launches 'InitCreatureQuest" I got the nest in the city of Troy (or Alma in Vanilla JA2).
The code testing is still in progress, but quick trip around Danubia (Urban Chaos mod) with cheat-codes doesnt reveal any problem.
[Updated on: Wed, 28 October 2020 13:11] Report message to a moderator
|
Corporal
|
|
|