|
Re: scripts.dll 3.0 WIP update [message #220037 is a reply to message #220017] |
Sun, 17 September 2006 06:44 |
|
Mad Ivan
Messages: 513 Registered: February 2003 Location: United Kingdom
Karma: 0
|
Colonel |
|
|
BogdanV wrote on Sun, 17 September 2006 14:53 | Shure. I'll post some videos right away. These are the recordings I've got at the moment. I had a video of the "pushable" boxes, but it seems that I've lost it. I'll re-make a recording of the boxes and attach it later on.
|
Yes, the buildings buildup is exceptional.
I was thinking of a simmilar build construction method, but more flexible. Hopefuly, with the new scripts.dll, my idea will be possible.
My LinkedIn profile
|
|
|
Re: scripts.dll 3.0 WIP update [message #220040 is a reply to message #219659] |
Sun, 17 September 2006 06:53 |
|
futura83
Messages: 1285 Registered: July 2006 Location: England
Karma: 0
|
General (1 Star) Viva la Resistance! |
|
|
could someone please convert the building one to mpg for me?
i cant see WMVs in Linux
This is a signature. Reading this is wasting your time.
|
|
|
|
|
Re: scripts.dll 3.0 WIP update [message #220055 is a reply to message #219659] |
Sun, 17 September 2006 08:04 |
|
BogdanV, there is a script already in the scripts.dll called JFW_Set_Animation_On_Custom. Put this on an object and send it a custom. An animation will then play on whatever object its stuck to.
Use JFW_Poke_Send_Custom_2 to send the custom on poke.
Hope this helps.
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: scripts.dll 3.0 WIP update [message #220513 is a reply to message #219659] |
Wed, 20 September 2006 11:03 |
BogdanV
Messages: 22 Registered: September 2006 Location: Romania, IASI
Karma: 0
|
Recruit |
|
|
Damn, I'm sorry to say that I've got a problem with the "JFW_Set_Animation_On_Custom" script. I have some good experience on generating specific events through a custom, I've double-checked the readme.txt that comes with the script and I've done everything accordingly. I've allso checked to see if there isn't a problem from the presets in LE and not the scripts. Through elimination, I've came to the conclusion that the problem's from the scripts. The .pkg I'm using loads about 1/2 of it and then the game crashes. I've checked the scripts version from that in the mod package in LE and Renegade; they were the same. I allso checked the .pkg, maybe it got corrupted during the export operation. It was ok.
Can someone give me some guidance please if it's possible ?
If I get the script to work properly, I guarantee that it'll be a major breakthrough in Renegade. Just as a hint: heavy non-VTOL aircraft and ships will be boardable (you won't have to "poke" the vehicle to enter it) and accesible as if they were clasic terrain. In other words, for those who had played any Battlefield game, think of the Aircraft Carrier that the americans and japonese had. The same can be made in Renegade, or in other therms, think of the fact that you could drive from the helm, the Nod Cargo Ship from one of Renegade's missions and still have the possibility to walk in it.
|
|
|
Re: scripts.dll 3.0 WIP update [message #220534 is a reply to message #219659] |
Wed, 20 September 2006 18:05 |
|
Can you post the crashdump.txt from your crash?
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: scripts.dll 3.0 WIP update [message #220610 is a reply to message #219659] |
Thu, 21 September 2006 09:30 |
|
Reading the call stack, the most recently called recognizable item is a call to ::Created for some script (I have no way to tell what). Have you changed scripts.dll (and if so, how?) If not, what version are you using?
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: scripts.dll 3.0 WIP update [message #221366 is a reply to message #219659] |
Sat, 23 September 2006 02:24 |
BogdanV
Messages: 22 Registered: September 2006 Location: Romania, IASI
Karma: 0
|
Recruit |
|
|
Sorry for wasting your time, but I've solved the scripts crash problem by starting a new mod package from zero. The script works, but I'm afraid it won't help me. Why ? Simple. This is what I need to happen. Let's say for a Hovercraft: The object is placed at a certain location in the game. You tell him through a message to play a certain anim. After playing it, obviously it changes it's position. From the new position, I want the model to play the same anim, so that I can continuously move using that animation. I mean, every time I send a message, the model should play the same anim, but from the new position it has been left. Simpler, to do this:
O -> 1 -> 2 -> 3 ...
O = starting point for the model
-> = the anim
1, 2 and 3 = new starting points given by the continuous use of the same anim
In "JFW_Set_Animation_On_Custom" the following happens:
O -> 1 where this step is repeated every time I tell the model to do so.
I hope I was clear with my explanations.
To get a better view of what I want to do, I'll explain what I'm trying to obtain:
You have a model - dynamic anim phys that can be accesed like a tile or a normal piece of terrain.
You give it multiple anims that would represent the movement of the object (ie: move: forwards anim, backwards anim, left anim, right anim)
Then you tell the model to play any of these anims by sending to him a message that triggers one of the model's anims. That way, the model should move every time you send a message to him. This way, you can make ships, submarines, heavy bombers, all at a higher degree of realism than by poking the vehicle you want to drive. This combined with a attach_to_bone script, would give you limitless possibilities. Your imagination would be the only limit. This is why I urgently need a script that can do the job I've explaned above. It is a breakthrough (if I can call it like this) from which the entire Renegade comunity can benefit.
|
|
|
Re: scripts.dll 3.0 WIP update [message #221389 is a reply to message #219659] |
Sat, 23 September 2006 08:02 |
|
I dont know if I am following you but is there any reason why you couldnt have multiple copies of JFW_Set_Animation_On_Custom, one for left, one for right, one for forward, one for back etc and then send it the custom for the relavent animation.
If that wont work, you will need to tell me why it wont work and be more clear about 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: scripts.dll 3.0 WIP update [message #221780 is a reply to message #219659] |
Sun, 24 September 2006 04:52 |
BogdanV
Messages: 22 Registered: September 2006 Location: Romania, IASI
Karma: 0
|
Recruit |
|
|
Here's a simple example of what I mean:
You have a model and a movement anim. You play that anim through a custom. The model plays it's anim. It changes it's position due to the animation. You want the model to play the same anim again, but from the new position of the model.
Let's say that whe have 3 points (0, 1, 2) at equal distances, one after another: consecutive.
Someone stands at point 0. It is ordered to move to point 1. It moves there. Now, he's ordered to move towards point 2. He moves there. If you make a anim, moving from 0 to 1 is like moving from 1 to 2, so, to go from 0 to 2, you just repeat the "move from 0 to 1" anim. Now, let's say whe have a infinite number of points while keeping the same rules: this is what I need a script to do.
Shorter: I want a model to have a anim so that if repeated continuously, it'll move and not loop between two points.
As for using multiple copies of FW_Set_Animation_On_Custom, that won't help because I can't move where ever I want. The model'll only reappear where it was placed in-game and play the anim from there, not from where it has been left after playing any of it's anims.
If none of the examples I've presented aren't understood, sorry, I'm not from a english-speaking country, I'm from East Europe, please understand.
[Updated on: Sun, 24 September 2006 04:58] Report message to a moderator
|
|
|
Re: scripts.dll 3.0 WIP update [message #221813 is a reply to message #219659] |
Sun, 24 September 2006 07:53 |
|
thing is, even though the animation makes it look like its moved, the game still thinks its in the same place (if you call Commands->Get_Position on the object, it will still be the same position).
I think I might know of a solution to your problem though, what would really help is if you could show me some examples of the base model and animations that you are working with.
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: scripts.dll 3.0 WIP update [message #221841 is a reply to message #219659] |
Sun, 24 September 2006 09:03 |
BogdanV
Messages: 22 Registered: September 2006 Location: Romania, IASI
Karma: 0
|
Recruit |
|
|
Shure, but the model I'm working on is property of Apocalipse Rising. Due to the fact that I've got restrictions on this, I'll PM you the rest about this.
|
|
|
|
|
Re: scripts.dll 3.0 WIP update [message #221920 is a reply to message #219659] |
Sun, 24 September 2006 14:22 |
|
I can convert those videos for you, but not right now (waiting for new PC parts, posting this from Mum's laptop)
.mpg comming up (by wednesday, if I remember)
Renguard is a wonderful initiative
Toggle Spoiler
BBC news, quoting... |
Supporters of Proposition 8 will argue California does not discriminate against gays, as the current law allows them to get married - as long as they wed a partner of the opposite sex.
|
halokid wrote on Mon, 11 October 2010 08:46 |
R315r4z0r wrote on Mon, 11 October 2010 15:35 |
|
the hell is that?
|
[Updated on: Sun, 24 September 2006 14:24] Report message to a moderator
|
|
|
|
|
Re: scripts.dll 3.0 WIP update [message #225482 is a reply to message #219659] |
Sun, 08 October 2006 08:40 |
|
That script didnt make 3.0.
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: scripts.dll 3.0 WIP update [message #225901 is a reply to message #219659] |
Tue, 10 October 2006 11:17 |
BogdanV
Messages: 22 Registered: September 2006 Location: Romania, IASI
Karma: 0
|
Recruit |
|
|
So, I must understand that there is no way for me to gain acces to such a script. Well, I'll must inform Apocalypse Rising that the WorldBox-free ideea for huge units is dropped. But still, if it won't go in the next version, are there any chances for me to obtain it ? I don't want to be a pain in the a**, but if it's possible, please give me an answer.
|
|
|