Home » MODDING HQ 1.13 » Flugente's Magika Workshop » New feature: individual militia
thumbs26.png  Re: New feature: individual militia[message #349717 is a reply to message #347531] Fri, 05 May 2017 16:11 Go to previous messageGo to previous message
RunAwayScientist is currently offline RunAwayScientist

 
Messages:84
Registered:September 2001
Hey Flugente, as promised (late) I am proud to announce I figured out the issue regarding the previously mentioned bug and would like to submit it to be committed to the SVN.


Turns out the issue was with the alias types GREEN_MILITIA, REGULAR_MILITIA, ELITE_MILITIA and their scope. The alias scope did not apply to PMC.cpp or Assignments.cpp or MilitiaIndividual.cpp



Instead use SOLDIER_CLASS_REG_MILITIA or SOLDIER_CLASS_ELITE_MILITIA for function CreateNewIndividualMilitia() or include the appropriate .h/scope for those aliases to work inside of MilitiaIndividual.cpp


The alias works for StrategicAddMilitiaToSector() just fine, which is quite confusing.





[[ PMC.cpp ]] { BUGGED CODE } :


Toggle Spoiler



[[ PMC.cpp ]] { CORRECTED CODE } :

Toggle Spoiler




[[ Assignments.cpp ]] { BUGGED CODE } :

Toggle Spoiler





[[ Assignments.cpp ]] { CORRECTED CODE } :

Toggle Spoiler

Report message to a moderator

Corporal 1st Class
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message light45.png
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message thumbs26.png
Read Message
Read Message
Read Message
Read Message bug6.png
Read Message
Read Message bug6.png
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New feature: advanced repair/dirt system
Next Topic: New (unofficial) mercs: The Ryder twins (Mass Effect: Andromeda)
Goto Forum:
  


Current Time: Mon Dec 02 13:13:27 GMT+2 2024

Total time taken to generate the page: 0.02339 seconds