Hi.
Possible to make Meele attacks in RPG?
Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.
In the meantime please join the new Discord Server!
If you have any questions please e-mail me through the Platinum Arts website.
In the meantime please join the new Discord Server!
If you have any questions please e-mail me through the Platinum Arts website.
Meele attacks
Re: Meele attacks
I believe it is already coded by default.
Can someone confirm if a default attack is Melee or just Magic Casting?
Lou
Can someone confirm if a default attack is Melee or just Magic Casting?
Lou
-
- Support Team
- Posts: 2458
- Joined: April 27th, 2010, 5:31 pm
- IRC Username: CP
Re: Meele attacks
the default attacks are magic spells, but you can edit range and other stats to provide the appearance of a melee attack. in the development versions, we have "waterwars", which includes a chainsaw which deals damage. however, that's in fps mode.
Julius wrote:Contribute to http://www.opengameart.org NOW!
Save the wiki!
- kddekadenz
- Member
- Posts: 423
- Joined: July 17th, 2011, 11:02 am
- Name: kdd
- Contact:
Re: Meele attacks
/data/rpg/games/gamename/items/[integer].cfg
Code: Select all
//example RPG Melee weapon
r_item_name "Melee weapon"
r_item_icon "items/iconname.png"
r_item_description "A melee weapon."
r_item_mdl "path/to/model"
r_item_worth 15
r_item_weight 2
r_item_type $ITEM_WEAPON
r_item_script 7 //pickup script
r_item_use_new_weapon // 0
r_item_use_name "Melee weapon"
r_item_use_description "A melee weapon."
r_item_use_new_status 1 $STATUS_HEALTH 0.15 1
r_item_use_range 16
r_item_use_cost 0
r_item_use_slots $SLOT_RHAND
r_item_use_target $T_HORIZ
r_item_use_kickback 1
r_item_use_recoil 5
r_item_use_projeffect -1
r_item_use_traileffect 16
r_item_use_deatheffect -1
Kelgar is an advanced RPG beeing developed in Sandbox