Author Topic: [VC] Dummies Guide To SCM scripting  (Read 7565 times)

0 Members and 1 Guest are viewing this topic.

Offline JayFoxRox

  • Posts: 2221
    • View Profile
    • Homepage
[VC] Dummies Guide To SCM scripting
« Reply #30 on: January 24, 2007, 01:00:02 PM »
its cause of the datatype.

One byte is a value from 0-255  or also you could say from  -127 to 127 (256 possibilities) where the ? means 1 byte and ?? should mean 2 bytes - i never understood the paramidentifiers of BW

Just get a newer missionbuilder (i recommend v1.2) and you can simply leave the identifiers out - it will automaticly use the correct one.

Also a little note: The code interpreter goes from top to the bottom all the way until it finds a jump or something - the game is only executing one command each thread per millisecond! *hope this isnt confusing*

and changing the text has no effect! the number infron of the line is the opcode - the command/operation id/code. So

01B4: set_player $PLAYER_CHAR frozen_state 0 (frozen)
equals
01B4: set_player $PLAYER_CHAR frozen_state 0 (unfrozen)

while

01B4: set_player $PLAYER_CHAR frozen_state 1 (frozen)
equals
01B4: set_player $PLAYER_CHAR frozen_state 1 (unfrozen)

this is often done wrong in cases like

xxxx: set_player_health $PLAYER_CHAR to 100.0 ;; (cant remember opcode)
equals
xxxx: set_player_armor $PLAYER_CHAR to 100.0 ;; same opcode as above
(;; or // means comment)

when xxxx is the opcode for set player health it wont touch the armor - your text is simply for helping.

0001: wait 1000 ms
can also be written as
0001: 1000

hope this helped you a tiny bit

Edit:

Remember kids: threadnames and text display is still looking for your text - though it wont on normal commands/opcodes

Mission Builder 1.3
thats the only GOOD - BW MB 1.xx i found left on the net
« Last Edit: January 25, 2007, 05:36:39 AM by Fox »

Offline Jason

  • 404
  • V.I.P. Member
  • Posts: 7249
  • Grains in the hourglass.
    • View Profile
[VC] Dummies Guide To SCM scripting
« Reply #31 on: January 24, 2007, 01:06:07 PM »
i have ViceBuilder0.14

i'll try some of your codes, see if they work. if they dont, i want my money back.

RESULTS: nope, ive tried versions 0.12 and 1.1 and it still gives me shit for no reason. fuck this.
« Last Edit: January 24, 2007, 01:29:21 PM by Haywire »

Offline Nitzkit

  • Moderator
  • Posts: 7183
    • View Profile
[VC] Dummies Guide To SCM scripting
« Reply #32 on: January 25, 2007, 08:03:07 AM »
you're trying to move ahead of the lessons....

Offline Crazy

  • Veteran Member
  • Posts: 3054
  • boc
    • View Profile
[VC] Dummies Guide To SCM scripting
« Reply #33 on: February 17, 2007, 07:47:58 AM »
bump...

i have a question nitz...how can i spawn a player model with a skin thats in my GTA:VC skin map ? Like for an example , i wan't to spawn the default skin and my made skin...how can i do it?

Offline JayFoxRox

  • Posts: 2221
    • View Profile
    • Homepage
[VC] Dummies Guide To SCM scripting
« Reply #34 on: February 17, 2007, 07:53:58 AM »
to spawn a player model actor use "#NULL" or "0" (without ") as model.
besides that you could replace the taxi driver model with player.dff and a new player.txd

nitz: eh any new lessons?


Offline Crazy

  • Veteran Member
  • Posts: 3054
  • boc
    • View Profile
[VC] Dummies Guide To SCM scripting
« Reply #35 on: February 17, 2007, 08:16:29 AM »
cool , thanks Fox!

Offline arKy

  • Veteran Member
  • Posts: 2512
  • Year Zero
    • View Profile
    • https://soundcloud.com/arky-2
[VC] Dummies Guide To SCM scripting
« Reply #36 on: February 17, 2007, 11:39:18 AM »
When is the next lesson in spanish Nitz¿?

Offline Flat Face

  • With power comes lulz
  • Administrator
  • Posts: 9243
    • View Profile
[VC] Dummies Guide To SCM scripting
« Reply #37 on: April 30, 2007, 05:02:22 PM »
Quote from: WEREWOLF
Maybe i can finally learn spanish
ROFL!!! that was soo funny ps nice guide nitz

Offline Samurai

  • ATS Crew
  • Veteran Member
  • Posts: 2097
    • View Profile
[VC] Dummies Guide To SCM scripting
« Reply #38 on: March 19, 2008, 06:13:25 AM »
Lesson 2  

  lol.

Offline Allen

  • Posts: 20
  • ChinaGtaStunting
    • View Profile
Re: [VC] Dummies Guide To SCM scripting
« Reply #39 on: December 08, 2009, 12:36:16 AM »
Download link fails, please fix link!

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal