FOnline Development > General Discussion
How to get mercenaries in the FOnline SDK?
Ulrek:
Hey...
Well, i've looked over the files, and i've found settings, but i cant quite figure out how to create mercenaries/followers. can anyone point me in the right direction?
-Ulrek-
Michaelh139:
Pretty sure this is a 2238 only thing, ya know, they made and scripted themselves. Unless you mean like, Followers from fo2?
Ganado:
--- Quote from: Michaelh139 on April 13, 2011, 01:11:20 AM ---Unless you mean like, Followers from fo2?
--- End quote ---
I don't think that's part of the FOnline Engine SDK either.
Ulrek:
--- Quote --- /// Mercenary settings
#define MERC_BEGIN (800)
#define MERC_END (809)
#define MERC_COUNT (MERC_END-MERC_BEGIN+1)
#define MERC_MASTER_ID (800) // Id õîçÿèÃà ìåðêÃ
#define MERC_ALWAYS_RUN (801) // ÃðèçÃà ê, ìåðê ïåðåìåùà åòÿ áåãîì ïðè ñëåäîâà Ãèè çà õîçÿèÃîì
#define MERC_CANCEL_ON_ATTACK (802) // ÃðèçÃà ê, îòìåÃÿåò ëè ìåðê ñëóæáó, åñëè õîçÿèà à òà êóåò ñà ìîãî ìåðêà .
#define MERC_LOSE_DIST (803) // Äèñòà Ãöèÿ, ïðè ïðåâûøåÃèè êîòîðîé ìåðê "îòñòà åò" îò õîçÿèÃà è îòìåÃÿåò ðåæèìå ìåðêà .
#define MERC_MASTER_DIST (804) // Äèñòà Ãöèÿ, êîòîðîé ïðèäåðæèâà åòñÿ ìåðê â ðåæèìå ñëåäîâà Ãèÿ çà õîçÿèÃîì
#define MERC_TYPE (805) // Òèï ìåðêà . Ñì. merc_h
#define MERC_DEFEND_MASTER (806) // ÃðèçÃà ê: ìåðê çà ùèùà åò õîçÿèÃà , åñëè òîò à òà êîâà Ã
#define MERC_ASSIST_MASTER (807) // ÃðèçÃà ê: åñëè õîçÿèà à òà êóåò öåëü, ìåðê ïðèñîåäèÃÿåòñÿ ê à òà êå
#define MERC_CANCEL_TIME (808) // Âðåìÿ çà âåðøåÃèÿ ñëóæáû
#define MERC_CANCEL_ON_GLOBAL (809) // ÃðèçÃà ê: ìåðê îòìåÃÿåò ñëóæáó, åñëè õîçÿèà âûøåë Ãà ãëîáà ëüÃóþ êà ðòó.
--- End quote ---
This is from the "_defines" file. so there does seem to be settings made for it. at least for a prototype.
Anyone have any ideas?
-Ulrek-
Wipe:
This are only param numbers; check most obvious - merc.fos and q_npc_v13_dclaw.fos as an example of use. Eventually look for "Merc2Player" in other *.fos files.
Navigation
[0] Message Index
[#] Next page
Go to full version