Data Realms Fan Forums
http://45.55.195.193/

Question for Abdul Ahazred or any other advanced scripter:
http://45.55.195.193/viewtopic.php?f=1&t=18672
Page 1 of 1

Author:  Joe [ Wed May 05, 2010 1:01 am ]
Post subject:  Question for Abdul Ahazred or any other advanced scripter:

Hello, general population of modders!

I was working on a space marine with a heavy bolter (complete with a link from the gun to the back pack) and I noticed that the chain looked like crap. I then had an insight into how to get around this problem: make a code that uses many very short chain links to make a chain that attaches itself to two places on the actor.
(what I'm going for: Image )

Only problem is, I don't know how to do that, because so far the best I have is a free dangling chain that crumbles whenever the actor dies.

Please post below for any insight or code as to how to overcome this problem. If I use your script/take your advice, you will be credited in any future mod releases.

Thank you!

Author:  LowestFormOfWit [ Wed May 05, 2010 2:21 am ]
Post subject:  Re: Question for Abdul Ahazred or any other advanced scripter:

I'm pretty sure Abdul's Hammership mod would help as it is the closest thing I've seen to "rope physics" yet.

Personally though I think that unless the actor is rather large (Behemoth-sized) that it's far too much work to make a chain for just a tiny actor, where a sprite would look just as good if done correctly (think Darkstorm Oni).

Author:  Joe [ Wed May 05, 2010 2:30 am ]
Post subject:  Re: Question for Abdul Ahazred or any other advanced scripter:

Yes, and I did base my prototype code off of the hammership script, but I see your point in making the chain for a bigger actor (speak of the devil, I'm making this:
Attachment:
concept1.jpg
concept1.jpg [ 91.51 KiB | Viewed 3139 times ]
)

So my only problem now is to get Abdul's script to attach the MOSR chain to both ends to a parent actor instead of just one end.

Author:  mrsico [ Thu May 06, 2010 8:23 am ]
Post subject:  Re: Question for Abdul Ahazred or any other advanced scripter:

I'm no advance scripter, but could you attach the other end of the chain to an attachment on the parent actor? I think it could work.

Author:  411570N3 [ Thu May 06, 2010 8:48 am ]
Post subject:  Re: Question for Abdul Ahazred or any other advanced scripter:

Not really. That's not quite how the game works.

Author:  Abdul Alhazred [ Thu May 06, 2010 10:33 am ]
Post subject:  Re: Question for Abdul Ahazred or any other advanced scripter:

Image
Here is a proof of concept. As you can see it will not be all that visible, since the link will always be drawn behind the actor. This still needs a lot of work and the code is kind of shitty, but I have uploaded it here so you can play with it. The code requires a special actor that is simply called 'Heavy Bolter'.

Free for anyone to use etc.

Attachments:
File comment: First test.
HeavyBolter_Template_R1.zip [4.73 KiB]
Downloaded 188 times

Author:  Joe [ Sat May 08, 2010 3:09 pm ]
Post subject:  Re: Question for Abdul Ahazred or any other advanced scripter:

My most sincere thanks to everyone (especially Abdul) who posted with help here! I will definately put down your name in any credits of any mod I release. Thank You!

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/