FAQFAQ    Board RulesBoard Rules    SearchSearch    LotteryLottery    RouletteRoulette    UsergroupsUsergroups
     RegisterRegister  ProfileProfile    Log in to check your private messagesLog in to check your private messages    Shop    Log inLog in 
View posts since last visit View your posts View unanswered posts

BScriptView

 
Post new topic   Reply to topic    Mafiascene.com Forum Index -> Ask a Modder - Tools
View previous topic :: View next topic  
Author Message
MafiaPlayer

New Member
New Member


Joined: 11 Dec 2015
Posts: 2

7 Bank Notes
Items

PostPosted: Fri Dec 11, 2015 2:39 pm    Post subject: BScriptView Reply with quote

Hi!
Does anyone know how to make script in BScriptView that when you pull guns (eg. The mouse wheel) enemy begins shoot on you?
Thanks!
Back to top
View user's profile Send private message
DMateo07

Member
Member


Joined: 10 Jul 2014
Posts: 128
Location: Poland, Bydgoszcz
178 Bank Notes
Items

PostPosted: Fri Dec 11, 2015 6:49 pm    Post subject: BScriptView Reply with quote

Hi!
Try to change them behaviour to "React when hit" or "React on Attack" with aggression "1". Exactly enemy needs guns. For that add in their scripts:

Code:
human_addweapon X, Y, Z, A


If you want to hide them guns, add below:

Code:
human_holster X


X - number of actor

Y - number of gun for example Colt is 9, Thompson 10

Z - amount of reloaded ammo

A - extra ammo
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Muggy

Site Staff
Site Staff


Joined: 05 Jan 2005
Posts: 716
Location: Sydenham SE26
276102 Bank Notes
Items
more...

PostPosted: Sat Dec 12, 2015 11:05 am    Post subject: BScriptView Reply with quote

I've moved this to *Ask a modder Tools*
_________________

Back to top
View user's profile Send private message Visit poster's website
MafiaPlayer

New Member
New Member


Joined: 11 Dec 2015
Posts: 2

7 Bank Notes
Items

PostPosted: Sun Dec 13, 2015 11:42 am    Post subject: Re: BScriptView Reply with quote

DMateo07 wrote:
Hi!
Try to change them behaviour to "React when hit" or "React on Attack" with aggression "1". Exactly enemy needs guns. For that add in their scripts:

Code:
human_addweapon X, Y, Z, A


If you want to hide them guns, add below:

Code:
human_holster X


X - number of actor

Y - number of gun for example Colt is 9, Thompson 10

Z - amount of reloaded ammo

A - extra ammo


Thanks, this is works, but still I have one problem. When I hide gun, enemy stop attack. I need to not stop and continued to attack, like eg. In the mission at hotel Corleone. Thanks.
Back to top
View user's profile Send private message
DMateo07

Member
Member


Joined: 10 Jul 2014
Posts: 128
Location: Poland, Bydgoszcz
178 Bank Notes
Items

PostPosted: Mon Dec 14, 2015 6:59 pm    Post subject: BScriptView Reply with quote

I don't know it perfectly yet, but I think just there should be added in script something like a attack detector (but I don't know is it something like this) Then when you pull gun it would send a command to turn on script "enemy_action_fire 1", by which enemy attack you with no stop.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Zsombor

Junior Member
Junior Member


Joined: 09 Nov 2014
Posts: 50

90 Bank Notes
Items

PostPosted: Thu Feb 09, 2017 9:01 pm    Post subject: BScriptView Reply with quote

Which scipt in "Freeride Extreme Expanded" mod for "respawn" the current car right at current position? So the secondary brake key activate that script and fully respawn the car what player currently drive and fully remove all car damage. (I can't describe that better...) Has anybody any idea which that script? 'cause I want to put to another mods too! (Sorry, my english is not good...)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Mafiascene.com Forum Index -> Ask a Modder - Tools All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

Generation Time: 0.030 | Queries: 18