Skip to content

Instantly share code, notes, and snippets.

View mrowrpurr's full-sized avatar

Mrowr Purr mrowrpurr

View GitHub Profile
procedure setup_proc_names begin
proc_names = {
0: "no_proc",
1: "start_proc",
2: "spatial_proc",
3: "description_proc",
4: "pickup_proc",
5: "drop_proc",
6: "use_proc",
7: "use_obj_on_proc",
:: Create a mods\ folder to add to .zip
mkdir mods
:: Go into folder with scripts
cd data\scripts
:: Add our global script(s) to a .dat file
dat2 a -t scripts Ouchie.dat gl_ouchie_ouch.int
:: dat2 a -t scripts Ouchie.dat gl_second.int
:: dat2 a -t scripts Ouchie.dat gl_third.int
AIBKDOR.SSL ECELRON.SSL GENERIC.SSL NICROSS.SSL VITERM.SSL
AICAVDOR.SSL ECGRDFRV.SSL GIJNKBOX.SSL NITOILET.SSL VIVLTDOR.SSL
AILKBOX.SSL ECGRDTRM.SSL GIPERBOX.SSL OIFTLKR.SSL VIVLTDR2.SSL
ANIMFRVR.SSL ECHERMIT.SSL HIBH1BOX.SSL OILOCKER.SSL VTALOMRK.SSL
ASCRLDR.SSL ECHLYPPL.SSL HICAVEIN.SSL OSV13DR.SSL WIBNKDOR.SSL
ATDEATH.SSL ECHOMLES.SSL HICONSOL.SSL QIGECKDR.SSL WIENTDOR.SSL
BISPYHOL.SSL ECHUNTER.SSL HIDEAD.SSL RIJALDOR.SSL WIEVCDSK.SSL
CICRISDR.SSL ECIRRAD.SSL HILADDER.SSL SCBRAHMN.SSL WIEXPDSK.SSL
CIMINE.SSL ECNOMAD.SSL HINOTE.SSL SICLSDOR.SSL WIGNNDSK.SSL
CIVENT.SSL ECNOMCHF.SSL HIPOWER.SSL SIFAKHLO.SSL WIHOWITZ.SSL
procedure call_me(variable x) begin
display_msg("OMG YOU CALLED ME with: " + x);
return "THIS IS THE RETURN RESULT! " + x;
end
// SETUP CODE
variable __setup_dialogue_procs_compiler_trick_variable = true;
#define setup_dialogue_procs \
@mrowrpurr
mrowrpurr / sfall opcodes.txt.dart
Created July 11, 2022 23:44
sfall opcodes.txt - From sfall resources
// You can find this in the sfall modders pack
// This gist is only for quick resource lookup
// This file is not mine
// Get it from here: https://sourceforge.net/projects/sfall/
// VANILLA OPCODES AND MACROS (generated from russian HLP file and google-translated):
int action_being_used - returns the skill ID used on the object, which is called in the script command
ObjectPtr dude_obj - returns a pointer to Player
@mrowrpurr
mrowrpurr / Useful Fallout 2 intrface art.md
Last active August 3, 2022 00:56
Useful Fallout 2 intrface art

Fonts

Font Sizes (line height):

100 12
101 10
102 28
103 20
"editor.rulers": [80,120],
"workbench.colorCustomizations": {
"editorRuler.foreground": "#ff00d0"
},
#! /usr/bin/env ruby
# Generate Search .ini File for Fallout 2 protos
data_dir = "C:/GOG/Games/Fallout 2/data"
categories = {
CRITTERS: "pro_crit.msg",
ITEMS: "pro_item.msg"
}

Mrowr Purr's Fallout Modding TODO

Debug Helpers

  • Can include helper for tests which sends debugs to a map => array of messages, keyed on DEBUG_NAME

Waterchip

  • can describe to a certain proc which you can call by name (or via Signal!) for tests, so it doesn't run on start :)