Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » scripts.dll 1.8 progress report
scripts.dll 1.8 progress report [message #103232] Thu, 22 July 2004 05:52 Go to previous messageGo to next message
Deactivated is currently offline  Deactivated
Messages: 1503
Registered: February 2003
Karma: 0
General (1 Star)
I'm not sure if this can be done with existing scripts..

Repair_Zone_Animation
This plays an animation (eg. Repair arms extend over vehicle) when a vehicle enters this zone. The last frame of the animation will be repeated until the vehicle leaves the zone and plays the animation frames in reverse.
scripts.dll 1.8 progress report [message #103233] Thu, 22 July 2004 06:12 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3556
Registered: February 2003
Karma: 0
General (3 Stars)

What you want is probobly possible, I will look into it.

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 1.8 progress report [message #103331] Thu, 22 July 2004 15:02 Go to previous messageGo to next message
WNxCABAL is currently offline  WNxCABAL
Messages: 1391
Registered: July 2004
Karma: 0
General (1 Star)
Hey jonwil, maybe you can fix this script as this specific script crashes when you export as mix.
The one you previously advised me one, JFW_Cinematic_Attack.
I know for sure it crashes, because when it used to crash, I looked at the error report and it said scripts.dll. So then I said okay, what new scripts have I added recently since it last exported ok. Then it occured to me, it was JFW_Cinematic_Attack, so I removed this script from the turret (in the presets) and attempted to save again, and hey presto, it exported!

I don't know if it is a slight fault, but can you fix it Smile

I noticed you said you will fix me up something if that wasn't what I was looking for.
Well, as this script couldn't be tested by myself, heres what I am wanting: (I don't know if this script is for this purpose):
Basically, I am wanting a group of Nod Turrets to attack the Gunboat which is following a waypath controlled by your own JFW_Follow_waypath. Thats all basically Smile
Is this the script for the job, or is/are there another ones?

Thanks

Andy.
scripts.dll 1.8 progress report [message #103347] Thu, 22 July 2004 15:51 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3556
Registered: February 2003
Karma: 0
General (3 Stars)

JFW_Cinematic_Attack should work. (I tested it myself)
Check that you filled in all the parameters.


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 1.8 progress report [message #103356] Thu, 22 July 2004 17:00 Go to previous messageGo to next message
WNxCABAL is currently offline  WNxCABAL
Messages: 1391
Registered: July 2004
Karma: 0
General (1 Star)
Well, I will give you the details I put tomorrow,
Then you can advise me Smile
off to bed now, c ya. Wink
scripts.dll 1.8 progress report [message #103357] Thu, 22 July 2004 17:14 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3556
Registered: February 2003
Karma: 0
General (3 Stars)

ok, more finished scripts: (untested though)
JFW_Character_Buy
JFW_Zone_Character
JFW_Teleport_Zone_Team
JFW_Create_Destroy_Object_On_Enter
JFW_Custom_Send_Ordered_Customs
JFW_Custom_Send_Customs
JFW_Custom_Send_Custom_Multiple_IDs

this batch grant the bonus to the thing with the script on it
JFW_Set_Health_On_Custom
JFW_Add_Health_On_Custom
JFW_Set_Max_Health_On_Custom
JFW_Add_Max_Health_On_Custom
JFW_Set_Shield_Strength_On_Custom
JFW_Add_Shield_Strength_On_Custom
JFW_Set_Max_Shield_Strength_On_Custom
JFW_Add_Max_Shield_Strength_On_Custom

there is another batch called _On_Custom_Sender instead of _On_Custom.
They grant the bonus to the object that sent the custom. Use with a custom of 1000000025
All of the Max_Health/Max_Shield_Strength scripts set the health/shield strength to the new max health/shield strength.

Oh and passing negative numbers to the Add scripts to take away instead should work.


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 1.8 progress report [message #103358] Thu, 22 July 2004 17:32 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3556
Registered: February 2003
Karma: 0
General (3 Stars)

just a FYI that not everything I mention may end up in the final 1.8 when its released, some things might not work (or I might not be able ot implement them) so if you cant find your idea or suggestion in 1.8, it wasnt implemented because of technical reasons.

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 1.8 progress report [message #103389] Thu, 22 July 2004 19:41 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3556
Registered: February 2003
Karma: 0
General (3 Stars)

of course, the other reason a script might not be in 1.8 is because I forgot about it Smile

oh and I see nothing preventing M01_Hunt_The_Player_JDG from working with air vehicles, so if it doesnt work, its not something I know how to fix.

also
JFW_Create_Destroy_Object_On_Custom_Death
JFW_Create_Destroy_Object_On_Custom_Death_Bone
JFW_Custom_Destroy_All_Buildings
JFW_Random_Timer_Play_Cinematic
have been coded
I hope to have the coding for 1.8 done this weekend so that the testing can happen next week.
But I need testers to help.


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 1.8 progress report [message #103420] Thu, 22 July 2004 23:05 Go to previous messageGo to next message
Deactivated is currently offline  Deactivated
Messages: 1503
Registered: February 2003
Karma: 0
General (1 Star)
OK, this one shouldn't be too hard:
This works like the ConYard repair script, but deducts X amount of money from the team every X seconds (if possible, this should happen when the building is being repaired). If the amount of total credits for the team is less than X credits, the repairing stop until it exceedes the amount again.
This includes a sound that plays when credits are deducted (Credit tick down sound).

A clone should be created for the vehicle script.
scripts.dll 1.8 progress report [message #103430] Fri, 23 July 2004 01:08 Go to previous messageGo to next message
WNxCABAL is currently offline  WNxCABAL
Messages: 1391
Registered: July 2004
Karma: 0
General (1 Star)
http://conquerworld.me.uk/images/cncmaps/cinimaticattack.JPG

Okay theres the settings I gave to JFW_Cinematic_Attack
I notice there are some blank fields (the zero's), is this the cause of it crashing on map save?
If so, can you explain the purpose of the last 3 fields so I know what to change.

Cheers,

Andy
scripts.dll 1.8 progress report [message #103438] Fri, 23 July 2004 02:54 Go to previous messageGo to next message
Titan1x77 is currently offline  Titan1x77
Messages: 1086
Registered: February 2003
Karma: 0
General (1 Star)
Any info on these?

Send_Custom_on_pickup


Send_custom_multiple_ID's........ send's a custom to several different object ID's.

Create_object_on_enter ........just one zone that creates an object on enter and kills it on exit.

and also

kak_warp_on_pickup_team?


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

scripts.dll 1.8 progress report [message #103439] Fri, 23 July 2004 03:06 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3556
Registered: February 2003
Karma: 0
General (3 Stars)

Send_Custom_on_pickup: already doable with JFW_Custom_Send_Custom and the right value (check readme.txt)
JFW_Create_Destroy_Object_On_Enter will create an object when you enter the zone and destroy it on exit
JFW_Teleport_Zone_Team is the only team-specific teleport script I plan to do
JFW_Custom_Send_Custom_Multiple_IDs is what you want for the last one.

As for the money-taking repair script, no, I cant do that. (the difficulty is in how the Give_Money command works)


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 1.8 progress report [message #103440] Fri, 23 July 2004 03:11 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3556
Registered: February 2003
Karma: 0
General (3 Stars)

As for cinematic_attack, I cant see anything wrong.
_TFWxANDY_, do you use AIM/MSN/ICQ/Yahoo?
The "range" field specifies what the range of the attack should be.
The "devation" field specifies how close to the object being attacked the attack has to be.
And the "primary" field specifies whether to use primary or secondary gun.


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 1.8 progress report [message #103442] Fri, 23 July 2004 03:30 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3556
Registered: February 2003
Karma: 0
General (3 Stars)

ok, some new stuff I am adding based on an idea I just had
Find_First_Player (finds the first player for the given team, you can then call the score and money commands on this with Whole_Team to take money/score away from the whole team)
JFW_Grant_Money_On_Custom (adds money to the specified team when a custom is recieved, you can use negative numbers)
JFW_Grant_Score_On_Custom (adds score to the specified team when a custom is recieved, you can use negative numbers)
JFW_ConYard_Deduct_Cash (now that I thought of a hopefully workable way to implement it, I can do the conyard-that-costs-$ idea)


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 1.8 progress report [message #103443] Fri, 23 July 2004 03:31 Go to previous messageGo to next message
Titan1x77 is currently offline  Titan1x77
Messages: 1086
Registered: February 2003
Karma: 0
General (1 Star)
jonwil


JFW_Teleport_Zone_Team is the only team-specific teleport script I plan to do



all sounds great but that teleport script is useless....people get stuck together using that one, With a powerup spawner it's impossible for 2 people to teleport at the same time making it much better to use.

and JFW_Custom_Send_Custom can be attached to a powerup?


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

scripts.dll 1.8 progress report [message #103481] Fri, 23 July 2004 06:57 Go to previous messageGo to next message
WNxCABAL is currently offline  WNxCABAL
Messages: 1391
Registered: July 2004
Karma: 0
General (1 Star)
jonwil

As for cinematic_attack, I cant see anything wrong.
_TFWxANDY_, do you use AIM/MSN/ICQ/Yahoo?
The "range" field specifies what the range of the attack should be.
The "devation" field specifies how close to the object being attacked the attack has to be.
And the "primary" field specifies whether to use primary or secondary gun.


Sorry Jonwil, didn't see this post Smile I would of replied sooner if I saw it Laughing

I will PM you my MSN Address.

Andy.
scripts.dll 1.8 progress report [message #103500] Fri, 23 July 2004 08:11 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3556
Registered: February 2003
Karma: 0
General (3 Stars)

JFW_Custom_Send_Custom can be stuck on a powerup.
And I will do JFW_Warp_On_Pickup_Team
Also, added more functions to call:
Find_First_Player
Get_Animation_Frame (wont work for any objects that are a CinematicGameObj I dont think)
Grant_Refill (basicly, this is the refill button in the PT)
Grant_Powerup (grants a powerup)
Get_Vehicle (gets the vehicle a soldier is driving)
Get_Shield_Type (gets the shield type of an object)
Get_Skin (gets the skin of an object)
Set_Skin (sets the skin of an object)
Create_Vehicle (this one creates a vehicle from the weapons factory/airstrip). You pass it the preset name of the vehicle to create, a delay value (covers how long the vechicle takes to create I think). the object that should own the new vechicle (0 if you want no owner, this should work)
And you pass in the team ID of the team to create the vechicle for (i.e. if you pass 0, it uses the airstrip, if you pass 1 it uses the Weapons Factory).
If you create a nod vechicle at the WF or a GDI vechicle at the Airstrip, it will still be owned by the team set in the preset for the vechicle (watching the nod buggies I was using to test get shot at by the GDI AGT on glacier flying was funny 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
scripts.dll 1.8 progress report [message #103535] Fri, 23 July 2004 11:04 Go to previous messageGo to next message
xptek_disabled is currently offline  xptek_disabled
Messages: 1308
Registered: September 2003
Karma: 0
General (1 Star)
Great job jonwil. Very Happy

Local oper-irc.ugin.net - A Scrumfy free IRC.
Jonwil > SK
http://www.byterush.net/
scripts.dll 1.8 progress report [message #103588] Fri, 23 July 2004 12:26 Go to previous messageGo to next message
WNxCABAL is currently offline  WNxCABAL
Messages: 1391
Registered: July 2004
Karma: 0
General (1 Star)
Yeah! Smile
scripts.dll 1.8 progress report [message #103598] Fri, 23 July 2004 12:37 Go to previous messageGo to next message
KIRBY098 is currently offline  KIRBY098
Messages: 1546
Registered: February 2003
Karma: 0
General (1 Star)
Good man!

You get my vote for Ren MVP.


Deleted
scripts.dll 1.8 progress report [message #103625] Fri, 23 July 2004 13:34 Go to previous messageGo to next message
NeoX is currently offline  NeoX
Messages: 408
Registered: April 2003
Location: Canada, Ontario, Acton
Karma: 0
Commander
KIRBY098

Good man!

You get my vote for Ren MVP.


I second that! Very Happy
scripts.dll 1.8 progress report [message #103675] Fri, 23 July 2004 15:55 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3556
Registered: February 2003
Karma: 0
General (3 Stars)

ok, conyard that takes cash, I cant do that.

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 1.8 progress report [message #103693] Fri, 23 July 2004 17:25 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3556
Registered: February 2003
Karma: 0
General (3 Stars)

ok, added JFW_Warp_On_Pickup_Team, JFW_Refill_Buy, JFW_Vehicle_Buy, JFW_Powerup_Buy and versions of the Building_Gun, Base_Defence and Repair_Zone scripts that use Is_VTOLVehicle.

I hope (depending on when I get the stuff from TheKGBSpy and any fixes from NeoSaber for the Base_Defence stuff he was working on) to have 1.8 finished and ready for QA/testing soon.

One script idea I plan to add is JFW_Refill_Powerup. This will go on a powerup and basicly act like the refill button on a PCT (there will be a zone version of same too). Should be usefull for Deathmatch maps 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
scripts.dll 1.8 progress report [message #103714] Fri, 23 July 2004 19:19 Go to previous messageGo to next 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
How is JFW_Regenerate_Health_Conditional doing? Or is it going to have to be done a more complicated way?

-YSLMuffins
The goddess of all (bread products)
See me online as yslcheeze
scripts.dll 1.8 progress report [message #103730] Fri, 23 July 2004 21:28 Go to previous messageGo to previous message
jonwil is currently offline  jonwil
Messages: 3556
Registered: February 2003
Karma: 0
General (3 Stars)

thats being worked on.

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
Previous Topic: check this out
Next Topic: Re texture in W3D?
Goto Forum:
  


Current Time: Sat Jun 29 00:15:37 MST 2024

Total time taken to generate the page: 0.01179 seconds