English How i change one weapon shot range

8 replies
Goto Page
To the start Previous 1 Next To the start
Up
4Vendetta
User
Offline Off
> How i change one weapon shot range?

• For example, increase the range of m3 shot or reduce the range of the awp, and if is possible change the weapons shot particle like this.
IMG:http://img269.imageshack.us/img269/7088/26786783.png
IMG:http://orig12.deviantart.net/d660/f/2015/294/4/a/loki_free_icon_smite_by_cuti_chan-d9dwjst.gif
No one can play Masturball... IMG:http://orig08.deviantart.net/2bdc/f/2015/360/1/f/khepri_free_icon_smite_by_cuti_chan-d9llycr.gif
16.02.12 11:24:12 pm
Up
EP
User
Offline Off
i don't think so that you can change the range but you can know the range in pixels of the differents weapons
16.02.12 11:30:32 pm
Up
4Vendetta
User
Offline Off
user EP has written:
i don't think so that you can change the range but you can know the range in pixels of the differents weapons


Yes, is possible change the weapon range, weiwen do this in poketibia, but i don't know how to do this, i've tried to copy but i don't know how. Look at the tibia and you'll see in file CONFIG.LUA
Spoiler >
IMG:http://orig12.deviantart.net/d660/f/2015/294/4/a/loki_free_icon_smite_by_cuti_chan-d9dwjst.gif
No one can play Masturball... IMG:http://orig08.deviantart.net/2bdc/f/2015/360/1/f/khepri_free_icon_smite_by_cuti_chan-d9llycr.gif
16.02.12 11:32:53 pm
Up
Apache uwu
User
Offline Off
You need to create your own hit system. Messing with weapon ranges/custom hit system is very difficult to implement and it's annoying in server anyways.
16.02.12 11:37:30 pm
Up
4Vendetta
User
Offline Off
user Apache uwu has written:
You need to create your own hit system. Messing with weapon ranges/custom hit system is very difficult to implement and it's annoying in server anyways.


Thanks, I'll try to create my own hit system, I want to use claw to make a 'shotable' 2 elite! if I can do this i'll upload here..
IMG:http://orig12.deviantart.net/d660/f/2015/294/4/a/loki_free_icon_smite_by_cuti_chan-d9dwjst.gif
No one can play Masturball... IMG:http://orig08.deviantart.net/2bdc/f/2015/360/1/f/khepri_free_icon_smite_by_cuti_chan-d9llycr.gif
17.02.12 01:18:51 am
Up
KenVo
User
Offline Off
You basically need to measure the distance between the source and the victim, then if the source let's say 2 tiles(64px) away from the victim then damage will be dealt or else it wouldn't. And of course you need to know how to find the source's rotation and everything else...
02.08.12 06:34:40 am
Up
tom282f3
User
Offline Off
1. Use Tibia Mod, which allows you to change ranges.
2. Use Lasermod, allows to do that too.
cs2dbbs.gameclub.tw - LEGACY
02.08.12 08:24:09 am
Up
EngiN33R
Moderator
Offline Off
user 4Vendetta has written:
user Apache uwu has written:
You need to create your own hit system. Messing with weapon ranges/custom hit system is very difficult to implement and it's annoying in server anyways.


Thanks, I'll try to create my own hit system, I want to use claw to make a 'shotable' 2 elite! if I can do this i'll upload here..


You might want to try and use file cs2d [EngiN33R] Custom Weapons (75) if you're doing it for a mod and don't want to spend shitloads of time coding, but I'd still recommend trying to write it yourself at first. It's a very nice exercise for practicing your Lua skills.
I code, therefore I exist. | Visit my blog for Lua tips and other interesting info
02.08.12 02:12:07 pm
Up
omg
User
Offline Off
the particles are probably the easiest part because its just a timed image in front of the player rotation
will code for food
To the start Previous 1 Next To the start