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 visitView your postsView unanswered posts

Search found 43 matches
Mafiascene.com Forum Index
Author Message
  Topic: Weapons drawn - how to change enemy AI behaviour?
pjakub88

Replies: 9
Views: 259

PostForum: Ask a Modder - Modding   Posted: Wed Jul 01, 2020 7:50 pm   Subject: Re: Weapons drawn - how to change enemy AI behaviour?
Very good!

Maybe you should replace "enemy_action_fire" with "enemy_setstate 9"?

To be honest, i received this script from a guy from the Discord community nicknamed "W ...
  Topic: Weapons drawn - how to change enemy AI behaviour?
pjakub88

Replies: 9
Views: 259

PostForum: Ask a Modder - Modding   Posted: Wed Jul 01, 2020 6:10 pm   Subject: Re: Weapons drawn - how to change enemy AI behaviour?
I have created a brand new script. It is important, however, that an object can be assigned to the script (with the same name). You must therefore open a mission in DC ED, click on "add a new Obj ...
  Topic: Weapons drawn - how to change enemy AI behaviour?
pjakub88

Replies: 9
Views: 259

PostForum: Ask a Modder - Modding   Posted: Wed Jul 01, 2020 4:34 pm   Subject: Weapons drawn - how to change enemy AI behaviour?
Thanks for all those script examples. I will look into them.

By "enemy" i mean the guards at the harbor in the Mission 18 "Just For Relaxation". By default they won't react when ...
  Topic: Weapons drawn - how to change enemy AI behaviour?
pjakub88

Replies: 9
Views: 259

PostForum: Ask a Modder - Modding   Posted: Wed Jul 01, 2020 12:35 pm   Subject: Re: Weapons drawn - how to change enemy AI behaviour?
Maybe human_anyweaponinhand ?

No. I already tried that command. It makes enemy hostile towards the player even if he has no firearm / melee weapon in hands. The problem is, that "Empty hands&q ...
  Topic: How to add usable weapon into a mission? SOLVED
pjakub88

Replies: 3
Views: 135

PostForum: Ask a Modder - Modding   Posted: Wed Jul 01, 2020 12:29 pm   Subject: Re: How to add usable weapon into a mission?
Hello, it's very easy.
You need DC ED 2 Editor for this. Open the mission\scene2 and click on "add object". Then select Object Defintions\Script in the window and name the script exactly l ...
  Topic: How to add usable weapon into a mission? SOLVED
pjakub88

Replies: 3
Views: 135

PostForum: Ask a Modder - Modding   Posted: Tue Jun 30, 2020 8:55 pm   Subject: How to add usable weapon into a mission? SOLVED
Hello everyone,

i would like to add usable baseball bat weapon to the Mission 17 - Prison.

How can I do this?

I added a baseball bat model using Mafia World Editor, but the player wasn't abl ...
  Topic: Weapons drawn - how to change enemy AI behaviour?
pjakub88

Replies: 9
Views: 259

PostForum: Ask a Modder - Modding   Posted: Mon Jun 29, 2020 5:09 pm   Subject: Weapons drawn - how to change enemy AI behaviour?
Hello everyone,

is there possible to make the enemies hostile towards the player when he has baseball bat in his hands? Maybe it could be done via scripting? I have some experience with using DCED2 ...
  Topic: How to add patrolling enemies into a mission?
pjakub88

Replies: 8
Views: 375

PostForum: Ask a Modder - Modding   Posted: Wed Jun 24, 2020 9:01 am   Subject: How to add patrolling enemies into a mission?
I finally made some progress. I edited one of the default guards script from the Mission 18 "Just For Relaxation". Now he moves from one waypoint to another continuosly.

That is how his ...
  Topic: How to add patrolling enemies into a mission?
pjakub88

Replies: 8
Views: 375

PostForum: Ask a Modder - Modding   Posted: Tue Jun 23, 2020 8:46 pm   Subject: Re: How to add patrolling enemies into a mission?

What do you mean by CHE. editor? I searched for it on Google and there is no such thing as far as i can tell. Maybe you mean Check.bin editor instead?

Yes. I haven't personally used it yet but fr ...
  Topic: How to add patrolling enemies into a mission?
pjakub88

Replies: 8
Views: 375

PostForum: Ask a Modder - Modding   Posted: Tue Jun 23, 2020 8:44 pm   Subject: Re: How to add patrolling enemies into a mission?
[Double post. Removed. I don't know why that happened, sorry]
  Topic: How to add patrolling enemies into a mission?
pjakub88

Replies: 8
Views: 375

PostForum: Ask a Modder - Modding   Posted: Tue Jun 23, 2020 8:03 am   Subject: Re: How to add patrolling enemies into a mission?
There're two editors that I know of: CheckRE and CHE. Both are available in the downloads section I think.

What do you mean by CHE. editor? I searched for it on Google and there is no such thing as ...
  Topic: Mission "Just for Relaxation" scripting bug SOLVED
pjakub88

Replies: 5
Views: 314

PostForum: Ask a Modder - Modding   Posted: Tue Jun 23, 2020 7:36 am   Subject: Re: Mission 18 "Just for Relaxation" - scripting b
Has this exploit been used by speedrunners before?

It's much faster to drive past them then spend time trying to stealthily neutralize them.

By the way the walking workers (pedestrians) are bugg ...
  Topic: How to add patrolling enemies into a mission?
pjakub88

Replies: 8
Views: 375

PostForum: Ask a Modder - Modding   Posted: Sun Jun 21, 2020 11:02 pm   Subject: Re: How to add patrolling enemies into a mission?
Waypoints are stored in check.bin.

How can i open the check.bin file of a specific mission and discover the ID numbers of the waypoints used in it?
  Topic: How to add patrolling enemies into a mission?
pjakub88

Replies: 8
Views: 375

PostForum: Ask a Modder - Modding   Posted: Sun Jun 21, 2020 8:47 pm   Subject: How to add patrolling enemies into a mission?
Hello everyone,

i would like to add few patrolling enemies into the port in the "Just for Relaxation" mission.

While analyzing some default enemy scripts of the Mission 8 ("The Wh ...
  Topic: DCED2 - problem with moving an NPC around
pjakub88

Replies: 4
Views: 318

PostForum: Ask a Modder - Tools   Posted: Sun Jun 21, 2020 6:40 pm   Subject: Re: DCED2 - problem with moving an NPC around

Is there a script or waypoint that keeps him fixed at that spot?

Yes, looks like it. I moved him to the entry gate and he starts walking towards that point as soon as the mission starts.

I fig ...
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group

Generation Time: 0.017 | Queries: 22