AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   can someone help whit mode? (https://forums.alliedmods.net/showthread.php?t=51202)

exelz 02-13-2007 10:45

can someone help whit mode?
 
i am making a mod but i need help.
1.Hou can i make a armor like this:
name: Flame armor and it adds 60 armor. And hou can i make taha 100 is not max armor and health
2.Hou can i make a item that adds extra dmg to all weapons dmg
3.Hou can i make that i can buy all thing whit money that money what i use to buy like M4A1 and if i dont have money to buy then i cant buy
4. Hou can i make save XP?
5.Hou can i make a Menu where i can choose:
1.Armors(adds armor)
Bronce Armor
Steel Armor
Flame Body
2.Weapons(adds extra dmg)
Dagger
Sword
Blade
3.Items(HP potions that most bind and they recover 20 HP/other items)
HP Potions
Reign - makes you on fire but you dont lose HP, adds super speed, gravity, extra dmg, extra armor, extra HP

gzus 02-13-2007 11:08

Re: can someone help whit mode?
 
you should read up a little more, its fairly easy to add armor to a player, how you want to do it is up to you and your coding style. you could use a menu to have users by the new armor, automaticly give it to them, or have an xp based system that gives more armor with the more xp u get, or some complete different way for that matter.

my point is you should try a few things first, post some code, so someone can help with specific problems, such as giving hp, the basics are easy to code like i said, but theres so many ways to set it up as far as how you want the users to get the hp, buying it, it comes with a reward and so forth.

put a little more thought into it and show some code, since i doubt anyone will just be like 'ok here i'll setup your plugin for you'.

exelz 02-13-2007 11:40

Re: can someone help whit mode?
 
i whant like that
A player types /shop in to the chat
a menu comes out where is
1.Armors
2.Weapons
3.items
Ex. Player chooses 1.Armors then he/she will see list of armors:
Steel Armor - Price:1000, adds 20 armor
Flame Body - Price:5000, adds 100 armor
Dark Armor - Price:10000, adds 200 armor
Ex. Player chooses 2.Weapons then he/she will see list of weapons:
Dagger - Price:500, 3 extra dmg
Sword - Price:1000, 5 extra dmg
Double Dagger - Price:2000, 8 extra dmg
Blade - Price:3500, 15 extra dmg
Ex. Player chooses 3.Items then he/she will see a list of items:
HP Potion - Price:100, can use 3 times, recovers 20hp
Reign Potion - Price:16000, speed,on fire but no dmg taken, 10 extra dmg, gravity, adds 40 hp and 35 armor

Everthing can bought whit that money whit can buy weapons like M4A1

gzus 02-13-2007 11:56

Re: can someone help whit mode?
 
start with a menu tutorial, my advice is the so-called new style menu, it seems to work better for me, then get an actual plugin that works with ur server, and displays a menu, then u can work on the code for buying/giving things.

exelz 02-13-2007 12:02

Re: can someone help whit mode?
 
ok thx for help, +karma for you

gzus 02-13-2007 12:06

Re: can someone help whit mode?
 
theres some things id love to help you with, like for example charging money for weapons/health/armor n such, but i havent gotten that far yet myself. i've got a start of an xp based plugin, like war3, im eventually going to need a shop menu type thing as well, so users can buy the silent steps, invisibility and such, if u get any help with the charging money please let me know, id definatly help u out a lil more than i would usually if u give me a hand! :up:

exelz 02-13-2007 12:37

Re: can someone help whit mode?
 
if i get some help i will help you to. Pm me if you need help and i will see can i help or not, i dont know much about scripting. I am a noob in scripting:S

exelz 02-19-2007 12:56

Re: can someone help whit mode?
 
Quote:

Originally Posted by gzus (Post 439599)
start with a menu tutorial, my advice is the so-called new style menu, it seems to work better for me, then get an actual plugin that works with ur server, and displays a menu, then u can work on the code for buying/giving things.

where can i get new style menu and is it easy to add items and liek this when my menu is:
1.Armors
2.Weapons

When i choose 1.Armors it will show:
1.Steel Armor
2.Fire Armor
3.Burning Armor


All times are GMT -4. The time now is 00:39.

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