Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » final list of stuff new to scripts.dll 2.0
final list of stuff new to scripts.dll 2.0 [message #118093] Sun, 03 October 2004 03:03 Go to previous message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma:
General (3 Stars)

if its not here, it wont be in 2.0, if its here it will be in 2.0 unless I find out that it doesnt work or run out of time and have to bump stuff to 2.1 or something.

new console commands:
VEHICLELIMIT <new limit> changes vehicle limit
SND2DT <team> <wav file> plays 2d sound for all members of a team
SND3DP <player> <wav file> plays 3d sound for a player
SND3DT <team> <player> <wav file> plays 3d sound for a team, the player specifies which player to use as the position
SND3D <player> <wav file> plays 3d sound for all players, the player specifies which player to use as the position
BEACON <team> disables beacon for a specific team
VEHICLE <preset position> <team> disables a vehicle for a team (the position indicates which preset to disable, the machinegun officer is position 0 then the rocket soldier is position 1 and so on)
SOLDIER <preset position> <team> disables a soldier for a team (the position indicates which preset to disable, the hummvee/buggy is position 0 then the APC is position 1 and so on)
TEXT <string> sends a text string to all players, I hope to be able to do colors too
TEXTT <team> <string> sends a text string to a team, I hope to be able to do colors too
TEXTP <player> <string> sends a text string to a player, I hope to be able to do colors too
MINELIMIT <new limit> changes mine limit
PLAYERLIMIT <new limit> changes player limit
NEXTMAP <new map> changes the next map

misc bhs.dll changes:
fixes as necessary to solve the Set_Model problems and the problems with changing the weapon of a vehicle.
fix for the harvester harvest animation
small general bhs.dll fixes that I forget

scripts from TheKGBSpy:
scripts to do fire/reload animations of various kinds (e.g. for a machine gun or for a rocket launcher or for a catapult)
scripts for deploy/undeploy of vehicles (usefull for many things)
a script to enable locking of a vehicle
an AI script for the Fist Of Fate mod

scripts from NeoSaber:
a small fix to the MAD Tank script
a new script for Vehicle AI

scripts from Dan:
random crate script
script to drop a destroyed tank on death
script to enable repairing the destroyed tank and bring it back to life

script command (in bhs.dll):
send Enable_Vehicle_Transitions over the network
send Set_Player_Type over the network
send Set_Screen_Fade_Color over the network
send Set_Screen_Fade_Opacity over the network
send Shake_Camera over the network
send Set_Display_Color over the network
send Display_Text over the network
send Display_Int over the network
send Display_Float over the network
per-player Create_Sound
per-player Create_2D_Sound
per-player Create_2D_WAV_Sound
per-player Create_3D_WAV_Sound_At_Bone
per-player Create_3D_Sound_At_Bone
per-player Force_Camera_Look
per-player Enable_HUD
per-player Set_Display_Color
per-player Display_Text
per-player Display_Int
per-player Display_Float

engine calls (in engine.cpp):
fixes to make the Set_Skin, Get_Shield_Type and Get_Skin engine calls work
Disable_Beacon (it changes the settings for the beacon for the specified team)
Disable_Vehicle (it changes the settings for the specified vehicle for the specified team)
Disable_Soldier (it changes the settings for the specified soldier for the specified team)
Disable_Free (it changes the settings for the specified free soldier for the specified team)
Remove_Script (removes all copies of a given script from an object)
Remove_All_Scripts (removes all scripts from an object)
Get_Vehicle_Occupant_Count (gets the count of people in a vehicle)
Get_Vehicle_Occupant (gets the given occupant of a vehicle)
Get_Vehicle_Driver (gets the driver of a vehicle)
Get_Vehicle_Gunner (gets the gunner of a vehicle, if there is only one person in a vehicle, this will be the driver too)
Force_Occupant_Exit (forces the specified occupant to exit a vehicle)
Force_Occupants_Exit (forces all occupants to exit a vehicle)
Attach_Script_Preset (attaches a script to all objects of a given preset)
Remove_Script_Preset (removes all copies of a given script from all objects of a given preset)
Attach_Script_Type (attaches a script to all objects of a given type)
Remove_Script_Type (removes all copies of a given script from all objects of a given type)
Get_Current_Weapon gets the preset name of the current weapon for an object (e.g. the pistol is Weapon_Pistol_Player)
Get_Weapon_Count gets the count of how many weapons an object holds
Get_Weapon returns the given weapon for an object
Create_Sound_Team calls Create_Sound for a given team
Create_2D_Sound_Team calls Create_2D_Sound for a given team
Create_2D_WAV_Sound_Team calls Create_2D_WAV_Sound for a given team
Create_3D_WAV_Sound_At_Bone_Team calls Create_3D_WAV_Sound_At_Bone for a given team
Create_3D_Sound_At_Bone_Team calls Create_3D_Sound_At_Bone for a given team
Set_Display_Color_Team calls Set_Display_Color for a given team
Display_Text_Team calls Display_Text for a given team
Display_Int_Team calls Display_Int for a given team
Display_Float_Team calls Display_Float for a given team
Get_Skelleton_Name returns the hierarchy/skelleton name for a given object
Get_Sex returns the sex of an object (usefull to identify which animations to use)
Set_ScriptZone_Size sets the size of a script zone
Copy_Transform copies the complete transform (covers rotation in x,y,z and probobly also position) from one object to another.

scripts by me:
JFW_Vehicle_Animation_Custom_Trigger (like JFW_Vehicle_Animation except plays one animation when it recieves one custom (e.g. vehicle entry) and another one when it recieves another custom (e.g. vehicle exit)
JFW_Random_Timer_Play_Cinematic_2 (like JFW_Random_Timer_Play_Cinematic except that a custom must be sent after it plays to restart the timer)
JFW_3D_Sound_Damage_Range (if the health of the object is within this range, it plays the sound)
JFW_2D_Sound_Damage_Range (if the health of the object is within this range, it plays the sound)
JFW_Animation_Frame_Health (sets the animation frame for the given object to a certain frame if the health goes within a certain range)
JFW_Screen_Fade_Custom_Timer (when a custom is sent, calls Set_Screen_Fade_Color and Set_Screen_Fade_Opacity for all players then starts a timer, when the timer expires, it resets the screen fade)
JFW_Damage_Do_Damage (when damaged below a certain amount, it does x damage every y seconds. If repaired above the amount, it stops doing damage)
JFW_Vehicle_Thief (put this on all vehicles that can be stolen. When poked by an object of the specified preset, it will kick out all the soldiers in the vehicle allowing it to be taken)
JFW_Heavy_Vehicle_Damage when entered, any vehicle with more than x mass will be damaged by y damage
JFW_Under_Zone (if entered by anything other than the specified presets which would represent the submarines if this is used for underwater or the underground vehicles if this is used for underground, it kills them. Otherwise, it sends them a custom. Leaving the zone they get another custom.)
JFW_Under_Effect (when the vehicle with this on it recieves a custom, anything inside it has Set_Screen_Fade_Color and Set_Screen_Fade_Opacity called on it, when recieiving another custom, the screen fade is reset)
JFW_3D_Sound_Timer (plays a 3d sound when a timer expires)
JFW_2D_Sound_Zone_Entry (plays a 2d sound on zone entry)
JFW_2D_Sound_Player_Poke (plays a 2d sound for the poker on poke)
JFW_2D_Sound_Player_Entry (plays a 2d sound for the enterer on enter)
JFW_2D_Sound_Team_Poke (plays a 2d sound for the team on poke)
JFW_2D_Sound_Team_Entry (plays a 2d sound for the team on enter)
JFW_2D_Sound_Team_Custom (plays a 2d sound for the team on custom)
JFW_3D_Sound_Zone_Entry (plays a 3d sound on zone entry)
JFW_3D_Sound_Player_Poke (plays a 3d sound for the poker on poke)
JFW_3D_Sound_Player_Entry (plays a 3d sound for the enterer on enter)
JFW_3D_Sound_Team_Poke (plays a 3d sound for the team on poke)
JFW_3D_Sound_Team_Entry (plays a 3d sound for the team on enter)
JFW_3D_Sound_Team_Custom (plays a 3d sound for the team on custom)
JFW_Change_Team_On_Custom (changes the team of whatever its attached to on custom)
JFW_Stealth_Zone (zone for a stealth generator/gap generator)
JFW_Stealth_Generator (generator script for a stealth generator/gap generator)
The stealth/gap generator scripts will allow you to set an "effect" preset to be spawned whilst the generator is active. Anything entering the zone is made stealth, anything leaving it is made visible again.
Buildings within the zone do not get made stealth. Dont know if stuff that spawns in the zone will be made stealth or not.
JFW_Team_DM_Controller_2 new version of JFW_Team_DM_Controller that doesnt require you to specify the buildings to destroy to end the game.
JFW_Team_DM_Zone_2 new version of JFW_Team_DM_Zone that is easier to use (dont need to set up fancy zones)
JFW_Print_String_Team_Poke (prints a string for a team on poke)
JFW_Print_String_Team_Entry (prints a string for a team on zone entry)
JFW_Print_String_Team_Custom (prints a string for a team on custom)
JFW_Print_String_Player_Poke (prints a string for a player on poke)
JFW_Print_String_Player_Entry (prints a string for a player on zone entry)
JFW_Print_String_All_Custom (prints a string for all players on custom)
JFW_Look_At_Angle_Entry (makes a player look in a particular direction on zone entry)
JFW_Look_At_Location_Entry (makes a player look at a particular location on zone entry)
JFW_Look_At_Object_Entry (makes a player look at a particular object on zone enrtry)
JFW_Look_At_Object_Poke (makes a player look at a particular object on poke)
JFW_Look_At_Location_Poke (makes a player look at a particular location on poke)
JFW_Look_At_Angle_Poke (makes a player look in a particular direction on poke)
JFW_Remove_All_Scripts_Custom (remove all scripts from an object when a custom is recieved)
JFW_Attach_Script_Custom (attach a script to an object when a custom is recieved)
JFW_Remove_Script_Custom (removes all instances of a script from an object when a custom is recieved)
JFW_Attach_Script_Type_Custom (attaches a script to all objects of a particular type when a custom is recieved)
JFW_Remove_Script_Type_Custom (removes all instances of a script from all objects of a particular type when a custom is recieved)
JFW_Attach_Script_Preset_Custom (attaches a script to all objects of a particular preset when a custom is recieved)
JFW_Remove_Script_Preset_Custom (removes all instances of a script from all objects of a particular preset when a custom is recieved)
JFW_Free_Disable (changes the settings for the specified free soldier on custom)
JFW_Soldier_Disable (changes the settings for the specified soldier on custom)
JFW_Vehicle_Disable (changes the settings for the specified vehicle on custom)
JFW_Beacon_Disable (changes the settings for the specified beacon on custom)
JFW_Vehicle_Weapon_Preset (if object that entered the vehicle = xxx preset, changes the vehicle weapon to xxx)
JFW_Vehicle_Model_Preset (if object that entered the vehicle = xxx preset, changes the vehicle model to xxx)
JFW_Vehicle_Model_Team (if team of object that entered the vehicle is x, changes the vehicle model to xxx)
JFW_Invulnerable_On_Custom_3 (like JFW_Invulnerable_On_Custom_2 except it changes the skin type instead of the shield type)
JFW_Powerup_Buy_Poke_Timer (like JFW_Powerup_Buy_Poke but with a time delay before you can buy the powerup again, intended for beacons and such)


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: My Script 2.0 contributions
Next Topic: Weapon Recoil
Goto Forum:
  


Current Time: Thu Dec 05 00:05:05 MST 2024

Total time taken to generate the page: 0.00745 seconds