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

Scripting help needed

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

Mafiascene Veteran Modder
Mafiascene Veteran Modder


Joined: 24 Feb 2013
Posts: 572
Location: London, England
8234 Bank Notes
Items

PostPosted: Thu Jun 20, 2013 11:53 am    Post subject: Scripting help needed Reply with quote

Hi everyone, I have written this script with all the appropriate parts attached but for some reason the first "zatmyse 1, 1" does not work. The screen does not go black at the start of the mission, even when I remove the extra ", 1" which should work anyway and there are no conflicting scripts preventing it from working.

The script is shown below, can anybody tell me why the screen is not fading to black at the start? Thanks a lot.

dim_flt 5
dim_frm 4
dim_act 1

findframe 0, "CScam*"
findframe 1, "startMISSION"
findframe 2, "CStony*"
findframe 3, "CScamSTAT"
findactor 0, "CScam*"

model_playanim 2, "Mise zidle01st.i3d"

zatmyse 1, 1

frm_seton 0, 0
act_setstate 0, inactive

camera_lock 3

recloadfull "CS.rep"
wait 2000 ///// TIME SPEECH TO START WITH VERSE 1 OF MUSIC
subtitle_add 99970005
wait 3500
frm_seton 0, 1
act_setstate 0, active
wait 500
camera_lock 0
zatmyse 0, 3000
wait 5000 ///// TIME SPEECH TO START WITH VERSE 1 OF MUSIC
playsound "IS01.wav", 0, 5, 1, 1
wait 12500
playsound "IS02.wav", 0, 5, 1, 1
wait 9500
playsound "IS03.wav", 0, 5, 1, 1

_________________

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

Mafiascene Veteran Modder
Mafiascene Veteran Modder


Joined: 24 Feb 2013
Posts: 90
Location: Norfolk, England.
723 Bank Notes
Items

PostPosted: Thu Jun 20, 2013 9:14 pm    Post subject: Scripting help needed Reply with quote

I think I can see the dickie.

Problem is, I think. Is that you've put zatmyse 1 before your camera_lock and recloadfull commands.

Try

dim_flt 5
dim_frm 4
dim_act 1

findframe 0, "CScam*"
findframe 1, "startMISSION"
findframe 2, "CStony*"
findframe 3, "CScamSTAT"
findactor 0, "CScam*"

model_playanim 2, "Mise zidle01st.i3d"

recloadfull "CS.rep"
camera_lock 3
zatmyse 1

frm_seton 0, 0
act_setstate 0, inactive

wait 2000 ///// TIME SPEECH TO START WITH VERSE 1 OF MUSIC
subtitle_add 99970005
wait 3500
frm_seton 0, 1
act_setstate 0, active
wait 500
camera_lock 0
zatmyse 0, 3000
wait 5000 ///// TIME SPEECH TO START WITH VERSE 1 OF MUSIC
playsound "IS01.wav", 0, 5, 1, 1
wait 12500
playsound "IS02.wav", 0, 5, 1, 1
wait 9500
playsound "IS03.wav", 0, 5, 1, 1

Hope that helps?

Regards

*Ruby*
_________________

The Commission Mod

The Robbery Mod

The Gangster Life Mod

Regards

*Ruby*
Back to top
View user's profile Send private message
Zsombor

Junior Member
Junior Member


Joined: 09 Nov 2014
Posts: 50

90 Bank Notes
Items

PostPosted: Sun Jul 05, 2015 6:31 pm    Post subject: Scripting help needed Reply with quote

If this is the right forum, I have a question.
How to I can put the "CARDAMAGEVISIBLE" script to Freeride Extreme mission?
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.024 | Queries: 19