FOnline Development > Questions and Answers

Fonline 2238 SDK Looting in areas

<< < (3/3)

Peter86A:
Thx a lot for you answers.

Problem solved :)

shinglaifs:
Just in case anyone wondering about this topic.
I wanted to remove the no loot, no drop restriction from Ares Silo; I did the above mentioned and didn't quite work out.
I searched around and find out that Ares Silo has it own location specify no loot, no drop restriction.

Go to map_ares.fos, on line 60 you will find the below codes:

--- Quote ---// =============================================
// Super Mutants / Critter
// =============================================
void _Mob(Critter& mob, bool firstTime)
{
    mob.ModeBase[MODE_NO_LOOT] = 0;
    mob.ModeBase[MODE_NO_DROP] = 0;
    mob.ModeBase[MODE_NO_STEAL] = 0;
    mob.ModeBase[MODE_UNLIMITED_AMMO] = 1;
    _CritSetExtMode(mob, MODE_EXT_MOB);
    mob.SetEvent(CRITTER_EVENT_IDLE, "_MobIdle");
}
--- End quote ---

Change the value of the no_loot, no_drop attribute to "0", and now the muties in the base can be looted.
I think other locations may have similar settings.

Navigation

[0] Message Index

[*] Previous page

Go to full version