Page 1 of 1

genesis 3d forevaaa :')

PostPosted: Tue Mar 11, 2014 2:06 am
by estantaya
Genesis 3D is back!!!!! wow I can not believe it, congratulations

was looking for source code referred to "genesis 3d" / "gold source" and other old-school, I want to create a mod, like "metamod" having half-life

I am currently write scripts for counter-strike 1.6, using language called "Pawn" by amx mod x, this kind of online games are played but spent 10 years are

Example:

/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <csx>

#define PLUGIN "Crafting Weapons"
#define VERSION "1.0"
#define AUTHOR "estantaya"

#define MAX_TEXT_LENGTH 255

#define MAX_NAME_LENGTH 31


new jugador_slots = 1
new crafting[MAX_TEXT_LENGTH + 1] = "Crafteo nivel:1"
new crafteoIds[MAX_TEXT_LENGTH + 1] = 0
new cwmsg=0

new jugador_nombre[MAX_NAME_LENGTH + 1] = ""


public plugin_init() {


register_plugin(PLUGIN, VERSION, AUTHOR)

crafteoIds[0]=0

register_logevent("eventoStart", 2, "0=World triggered", "1=Round_Start")

register_clcmd("say /CW", "craftingWeapons", 0, "Crafting Weapons te permite crear nuevas armas a partir de las basicas del Counter-Strike%sMezclando armas podras conseguir nuevas")
register_clcmd("say /CWi", "craftingLista", 0, "Agrega el arma equipada a tu lista de crateo")
register_clcmd("say /CWc", "craftingArma", 0, "Prueba la combinación actual si tienes exito conseguiras nuevo armamento")

}

public craftingWeapons(id) {


client_print(id, print_chat, "Escribe /CWi para agregar el arma que tengas equipada a tu crafting. Una vez terminado escribe /CWc")

return PLUGIN_CONTINUE

}

public craftingLista(id){


new arma[32]
get_weaponname(get_user_weapon(id), arma, 31)
client_print(id, print_center, "Slot %d agregado (%s)", jugador_slots, arma)
format(crafting,sizeof crafting - 1,"%s,%s", crafting, arma)
crafteoIds[jugador_slots]=get_user_weapon(id)
jugador_slots+=1
return PLUGIN_CONTINUE

}

public craftingArma(id){

switch(jugador_slots)
{
case 2:
client_print(id, print_chat, "Usas %s, no paso nada...", crafting)

case 3:
if ( crafteoIds[1] == 22 && crafteoIds[2] == 29 )
{
client_print(id, print_chat, "Tu combinación (%s) resulto en 1 m4a1 con cuchillo", crafting)
}
}
if (jugador_slots<4) {
jugador_slots=1
crafting = "Crafteo nivel:1"
return PLUGIN_HANDLED
}
client_print(id, print_chat, "Tu combinación (%s) no resulto :(", crafting)
crafting = "Crafteo nivel:1"
jugador_slots=1

return PLUGIN_CONTINUE

}

public eventoStart(){
if (cwmsg==0){
set_task(5.0, "craftingWelcome")
cwmsg=1
}
return PLUGIN_CONTINUE
}

public craftingWelcome(id)
{
get_user_name(1, jugador_nombre, sizeof jugador_nombre - 1)
client_print(id, print_chat, "[Crafting weapons] Hola %s, tu nivel de crafteo es 1, escribe /CW para saber mas...", jugador_nombre)
return PLUGIN_CONTINUE
}


mini-plugin make in 10 mins :)
only show dialogs :P


Greetings from Argentina ^ ^

Re: genesis 3d forevaaa :')

PostPosted: Tue Mar 25, 2014 1:14 pm
by g3d_admin
Hi Estantaya,

Thanks for your interest! Unfortunately Genesis3D isn't back quite yet. I've taken over ownership of the domain and website but it appears that the SDK's installer is corrupt and unrecoverable. So for now, this may not be the engine for you.

I'm working on bringing back the old forums and a 'tribute' site to pay homage to the original Genesis3D engine (which is about 15 years old now!) While that's going on a new website/forums/wiki/etc will be going up as well as a new engine with more up to date technology.