Home » Renegade Discussions » Mod Forum » last call for scripts.dll 1.4
last call for scripts.dll 1.4 [message #64982] |
Tue, 03 February 2004 21:50 |
|
TimeFX, if you want your scripts in 1.4, send them to me
Here is what is going to be in it thus far (coding is in process for these)
new renalert scripts, as follows:
**********************************************************************************************
Script Name: "RA_Allied_Thief"
Description:
A new script for the thief, it grants the thief's team credits when he enters a zone with the script "RA_Soviet_Refinery_Theft_Zone", as well as every 30 seconds (by default, this can be changed) the thief remains inside the zone.
Script Parameters:
-Credits_To_Award: How many credits the thief gets per theft. The default amount is 500.00
-Prevent_Theft_Timer: How many seconds to wait between thefts. Default is 30.00
Notes:
This script is attached to the preset for whatever soldier is being used as the thief
**********************************************************************************************
Script Name: "RA_Soviet_Refinery_Theft_Zone"
Description:
This script works in conjunction with the script "RA_Allied_Thief". It checks when a thief enters or exits a zone and sends the thief a custom. Also, when it receives a custom from the script "RA_Soviet_Refinery_Controller" it will stop sending the thief a message when entered
Script Parameters:
-Thief_Preset_ID: This is the preset ID for the thief. Default is 0
Notes:
This script is attached to a script zone. Whereevr the script zone is placed is where the thief has to go to steal.
**********************************************************************************************
Script Name: "RA_Soviet_Refinery_Controller"
Description:
This script is designed to tell the script "RA_Soviet_Refinery_Theft_Zone" when the building it is attached to has been destroyed.
Script Parameters:
-ScriptZoneID: This is the ID of the script zone with "RA_Soviet_Refinery_Theft_Zone". This is NOT the preset ID, it is the ID of the zone placed on the map. Default is 0
Notes:
This script is attached to a building controller, for example the refinery a thief can steal from.
**********************************************************************************************
Script Name: "RA_Infantry_Spy"
Description:
This script makes the soldier it is attached to invisible to base defenses.
Script Parameters:
None
Notes:
This script is attached to the preset for whatever soldier is a Spy
**********************************************************************************************
Script Name: "RA_Infantry_NotSpy"
Description:
This script makes the soldier it is attached to visible to base defenses. This is necessary because the 'invisibility' of the script "RA_Infantry_Spy" is actually given to the player who bought the soldier and not the soldier itself. This means that if a player bought a spy and then bought another type of soldier, they would still be invisible to base defenses. This script corrects that.
Script Parameters:
None
Notes:
This script is attached to the preset of every soldier that is NOT a Spy, unless that soldier can never be purchased by a player that can purchase a spy. For example, an allied player can buy a Spy, so all allied infantry that are not spies need this script. However, since a soviet player can never be a spy, no Soviet infantry need this script.
**********************************************************************************************
Also, bug-fixes for one existing renalert script
Bug fixes and improvements to the Reborn scripts
A fix for JFW_Custom_Damage_Object to make it work properly
JFW_Apply_Damage_On_Enter_Timer (This script will apply damage to the object that entered the zone as long as its in the zone)
Warhead (the warhead to use)
Damage (how much damage to do per timer tick)
Time (how much time to wait before doing the next bit of damage)
Distance (how far away from the location of the zone the object has to be before the damage stops)
JFW_Domination_Zone (when entered, displays 1 of 2 models and sends
Controler_ID (ID of the controller, a daves arrow or something)
Custom (what custom to send to the controler)
Nod_Preset_Name (name of the preset to use for the "Nod has captured the zone" model)
GDI_Preset_Name (name of the preset to use for the "GDI has captured the zone" model)
Neutral_Preset_Name (name of the preset to use for the "no-one has captured the zone yet" model)
JFW_Domination_Controler (controler for the domination mode)
Custom (what custom to listen for)
Time (how often to give points)
TimerNumber (timer number for the timer)
PointsToGive (how many points to give to GDI for each GDI zone/Nod for each Nod zone)
PointsToTake (how many points to take from Nod for each GDI zone/GDI for each Nod zone)
Game will end when the map time expires, the team with the most points will win (just like regular C&C mode)
JFW_Customs_Play_Cinematic (basicly, when its sent all the customs, it fires the cinematic)
Message1 (first message)
Message2 (second message)
Message3 (third message)
Message4 (forth message)
Message5 (fifth message)
Message6 (sixth message)
Message7 (seventh message)
Message8 (eighth message)
Script_Name (the name of the *.txt script to fire)
Location (the location to fire it off at)
Facing (what direction to fire it off in)
Passing 0 for a message will cause that to be marked as "tripped" on startup (i.e. so you dont have to use all the customs)
JFW_Turret_Spawn_2: Makes an object at it's controller's bone.
Parameters - Turret_Preset (preset name of the object to spawn), Bone_Name (the name of the bone to attach the object to), Explosion_Preset (made at the bone when the MMK2 or whatevers dies to get rid of the object spawned),
Explosion_Bone (where to make the explosion)
Modifications to JFW_Zone_Send_Custom_Enable, JFW_Zone_Send_Custom_Preset and TDA_Send_Custom_Zone as follows:
1.if the Message is 0, it wont get sent
and 2.if the Param is 0, it will send "the ID of the object that entered the zone" as the param.
Same deal applies to the new script JFW_Zone_Send_Custom_Keycard below and to the script JFW_Zone_Send_Custom_Not_Preset
JFW_Zone_Send_Custom_Keycard (sends a custom when a zone is entered or exited but only if the object that entered it has a specific keycard)
EnterMessage (message to send on entry)
EnterParam (param to send on entry)
ExitMessage (message to send on exit)
ExitParam (param to send on exit)
Player_Type (what player type to trigger on, 0 = Nod, 1 = GDI, 2 = any)
Keycard_Number (the keycard number to look for)
JFW_Zone_Send_Custom_Not_Preset (sends a custom when a zone is entered or exited but only if the object that entered it not a specific preset)
ID (the id to send the messages to)
EnterMessage (message to send on entry)
EnterParam (param to send on entry)
ExitMessage (message to send on exit)
ExitParam (param to send on exit)
Player_Type (what player type to trigger on, 0 = Nod, 1 = GDI, 2 = any)
Preset_Name (what preset name to not trigger on)
JFW_Teleport_Custom (teleports an object when sent a custom)
Custom (the custom to look for, the parameter passed is the ID of the object to teleport)
Location (Vector location of where to be sent)
Object_ID (Object to teleport to)
Basicly, its the same as TDA_Teleport_Zone but triggers on the custom and not on the zone entry
JFW_Give_Points_On_Death (this gives points to the player that kills whatever its attatched to)
Points (how many points to give)
Player_Type (what player type to trigger on, 0 = Nod, 1 = GDI, 2 = any)
Whole_Team (give to team or just player)
a fix to JFW_Spawn_Object_Death so that objects will spawn facing the same direction as the object that died.
JFW_Armour_Regen
Time (how often to regen armour)
TimerNumber (timer number for the timer)
Points (how much armour to add)
JFW_Heath_Regen
Time (how often to regen health)
TimerNumber (timer number for the timer)
Points (how much health to add)
JFW_Random_Teleport_Custom (like JFW_Teleport_Custom but teleports to 1 of 5 random locations)
Custom (the custom to look for, the parameter passed is the ID of the object to teleport)
Location1 (Vector location of where to be sent)
Object_ID1 (Object to teleport to)
Location2 (Vector location of where to be sent)
Object_ID2 (Object to teleport to)
Location3 (Vector location of where to be sent)
Object_ID3 (Object to teleport to)
Location4 (Vector location of where to be sent)
Object_ID4 (Object to teleport to)
Location5 (Vector location of where to be sent)
Object_ID5 (Object to teleport to)
JFW_Timed_Teleport_Custom (like JFW_Teleport_Custom but has to wait n time before it can teleport again)
Time (how long before it resets)
TimerNumber (timer number for the timer)
Custom (the custom to look for, the parameter passed is the ID of the object to teleport)
Location (Vector location of where to be sent)
Object_ID (Object to teleport to)
Post any bug fixes I missed here and I will try to fix them for 1.4.
If I didnt get your script idea in this post, its because:
A.I couldnt work out how to do it in time
or B.Its not possible or wont work in MP
or C.I forgot the idea
If I didnt list your idea here and I didnt already say "no, I cant do that" before in an earlier thread, post it here and I will giev a reason why its not going into 1.4
The dll will be released soon (I dont know when though, just keep watching)
BTW, I will need testers for this later on so if you want to help, post here
[Updated on: Tue, 03 February 2004 21:58] Report message to a moderator
|
|
|
|
|
|
|
|
|
last call for scripts.dll 1.4 [message #65019] |
Wed, 04 February 2004 10:40 |
|
TheKGBspy
Messages: 96 Registered: April 2003
Karma: 0
|
Recruit |
|
|
Great job jonwil.
How many script remain to do?
btw there is some stuff i would like to know why its missing:
Quote: | JFW_Apply_Damage_On_Enter_Timer (This script will apply damage to the object that entered the zone as long as its in the zone)
Warhead (the warhead to use)
Damage (how much damage to do per timer tick)
Time (how much time to wait before doing the next bit of damage)
Distance (how far away from the location of the zone the object has to be before the damage stops)
|
i asked for a Team option:
Quote: | - Remake of the script that give damage on enter (when attached to a script zone)
* Team_Targeted: Select wich team is supposed to receive this damage(Gdi, Nod, Unteamed or All)
* Warhead: Select the type of warhead that the dammage will do
* Damage: x value given when hit
* Interval : Set up at wich interval the damage is done ex: every 2 sec.
|
Is the new Deploy scripts are in? (the one for deployed state, and the other for deploying state) i know you said improvement in reborns scripts.. but i would like to be sure
Btw about this script i asked:
Quote: | - Teleport on enter if preset = Something.
This scripts will be attached to a scripts zone. The Script_zone will look if there is a speciefic object having a X preset name. If its the case, it teleport this object (move) to) to X,Y,Z(dunno if this will be faster to teleport at a specified Object having XYZ and this object is unique in the map)
the options of the script:
*Alowed_preset: Define the allowed object to be teleported
*Destination_preset(Or X, y, z as i stated before): Define the name of the object where the allowed preset should be teleported.
*Explosion_preset: it will do an explosion where the object is supposed to be teleported before teleporting it.There will be a delay to not kill the teleported object.
Btw the teleported object will has same direction as the Destination object.
|
i havent see it. Btw if it can be done, i would like when any object enter the zone having x preset_name, to be teleported to y location on exit script zone. It will be teleported to z object id location, and it will have same orientation. It will also do an explosion to A Script zone. So basicly, it will clear out the area before teleporting.
Thank you
Ra2: Vengeance Project lead(it's Dead... sorry)
An empty Ghost since 2005.
|
|
|
|
stuff... [message #65076] |
Wed, 04 February 2004 17:35 |
|
1.I will add a team option to JFW_Apply_Damage_On_Enter_Timer
2.I dont know about the deploy scripts, I am not sure exactly whats wrong/what is required/what needs to be done plus they arent my scripts.
If there is something wrong with them, talk to the reborn people and get it fixed/changed.
and 3.for that teleport script, you can use a combination of JFW_Zone_Send_Custom_Preset and JFW_Teleport_Custom to make it work.
As for the clear area thing, you need to:
1.have the zone_send_custom thing send the custom to a Daves Arrow or something. Then, this daves arrow has JFW_Delay_Custom attatched (this creates the delay before the teleport happens, it is programmed to send to the teleport object). To make the explosion, use the new script JFW_Blow_Up_Location_On_Custom, below.
JFW_Blow_Up_Location_On_Custom (This script will create an explosion at the location specified in the script when a message is sent)
Explosion (the explosion to create)
Location (the loaction to create the explosion)
Message (the message to trigger on)
|
|
|
|
|
|
last call for scripts.dll 1.4 [message #65166] |
Thu, 05 February 2004 13:28 |
|
Cpo64
Messages: 1246 Registered: February 2003 Location: Powell River, B.C. Canada
Karma: 0
|
General (1 Star) |
|
|
Does the domination script have a neutral period between captures?
Like say GDI controls it, a nod guy comes in, and sits there does it go
GDI-10sec-Neutral-10sec-Nod
Or does it just go right from GDI to Nod?
Also, what happens if there are one person or more from each team in the zone?
What if the Zone belongs to GDI and a Nod player enters the zone?
Personaly I think that if the zone is empty, and someone enters it, and it doesn't belong to them it should first go to netural then change to the ocupieing team.
If the Zone belongs to a team and that team has someone in it, then someone else from the other team enters the zone, it should still change to neutral, but then remain neutral until only one team remains in the zone.
Maybe have an optional timer that will return the Zone to neutral if no one is in it after a set amount of time. If it is set to -1 or 0 or what have you, the timer will not be used.
------
Is there a king of the hill script yet?
-->
|
|
|
|
last call for scripts.dll 1.4 [message #65194] |
Thu, 05 February 2004 17:23 |
|
Firstly, no KOTH script per se yet.
But it might be possible to do KOTH via a combination of existing scripts, I dont know
As for domination, what will happen is that the zone starts out neutral.
When its captured by GDI, it starts giving points to GDI.
Then, if a nod unit enters it, it starts giving points to Nod.
If there is more than one person from a team in the zone, it will give points to that team just as though there was one person in the zone.
When the zone is captured, there is a delay, during which it wont change state.
JFW_Domination_Zone (when entered, displays 1 of 2 models and sends
Controler_ID (ID of the controller, a daves arrow or something)
Custom (what custom to send to the controler)
Nod_Preset_Name (name of the preset to use for the "Nod has captured the zone" model)
GDI_Preset_Name (name of the preset to use for the "GDI has captured the zone" model)
Neutral_Preset_Name (name of the preset to use for the "no-one has captured the zone yet" model)
Capture_Delay_Time (how many seconds to wait after its captured before the zone can change hands again)
TimerNumber (timer number for the timer)
Basicly, if something enters the zone or moves within it during the capture delay, nothing happens. But, if something moves within the zone or enters it after the capture delay is over, it will trigger.
|
|
|
|
last call for scripts.dll 1.4 [message #65214] |
Thu, 05 February 2004 19:17 |
|
The first person to enter gets the zone.
Then, the delay kicks in.
Once the delay is over, if someone from the other team moves in the zone, it triggers again and changes sides, with the delay kicking in again.
|
|
|
last call for scripts.dll 1.4 [message #65282] |
Thu, 05 February 2004 23:59 |
|
ok, the scripts are almost finished and ready for testing, just gotta write JFW_Domination_Controler then get them tested (and fix any bugs) then I release.
new info for the domination scripts:
JFW_Domination_Zone (when entered, displays 1 of 2 models and sends
Controler_ID (ID of the controller, a daves arrow or something)
NeutralCustom (what custom to send to the controler if the zone was neutral before it was captured)
OwnedCustom (what custom to send to the controler if the zone was already owned before it was captured)
Nod_Preset_Name (name of the preset to use for the "Nod has captured the zone" model)
GDI_Preset_Name (name of the preset to use for the "GDI has captured the zone" model)
Neutral_Preset_Name (name of the preset to use for the "no-one has captured the zone yet" model)
Capture_Delay_Time (how many seconds to wait after its captured before the zone can change hands again)
TimerNumber (timer number for the timer)
JFW_Domination_Controler (controler for the domination mode)
NeutralCustom (what custom to send to the controler if the zone was neutral before it was captured)
OwnedCustom (what custom to send to the controler if the zone was already owned before it was captured)
Time (how often to give points)
TimerNumber (timer number for the timer)
PointsToGive (how many points to give to GDI for each GDI zone/Nod for each Nod zone)
PointsToTake (how many points to take from Nod for each GDI zone/GDI for each Nod zone)
GDIObjectID (the ID of an object somewhere that is gauranteed to remain around for the entire game and that is owned by GDI, this is needed to give points to GDI)
NodObjectID (the ID of an object somewhere that is gauranteed to remain around for the entire game and that is owned by Nod, this is needed to give points to Nod)
|
|
|
|
last call for scripts.dll 1.4 [message #65286] |
Fri, 06 February 2004 00:33 |
|
IRON FART
Messages: 1989 Registered: September 2003 Location: LOS ANGELES
Karma: 0
|
General (1 Star) |
|
|
Quote: |
What if a member from each team is in the zone at the same time?
|
I would think that the person who entered it last would capture it for their team. Because I does not matter if they are both in the zone at the same time...It would be the entering of the zone that will change who domitates the zone.
That is my guess, but I may be wrong.
EDIT: nvm it was answered above already.
[Updated on: Sat, 07 February 2004 18:41] Report message to a moderator
|
|
|
|
last call for scripts.dll 1.4 [message #65485] |
Sat, 07 February 2004 18:05 |
|
General Havoc
Messages: 1564 Registered: February 2003 Location: Birmingham, England, Unit...
Karma: 0
|
General (1 Star) |
|
|
New script:
CLone of JFW_2D_Sound_Custom except plays a 3D sound.
3D_Sound_Custom - Plays a 3D sound when a custom is received
Custom - Custom to play on
Sound - Sound preset to play
Visit my website at http://renhelp.laeubi-soft.de powered by laeubi.de
"SHUT UP AND MOD" - Dante
"ACK is the Simon Cowell of modding" - Ultron10
Scripts.dll Debugger, Map Scripter and Tutorial writer
Computer Science Bsc
Aston University in Birmingham, UK
|
|
|
last call for scripts.dll 1.4 [message #65624] |
Sun, 08 February 2004 18:13 |
|
Firstly, the death sound being host-only, I cant do anything about that.
As for the other 3d sound one, that will probobly end up in 1.5 if/when I do it.
|
|
|
Goto Forum:
Current Time: Sun Dec 29 21:00:59 MST 2024
Total time taken to generate the page: 0.01784 seconds
|