Remember Me
Join
signbit
bit
Discussion

demonj0e
Posted on 22 Sep 2005, 5:22pm


Joined: 05 Apr 2005
Group: Modders

This is a slimmed scm wich mean much more space in the scm

the current size at the min is 187,421, im still working on making it smaller but only when ive got a bit of spare time so its going realy slowly

jarjar
Posted on 24 Sep 2005, 8:31am
avatar

Joined: 07 Aug 2005
Group: BUSTED!

Great work. A must download for all SA Scripters. Just a question. How do you make it smaller. I mean you can delete stuff, but how do you do it will out deleting stuff that;s important?

demonj0e
Posted on 25 Sep 2005, 12:11pm


Joined: 05 Apr 2005
Group: Modders

well firstly you can delete the help thread wich is totaly useless


Secondly You can oten see thinsg like this in the scm

:INTRO1_128
00D6: if 0
86B9: NOT cutscene_data_loaded
004D: jump_if_false INTRO1_133
0001: wait 0 ms
0002: jump INTRO1_128

by changing

86B9: NOT cutscene_data_loaded

to this

06B9: cutscene_data_loaded

and then

004D: jump_if_false INTRO1_133

to this

004D: jump_if_false INTRO1_128

and then deleting

0001: wait 0 ms
0002: jump INTRO1_128

You can free up 7 bytes


You might also see parts liek this

00D6: if 0
0256: player $PLAYER_CHAR defined
004D: jump_if_false ��LA1FIN_51
00D6: if 0
0038: $ON_MISSION == 0;; integer values
004D: jump_if_false ��LA1FIN_51
00D6: if 0
00FF: actor $PLAYER_ACTOR 0 ()near_point_on_foot $462 $463 $464 radius 1.0 1.0 2.0
004D: jump_if_false ��LA1FIN_51
00D6: if 0
0038: $SWEETS_MISSIONS_PASSED == 9;; integer values
004D: jump_if_false ��LA1FIN_51
00D6: if 0
0038: $SMOKES_MISSIONS_PASSED == 4;; integer values
004D: jump_if_false ��LA1FIN_51
00D6: if 0
0038: $STRAP_MISSIONS_PASSED == 5;; integer values
004D: jump_if_false ��LA1FIN_51
00D6: if 0
0038: $RYDERS_MISSIONS_PASSED == 3;; integer values
004D: jump_if_false ��LA1FIN_51
00D6: if 0
0038: $CRASH_MISSIONS_PASSED == 2;; integer values
004D: jump_if_false ��LA1FIN_51
00D6: if 0
0038: $CESAR_1_MISSIONS_PASSED == 1;; integer values
004D: jump_if_false ��LA1FIN_51
00D6: if 0
03EE: player $PLAYER_CHAR controllable
004D: jump_if_false ��LA1FIN_51

notice the parts in red all go to the same section well u can free up alot of space by changing that to this

00D6: if 4
0256: player $PLAYER_CHAR defined
0038: $ON_MISSION == 0;; integer values
0038: $SWEETS_MISSIONS_PASSED == 9;; integer values
0038: $SMOKES_MISSIONS_PASSED == 4;; integer values
0038: $STRAP_MISSIONS_PASSED == 5;; integer values
004D: jump_if_false LA1FIN_51
00D6: if 4
0038: $RYDERS_MISSIONS_PASSED == 3;; integer values
0038: $CRASH_MISSIONS_PASSED == 2;; integer values
0038: $CESAR_1_MISSIONS_PASSED == 1;; integer values
00FF: actor $PLAYER_ACTOR 0 ()near_point_on_foot $462 $463 $464 radius 1.0 1.0 2.0
03EE: player $PLAYER_CHAR controllable
004D: jump_if_false LA1FIN_51

Hope this helps

eestlane
Posted on 05 Oct 2005, 10:38am
avatar

Joined: 11 Jun 2005
Group: Members

What is the point of this script? Why not to use stripped script instead of this?

demonj0e
Posted on 07 Oct 2005, 8:22pm


Joined: 05 Apr 2005
Group: Modders

because sum people still want all the missions and scripts working maybe

LAD
Posted on 18 Nov 2005, 11:10pm
avatar

Joined: 16 Mar 2005
Group: Modders

 QUOTE (demonj0e @ 14:22, Oct 07 2005)
because sum people still want all the missions and scripts working maybe



Oh yes me for one:) Thank you for your efforts demonj0e . Sorry I know zilch about all this , but I do love mods and missions . Together until it crashes at least .

bit
brick bit ?E?E bit bit
bit bit   bit bit