View previous topic :: View next topic |
Author |
Message |
semodo
New Member


Joined: 22 Dec 2017 Posts: 11
26 Bank Notes
Items
|
|
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 |
|
 |
AsaSK
Mafiascene Veteran Modder


Joined: 24 Feb 2013 Posts: 728 Location: London, England 13660 Bank Notes
Items
|
|
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  _________________
The official Mafioso Mod thread |
|
Back to top |
|
 |
semodo
New Member


Joined: 22 Dec 2017 Posts: 11
26 Bank Notes
Items
|
|
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  |
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 |
|
 |
AsaSK
Mafiascene Veteran Modder


Joined: 24 Feb 2013 Posts: 728 Location: London, England 13660 Bank Notes
Items
|
|
Back to top |
|
 |
semodo
New Member


Joined: 22 Dec 2017 Posts: 11
26 Bank Notes
Items
|
|
Thanks, I will research it. |
|
Back to top |
|
 |
|
|