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

DCED2 - problem with moving an NPC around

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

Junior Member
Junior Member


Joined: 05 May 2020
Posts: 43
Location: Poland
131 Bank Notes
Items

PostPosted: Fri Jun 19, 2020 10:43 am    Post subject: DCED2 - problem with moving an NPC around Reply with quote

Hello everyone,

i am trying to re-position one of the NPCs from "Just for Relaxation" mission, so other NPCs won't notice when i kill him silently with baseball bat.

Could you tell me please in which units the x, y, z Position coordinates are? Is that a metric system?

See attached picture below:



I am talking about moving this particular guard:



Last edited by pjakub88 on Sun Jun 21, 2020 6:44 pm; edited 2 times in total
Back to top
View user's profile Send private message Send e-mail
Mr Robville

Mafiascene Veteran Modder
Mafiascene Veteran Modder


Joined: 11 Sep 2006
Posts: 564
Location: Dutchland
255885 Bank Notes
Items

PostPosted: Fri Jun 19, 2020 7:25 pm    Post subject: DCED2 - problem with moving an NPC around Reply with quote

I'd recommend using the Mafia World Editor from the downloads section. It allows you to simply drag an object around by using your mouse. You can find it in the downloads section here.
_________________

www.robville.net
Back to top
View user's profile Send private message Visit poster's website
pjakub88

Junior Member
Junior Member


Joined: 05 May 2020
Posts: 43
Location: Poland
131 Bank Notes
Items

PostPosted: Fri Jun 19, 2020 9:52 pm    Post subject: Re: DCED2 - problem with moving an NPC around Reply with quote

Mr Robville wrote:
I'd recommend using the Mafia World Editor from the downloads section. It allows you to simply drag an object around by using your mouse. You can find it in the downloads section here.


I repositioned that particulat guard using Mafia World Editor v0.4.0 and i saved the changes. See pictures below:



I needed to edit the Guard3 script using DCED2 tool in order to re-position him. I copied over one of the Sniper scripts and it works. Cool shades
Back to top
View user's profile Send private message Send e-mail
ASM.

Mafiascene Veteran Modder
Mafiascene Veteran Modder


Joined: 10 Jan 2014
Posts: 314

651 Bank Notes
Items

PostPosted: Fri Jun 19, 2020 10:50 pm    Post subject: Re: DCED2 - problem with moving an NPC around Reply with quote

pjakub88 wrote:

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.
Back to top
View user's profile Send private message
pjakub88

Junior Member
Junior Member


Joined: 05 May 2020
Posts: 43
Location: Poland
131 Bank Notes
Items

PostPosted: Sun Jun 21, 2020 6:40 pm    Post subject: Re: DCED2 - problem with moving an NPC around Reply with quote

ASM. wrote:
pjakub88 wrote:

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 figured out, why he did that all the time.

In the Guard3 script there was a line called "enemy_move" that was duplicated 2 times with numbers attached to them (probably waypoints numbers).

When i deleted all of the "enemy_move" lines the guard didn't go anywhere. Very happy

Back to top
View user's profile Send private message Send e-mail
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.026 | Queries: 18