Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » complete list of scripts.dll 2.9 features
complete list of scripts.dll 2.9 features [message #206783] Thu, 06 July 2006 09:09 Go to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

Stuff I have already put in 2.9:
Improve nickname exploit fixes to block anyone with space as the last character or with more than one space in their name.
New hud.ini keyword to disable the normal "building" logic of the weapons factory.
More output for the RenLogMon console commands (to let you know that they worked properly)
Console output hook that gets the same strings as RenLogMon (like RenLogMon, this is for dedicated servers only)
Feature/engine calls that lets you change the 2 reticle textures.
Engine calls to do fog color/mode/density changes (per-player and global)
Set_Camera_Host goes over the network (and is per-player).
Better definition for Dirty Bits in NetworkObjectClass
GameObject *Create_Building(const char *preset,const Vector3 & Position); //Create a building controler
unsigned int Get_Zone_Type(GameObject *obj); //Get the type of a script zone
OBBoxClass *Get_Zone_Box(GameObject *obj); //Get the box (size/position) of a ScriptZoneGameObj
void Set_Zone_Box(GameObject *obj,const OBBoxClass &box); //Set the box (size/position) of a ScriptZoneGameObj
GameObject *Create_Zone(const char *preset,const OBBoxClass &box); //Create a script zone and set its box
void Set_Money(unsigned int ID,float amount); //Set the money of a player
void Set_Score(unsigned int ID,float amount); //Set the score of a player
JFW_Reticle script, put this on every soldier to give them all a reticle (or you could do like the per-weapon hud stuff WD did and do a per-weapon reticle script too)
JFW_Poke_Play_2D_Sound_Timer. Poke this to play a 2d sound but with a timer to set how often the sound can be triggered
JFW_Poke_Play_3D_Sound_Timer. Poke this to play a 3d sound but with a timer to set how often the sound can be triggered
A bug fix for the hidebottomtext hud.ini keyword
A new method to change the player limit Basicly you set a player limit in svrcfg_cnc.ini and then you use the new console commands, engine calls etc to change the limit anywhere from 0 to <svrcfg_cnc.ini limit>. The new limit will be correctly reported to GameSpy and Westwood Online as well as being displayed as the actual limit for anywhere the limit is displayed.
As of 2.9, the months for bhs_renlog match renlog (on both platforms). the client chat log matches both bhs_renlog and renlog.
hud.ini keywords to change the various colors that are used by the dialog box code.
New code to allow for unsquishable infantry. Basicly, it will take the "if vehicle > some speed, crush infantry" code and changes it to "if vehicle > some speed and infantry armour is not <some special value>, crush infantry"
Fix for the "start button" XWIS issue

Still to do:
Fix any bugs that get reported or that show up.
Check that the keyhooks still work (someone said they dont)
Look into Get_Current_Game_Mode and see if its broken
Check that RenLogMon is working properly
Look into the repoted CMSG console command colors issue
Engine call to display a given PT page
Better building engineer repair script
Script to make object on timer go to the closest player object
A way to send data from client to server that would be set client side in ini file
A refill hook
Engine calls and console commands to change game time
Test all 2.9 features

And the big feature. I am going to produce (and release for all mods to use) a WORKING sidebar style purchase dialog for C&C Renegade. ALL mods (Reborn, the RA2 mod etc) will be able to use my feature.
This feature is so big that I may end up releasing 2.9 with everything else (just so that people can start using it all) and following up shortly thereafter with scripts.dll 3.0 containing the sidebar.


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: complete list of scripts.dll 2.9 features [message #206881 is a reply to message #206783] Thu, 06 July 2006 20:32 Go to previous messageGo to next message
IronWarrior is currently offline  IronWarrior
Messages: 2460
Registered: November 2004
Location: England UK
Karma: 0
General (2 Stars)
Nice one, looking forward to it already. Smile
Re: complete list of scripts.dll 2.9 features [message #206963 is a reply to message #206783] Fri, 07 July 2006 08:37 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

for 3.0, could you have a look at the bug, where you are not able
to receive pages after getting kicked from the server, because
renegade thinks your are still ingame.


When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter then "Yes"

Programming is like sex: one mistake and you have to support it for the rest of your life

Want the best answers? Ask the best questions!

"So long, and thanks for all the fish."
Re: complete list of scripts.dll 2.9 features [message #207029 is a reply to message #206783] Fri, 07 July 2006 16:40 Go to previous messageGo to next message
theplague is currently offline  theplague
Messages: 261
Registered: May 2004
Karma: 0
Recruit
why not just pamsg just before you kick them?

http://users.tpg.com.au/ling44/av_firefox.gifhttp://users.tpg.com.au/ling44/av_rg.gif
Re: complete list of scripts.dll 2.9 features [message #207045 is a reply to message #207029] Fri, 07 July 2006 20:39 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

theplague wrote on Sat, 08 July 2006 01:40

why not just pamsg just before you kick them?


What is it good for ? I didn't talk about a server leave message or something.


When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter then "Yes"

Programming is like sex: one mistake and you have to support it for the rest of your life

Want the best answers? Ask the best questions!

"So long, and thanks for all the fish."
Re: complete list of scripts.dll 2.9 features [message #207049 is a reply to message #206783] Fri, 07 July 2006 21:09 Go to previous messageGo to next message
Tunaman
Messages: 1189
Registered: January 2005
Karma: 2
General (1 Star)
jonwil wrote on Thu, 06 July 2006 12:09


JFW_Reticle script, put this on every soldier to give them all a reticle (or you could do like the per-weapon hud stuff WD did and do a per-weapon reticle script too)


What does this mean? That you can have different reticles for different characters or something like that?


http://img694.imageshack.us/img694/9055/tunamanlmao.png
Re: complete list of scripts.dll 2.9 features [message #207051 is a reply to message #206783] Fri, 07 July 2006 21:42 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

Yes you can have different reticles.


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: complete list of scripts.dll 2.9 features [message #207066 is a reply to message #206783] Fri, 07 July 2006 23:23 Go to previous messageGo to next message
Blazea58 is currently offline  Blazea58
Messages: 408
Registered: May 2003
Karma: 0
Commander
jonwil wrote on Thu, 06 July 2006 12:09

Stuff I have already put in 2.9:
Feature/engine calls that lets you change the 2 reticle textures.JFW_Reticle script, put this on every soldier to give them all a reticle (or you could do like the per-weapon hud stuff WD did and do a per-weapon reticle script too)


Seems like a very useful features considering rectiles are also usually low resolution and don't take up extra space if you had one per weapon, or player for that matter.

Quote:

Engine calls to do fog color/mode/density changes (per-player and global)
What exactly would this feature be key for?
Seems to me this means if any thing is moving it can also render the fog? example: A invisible bot that has the fog around it to make a ghost? o.O

Quote:

JFW_Poke_Play_2D_Sound_Timer. Poke this to play a 2d sound but with a timer to set how often the sound can be triggered
JFW_Poke_Play_3D_Sound_Timer. Poke this to play a 3d sound but with a timer to set how often the sound can be triggered

Can these also be done the same way as say a slot machine winning then the sounds being triggered upon that? Seems intresting, could really spruce up a map with more sounds like being able to poke a stove and see steam/hear sounds from it.


Quote:

And the big feature. I am going to produce (and release for all mods to use) a WORKING sidebar style purchase dialog for C&C Renegade. ALL mods (Reborn, the RA2 mod etc) will be able to use my feature.

Hate to ask, what exactly is working sidebar, is this more so like the classic cnc games where you pick your units from a menu on the side of the screen, and still see gameplay in the middle?


Lots of great features, it makes me wonder how much more can possibly be done in this game lol



http://i175.photobucket.com/albums/w125/Blaze558/ECW_WebBanner1.jpg

[Updated on: Fri, 07 July 2006 23:24]

Report message to a moderator

Re: complete list of scripts.dll 2.9 features [message #207072 is a reply to message #207066] Sat, 08 July 2006 00:09 Go to previous messageGo to next message
IronWarrior is currently offline  IronWarrior
Messages: 2460
Registered: November 2004
Location: England UK
Karma: 0
General (2 Stars)
Blazea58 wrote on Sat, 08 July 2006 01:23



Quote:

JFW_Poke_Play_2D_Sound_Timer. Poke this to play a 2d sound but with a timer to set how often the sound can be triggered
JFW_Poke_Play_3D_Sound_Timer. Poke this to play a 3d sound but with a timer to set how often the sound can be triggered

Can these also be done the same way as say a slot machine winning then the sounds being triggered upon that? Seems intresting, could really spruce up a map with more sounds like being able to poke a stove and see steam/hear sounds from it.



These are the scripts I requested, am gonna use them to attach to coop bots, when the player walks upto a bot and press´s action on it, a sound will be played, like it does in single player.

They could be used on a stove or whatever elas you can think off, infact now you asked that, this gives me more idea´s to put these on, o.O

[Updated on: Sat, 08 July 2006 00:11]

Report message to a moderator

Re: complete list of scripts.dll 2.9 features [message #207096 is a reply to message #206783] Sat, 08 July 2006 03:48 Go to previous messageGo to next message
Viking is currently offline  Viking
Messages: 1692
Registered: July 2005
Location: Earth
Karma: 0
General (1 Star)
Can we see a picture of said sidebar?

PARICHUTES! In Love



Toggle Spoiler


QUOTES
"The Renegade community revolves around having something awesome, and not sharing it so you can be on top of the mountain." -Canadacdn

Crimson wrote on Thu, 17 May 2007 05:22

Memphis wrote on Tue, 15 May 2007 03:54

...fatally die to death...


I don't know if you meant to do that, but triple redundancy for teh win. I LOL'ed.


Awesome l337 people= Icedog90, Blazea58, Canadacdn, Crimson, jonwil
Re: complete list of scripts.dll 2.9 features [message #207106 is a reply to message #206783] Sat, 08 July 2006 05:57 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

The fog engine calls are intended to let you customize the look of the fog more than you can currently do.
Yes, the sidebar is like in the classic CnC games.
I am still working on it but I will have a picture of the sidebar to post very soon.


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: complete list of scripts.dll 2.9 features [message #207130 is a reply to message #206783] Sat, 08 July 2006 15:14 Go to previous messageGo to next message
AmunRa is currently offline  AmunRa
Messages: 574
Registered: September 2005
Location: Lilburn, Georgia
Karma: 0
Colonel

something I've wanted but yet unsure of whether it is possible or not, is if the client doesn't have files that the server does, that the client downloads the files from the given server or is provided an alternate location for them to automatically download. Sort of the way Steam works.
Re: complete list of scripts.dll 2.9 features [message #207139 is a reply to message #207130] Sat, 08 July 2006 15:58 Go to previous messageGo to next message
RTsa is currently offline  RTsa
Messages: 484
Registered: January 2005
Location: Finland
Karma: 0
Commander
AmunRa wrote on Sun, 09 July 2006 01:14

something I've wanted but yet unsure of whether it is possible or not, is if the client doesn't have files that the server does, that the client downloads the files from the given server or is provided an alternate location for them to automatically download. Sort of the way Steam works.

That *could* be used maliciously, you know...


Re: complete list of scripts.dll 2.9 features [message #207186 is a reply to message #206783] Sun, 09 July 2006 00:32 Go to previous messageGo to next message
neofmat is currently offline  neofmat
Messages: 42
Registered: February 2005
Karma: 0
Recruit
Why won't you do

1. "mute" command for a perticular player
2. Functionality to add console commands (a hook to add console commands ?)
3. Enable kick/ban and other features that gets disabled in Lan mode

I can't do those things without bhs.dll. yoy :'(


[Updated on: Sun, 09 July 2006 00:35]

Report message to a moderator

Re: complete list of scripts.dll 2.9 features [message #207206 is a reply to message #206783] Sun, 09 July 2006 04:10 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

I am no longer accepting ideas for 2.9, when 3.0 comes around maybe I will consider doing some of those things.


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: complete list of scripts.dll 2.9 features [message #207220 is a reply to message #206783] Sun, 09 July 2006 08:33 Go to previous message
neofmat is currently offline  neofmat
Messages: 42
Registered: February 2005
Karma: 0
Recruit
TYVM Very Happy .. so r we there yet

Previous Topic: Roleplay 2 Pictures
Next Topic: Writing the whole gamelog in channel
Goto Forum:
  


Current Time: Fri Aug 02 15:09:02 MST 2024

Total time taken to generate the page: 0.01060 seconds