Listing of the scripts I've made [message #232028] |
Sun, 26 November 2006 13:40 |
|
Jerad2142
Messages: 3809 Registered: July 2006 Location: USA
Karma: 6
|
General (3 Stars) |
|
|
Below is a list of scripts that I have made for my mods, when I release these you will need the scripts found at:
http://sourceforge.net/projects/cpurentools
to run my scripts along with Jonathan Wilson's scripts. Below I will now list my scripts:
JMG_Bounce_Zone_Entry_Y_And_Z_Directions (This script will bounce the person who entered the zone along the Y and Z axis)
Player_Type (Nod 0 GDI 1 Any 2)
Amount (Amount to bounce on the Y axis)
ZAmount (Amount To bounce on the Z axis)
JMG_Send_Custom_To_Damager_Weapon (This script will send a custom to the person who damaged an object with a certain weapon)
Weapon (Name of weapon)
Player_Type (Team the player must be to trigger the script)
Message (Custom that is sent to damager)
Param (Param sent to damager)
JMG_Teleport_Object_To_Sender (This script will teleport the object that sent the custom to the object with this script attached)
Message (Custom that triggers the script)
JMG_Teleport_On_Custom (This script will teleport the object that it is attached to the location that is specified when the custom is received)
Location (Position to teleport to)
Message (Custom to teleport on)
JMG_Teleport_Custom_Random (This script will teleport the object that it is attached to 1 of 9 random locations that are specified when the custom is received)
Location 1-9 (position to teleport to)
Message (Custom to teleport on)
JMG_Custom_Send_Random_Custom (This script will send 1 of 4 random customs when a custom message is received)
RecieveMessage (Custom needed to trigger script)
RecieveCount (Number of above customs need to trigger script)
SendMessage1-4 (Random Message to send)
SendParam1-4 (Random Param to send [this value is hooked with the message])
SendID (ID to send to)
JMG_Grant_Powerup_Select_Weapon_Create (This script will give the object it is attached to a weapon and the automatically switch to that weapon)
Powerup (Name of powerup to grant)
Weapon_Preset (Name of weapon to switch to)
If you have any scripts that you would like me to attempt to add to this just post what you would like it to do below and I'll try.
Visit Jerad's deer sweat shop
|
|
|
|
|
Re: Listing of the scripts I've made [message #232120 is a reply to message #232108] |
Mon, 27 November 2006 01:48 |
nopol10
Messages: 1043 Registered: February 2005 Location: Singapore
Karma: 0
|
General (1 Star) |
|
|
Is it possible to do it Quake style where you can fly? If you used the bounce script you could pass end up stuck inside a wall which is what happened when I used the JFW one.
nopol10=Nopol=nopol(GSA)
|
|
|
|
Re: Listing of the scripts I've made [message #232204 is a reply to message #232167] |
Mon, 27 November 2006 18:38 |
nopol10
Messages: 1043 Registered: February 2005 Location: Singapore
Karma: 0
|
General (1 Star) |
|
|
I have no idea how to write a script but could you make it so that to make yourself bounce/fly, your gravity scale gets divided by the bounce height in the zone and then you are forced to jump. Once you get out of the zone, your gravity scale returns to normal.
nopol10=Nopol=nopol(GSA)
|
|
|
Re: Listing of the scripts I've made [message #232216 is a reply to message #232028] |
Mon, 27 November 2006 20:27 |
|
Viking
Messages: 1692 Registered: July 2005 Location: Earth
Karma: 0
|
General (1 Star) |
|
|
If you could make a parachute script?
Make a script so when you deploy a becon it automatically destroys the becon and places a vehicle of youre choice in its spot?
THAT WOULD BE THE L33T!
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: Listing of the scripts I've made [message #232280 is a reply to message #232028] |
Tue, 28 November 2006 10:19 |
|
crazfulla
Messages: 667 Registered: September 2006 Location: Aotearoa
Karma: 0
|
Colonel |
|
|
A script that sends a custom when a certain preset enters a scriptzone (if there isnt one already? I couldnt find one). ie you can enter the playertype (team id - 0 or 1) and a preset name (such as Nod_Engineer_0) required to trigger the custom.
"GEoDLeto wrote:" | so what you are saying it is gonna take even longer before this thing is finished
So the topic title should be changed to: a sucky little "teaser" from C&C Reborn has been released
|
"halo2pac wrote:" | Unless they are girls, I am not going to bone them.
|
|
|
|
Re: Listing of the scripts I've made [message #232294 is a reply to message #232028] |
Tue, 28 November 2006 12:15 |
|
crazfulla, check out JFW_Zone_Send_Custom_Preset, it should do exactly what you want.
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: Listing of the scripts I've made [message #232395 is a reply to message #232028] |
Wed, 29 November 2006 05:38 |
|
crazfulla
Messages: 667 Registered: September 2006 Location: Aotearoa
Karma: 0
|
Colonel |
|
|
ah tyvm
"GEoDLeto wrote:" | so what you are saying it is gonna take even longer before this thing is finished
So the topic title should be changed to: a sucky little "teaser" from C&C Reborn has been released
|
"halo2pac wrote:" | Unless they are girls, I am not going to bone them.
|
|
|
|
Re: Listing of the scripts I've made [message #483391 is a reply to message #232028] |
Thu, 12 September 2013 15:54 |
|
Titan1x77
Messages: 1086 Registered: February 2003
Karma: 0
|
General (1 Star) |
|
|
"JMG_Teleport_Object_To_Sender (This script will teleport the object that sent the custom to the object with this script attached)
Message (Custom that triggers the script)
JMG_Teleport_On_Custom (This script will teleport the object that it is attached to the location that is specified when the custom is received)
Location (Position to teleport to)
Message (Custom to teleport on)"
I Take it these never made it in?
JFW_Teleport_custom seems to be broken and there is no other scripts that teleport on custom :/
really need a script that will teleport a person in his vehicle on a custom, zone won't work and granting a power up with dp88_teleport doesnt work on the vehicle
"But if the gameplay sucks, the looks don't matter at all." - Sir Phoenixx
|
|
|
Re: Listing of the scripts I've made [message #483392 is a reply to message #232028] |
Thu, 12 September 2013 16:00 |
|
danpaul88
Messages: 5795 Registered: June 2004 Location: England
Karma: 0
|
General (5 Stars) |
|
|
dp88_teleport
EDIT: Actually, scratch that, it only reacts to powerup customs, not customs from arbitary objects (although you could fake a powerup custom). Or just grant a powerup on custom with the teleport parameters you want in the powerup script (arguably more flexible since it could also be a pick-up powerup)
[Updated on: Thu, 12 September 2013 16:03] Report message to a moderator
|
|
|
Re: Listing of the scripts I've made [message #483393 is a reply to message #232028] |
Thu, 12 September 2013 16:12 |
|
Titan1x77
Messages: 1086 Registered: February 2003
Karma: 0
|
General (1 Star) |
|
|
I'll share exactly what im trying to do...
GDI Drop pod ( most likely a vet system reward or a crate reward)
I have it set to grant a powerup to the player... this is a beacon object you set anywhere, when it destroys itself it drops the drop pod vehicle (using a humvee as of now) onto the location. You enter it and sends a custom of 100000028 to the vehicle, Im using:
jfw_custom_send_custom to relay to the dave's arrow with jfw_teleport on custom.... not working.
So I need a way to teleport the player and the vehicle while he's inside it to a set location which you'll be able to control the pod to where u want it to crash.
Seem's like I can handle everything else but can't get this pod to teleport to the object/location
EDIT: Ive tried granting a powerup to the vehicle and I think the script is tryig to teleport the player not the vehicle, which in the end did nothing while i was in the vehicle
I'm interested in knowing how to fake a custom from a powerup, i think that'd work, also interested on how to get the ID of an object created so i can pass that to the JFW_Teleport_Custom which is looking for some type of parameter to use as the object that it teleports...which i dont know why it doesnt just use the sender?
How do vehicles react to powerups?
"But if the gameplay sucks, the looks don't matter at all." - Sir Phoenixx
[Updated on: Thu, 12 September 2013 16:35] Report message to a moderator
|
|
|
|
Re: Listing of the scripts I've made [message #483398 is a reply to message #232028] |
Fri, 13 September 2013 05:26 |
|
Titan1x77
Messages: 1086 Registered: February 2003
Karma: 0
|
General (1 Star) |
|
|
I'd like to know how to fake a custom to a powerup, so i could use your script.
Also how do I grant a powerup without anything fancy? I think as of now I have to use a zone or do it as it's created, both wouldn't work.... infact I couldn't find a script to grant powerup on custom either??
Maybe you could help me better understand JFW_Teleport_Custom?
Custom (the custom to look for, the parameter passed is the ID of the object to teleport) How would I know the ID of a object created during the game?
I tried a message of 1, 0, 1000000028, 9, and 250 and also the preset's ID... I'm triggering this on the vehicle not the player correct?
I can't get this script to work at all.
"But if the gameplay sucks, the looks don't matter at all." - Sir Phoenixx
|
|
|
Re: Listing of the scripts I've made [message #483399 is a reply to message #232028] |
Fri, 13 September 2013 08:44 |
|
danpaul88
Messages: 5795 Registered: June 2004 Location: England
Karma: 0
|
General (5 Stars) |
|
|
JFW_Give_Powerup_Create will grant a powerup to the object it is attached to, nothing extra needed.
I'll need to lookup the exact custom message ID a powerup sends but basically you just send that to the dp88_teleport script and it will teleport the sender to the specified destination
As for the JFW one, I'll look at its source when I get home, looks like it wasn't documented yet so I'll go ahead and add some at the same time.
[Updated on: Fri, 13 September 2013 08:45] Report message to a moderator
|
|
|
Re: Listing of the scripts I've made [message #483411 is a reply to message #232028] |
Fri, 13 September 2013 23:23 |
|
Titan1x77
Messages: 1086 Registered: February 2003
Karma: 0
|
General (1 Star) |
|
|
I have to allow time for the solider to enter, So i used Attach_Script_Custom, and gave that the powerup_create... which I think is working, but it's still not teleporting the vehicle. This way it's not teleporting it as it spawns, it sends a message of 1000000028 when I enter and then it apply the powerup.
I created a spawner with the POW with ur teleport script on and when I run over to it, it will teleport the infantry, but the vehicle won't teleport.
I set both inf and veh to 1, I tried inf=0 and veh=1, and that didn't teleport either on pickup.
I'm thinking teleporting vehicles has something to do with check stars or something like on a zone? I know the grant armor or weapon gets applied to the soldier not the vehicle when picking it up in a vehicle... hmm
Thanks for looking into this, Ive decided im not spending 2 days in a row on such a small part of the mod... although I though this might be really cool if you drop from 300m out and were able to glide it to where u want the pod to land. I'll post a video of it sometime with all the other things Ive done so far.
"But if the gameplay sucks, the looks don't matter at all." - Sir Phoenixx
[Updated on: Fri, 13 September 2013 23:26] Report message to a moderator
|
|
|
Re: Listing of the scripts I've made [message #483414 is a reply to message #232028] |
Sat, 14 September 2013 02:16 |
|
When you pick up a powerup, it only sends the custom to infantry, not to vehicles. (it specifically pulls the driver of the vehicle rather than the vehicle)
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: Listing of the scripts I've made [message #483430 is a reply to message #232028] |
Sat, 14 September 2013 20:40 |
|
Titan1x77
Messages: 1086 Registered: February 2003
Karma: 0
|
General (1 Star) |
|
|
I found the message 1000000025 pertains to a powerup.
So i attached dp88_teleport to a dave's arrow, when the vehicle received a custom of 1000000028 I sent a custom of 100000025 to the dave's arrow and poof i teleported
Now I'm trying to set up a vehicle that can maneuver while in air, which only seems to be the "human" type. I'd like to have it explode on impact, or set up a zone or maybe set it to self destruct in x amount of seconds after entry.
I actually used another script I think you made DP, which is the ra2ven_vehicle_falling script, but that's not working like it's suppose to, it will do damage in mid air, but upon impact it doesnt do a thing.
Now That i figured out how to fake powerup pick ups, what's the message sent on "zone entry"? This way I can use some zone scripts in this same manner.
"But if the gameplay sucks, the looks don't matter at all." - Sir Phoenixx
|
|
|
Re: Listing of the scripts I've made [message #483431 is a reply to message #483414] |
Sat, 14 September 2013 20:48 |
|
Titan1x77
Messages: 1086 Registered: February 2003
Karma: 0
|
General (1 Star) |
|
|
jonwil wrote on Sat, 14 September 2013 05:16 | When you pick up a powerup, it only sends the custom to infantry, not to vehicles. (it specifically pulls the driver of the vehicle rather than the vehicle)
|
I also tried using your jfw_vehicle_powerup script too, but I have no idea how to set up your teleport scripts, I've yet to see them work on a custom.
If you scroll up you'll see im wondering how to find the ID of a game time created object so it will teleport the sender of the custom.
"But if the gameplay sucks, the looks don't matter at all." - Sir Phoenixx
|
|
|
|
Re: Listing of the scripts I've made [message #483434 is a reply to message #232028] |
Sun, 15 September 2013 03:45 |
|
The ra2ven scripts were written by kgbspy I believe.
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: Listing of the scripts I've made [message #483449 is a reply to message #232028] |
Mon, 16 September 2013 02:04 |
|
danpaul88
Messages: 5795 Registered: June 2004 Location: England
Karma: 0
|
General (5 Stars) |
|
|
Faking zone enter / exit customs is a bit more dangerous than doing it with powerups... some scripts won't mind but some might make assumptions about the sender being a ZoneGameObject that might not hold true in that scenario. Although I'd hope they would all do sanity checking anyway but still worth bearing in mind.
[Updated on: Mon, 16 September 2013 02:04] Report message to a moderator
|
|
|