Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » I need scripts.dll 1.9 ideas
I need scripts.dll 1.9 ideas [message #106429] Fri, 06 August 2004 17:50 Go to previous messageGo to next message
Slash0x is currently offline  Slash0x
Messages: 455
Registered: January 2004
Location: California
Karma: 0
Commander
SeaMan

jonwil

ok, after looking at things, I dont think I can do fixes for Set_War_Blitrz, Set_Fog_Range or Set_Fog_Enable in time for 1.9.

Create_Explosion and Create_Explosion_At_Bone may make it though.

Obviously this means that my planned fog and war blitz scripts are also not going to make 1.9 Smile


What about the targeting icon? Is that possible?

I think that would have to be in Silent Kane's area. His h@xor powers with the game.exe. Smile Very Happy


L3T'5 4LL THR0W 3GG5 4T D4 N00B! Smile
I need scripts.dll 1.9 ideas [message #106436] Fri, 06 August 2004 19:19 Go to previous messageGo to next message
jonwil is currently online  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

I think that the icons thing is something that cant be done without the renegade source code and/or some major coding.

JFW_Gate_Zone_2 is done
JFW_Animated_Effect is done
JFW_Animated_Effect_2 is done
JFW_Random_Animated_Effect is done
and JFW_Random_Animated_Effect_2 is done

All thats left is to do a few tests on the new stuff and add in anything RenAlert needs for 0.992 and I can release Smile
I was origonally planning to add generic code to "walk" the various GameObjLists (i.e. you pass in a user-defined callback and it calls that once for each item in the list) but I decided against it. If you do need to be able to do stuff with the lists, just copy my code for doing it and change it 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
I need scripts.dll 1.9 ideas [message #106446] Fri, 06 August 2004 23:41 Go to previous messageGo to next message
jonwil is currently online  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

ok, i just added JFW_2D_Sound_Damage and JFW_3D_Sound_Damage.
They will play a sound once when health <= to <some value>.
Then if health goes back over the value, it is reset and will play again next time it goes below the value.
They can be used to play building damage notifications and stuff.

And I added
void Damage_All_Vehicles_Area(float Damage,const char *Warhead,const Vector3 &Position,float Distance,GameObject *Host,GameObject *Damager); //damages all vechicles in a given area except the host
void Damage_All_Objects_Area(float Damage,const char *Warhead,const Vector3 &Position,float Distance,GameObject *Host,GameObject *Damager); //damages all objects in a given area except the host

Big thanks to vloktboky and neosaber for various information about various script commands.
Thankyou in particular to NeoSaber for explaining what the last parameters to Create_Explosion, Create_Explosion_At_Bone and Apply_Damage meant 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
I need scripts.dll 1.9 ideas [message #106449] Sat, 07 August 2004 00:55 Go to previous messageGo to next message
Deactivated is currently offline  Deactivated
Messages: 1503
Registered: February 2003
Karma: 0
General (1 Star)
Slash0x


I think that would have to be in Silent Kane's area. His h@xor powers with the game.exe. Smile Very Happy


But of course, he is not going to share his work with anybody... Sad
I need scripts.dll 1.9 ideas [message #106450] Sat, 07 August 2004 01:00 Go to previous messageGo to next message
Aircraftkiller is currently offline  Aircraftkiller
Messages: 8213
Registered: February 2003
Karma: 0
General (5 Stars)
Every time you talk about "waah, he wont share omg waaahhhhh" I feel like I could ram a pipe down your throat.
I need scripts.dll 1.9 ideas [message #106452] Sat, 07 August 2004 01:07 Go to previous messageGo to next message
Deactivated is currently offline  Deactivated
Messages: 1503
Registered: February 2003
Karma: 0
General (1 Star)
Okay Razz
I need scripts.dll 1.9 ideas [message #106454] Sat, 07 August 2004 01:19 Go to previous messageGo to next message
jonwil is currently online  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

ok, added int Get_Team_Player_Count(int Team).
Thanks to vloktboky for this as well as Damage_All_Vehicles_Area and Damage_All_Objects_Area.

And, in case its not clear enough already, thanks to NeoSaber for all the great work he has done on the scripting for Renegade Alert.


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
I need scripts.dll 1.9 ideas [message #106503] Sat, 07 August 2004 11:47 Go to previous messageGo to next message
jop7821 is currently offline  jop7821
Messages: 21
Registered: May 2004
Karma: 0
Recruit
jonwil

jop7821, that cant be done.


I did it but it takes very long in Rentools


I need scripts.dll 1.9 ideas [message #106556] Sat, 07 August 2004 22:47 Go to previous messageGo to next message
jonwil is currently online  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

ok, I added new functions (thanks to vloktboky)
void Disarm_Nearest_Beacon(GameObject *Host, int Team, bool Nearest) //disarms the nearest beacon
bool Change_Player_Team(GameObject *obj, bool Retain_Score, bool Retain_Money, bool Show_Host_Message) //changes the players team


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
I need scripts.dll 1.9 ideas [message #106826] Mon, 09 August 2004 16:27 Go to previous messageGo to next message
jonwil is currently online  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

ok, in light of what has happened (see the post on the BHS public boards), here is what bhs.dll (the new name for jfw.dll) will contain for 1.9.
The emoticons bugfix
The Create_Explosion and Create_Explosion_At_Bone fixes
The Animation fixes
The Enable_Stealth fixes
The Set_War_Blitz, Set_Fog_Enable and Set_Fog_Range fixes I am working on
The Set_Background_Music, Fade_Background_Music and Stop_Background_Music fixes I am working on.
The Create_Sound, Create_2D_Sound, Create_2D_WAV_Sound, Create_3D_WAV_Sound_At_Bone, Create_3D_Sound_At_Bone and Play_Building_Announcement fixes I am working on.

Post 1.9, I plan to add Console commands (pamsg, ppage, snda, sndp, team, team2 and id.
Also, the BHS_Renlog stuff for the Linux FDS
And working Poke logic.
As well as more script command fixes (e.g. per-player Enable_Radar, per-player Display_GDI_Player_Terminal and others)

Core Patch 1 wont be released untill the console commands and bhs_renlog stuff is ready to go.

as for the scripts.dll, into 1.9 is going the following to-be-written scripts (I hope so anyway)
JFW_Enable_Stealth_On_Custom (with a sound parameter)
JFW_Precipitation_On_Custom
JFW_Wind_On_Custom
JFW_Clouds_On_Custom
JFW_Lightning_On_Custom
JFW_War_Blitz_On_Custom
JFW_War_Blitz_Zone
JFW_War_Blitz_Create
JFW_Fog_Zone
JFW_Fog_Create
JFW_Fog_On_Custom
JFW_Set_Background_Music_On_Custom
JFW_Fade_Background_Music_On_Custom
JFW_Stop_Background_Music_On_Custom

post 1.9, I have plans to add
logic for getting the contents of a vechicle
logic to find a player by their name and get their ID/GameObject
JFW_Group_Purchase_Zone_Timer
JFW_Vehicle_Damage_Zone_Heavy
Reborn missile silo logic
JFW_CTF_Logic
JFW_Hijacker_Logic
hunter-seeker logic
caryall logic
poke versions of the JFW_xxx_Buy scripts
JFW_Group_Purchase_Poke
JFW_Poke_Animation

This code, bhs.dll and the scripts.dll use no code whatsoever from Silent_Kane

Also, we are looking into a donate console command to donate money to a team member.


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
I need scripts.dll 1.9 ideas [message #106827] Mon, 09 August 2004 16:31 Go to previous messageGo to next message
Doitle is currently offline  Doitle
Messages: 1723
Registered: February 2003
Location: Chicago, IL
Karma: 0
General (1 Star)
Moderator/Captain

Cool Jw... Sounds like you have alot of work in front of you. Good Luck!

http://www.n00bstories.com/image.fetch.php?id=1285726594
I need scripts.dll 1.9 ideas [message #106841] Mon, 09 August 2004 18:01 Go to previous messageGo to next message
jonwil is currently online  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

ok, bhs.dll now has working Enable_Stealth, Set_Animation, Set_Animation_Frame, Create_Explosion, Create_Explosion_At_Bone, Set_Fog_Enable, Set_Fog_Range, Set_War_Blitz, Fade_Background_Music, Set_Background_Music, Stop_Background_Music, Create_Sound, Create_2D_Sound, Create_2D_WAV_Sound, Create_3D_WAV_Sound_At_Bone, Create_3D_Sound_At_Bone, Play_Building_Announcement

At least I hope they work, they worked great in my test Smile
Next up, the emoticons bugfix plus the 14 scripts listed below.


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
I need scripts.dll 1.9 ideas [message #106845] Mon, 09 August 2004 19:08 Go to previous messageGo to next message
jonwil is currently online  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

ok, emoticons fix is in, as is linux RH73 player_info IP address fix.

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
I need scripts.dll 1.9 ideas [message #106852] Mon, 09 August 2004 20:22 Go to previous messageGo to next message
Doitle is currently offline  Doitle
Messages: 1723
Registered: February 2003
Location: Chicago, IL
Karma: 0
General (1 Star)
Moderator/Captain

Jw if you ever need a windows box to test anything on just hit me up on AIM, MIRC, or any way you can contact me. Even Gmail. I fixed it : Doitle@gmail.com. I'm always willing to help out.

http://www.n00bstories.com/image.fetch.php?id=1285726594
I need scripts.dll 1.9 ideas [message #106898] Tue, 10 August 2004 03:51 Go to previous messageGo to next message
Deactivated is currently offline  Deactivated
Messages: 1503
Registered: February 2003
Karma: 0
General (1 Star)
Quote:

EnableStealthOnCustom_Sound
Enables stealth on custom (eg. vehicle enter) and disables stealth on another custom (eg. vehicle exit). Plays a sound whenever it receives a custom.

Differences with the standard preset stealth setting;
Eg.
-Stealth effect is applied only when somebody is in the vehicle.
-The cloaking sound can be seperate from the engine start/stop sound.



Are you doing this Jon? I think there shouldn't be a problem with that.

jonwil

ok, bhs.dll now has working Enable_Stealth, Set_Animation, Set_Animation_Frame, Create_Explosion, Create_Explosion_At_Bone, Set_Fog_Enable, Set_Fog_Range, Set_War_Blitz, Fade_Background_Music, Set_Background_Music, Stop_Background_Music,


Ok.. I got an idea about this...
A "jukebox" script. Basically what it does is to play a twiddler (Eg. Twiddler_Music) (to randomly pick music preset) a and repeat the task.

Currently I have implemented it by making an object that selfdestructs itself, has twiddler set as explosion sound, spawns another object that selfdestructs, and the cycle repeats.
But there is a problem: If music is turned off in Options, and it is enabled later on, it causes all the music play simultaneously (Yikes!).
I need scripts.dll 1.9 ideas [message #106975] Tue, 10 August 2004 17:05 Go to previous messageGo to next message
vloktboky is currently offline  vloktboky
Messages: 290
Registered: February 2003
Location: Kentucky, USA
Karma: 0
Recruit

SeaMan

Ok.. I got an idea about this...
A "jukebox" script. Basically what it does is to play a twiddler (Eg. Twiddler_Music) (to randomly pick music preset) a and repeat the task.


Made this a month and a half ago, it's easy to do, but I dropped it in favor of pressing keys to choose the music I want to listen to. Currently I just have to hold down the M key and select a soundtrack using the numpad numbers.
I need scripts.dll 1.9 ideas [message #107061] Wed, 11 August 2004 04:54 Go to previous messageGo to next message
Deactivated is currently offline  Deactivated
Messages: 1503
Registered: February 2003
Karma: 0
General (1 Star)
vloktboky

Made this a month and a half ago, it's easy to do, but I dropped it in favor of pressing keys to choose the music I want to listen to. Currently I just have to hold down the M key and select a soundtrack using the numpad numbers.


I'm curious. How did you do this?
I need scripts.dll 1.9 ideas [message #107124] Wed, 11 August 2004 13:22 Go to previous messageGo to next message
Spice
Messages: 1448
Registered: November 2003
Location: Ohio
Karma: 0
General (1 Star)
Seamans on the prowl , Watch it he might steal your work. Razz

http://img46.imageshack.us/img46/8027/userbar358428pu3.gif
I need scripts.dll 1.9 ideas [message #107233] Wed, 11 August 2004 21:16 Go to previous messageGo to next message
vloktboky is currently offline  vloktboky
Messages: 290
Registered: February 2003
Location: Kentucky, USA
Karma: 0
Recruit

Steal my work? There is no work to be stolen.

Get how long the sound file is, and call a timerproc on it to kill/switch the background music. Call a random number and load the next music piece off of that.
I need scripts.dll 1.9 ideas [message #107243] Wed, 11 August 2004 22:29 Go to previous messageGo to next message
Alkaline is currently offline  Alkaline
Messages: 1132
Registered: November 2003
Karma: 0
General (1 Star)
Deleted
So scripts.dll 1.9 will have all the features of the ssaow from black-cell?
I'm wondering this because the latest ssaow did not have a working weapon drop for many people... and New maps that use scripts.dll 1.9 won't work with the ssaow dll...


I need scripts.dll 1.9 ideas [message #107248] Wed, 11 August 2004 23:04 Go to previous messageGo to next message
vloktboky is currently offline  vloktboky
Messages: 290
Registered: February 2003
Location: Kentucky, USA
Karma: 0
Recruit

It would be nice if someone could take over the whole project and work on it on their own. I simply do not have the time to do anything with it, and once HL2 comes out, I'll have 0 time for making anything for Renegade.
I need scripts.dll 1.9 ideas [message #107281] Thu, 12 August 2004 03:00 Go to previous messageGo to next message
mac is currently offline  mac
Messages: 1018
Registered: February 2003
Karma: 0
General (1 Star)
Administrator/General
When brenbot 1.36 comes out, I will take the newest versions of scripts.dll (1.9 I think) and the SSAOW mod, and will merge it together with my gamelog mod, and putting up downloads for win32, and both linux fds versions.

brenbot uses gamelog to display various ingame statistics..


Quote:


danpaul88: buggy bugs brenbot because buggy befriends brainlessness

I need scripts.dll 1.9 ideas [message #107373] Thu, 12 August 2004 11:01 Go to previous messageGo to next message
Alkaline is currently offline  Alkaline
Messages: 1132
Registered: November 2003
Karma: 0
General (1 Star)
Deleted
Thats sounds really nice mac, a lot of people are waiting for brenbot 1.36..

hey will you be able to msg /host to authenticate username. I heard the new version has a host msg to clients feature, but does it also allow users to message the host?

This is gamespy ofcourse as everyone already knows wol has the page feature


I need scripts.dll 1.9 ideas [message #107471] Thu, 12 August 2004 16:08 Go to previous messageGo to next message
mac is currently offline  mac
Messages: 1018
Registered: February 2003
Karma: 0
General (1 Star)
Administrator/General
No, paging the host from the client is not possible.

Quote:


danpaul88: buggy bugs brenbot because buggy befriends brainlessness

I need scripts.dll 1.9 ideas [message #107504] Thu, 12 August 2004 18:08 Go to previous messageGo to previous message
flyingfox is currently offline  flyingfox
Messages: 1612
Registered: February 2003
Location: scotland, uk
Karma: 0
General (1 Star)
well, here's a quick thought idea. You know the black-cell mod that lets low key defenses be rebuilt via a blue icon? Well, what if you were to apply this to every building, but quirk it up a little. Let's say your weapons fact. was destroyed. Your team donated like 3000 credits to the blue moneybox, and it "re-enabled" the weapons factory. But, it only allowed you to purchase weaker vehicle like the humm-vee and apc. More money being donated would allow the better vehicles to become available, and if it was re-destroyed then everything would become unavailable again. I suppose you would have to "undestruct" the structure models which I'm not sure is possible. But it would be good for a barracks/hand of Nod, to be able to buy into officer class when you've lost it so that you don't have to use standard soldiers for the rest of the game.
Previous Topic: Looking for some help with a Perfect Dark mod...
Next Topic: CNC Reborn : Medic Kit
Goto Forum:
  


Current Time: Wed Dec 11 12:09:20 MST 2024

Total time taken to generate the page: 0.02137 seconds