General > Features & Articles

FOnline SDK scripts overview

(1/3) > >>

Slowhand:
FOnline SDK scripts overview.

This will be a list of the script files from Reloaded version 1 source, which will help you find where to edit/modify values/scripts. I will updated them as I progress through them myself. This is done to help me and others following the FOnline tutorials.

Note:

* Definitions = assignment values to variables (for better understanding of the code).
* Macros = definitions of macro functions (functions used often, in different script files).
* Script files which contain only definitions or macros are colored greenish.
* Script files which contain other scripts than defines are colored blueish.
* Script files that are (supposed to be) related to other script files, but are unused or were never used are colored grayish.
* Script files listed nearby each other, without being separated by descriptions, belong together.
Table of Contents:

* Definitions and macros.
* Game mechanics.
* Areas / Maps.
* AI.
* Quests.
* Crafting.
* Inner logic.
* Client specific.
* Misc.
* Disabled/Unused.

Slowhand:
1. Definitions and macros:

* _ai.fos

* AI definitions
* _animations.fos

* Character animation definitions, macros.
* _bags.fos

* NPC default loot definitions. (What will a random NPC drop?)
* _basetypes.fos

* Critter type definitions.
* _client_defines.fos

* A lot of definition related to the client: message types, fonts, screen types, cursor, mouse, items, scrolls, keyboard keycodes, combat messages, effects, etc.
* _client_maps.fos

* Map definitions for client
* _colors.fos

* Macros and a function related to color.
* _defines.fos

* Lots of definitions and macros.
* _dialogs.fos

* Definition of dialogues, basically every dialogue file you use, must be present here.
* _entires.fos

* Definition of entires, these are placeholders where to spawn items, critters, cars etc.
* _globalvars.fos

* Server: Definition of global variables. These variables are used to control refill, respawn timers for craft materials like iron, fibers, etc.
* Client: Config of awareness perk, TC display, fog, etc.
* _macros.fos

* Macros for general usage.
* _mapper_defines.fos

* Definitions used by the Mapper tool.
* _mapper_macros.fos

* A few macros used by the Mapper tool.
* _maps.fos

* List of maps.
* _math.fos

* Useful macros related to mathematics.
* _npc_pids.fos

* Definition of NPC id's.
* _scripts.fos

* Definition of some of the scripts.
* _time.fos

* Time calculation related macros, converting minute, hour, etc. to seconds.
* _town.fos

* Definitions related to towns, TC timer.
* _vals.fos

* A few definition of special values.
* _vars.fos

* Game variables, their type, boundaries and description. Since Dialog editor fails to add new game variables, these needs to be added manually.

Slowhand:
2. Game mechanics:

* antiblocker.fos

* Script related to anti blocker mechanic, an invisible item/entity is placed to doors, chokepoints to detect if someone is standing on it for too long.
* brahmin_pen.fos
* brahmin_pen_h.fos
* brahmin_pens.fos
* brahmin_trader.fos
* brahmin_trader_h.fos
* brahmin_traders.fos

* Script related to brahmin pens and brahmin vendors.
* broadcast.fos
* broadcast_h.fos

* Script related to broadcasting, Town Control, GM messages, etc.
* car.fos
* car_seller.fos

* Script related to car mechanics and car purchase.
* caravan.fos
* caravan_h.fos

* Script related to caravans.
* cave.fos
* cave_critter_h.fos
* cave_critters.fos
* cave_groups
* cave_h.fos
* cave_item_h.fos
* cave_items.fos
* cavelog.fos

* Script related to population of caves, filling it with items, monsters, etc.
* Notes:

* Luck seems to affect the chance to find items in caves.
* To find items and critters in caves is 50%.
* combat.fos
* combat_h.fos
* combat_message.fos

* Script related to combat.
* Notes:

* Changing the effects of perks, or any other combat mechanics, or combat messages is most likely to be happen here.
* cutscenes_h.fos
* cutscenes.fos

* Script related to combat.
* dialog.fos
* dialog_altruist.fos
* dialog_factions.fos
* dialog_reputations.fos

* A lot of scripts related to general dialog functions like: Giving perks, Healing, Killing NPC, Day pass for Vault City, Reputation gains, Faction functions, etc.
* Notes:

* Logic for healing price is defined here as well.
* drugs.fos
* drugs_data.fos

* Script related to drugs, effects.
* economy.fos
* economy_bank.fos
* economy_bankaccount.fos
* economy_banker.fos
* economy_h.fos

* Script related to economy: bank, banker, traders, money transfers, etc.
* elevators_h.fos
* elevators.fos

