Weapon questions:

正在查看此主题的用户

Amigo

Knight at Arms
new question: how can i make items with itp_type_musket and itp_type_pistol flag buyable at merchant? They dont show in merchant window, although i gave them itp_merchandise flag..

Second: any chance of getting automatic weapon feeling? i have seen it on youtube, but i dont know how..

Third: can i put sound into reloading animation?
 
You can't. Try some other carry flags. I've used itcf_carry_spear for my rifles. That works quite good.
 
Yes, but would you want to make two models for every rifle, if you could just use the flag I posted above instead.
 
just take the crossbow , import to wings 3d and you can see the angle of it. put your stuff in there and rotate it to 90 on Y axis,export it .
 
new question: how can i make items with itp_type_musket and itp_type_pistol flag buyable at merchant? They dont show in merchant window, although i gave them itp_merchandise flag..

Second: any chance of getting automatic weapon feeling? i have seen it on youtube, but i dont know how..

Third: can i put sound into reloading animation?
 
Amigo 说:
new question: how can i make items with itp_type_musket and itp_type_pistol flag buyable at merchant? They dont show in merchant window, although i gave them itp_merchandise flag..
Go to module_triggers look for #Refresh armor sellers, its the first one, the triggers for the other types of merchats are below it, and add the following to the list of triggers for any kind merchant:
插入代码块:
						(troop_add_merchandise,reg(2),itp_type_pistol,2),
						(troop_add_merchandise,reg(2),itp_type_musket,2),
						(troop_add_merchandise,reg(2),itp_type_bullets,2),
 
thanks, it worked.

4th question:
I shoot the rifle, but i want to delay next shot (5seconds), but i dont want to make it to reload after each shot.
its bolt action rifle, with 5rounds in. i have made quite long sound for it (classic shooting sound + bolt handling = 5seconds long). Perhaps make it harder (longer) to aim?
 
carryproblem.jpg


I am having troubles with this axe, the shield, and a pick.  The carry positions are off.  If I use the axe carry on left hip, the axe's middle point is where the axe head should be.  If I use carry axe on back, the butt of the axe's shaft is where the middle point should be.  Also, the shield is off about half way as well.  The weapon and shield is fine in the player's hand, there's just a problem with carrying them on the back or hip.  What is wrong?
 
Amigo 说:
new question: how can i make items with itp_type_musket and itp_type_pistol flag buyable at merchant? They dont show in merchant window, although i gave them itp_merchandise flag..

Second: any chance of getting automatic weapon feeling? i have seen it on youtube, but i dont know how..

Third: can i put sound into reloading animation?
1: d'sparil answered
2: change the atack speed or shoot speed to 0, I don't remember the exact name, but one of them is projectile speed the other is he delay you need before shooting again, however this way you get a big button smashing to shoot fast.
3: no.
4: what? You mean a delay after you release the mouse buttom or you want to shoot 5 times before having to reload?
The first one I don't remember, but the second one is just changin the max ammo number in the rifle.
 
...the other is he delay you need before shooting again...
ok, i think that answer for 4th question is in your reply on 2nd question.

4th question correction:
its bolt action rifle so its like - shoot - handle the bolt - shoot and so on.
in game, i want to shoot that rifle (i have made it possible to shoot 5times before reloading) and delay the next shot for five seconds, because of bolt handling sound which i added.

2nd question: ok, i will try it. but how fast will fire AI troops equiped with similiar weapons?

New question:

is it possible to have two sounds in one weapon?
example
shoot - 1st sound would be played (standard shooting sound) - 2nd sound would be played (bolt handling sound).
Because i dont want to hear other troops bolt handling, it sounds horrible with 20rifleman firing their weapons, so i want to make the second one to be heard only from players weapon.

I am sorry for my english, i am having trouble explaining similliar problems..
 
Your english is better than mine, so here we go:
2: they actualy fire whit the weapon delay and more 0.8 seconts delay of aiming, it looks pretty good.
3: No possible, however, you can give the player a rifle and the ai troops another, and removing the itp_merchandise flag from the ai items.
 
that would mean that i will have to give player all bolt action rifles on start = ruining the game. I would rather decrease bolt handling volume in standard audio editors.


I got better idea:
  :smile:

["M98", "M98", [("M98",0)], itp_type_crossbow |itp_merchandise|itp_primary|itp_two_handed|itp_cant_use_on_horseback ,itcf_shoot_musket|itcf_reload_musket|itcf_carry_spear, 1000 , weight(5.75)|difficulty(0)|spd_rtng(30) | shoot_speed(200) | thrust_damage(41 ,pierce)|max_ammo(5)|accuracy(80),imodbits_none,
[(ti_on_weapon_attack, [(play_sound,"snd_boltactionrifle"),(position_move_x, pos1,27),(position_move_y, pos1,36),(particle_system_burst, pos1, 15)])]],

I want that shooting delay (5seconds long after each shot) and perhaps more hints how to make that weapon act more like bolt action rifle. Please.  :smile:

After this one i may be able to modify that SMG myself, but if you would have any hints:

["german_smg", "Bergmann MP18", [("german_smg",0)], itp_type_musket |itp_merchandise|itp_primary|itp_two_handed|itp_cant_use_on_horseback ,itcf_shoot_musket|itcf_reload_musket|itcf_carry_crossbow_back, 2800 , weight(4.25)|difficulty(0)|spd_rtng(4:cool: | shoot_speed(140) | thrust_damage(15 ,pierce)|max_ammo(30)|accuracy(46),imodbits_none,
[(ti_on_weapon_attack, [(play_sound,"snd_pistol_shot"),(position_move_x, pos1,27),(position_move_y, pos1,36),(particle_system_burst, pos1, 15)])]],

If you think that you have very good idea, please rather PM it  :lol:
 
Amigo 说:
that would mean that i will have to give player all bolt action rifles on start = ruining the game. I would rather decrease bolt handling volume in standard audio editors.

No.  You allow the only rifle in the stores to be the rifle you want the player to use (by removing the merchandise flag from all the rifles the ai use), so you dont have to give it to the player from the start.
 
oh yeah sure. its was my dumb presumption. Embarassed
thanks,  that should solve my problem. :oops:

Bump:
so, how to make that delay in shooting? 
 
后退
顶部 底部