ESF Attack help.
I was wondering what is the command to remove an attack.
theres a give_item, but like not a remove_item. Secondly is it possible ( or its possibly possible but if anybody knows... ) how to actually make your own attacks... Like i know its possible to change the sprites of an attack, which i dont exactly want... and i also know its possible to do 'specials' like in evm, where you press a button But i wanted it to be like a normal attack you can select with your keys, and has its own charge time, vgui sprite showing, and its own sounds etc. Or otherwise, Changing the VGUI sprite (in game) to show to another sprite, and changing its parameters (ie. charge time, damage, sound I know is possible) aswell. Sorry my english is jumbled a bit I'm tired... P.S. In ESF when you transform your ki usage for things is reduced, and was wondering what that variable is... :$ Thanks, ShAyA |
To remove weapons.
strip the user weapons and give him the attacks where you wanna keep Code:
public client_PreThink(id)Dunno about the other things 100% sure. Its been an while since i modded ESF a little. -- How you mean Ki usage ? You mena the Powerlevel (with the offsets) ot the KI where is the BlueBar ? Ah you mena the KI after rereading it ^^ Code:
entity_get_float( id, EV_FL_fuser4 );Code:
new KI = entity_get_float( id, EV_FL_fuser4 ) |
err i thought the max ki was 999.999.999
why you do then the Quote:
or is that the bar and not the number ? |
KI and Powerlevel are two different things.
KI = is in the BlueBar where you are able to charge up. PL = is the Number that keeps rising when you fight or Transform. |
Well yeh ki usage...
i know how to set the ki usage bar, and I'd be able to code my own of what im saying (but if its just one variable change I'd prefer that). When your normal goku, one transport takes away like almost a quarter of your ki, but when you transform it takes like 1/10th of the bar. Is there a variable somewhere that changes how much ki is used by doing general things (flying, swooping, charging attacks). And also... what about adding new attacks??? like completely coding new attacks if what I said earlier was confusing. Like is it possible, to make your own 'item slot' that you can catch when they hold down the button or something and let go? Or what about just 'special' coding, you press a button, you charge up a 'fake' attack, and then shoot it at someone (like in evm: buus genocide), how do you control things like the speed it goes, the size, chargetime etc, an example of a 'special' would probably greatly help me. |
uhh.. bump...
|
- There are no KiCost variables, you need to adjust it yourself
- your own item slot is possible but a bit buggy ^^ ( ask encore maybe he helps you ) - for specials ( also new weapons ) you need to code all by yourself ( there are various entity tuts on these forums ) |
| All times are GMT -4. The time now is 23:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.