AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   News (https://forums.alliedmods.net/forumdisplay.php?f=41)
-   -   Super Hero Module (https://forums.alliedmods.net/showthread.php?t=34164)

Freecode 07-30-2005 17:52

Super Hero Module
 
Well after the long 4 pages someone has guessed what my sig was for.

Yes i have decided to make a Super Hero Mod AMXX module. Actualy its more of API so it should be mod independant. And could later be used for Source maybe :) ?? The module will change the way we script heroes and hopefully itl be easier. Another thing is its easier to tell whether its a plugin error or a bug in the module. Because plugins (heroes) will get hooked straight to the module. I will post some more info on my status later. But in the past week i have written alot of code so expect this happening soon.

On to other stuff alot of other people been asking about Super Hero Mod for Source. Well as i can see right now might not be happening for awhile considering SourceMod hasnt came out. When its released ill be able to port this module to it hopefully pretty quickly. But other then that no Source for now.


:D

Jonathan Young 07-30-2005 18:59

This sound sreally cool. I like it to tell if it is an error or a bug idea, nice idea and hope it works out well.

Freecode 07-31-2005 13:32

here is my current inc file

Code:
/* SuperHero Mod functions * * by the SuperHero Mod Development Team * * This file is provided as is (no warranties). */ #pragma library Shero //* Natives *// // Returns: // 1: SuperHero Mod Active // 0: SuperHero Mod Not Active native shModActive(); // Returns: // 1: Round Started // 0: Round Dind't Start native RoundStarted(); // Create Hero // 1. Hero Name // 2. Heroe's Power // 3. Hero Info (help) // 4. Hero Requires bind key? true / false // 5. Level Hero available at. // ex. sh_create_hero("Hero","Fly","Press bound button to fly",true,8); native sh_create_hero(name[],power[],help[],bool:keys,level);    //5 params: Name, Power, Help, Key?, level // Register a key down function for hero // ex: sh_set_keydown(g_heroID,"hero_kd"); native sh_set_keydown(heroID, keydownFunction[]); // Register a key up function for hero // ex: sh_set_keyup(g_heroID,"hero_ku"); native sh_set_keyup(heroID,keyupFunction[]); // Get Users Superhero Info // 1. Users ID (Required) // 2. Users XP (Required) // 3. Users LVL (Required) // 4. Users Number of Binds (Required) // 5. Is User banned from using powers? // 6. Is User using a menu? // 7. Users Flags /* ex: new xp, lvl, binds, flag; new bool:Banned; new bool:InMenu; sh_get_user_info(id, xp, lvl, binds, Banned,InMenu, flag); */ native sh_get_user_info(id, xp, lvl, binds, bool: banned = false, bool: inMenu = false, flag = 1); // Set Users XP native sh_set_user_xp(id,xp); // Set users Ban status // True: Banned from using superheroes // False: Not Banned from using superheroes native sh_set_user_ban(id, bool:ban = false); // Set Users LVL native sh_set_user_lvl(id, lvl); //* To Be Used with SuperHero Mod Core ONLY *// // Add hero to user native sh_add_user_hero(id,heroName[]); // Remove Hero from a user native sh_drop_user_hero(id,heroName[]); //* Forwards *// // Called Every new round (after freezetime) forward fwd_new_round(); // Called at the end of every round. forward fwd_end_round();

Prowler 08-01-2005 01:27

This sounds awesome, Can't wait to play around with it once you have it working :)

Freecode 08-01-2005 02:37

Lol. Heres a little fun fact.
Lines: 1700+
Pages: 30+

30 PAGES OF CODE :shock: zomg me pawns :D

Jonathan Young 08-01-2005 02:51

Damn, that is a lot of code. Well it should be a big hitt then, out of all that work, don't want it going to waste.

Freecode 08-01-2005 22:06

The 2 little tards that just spammed the forum will see no light with superhero mod.
I will hardcode their ip address into the dll and they will be perm banned from shero servers.

imported_HOMiE 08-01-2005 23:33

wow :shock: u can actually do that? :shock:

guy 08-02-2005 01:14

Quote:

Originally Posted by Freecode
The 2 little tards that just spammed the forum will see no light with superhero mod.
I will hardcode their ip address into the dll and they will be perm banned from shero servers.

2? I only saw one. Anyways good to see you're making progress (at 45%).

Freecode 08-02-2005 01:40

yes i can hardcode peoples IPs/SteamdIds into the module. So dont f*ck around.

Its most likely more then 45% but i dont feel like breaking my head for a better number.
But i have began beta testing already. Even though alot is still not added its not a biggy.
Got a server so people get ready to join up :)


All times are GMT -4. The time now is 18:41.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.