The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help
Author Message
zottolo
Journeyman
*

Posts: 87
Likes Given: 8
Likes Received: 12 in 11 posts
Joined: Dec 2015
Reputation: 0



Post: #7
RE: Help
[ITEMDEF i_gun]
NAME=Gunny Gun
ID=i_bow
DAM=20
TYPE=t_weapon_bow
SKILL=Archery
SPEED=3.0
RANGE=2,12
TWOHANDS=N //requires two hands? No is set
WEIGHT=0.5
VALUE=100
RESOURCES= 10 i_ingot_iron //???
SKILLMAKE= 100.0 TINKERING

TDATA3= // bullet id
TDATA4= //effect id

CATEGORY=Weapons
SUBSECTION=Guns
DESCRIPTION=Gun

ON=@Create
HITPOINTS={100 200}
COLOR=00


didn't test this but it's a simple way to achieve what you need

about the sound, i think you can just add it on @hit trigger but i don't know if the bow sound will be overridden we must wait for someone better than me ^_^

ok i've found these too

AMMOANIM RW Overrides TDATA4 for bow/crossbow type weapons.
AMMOANIMHUE RW Sets the color of the effect when firing bow/crossbow type weapons.
AMMOANIMRENDER RW Sets the render mode of the effect when firing bow/crossbow type weapons.
AMMOCONT RW Sets the container UID or ID where to search for ammos for bow/crossbow type weapons.
AMMOSOUNDHIT RW Overrides the hit sound on weapons.
AMMOSOUNDMISS RW Overrides the miss sound on weapons.
AMMOTYPE RW Overrides TDATA3 for bow/crossbow type weapons.

now you can totally shoot that man down ^_^
(This post was last modified: 02-25-2017 03:53 AM by zottolo.)
02-25-2017 03:43 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Help - redblack - 02-21-2017, 08:31 PM
RE: Help - redblack - 02-22-2017, 05:04 PM
RE: Help - Leonidas - 02-23-2017, 11:25 AM
RE: Help - redblack - 02-23-2017, 04:41 PM
RE: Help - zottolo - 02-24-2017, 01:01 AM
RE: Help - redblack - 02-24-2017, 02:17 AM
RE: Help - zottolo - 02-25-2017 03:43 AM
RE: Help - Leonidas - 02-25-2017, 09:51 AM
RE: Help - redblack - 02-25-2017, 06:08 PM
RE: Help - zottolo - 02-25-2017, 11:34 PM
RE: Help - Leonidas - 02-26-2017, 09:57 AM
RE: Help - redblack - 02-26-2017, 04:39 PM
RE: Help - zottolo - 02-26-2017, 06:52 PM
RE: Help - redblack - 02-27-2017, 01:25 AM
RE: Help - Ben - 02-27-2017, 03:15 AM
RE: Help - redblack - 02-27-2017, 05:27 PM
RE: Help - redblack - 02-28-2017, 07:56 PM
RE: Help - darksun84 - 02-28-2017, 09:06 PM
RE: Help - redblack - 03-02-2017, 01:10 AM
RE: Help - Leonidas - 03-02-2017, 07:48 AM
RE: Help - rastrero - 03-04-2017, 02:18 AM
RE: Help - redblack - 03-04-2017, 06:55 PM
RE: Help - rastrero - 03-09-2017, 05:13 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)