* Scripts related to elevators.
* encounter_containers.fos
* encounter_guards.fos

* Scripts related to encounter, guard warnings when getting close, containers, etc.
* explode.fos
* explode_backup.fos

* Scripts related to explosions.
* faction_data.fos
* factions.fos
* factions_bases_h.fos
* factions_bases.fos
* factions_generic.fos
* factions_generic_bartender.fos
* factions_h.fos
* factions_names.fos
* factions_news.fos
* factions_player_h.fos
* factions_player.fos
* factions_recognition.fos
* factions_terminal.fos
* factions_vc_q_scoutsf.fos

* Scripts related to factions. Lot of things..
* follower.fos
* follower_capturing.fos
* follower_common_h.fos
* follower_common.fos
* follower_h.fos
* followers_menu.fos

* Scripts related to followers..
* geiger.fos

* Scripts related to Geiger counter.
* globalmap_groups.fos

* Scripts related to groups on world map.
* lockers.fos

* Scripts related to lockers/locks.

Slowhand:
3. Areas / Maps:

* arena.fos
* arena_generator.fos

* Scripts related to Hinkley arena.
* map_barter_ground.fos
* map_bhcave.fos
* map_broken.fos
* cathdead.fos
* map_denbus.fos
* map_domination.fos
* map_gecko.fos
* map_ghostfarm.fos
* map_golgotha.fos
* map_klamath.fos
* map_ncr_army.fos
* map_npcmap.fos
* map_prospect.fos
* map_rq_cave.fos
* aa.fos
* aa.fos
* aa.fos
* aa.fos
* aa.fos
* a.fos
* .fos

* Map scripts resulting in default scripts or simple inits.
* map_arena.fos
* map_ares.fos
* map_boneyard.fos
* map_bos_lh.fos
* map_bosbunker.fos
* map_cathedral.fos
* map_encounter.fos
* map_frisco_mine.fos
* map_glow.fos
* map_hub.fos
* map_junktown.fos
* map_klam_tox.fos
* map_mariposa.fos
* map_modoc.fos
* map_navarro.fos
* map_navarro_sub1.fos
* map_nrc_downtown.fos
* map_ncr_prison.fos
* map_newreno.fos
* map_player_mine.fos
* map_playerfaction_hq.fos
* map_public_mines.fos
* map_raiders_cave.fos
* map_raiders_cave_entrance.fos
* map_raiders_farmhome.fos
* map_raiders_south.fos
* map_random_cave.fos
* map_redding.fos
* map_redding_bank_vault.fos
* map_redding_lost.fos
* map_redding_mine.fos
* map_sad.fos
* map_se_door.fos
* map_se_howitzer.fos
* map_se_secret_shelter.fos
* map_sf_bos.fos
* map_sf_china.fos
* map_sf_shi.fos
* map_sf_tanker.fos
* map_slaverun.fos
* map_starter.fos
* map_talchem.fos
* map_vault13.fos
* map_vault15.fos
* map_vcity.fos
* map_vcity_bank_vault.fos
* map_vcity_hq.fos
* arena_generator.fos

* Scripts related to different areas, maps, including some logic or setup other than one init.
* map_se_door.fos
* map_se_howitzer.fos
* map_se_secret_shelter.fos
* map_greet.fos

* Special encounter map scripts.
* map_greet.fos

* Greeting scripts of maps.
* map_tent_h.fos
* map_tent.fos

* Tent map scripts.
* map_trainyard.fos

* Map script for all trainyards.
* mapdata_h.fos

* Header to include in any script using Map::GetData or Map::SetData.

Slowhand:
4. AI:

* Generic AI:

* all_brahmin.fos
* all_brahmin_herdsman.fos

* Brahmin script, movement, frequency of the shit production, etc.
* Brahmin herdsman script, not used or mostly empty.
* all_farmer.fos

* Scripts for "farmers" or "homesteaders".
* generic_guard.fos

* Scripts for generic guards, having no special duty, but belonging to a faction.
* guard_h.fos
* guard.fos

* Guard behaviour related scripts.
* Specific AI:

* cathedral.fos

* Script for cathedral guards. (Unity faction)
* bos_lh_guard.fos

* Scripts for Brotherhood of Steel guards. (Brotherhood of Steel faction)
* den_metzger_guard.fos

* Scripts for Metzger guards. (Slaver? faction)
* hub_guard.fos

* Scripts for Hub guards.
* junktown_guard.fos

* Scripts for Junktown guards.
* la_ady_guard.fos

* Adytum guard scripts.

Navigation

[0] Message Index

[#] Next page

Go to full version