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

Linking an object to a hand / Racing victory cutscene

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

New Member
New Member


Joined: 22 Dec 2017
Posts: 9

21 Bank Notes
Items

PostPosted: Sat Dec 30, 2017 1:44 pm    Post subject: Linking an object to a hand / Racing victory cutscene Reply with quote

Greetings,
I am working on a victory cutscene from a racing mode. I have attached ground to it but can't make a cup to show up as it is seen in this video:
https://youtu.be/XhOmXeaURJk

I am editing difrace.chg file with a Chg Editor. This is the original script from this file:
[spoiler]
[DEBUG ME]
commandblock 1
dim_frm 2
findframe 0,"FMVpohar_linked"
findframe 1,"FMVZavodFMV.l_hand"
frm_linkto 0,1
dim_flt 4
frm_getrot 0, 0
LET flt[0]=-0.107
LET flt[1]=-0.108
LET flt[2]=0.234
frm_setpos 0, 0
let flt[0]=0.5688
let flt[1]=-0.4329
let flt[2]=-0.4421
let flt[3]=-0.5418
frm_setrot 0,0

findframe 0,"FMVpoharSilver"
findframe 1,"FMVZavodFMV2.l_hand"
frm_linkto 0,1
LET flt[0]=-0.116
LET flt[1]=0.015
LET flt[2]=0.032
frm_setpos 0, 0
let flt[0]=0.4845
let flt[1]=0.2114
let flt[2]=-0.7266
let flt[3]=-0.4389
frm_setrot 0,0

commandblock 0
[/spoiler]

Second part is for a silver cup which is not needed in the cutscene at all. I think it can be deleted. I have tried different script combinations, but it stays same.
Thanks
Back to top
View user's profile Send private message
AsaSK

Mafiascene Veteran Modder
Mafiascene Veteran Modder


Joined: 24 Feb 2013
Posts: 634
Location: London, England
9864 Bank Notes
Items

PostPosted: Sat Dec 30, 2017 3:46 pm    Post subject: Linking an object to a hand / Racing victory cutscene Reply with quote

The difrace file removes the winners and their trophies so that whoever won in each race circuit would appear there. I took the models and positions from the chg file and inserted them manually. This information is all in the other thread you asked on Sarcastic
_________________

The official Mafioso Mod thread
Back to top
View user's profile Send private message
semodo

New Member
New Member


Joined: 22 Dec 2017
Posts: 9

21 Bank Notes
Items

PostPosted: Sat Dec 30, 2017 4:19 pm    Post subject: Re: Linking an object to a hand / Racing victory cutscene Reply with quote

AsaSK wrote:
The difrace file removes the winners and their trophies so that whoever won in each race circuit would appear there. I took the models and positions from the chg file and inserted them manually. This information is all in the other thread you asked on Sarcastic

No, I'm not asking about racer's models, I ask how to put the cup into winners hands. I started this thread as I need more details and this part of forum is more appropriate for this sort of discussions. Developers script in .chg file doesn't work and I can't debug it.
Back to top
View user's profile Send private message
AsaSK

Mafiascene Veteran Modder
Mafiascene Veteran Modder


Joined: 24 Feb 2013
Posts: 634
Location: London, England
9864 Bank Notes
Items

PostPosted: Sat Dec 30, 2017 4:37 pm    Post subject: Linking an object to a hand / Racing victory cutscene Reply with quote

I'll send you the scene2 where I did it manually, I don't know whether it will help but it might do.
_________________

The official Mafioso Mod thread
Back to top
View user's profile Send private message
semodo

New Member
New Member


Joined: 22 Dec 2017
Posts: 9

21 Bank Notes
Items

PostPosted: Sat Dec 30, 2017 5:14 pm    Post subject: Linking an object to a hand / Racing victory cutscene Reply with quote

Thanks, I will research it.
Back to top
View user's profile Send private message
brokenneedlecaa76

Member
Member


Joined: 25 Jan 2016
Posts: 155

345 Bank Notes
Items

PostPosted: Sat Apr 28, 2018 9:05 am    Post subject: Linking an object to a hand / Racing victory cutscene Reply with quote

how do you put the grass into the scene?
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 - Modding 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.018 | Queries: 19