Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » scripts.dll 2.6 is out
scripts.dll 2.6 is out [message #193855] Sat, 25 March 2006 23:02 Go to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

scripts.dll 2.6 is out.
Get it from http://www.sourceforge.net/projects/rentools/
Changes:
per-player version of Set_Obj_Radar_Blip_Shape
per-player version of Set_Obj_Radar_Blip_Color
new functionality to display a texture on the users screen and hide it
new functionality to set and get the vehicle limit (as console commands and as engine calls)
new code to send colored messages to the client (console commands and engine calls)
Display_Health_Bar now gets sent over the network
bool Is_Scriptable(GameObject *obj); //is a ScriptableGameObj
void Set_Damage_Points(GameObject *obj,float points); //Set the damage points for an object
void Set_Death_Points(GameObject *obj,float points); //Set the death points for an object
void Repair_All_Buildings_By_Team_Radius(int Team,int ConstructionYardID,float Health,float Radius); //repairs all buildings in the specified radius around the object represented by ConstructionYardID for the team except the passed in ConstructionYardID,0 = Nod,1 = GDI
const char *Get_Translated_String(unsigned long ID); //Get a string from the translation database given its ID
const char *Get_Translated_Preset_Name(GameObject *obj); //Get the translated name for the preset of this object, if it has one
int Get_C4_Count_Proximity(int Team); //Get the proximity C4 count for a team
int Get_C4_Count_Remote(int Team); //Get the remote C4 count for a team
void Attach_Script_All_Buildings_Team(int Team,const char *Script,const char *Params,bool Once); //attach a script to all buildings by team
void Attach_Script_All_Turrets_Team(int Team,const char *Script,const char *Params,bool Once); //attach a script to all static vehicles by team
const char *Get_Translated_Weapon(GameObject *obj,int position); //Get the translated name of a weapon
const char *Get_Current_Translated_Weapon(GameObject *obj); //Get the translated name of the current weapon
GameObject *Get_Part_Name(const char *name1); //Will return the player with this string as part of their name if there is exactly one player with it
int Get_Part_Names(const char *name1); //Will return the count of players with this string as part of their name
GameObject *Get_C4_Planter(GameObject *obj); //Gets the planter of a C4GameObj
GameObject *Get_C4_Attached(GameObject *obj); //Gets the object a C4GameObj is attached to (if any)
GameObject *Get_Beacon_Planter(GameObject *obj); //Gets the planter of a BeaconGameObj
void Remove_Weapon(GameObject *obj,const char *weapon); //Removes a weapon from an object
unsigned int Get_Vehicle_Mode(GameObject *obj); //Gets the mode of a vehicle
void Repair_All_Turrets_By_Team(int team,float health); //repairs all vehicles that have mode = turret
void Get_Team_Color(unsigned int team, unsigned int *red, unsigned int *blue, unsigned int *green); //get color for a team
void Get_Player_Color(int ID, unsigned int *red, unsigned int *blue, unsigned int *green); //get color for a player
void Get_Object_Color(GameObject *obj, unsigned int *red, unsigned int *blue, unsigned int *green); //get color for a player
void Get_Private_Message_Color(unsigned int *red, unsigned int *blue, unsigned int *green); //get color for private messages
void Get_Public_Message_Color(unsigned int *red, unsigned int *blue, unsigned int *green); //get color for public messages
void Disarm_C4(GameObject *obj); //Disarm a C4 object
void Disarm_All_Proxy_C4(int ID); //Disarm all proximity C4 owned by a player
void Disarm_All_C4(int ID); //Disarm all C4 owned by a player
int Get_Team_Vehicle_Count(int team); //Gets the current vehicle count for a team
bool Is_Base_Powered(int team); //Is this teams base powered
bool Can_Generate_Vehicles(int team); //Can this team buy vehicles
bool Can_Generate_Soliders(int team); //Can this team buy soldiers
Changed a bunch of scripts to check the vehicle mode instead of the physics type when checking for flying vs not flying
New scripts same as JFW_Base_Defence_xxx but which swap weapons when they recieve a custom
JFW_Pilot_Repair (script to repair any vehicles the infantry with this on gets into)
JFW_Conyard_Radius (script for a construction yard that repairs a limited radius)
JFW_Conyard_Turrets (script to repair all vehicles with type "turret")
Scripts for chrono harvester
per-team versions of JFW_Switch_Door & JFW_Toggle_Door
JFW_Suicide_Bomber (script to make someone who can blow themselves up)
JFW_Show_Info_Texture (script to show a texture on the client)
new support in keyhook code for setting a key to "none" to disable it
change to the timer for JFW_Vehicle_Block_Preset
abillity to change private message and public message colors through hud.ini
SVERSION now works on the client too, to print the installed version of bhs.dll
new command like ICON but displays for the enemy only
change to TEAM and TEAM2 to destroy all C4 of the player that changed teams


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
Re: scripts.dll 2.6 is out [message #193878 is a reply to message #193855] Sun, 26 March 2006 05:32 Go to previous messageGo to next message
EA-DamageEverything
Messages: 423
Registered: January 2005
Location: Germany
Karma: 0
Commander
Have you built-in a lagfix? Because I upgraded from 2.31 to 2.51 and my game lagged as hell. So I went back to 2.31...
icon14.gif  Re: scripts.dll 2.6 is out [message #193931 is a reply to message #193855] Sun, 26 March 2006 15:28 Go to previous messageGo to next message
htmlgod is currently offline  htmlgod
Messages: 360
Registered: July 2003
Karma: 0
Commander
<3 Jonwil. Big Grin

Check out http://newhope.conquergaming.com to see the progress of the STARWARS mod for Renegade.

http://newhope.conquergaming.com/OtherStuff/NIKE.jpg
Re: scripts.dll 2.6 is out [message #193932 is a reply to message #193855] Sun, 26 March 2006 15:30 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

I am unaware of any lag issues but if someone can identify exactly which version introduced the lag issues, I can investigate why.


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
Re: scripts.dll 2.6 is out [message #193942 is a reply to message #193855] Sun, 26 March 2006 17:44 Go to previous messageGo to next message
theplague is currently offline  theplague
Messages: 261
Registered: May 2004
Karma: 0
Recruit
:S all good, exept for no log hook or leave hook...

lol, either would be awsome Razz


http://users.tpg.com.au/ling44/av_firefox.gifhttp://users.tpg.com.au/ling44/av_rg.gif
Re: scripts.dll 2.6 is out [message #193978 is a reply to message #193855] Mon, 27 March 2006 02:27 Go to previous messageGo to next message
Titan1x77 is currently offline  Titan1x77
Messages: 1086
Registered: February 2003
Karma: 0
General (1 Star)
Quote:

new functionality to set and get the vehicle limit (as console commands and as engine calls)


Nice!!...Knew it was only a matter of time.

can this be set in LE with a script or is this only server side like the mine limit?

either way, great job!


"But if the gameplay sucks, the looks don't matter at all." - Sir Phoenixx

[Updated on: Mon, 27 March 2006 02:28]

Report message to a moderator

Re: scripts.dll 2.6 is out [message #193979 is a reply to message #193855] Mon, 27 March 2006 02:39 Go to previous messageGo to next message
Goztow is currently offline  Goztow
Messages: 9738
Registered: March 2005
Location: Belgium
Karma: 13
General (5 Stars)
Goztoe
a feel a SSAOW function to set vehicle limit coming up (y). You spit new scripts out in no time, good work Jonwil!

You can find me in The KOSs2 (TK2) discord while I'm playing. Feel free to come and say hi! TK2 discord
Re: scripts.dll 2.6 is out [message #193980 is a reply to message #193978] Mon, 27 March 2006 02:42 Go to previous messageGo to next message
nopol10 is currently offline  nopol10
Messages: 1043
Registered: February 2005
Location: Singapore
Karma: 0
General (1 Star)
If I am running RA:APB, can I savely extrat the scripts into the RenAlert folder?

nopol10=Nopol=nopol(GSA)

http://i14.photobucket.com/albums/a330/napalmic/siggy.jpg
Re: scripts.dll 2.6 is out [message #193984 is a reply to message #193855] Mon, 27 March 2006 04:49 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

log hook is?
vehicle limit is like mine limit, when you set it it stays set until set again. Also, it needs bhs.dll on client to work.
Doubt there will be a SSAOW function to set it (because of the client-side thing)
Dont know if it will work with RA:APB or not but its certainly not officially supported by the RenAlert team Smile



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
Re: scripts.dll 2.6 is out [message #194034 is a reply to message #193855] Mon, 27 March 2006 13:48 Go to previous messageGo to next message
theplague is currently offline  theplague
Messages: 261
Registered: May 2004
Karma: 0
Recruit
:S when i said log hook, i was thinking of the very basic logs... the renlogs from scripts2.dll or the FDS itself...

http://users.tpg.com.au/ling44/av_firefox.gifhttp://users.tpg.com.au/ling44/av_rg.gif
Re: scripts.dll 2.6 is out [message #194060 is a reply to message #193980] Mon, 27 March 2006 16:45 Go to previous message
saberhawk
Messages: 1068
Registered: January 2006
Location: ::1
Karma: 0
General (1 Star)
You can safely use the scripts on Red Alert: A Path Beyond 9935 and higher.
Previous Topic: SWMOD goes into internal testing!
Next Topic: Is it possible?
Goto Forum:
  


Current Time: Tue Nov 26 01:00:34 MST 2024

Total time taken to generate the page: 0.01032 seconds