general scripts.dll thoughts [message #105129] |
Sat, 31 July 2004 04:42 |
|
Here are changes already made since 1.8
changes to SCUD_SuperWeapon and SCUD_TurretBuildup
a new engine call to output stuff to the console
a new engine call to send stuff to the console input parser (so its as though you typed it at the console)
a bug fix for the address of the SoldierReInit engine call on the Win32 FDS (this prevented Change_Character from working on the WFDS)
a bug fix for Find_Building_By_Name to make it actually work.
a change to Damage_All_Buildings_By_Team, Damage_All_Buildings_By_Team_Nearest and Damage_All_Buildings_By_Team_Nearest_Scale so that you can pass 2 for the team to mean "any team". And also another change to those so you can pass in a GameObject that will be treated as the object doing the damaging (and will be passed to the Damaged event and also will get the points for doing the damage)
some simple documentation of the functions available in engine.h
a change to JFW_Building_Damage and JFW_Building_Damage_Scale to pass the parameter of the custom as the Damager (use with JFW_Death_Send_Custom_Driver_ID to give the driver of the bomb truck the points for doing the building damage)
better information for the vector parameter of Trigger_Weapon
better information for the 2 float parameters of Find_Closest_Soldier
better information for the 3 float paramters of Shake_Camera
better information for the second GameObject parameter to Lock_Soldier_Facing
better information for the unknown parameters for the weather commands (I hope to have this information soon)
I dont know exactly what will happen next with the scripts.dll (if I release 1.8.1 or 1.9 or what) but here aer some general thoughts as to what may/will be in future scripts.dll versions.
a script called JFW_Give_Points_On_Timer_Per_Building that will give points to <object> for every building of <team> left standing
a new engine call to support JFW_Give_Points_On_Custom
a script called JFW_Points_Send_Custom which will send <custom> when <points gathered since player was created> is >= <value>. This can then be used in conjunction with scripts like JFW_Set_Max_Health_On_Custom and stuff to grant upgrades to players who stay alive long enough to gain them (sort of like veteran mode on black-cell or in Generals but different)
a new CTF script (someone requested one, now is the time to post details about what you wanted in a CTF script)
JFW_Death_Send_Custom_ID (sends a custom on death and passes <id of the thing JFW_Death_Send_Custom_ID is attached to> as the parameter)
JFW_Death_Send_Custom_Driver_ID (sends a custom on death and passes <id of the first thing that got into the vechicle JFW_Death_Send_Custom_Driver_ID is attached to> as the parameter)
anything NeoSaber creates for future versions of RenAlert and submits
anything anyone else creates and wants to submit
fixes to make Set_Animation and Set_Animation_Frame transfer over the network right
fixes to make enable_stealth transfer over the network right
fixes to make Create_Explosion and Create_Explosion_At_Bone transfer over the network right
a new script JFW_Animated_Effect which will, when sent a custom, create a Generic_Cinematc, and set its model and animation to the passed in parameters. When the animation is finished, it will kill the object
a new script JFW_Random_Animated_Effect which is like JFW_Animated_Effect except it will spawn a random distance +-x,+-y,+-z from the location (great for e.g. spawning a randomly positioned puff of tiberium gas in a tiberium field)
an engine call for changing the team of a given player
an engine call for getting the owner of a vechicle (i.e. the object passed in as the owner when the vechicle was created)
engine calls for getting the various contents of a vechicle (e.g. driver, gunner, various others)
Is_xxx engine calls for the other GameObject types where there currently isnt one
JFW_Group_Purchase_Zone_Timer (this one would be used for rebuildable base defences like Black-Cell has but different), this one works like a cross between JFW_Group_Purchase_Zone and JFW_Zone_Timer.
possibly a re-do of the various engine calls that deal with the various GameObj lists into a new way where there is a generic "enumeration" function for each list that walks the list and calls a passed in callback function for each object in the list.
a fix for Set_Fog_Range so that it works client-side (also Set_Fog_Enable and Set_War_Blitz)
possibly other fixes for various <doesnt work client side> commands like making per-player Enable_Radar and per-player Display_Player_Terminal and other stuff
some logic to make stuff unbuildable when various buildings go (e.g. no more nuke when temple is gone or no more helicoptors when helipad is gone)
a script for a vechicle thief (for the reborn hijacker and whatever other uses)
a script or scripts for a hinter-seeker type effect
a script for a vechicle carying caryall (like the TS orca caryall or the dune 2 caryall or mabie even the naval transport from RA/RA2, would only carry one vechicle at once though)
if needed, fixes to make Static_Anim_Phys_Goto_Frame/Static_Anim_Phys_Goto_Last_Frame work over the network
a command to convert a ID into a player name
a way to find a player by the name and get the GameObject for it and also the Player ID for it
a way to count the number of players
perhaps commands to access other usefull stuff in cPlayerManager and cGame and stuff
proper poke in multiplayer (like how the PCTs do it, via the poked event on a script)
possibly custom PCTs (e.g. make a new page on the PCT for "aircraft" or "boats") or other stuff like a special "aircraft" PCT or "boats" PCT or something. Also, other dialog related crap
If anyone has ideas for the future, post here.
And remember, none of this stuff is gauranteed to be implemented (except the stuff I have said under "changes already done")
The engine-type stuff mentioned here is not connected with the stuff done for RenAlert 0.993 (like how 0.993 uses poke for the naval, aircraft and missile silo PTs, my poke code will be unrelated to that)
Also, stuff that will be in Blackhand Studios Core Patch 1 (like the sound fixes) isnt mentioned 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
|
|
|
|
general scripts.dll thoughts [message #105134] |
Sat, 31 July 2004 05:44 |
Deactivated
Messages: 1503 Registered: February 2003
Karma: 0
|
General (1 Star) |
|
|
Silent Kane | You are such a copy cat. If I see any of my stuff copied AGAIN then bad things will happen.
|
Don't be so selfish.
|
|
|
|
general scripts.dll thoughts [message #105144] |
Sat, 31 July 2004 06:19 |
Deactivated
Messages: 1503 Registered: February 2003
Karma: 0
|
General (1 Star) |
|
|
Silent Kane |
But seeing how f up some people in that "community" are, none of my stuff will ever go public.
|
You're the problem.
|
|
|
|
|
|
general scripts.dll thoughts [message #105176] |
Sat, 31 July 2004 09:00 |
Deactivated
Messages: 1503 Registered: February 2003
Karma: 0
|
General (1 Star) |
|
|
_TFWxANDY_ | I'm guessing this guy never shared his toys when he was younger :rolleyes:
|
"This is mine! All mine! And you can't have it! Bwhahaha!"
|
|
|
|
|
|
|
|
|
general scripts.dll thoughts [message #105239] |
Sat, 31 July 2004 14:16 |
|
its not "your stuff".
You didnt invent poke, dialog boxes, animation, explosions or any of that stuff.
I will concede that you were the first person to access some of these features.
However, that gives you NO RIGHT whatsoever to any independantly created implementations/access.
SK has every right to controll what happens to code he wrote.
I have no plans to use a single line of code from bhs.dll in any of this stuff.
Everything I created will be a totally new implemementation based on my own reverse engineering of renegade and SK will have NO CLAIM whatsoever over the code.
Also, not everything on that list will be created.
Plus, I havent decided what form it will take.
Some of it (the bits that would be very dangerous to cheaters like some of the netcode bits) may well end up being released in a closed source form.
This is more of a "things I want to do" list than a "things I will be doing" list.
Although some of the stuff on it will be done.
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
|
|
|
|
general scripts.dll thoughts [message #105258] |
Sat, 31 July 2004 15:11 |
|
YSLMuffins
Messages: 1144 Registered: February 2003 Location: Moved a long time ago (it...
Karma: 0
|
General (1 Star) Moderator - Mod Forum |
|
|
Gee, I wonder if it's like this with Microsoft and Apple and Linux.
-YSLMuffins
The goddess of all (bread products)
See me online as yslcheeze
|
|
|
|
general scripts.dll thoughts [message #105270] |
Sat, 31 July 2004 15:29 |
mahkra
Messages: 219 Registered: April 2004
Karma: 0
|
Recruit |
|
|
There's a big difference here though. Real companies get patents and copyrights so that people can't reverse-engineer things and duplicate them.
However, even real companies with patents & copyrights can't complain at all if a competitor steals their ideas and creates a similar (though not identical) product.
|
|
|
general scripts.dll thoughts [message #105280] |
Sat, 31 July 2004 16:06 |
|
YSLMuffins
Messages: 1144 Registered: February 2003 Location: Moved a long time ago (it...
Karma: 0
|
General (1 Star) Moderator - Mod Forum |
|
|
mahkra |
However, even real companies with patents & copyrights can't complain at all if a competitor steals their ideas and creates a similar (though not identical) product.
|
That's what I was thinking.
-YSLMuffins
The goddess of all (bread products)
See me online as yslcheeze
|
|
|
general scripts.dll thoughts [message #105369] |
Sat, 31 July 2004 22:17 |
|
Titan1x77
Messages: 1086 Registered: February 2003
Karma: 0
|
General (1 Star) |
|
|
Silent Kane | That still doesn't change the fact that you can't come up with own ideas.
Who was the one who thought of fixing all the stuff?
And you better not steal my Set_Animation fix.
|
lol....if you think people are "stealing you ideas" then why do you post about your ideas then??
And if someone came up with the idea to do something you can't just claim it as yours....JW has to actually put in the work to get that idea to be a reality.
SK, All ive seen is crying and "look what i can do" bullshit....Grow the fuck up and stop being so childish....JW has done alot for this game for a long time and he shouldnt be treated like this by no lil' punk such as yourself.
Im sure JW has the knowledge to do all these things your trying to do....and if you put an good idea infront of any wise man, they'd be dumb not to capitalize on it.
Some great stuff from the looks of this JW...keep em comin'
script called JFW_Points_Send_Custom which will send <custom> when <points gathered since player was created> is >= <value>...................This sounds like a great use for a game over once a player reaches a certain amount of points in conjunction with Custom_destroy_ building.....Is this possible to use with teams points aswell??
"But if the gameplay sucks, the looks don't matter at all." - Sir Phoenixx
|
|
|
|
|
|