Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » scripts.dll 2.1
scripts.dll 2.1 [message #129185] Mon, 27 December 2004 03:24 Go to next message
jonwil is currently offline  jonwil
Messages: 3556
Registered: February 2003
Karma: 0
General (3 Stars)

I am currently looking at scripts.dll 2.1
New features that I have (tentativly) planned for versions post 2.0:
Scripts:
The "slot machine" script someone asked for a while back
versions of
JFW_Attach_Script_Preset_Custom
JFW_Attach_Script_Type_Custom
and JFW_Attach_Script_Custom
that dont attach the script if it is already present on the object
The scripting required for Reborn
Any scripts anyone else has for me

Engine calls:
bool Is_Script_Attached(GameObject *obj,const char *script)
void Attach_Script_Once(GameObject *obj,const char *script,const char *params)
void Attach_Script_Preset_Once(const char *script, const char *params, const char *preset, int team)
void Attach_Script_Type_Once(const char *script, const char *params, int type, int team)
char *Get_Current_Map()
int Get_Radar_Mode()

engine patches (to go in bhs.dll):
A hook for the Post_Load_Level function (called at the end of loading the level) that scripts.dll will be able to install and use (e.g. you could use it to do 1-time initalization things in a server-side mod)
Any fixes for the 0 bug that are required
The keyboard hook code that I have been talking about for a while

Console commands:
display current mine limit
current player count display (if needed)
display count of mines on the map
display player limit
change player limit (if possible)
display current map name
display current map rotation
change map rotation/next map/etc (if possible)
display time remaining (if needed)
change time limit/time remaining (if possible)
display current radar mode
play a 3d sound for a team (I wanted this one in 2.0 but I couldnt get it to work in time)

Also, there is a plan to fix as many renegade bugs as we can for future Core Patches and those will go into scripts.dll/bhs.dll (either 2.1 or something later)


If anyone has any requests for post 2.0, post them here.


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
scripts.dll 2.1 [message #129198] Mon, 27 December 2004 06:15 Go to previous messageGo to next message
laeubi is currently offline  laeubi
Messages: 799
Registered: February 2003
Location: Germany
Karma: 0
Colonel

BFD_SandWorm ( Wormobject, WormAnim, Wormarea1, Wormarea2, time, timernum):
apears randomly on the wormarea and eats units on the loaction[list][*]Wormobject: The preset of the Worm (or w3d if that is easier)[*]WormAnim: Animation to play when the worm eats something[*]Wormarea1: Firstcord (X/Y) for wormarea[*]Wormarea2: Secondcord (X/Y) for wormarea [*]time: time until next worm apears [*]timernum: number of the timer [/list:u]The Worm should eat Vehicles and Infantry, and eat shoudl mean just 'destroy' the unit.
It should eat Units that stand still... or apear when many units standing around at this place primary Very Happy
WormMovie: http://people.freenet.de/laeubi/worm.avi

Opfb_Turret (destroyID, Custom):
Either the Object it is attached to gets destroyed or it recives a custom it detroys the object specified by destroyID[list][*]destroyID: object that should be destroyed when the object it is attaced to is destroed[*]Custom: custom to listen for[/list:u]


www.laeubi.de Find Mods, Maps, Tool, Files and More!
< All Tutorials you ever searched for >
< contact me >
"Don't say it is imposible... just find a solution!"
scripts.dll 2.1 [message #129288] Mon, 27 December 2004 19:54 Go to previous messageGo to next message
Everyone
Messages: 45
Registered: July 2004
Karma: 0
Recruit
Could you also add display vehicle limit and display number of vehicles? Also, will the user be able to edit the limit of mines and vehicles as a host option? And, what ever happen the editing the draw distance? The list is looking nice though! Nice post-christmas update.
scripts.dll 2.1 [message #129303] Tue, 28 December 2004 02:53 Go to previous messageGo to next message
Slash0x is currently offline  Slash0x
Messages: 455
Registered: January 2004
Location: California
Karma: 0
Commander
He said awhile back that yes, you can set vehicle limit, but the option to buy the vehicle was client side as well. So basically, it would defeat the purpose of editing it... Razz

L3T'5 4LL THR0W 3GG5 4T D4 N00B! Smile
scripts.dll 2.1 [message #129311] Tue, 28 December 2004 07:28 Go to previous messageGo to next message
WNxCABAL is currently offline  WNxCABAL
Messages: 1391
Registered: July 2004
Karma: 0
General (1 Star)
Everyone

And, what ever happen the editing the draw distance?


Thats a game.exe hex edit
not a scripts.dll thing


Warrior Nation Number One Gaming Clan In The World Razz

http://www.tibnas.com/Outbound_Images/wnxcabal_cabalcc3kw_sig_ani.gif
scripts.dll 2.1 [message #129338] Tue, 28 December 2004 11:27 Go to previous messageGo to next message
bisen11 is currently offline  bisen11
Messages: 797
Registered: December 2004
Karma: 0
Colonel
What is the difference between time and timernum, i dont get it.
scripts.dll 2.1 [message #129339] Tue, 28 December 2004 11:48 Go to previous messageGo to next message
laeubi is currently offline  laeubi
Messages: 799
Registered: February 2003
Location: Germany
Karma: 0
Colonel

dude#1

What is the difference between time and timernum, i dont get it.

if u have different scripts with a timer, each one needs a differen timer nummber (timernum)
timer itsel ist in msot cases a time value in seconds


www.laeubi.de Find Mods, Maps, Tool, Files and More!
< All Tutorials you ever searched for >
< contact me >
"Don't say it is imposible... just find a solution!"
scripts.dll 2.1 [message #129394] Tue, 28 December 2004 17:49 Go to previous messageGo to next message
Naamloos is currently offline  Naamloos
Messages: 771
Registered: April 2004
Location: The Netherlands
Karma: 0
Colonel
Did someones post got deleted...?
scripts.dll 2.1 [message #129424] Tue, 28 December 2004 20:25 Go to previous messageGo to next message
jd422032101 is currently offline  jd422032101
Messages: 304
Registered: April 2004
Karma: 0
Recruit
yep : P
scripts.dll 2.1 [message #129443] Wed, 29 December 2004 02:52 Go to previous messageGo to next message
Sir Kane
Messages: 1701
Registered: March 2003
Location: Angerville
Karma: 0
General (1 Star)
Uhhm, who removed first 2 posts? Tell me ONE FUCKING GOOD REASON for removing them.

Proud N9500 and proud N6270 user. Creator of the IEE libraries (original bhs.dll) and the RB series software.
http://n00bstories.com/image.fetch.php?id=1189992501http://www.n00bstories.com/image.fetch.php?id=1257492907
scripts.dll 2.1 [message #129444] Wed, 29 December 2004 04:42 Go to previous messageGo to next message
Naamloos is currently offline  Naamloos
Messages: 771
Registered: April 2004
Location: The Netherlands
Karma: 0
Colonel
Well, you sead something about those scripts being made for nothing... Like saying "renegade is dead anyway" on forums made for that game... :rolleyes:

Still no reason to delete someones opinion though...
scripts.dll 2.1 [message #129455] Wed, 29 December 2004 07:36 Go to previous messageGo to next message
Madtone is currently offline  Madtone
Messages: 713
Registered: February 2003
Location: United Kingdom
Karma: 0
Colonel
_TFWxANDY_

Everyone

And, what ever happen the editing the draw distance?


Thats a game.exe hex edit
not a scripts.dll thing


Now i think about it, its possible to make a hex edit to game.exe to get the draw distance value from scripts.dll or another source.
scripts.dll 2.1 [message #129475] Wed, 29 December 2004 09:55 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3556
Registered: February 2003
Karma: 0
General (3 Stars)

yes it would be possible to edit the draw distance via a modification to BHS.DLL.
Whether I add that to 2.1 or not I dont know.


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
scripts.dll 2.1 [message #129495] Wed, 29 December 2004 13:18 Go to previous messageGo to next message
Renardin6 is currently offline  Renardin6
Messages: 1570
Registered: December 2003
Location: Belgium
Karma: 0
General (1 Star)

Naamloos

Well, you sead something about those scripts being made for nothing... Like saying "renegade is dead anyway" on forums made for that game... :rolleyes:

Still no reason to delete someones opinion though...


And the funny point is that silent kane still comes here...
scripts.dll 2.1 [message #129520] Wed, 29 December 2004 16:07 Go to previous messageGo to next message
Blazer is currently offline  Blazer
Messages: 3322
Registered: February 2003
Location: Phoenix, AZ
Karma: 0
General (3 Stars)
Administrator/General

Silent Kane

Uhhm, who removed first 2 posts? Tell me ONE FUCKING GOOD REASON for removing them.


I didn't delete them, but I would imagine it was because your reply was nothing but a flame Question
scripts.dll 2.1 [message #129548] Wed, 29 December 2004 18:28 Go to previous messageGo to next message
vloktboky is currently offline  vloktboky
Messages: 290
Registered: February 2003
Location: Kentucky, USA
Karma: 0
Recruit

Don't put your work in front of your common sense, Jon.
scripts.dll 2.1 [message #129550] Wed, 29 December 2004 18:31 Go to previous messageGo to next message
Sir Kane
Messages: 1701
Registered: March 2003
Location: Angerville
Karma: 0
General (1 Star)
Blazer

Silent Kane

Uhhm, who removed first 2 posts? Tell me ONE FUCKING GOOD REASON for removing them.


I didn't delete them, but I would imagine it was because your reply was nothing but a flame Question

How is saying that the dll is a waste of time flaming?
It's a fact and you know it. Like all the major mods went somewhere else so noone else needs all that stuff.


Proud N9500 and proud N6270 user. Creator of the IEE libraries (original bhs.dll) and the RB series software.
http://n00bstories.com/image.fetch.php?id=1189992501http://www.n00bstories.com/image.fetch.php?id=1257492907
scripts.dll 2.1 [message #129566] Wed, 29 December 2004 21:44 Go to previous message
YSLMuffins is currently offline  YSLMuffins
Messages: 1144
Registered: February 2003
Location: Moved a long time ago (it...
Karma: 0
General (1 Star)
Moderator - Mod Forum
Silent Kane

Uhhm, who removed first 2 posts? Tell me ONE FUCKING GOOD REASON for removing them.


I didn't do it, but they're in the Silo. I make it clear when I do something. It feels like more posts were deleted since then, but I'm not sure.

I'm locking this--no good can come from it.


-YSLMuffins
The goddess of all (bread products)
See me online as yslcheeze
Previous Topic: Making a mod...
Next Topic: Setting Camera Object
Goto Forum:
  


Current Time: Fri Jul 12 18:17:02 MST 2024

Total time taken to generate the page: 0.01473 seconds