November 18, 2017, 08:20:52 am
Username:

Password:

Topic: Reloaded 2nd Session Source  (Read 5929 times)

cthulchu

  • Supporter
  • Posts: 124
    • View Profile
Re: Reloaded 2nd Session Source
« Reply #15 on: September 01, 2017, 05:13:22 am »
sure, come back in half a year for it.

Schenando

  • Posts: 7
    • View Profile
Re: Reloaded 2nd Session Source
« Reply #16 on: September 01, 2017, 01:43:48 pm »
Thanks for answer 8)
Vault 21, everythings better!

Slowhand

  • Posts: 246
  • Go for the eye, Boo! Go for the eyes!
    • View Profile
Re: Reloaded 2nd Session Source
« Reply #17 on: September 11, 2017, 04:45:23 pm »
I'm interested in that as well. But I don't think they release it soon or soonish.

K4

  • Posts: 1
    • View Profile
Re: Reloaded 2nd Session Source
« Reply #18 on: September 11, 2017, 09:58:18 pm »
Considering the new season is based on stable REV412 SDK I'm interested too. Correct me if I'm wrong but other than TLA there are no open sourced projects available for this SDK.

DSpica

  • Posts: 2
    • View Profile
Re: Reloaded 2nd Session Source
« Reply #19 on: October 08, 2017, 01:13:05 am »
Sorry for bumping this but I want to ask, how do you disable loot drop on death? I asked around FOdev as well but never really got a solid answer. I was told it was by putting the MODE_NO_LOOT in the critter_init () but I don't know the exact line I need to put in and the exact file that I need to put it in.

Slowhand

  • Posts: 246
  • Go for the eye, Boo! Go for the eyes!
    • View Profile
Re: Reloaded 2nd Session Source
« Reply #20 on: October 08, 2017, 01:40:44 am »
Sorry for bumping this but I want to ask, how do you disable loot drop on death? I asked around FOdev as well but never really got a solid answer. I was told it was by putting the MODE_NO_LOOT in the critter_init () but I don't know the exact line I need to put in and the exact file that I need to put it in.

I never tried this, and can't now, but I would put it into main.fos at:

////////////////////////////////////////////////////////////////////////////////////////////////////
// Called when a critter enters a map.
void map_critter_in(Map& map, Critter& cr)

part somewhere, this is where critters are loaded into the map. Get a check for player if you want no loot on players, otherwise for mobs. Just add:

if (cr.IsPlayer())
    _CritSetMode(cr, MODE_NO_LOOT);

DSpica

  • Posts: 2
    • View Profile
Re: Reloaded 2nd Session Source
« Reply #21 on: October 08, 2017, 01:28:50 pm »
It worked! Thanks so much!