The document is a script for a game that manages the behavior of an aircraft named ANDROM and its interactions with the player. It includes functionalities for loading models, creating the aircraft, assigning paths, and handling passenger interactions. The script also monitors the aircraft's health and speed, providing feedback to the player through formatted text messages.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
19 views7 pages
Atp Androm
The document is a script for a game that manages the behavior of an aircraft named ANDROM and its interactions with the player. It includes functionalities for loading models, creating the aircraft, assigning paths, and handling passenger interactions. The script also monitors the aircraft's health and speed, providing feedback to the player through formatted text messages.
:dead wait 0 if and not 7@ == -1 not 8@ == -1 jf @ende if and not Car.Wrecked(7@) 0185: car 7@ health >= 250 not Actor.Dead(8@) Actor.InCar(8@, 7@) jf @end return
:end 0ABF: set_vehicle 7@ engine_state_to 0 Actor.RemoveReferences(8@) Car.RemoveReferences(7@) 06C5: release_car 7@ from_path if 9@ == 1 jf @start 0ACE: show_formatted_text_box "Something very bad happened to the ANDROM." Marker.Disable(10@) jump @start
:transmit if 0ADC: test_cheat "ANDROM" jf @info if 9@ == 0 jf @off 9@ = 1 Marker.CreateAboveActor(10@, 8@) Marker.SetColor(10@, 1) 0ACE: show_formatted_text_box "ANDROM transmitter online. Type ANDROM again to turn off or hold H and 2 to view info." return
:off 9@ = 0 Marker.Disable(10@) 0ACE: show_formatted_text_box "ANDROM transmitter offline. Type ANDROM to turn on." return
:info if 0AB0: key_pressed 72 0aa1: if 0AB0: key_pressed 50 0aa1: if 9@ == 1 0AA1: return_if_false 0227: 5@ = car 7@ health 02E3: 6@ = car 7@ speed Car.StorePos(7@, 0@, 1@, 2@) 4@ = Car.Angle(7@) 0ACE: show_formatted_text_box "ANDROM Health %d Speed %f at %f %f %f Angle %f" 5@ 6@ 0@ 1@ 2@ 4@ return