This is a simple Blender script that exports the positions of an object's vertices to the format used by OGZ-Editor to generate .ogz (map) files.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void gl_drawhud() | |
{ | |
// (...) | |
// Line 2229 | |
if(!mainmenu) | |
{ | |
drawdamagescreen(w, h); | |
drawdamagecompass(w, h); | |
hudshader->set(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int renderconsole(int w, int h, int abovehud) // render buffer taking into account time & scrolling | |
{ | |
int conpad = fullconsole ? 0 : FONTH/4, | |
conoff = fullconsole ? FONTH : FONTH/3, | |
conheight = min(fullconsole ? ((h*fullconsize/100)/FONTH)*FONTH : FONTH*consize, h - 2*(conpad + conoff)), | |
conwidth = w - 2*(conpad + conoff) - (fullconsole ? 0 : game::clipconsole(w, h)); | |
// console background | |
extern void bgquad(float x, float y, float w, float h, float tx, float ty, float tw, float th); | |
if(!fullconsole) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//by Salatiel (salatielsauer.github.io) | |
getflag = [ | |
pcountry = (getcountry (getip $arg1)) ; | |
countries = ["undefined" "United Arab Emirates" "Afghanistan" "Armenia" "Angola" "Antarctica" "Argentina" "American Samoa" "Austria" "Australia" "Barbados" "Belgium" "Bangladesh" "Bulgaria" "Bermuda" "Bolivia" "Brazil" "Bahamas" "Canada" "Switzerland" "Chile" "Cameroon" "Colombia" "Costa Rica" "Cuba" "Cape Verde" "Christmas Island" "Germany" "Dominican Republic" "Algeria" "Ecuador" "Estonia" "Egypt" "Spain" "Ethiopia" "Finland" "France" "Georgia" "Guinea" "Greece" "Guatemala" "Hong Kong" "Haiti" "Hungary" "Indonesia" "Israel" "India" "Iraq" "Italy" "Jamaica" "Japan" "Cayman Islands" "Lithuania" "Madagascar" "Mexico" "Nigeria" "Netherlands" "Nepal" "Peru" "Poland" "Puerto Rico" "Portugal" "Paraguay" "Romania" "Serbia" "Russian Federation" "Sudan" "Slovenia" "Turkey" "Ukraine" "Venezuela" "South Africa" "United States" "Norway" "United Kingdom" "Moldova, Republic of" "Kenya" "Iraq" "Liberia" "Pakistan" "Palestine" " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// generates a string of tabs | |
// i.e. echo (concatword (gentabs 2) "hello" (gentabs 5) "world") | |
gentabs = [ | |
_gtabs = "" | |
loop t $arg1 [_gtabs = (concatword $_gtabs "^t")] | |
result $_gtabs | |
] | |
// moves a gui item to any position | |
// i.e. guiitemmove 0 -5 -15 [guititle "Hi"] |
-
Download Blender (version 2.79 or 2.81):
2.79: https://download.blender.org/release/Blender2.79/
2.81: https://download.blender.org/release/Blender2.81/ -
SMC Blender addon (2.79/2.81): https://github.com/SalatielSauer/Blender-SMC-Exporter-updated
-
Move the io_export_smc.py file to the folder blender-2.61-release-(...)/2.61/scripts/addons
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//MOD: Guiskin, Guisliderskin, Guialpha | |
char* cguiskin = "data/guiskin.png"; | |
FVARP(guiskin, "", {cguiskin = guiskin;}); | |
char* cguisliderskin = "data/guislider.png"; | |
FVARP(guisliderskin, "", {cguisliderskin = guisliderskin;}); | |
FVARP(guialpha, 0, 0.5, 1); | |
//END | |
void line_(int size, float percent = 1.0f) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Algoritmo "Binario-Para-Decimal" | |
//Feito por Salatiel S. | |
//a lógica é simples: leia cada digito do binário individualmente da direita | |
//para a esquerda, se o digito for 1, o valor "imáginario" do digito atual será | |
//somado para o resultado final. | |
Var binarioInput: caractere //valor em binário | |
i: inteiro //digito indivudal do binário | |
valorImaginario: inteiro //valores de soma 1 2 4 8 16 32 64.. | |
binarioInvertido: caractere //binário invertido para a soma ficar coerente | |
valorDecimal: inteiro //resultado final |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VARP(editinview, 0, 1, 1); | |
bool noedit(bool view, bool msg) | |
{ | |
if(!editmode) { if(msg) conoutf(CON_ERROR, "operation only allowed in edit mode"); return true; } | |
if(view || haveselent()) return false; | |
float r = 1.0f; | |
vec o = sel.o.tovec(), s = sel.s.tovec(); | |
s.mul(float(sel.grid) / 2.0f); | |
o.add(s); | |
r = float(max(s.x, max(s.y, s.z))); |
- This kind of mining is not illegal.
- This is far from a "hacking script".
- Keys are valid for a few minutes after a user action, so the chances of getting a valid one are minimal.
- A key is generated every 2.5 seconds, it can not be less than this to avoid a "block" coming from discord api.
- Even with this delay, sometimes the block will happen ("You are being rate limited."), but it will only last a few seconds.
- Although not illegal, if you are lucky enough to get a valid key, be aware that someone else will have this key stolen if you claim it (and this is not cool xD).
- Everything was done for study proposals, use at your own risk!!1
NewerOlder