It is currently Wed Apr 30, 2025 6:34 pm

RUNNING WITH RIFLES Multiplayer

test

Game servers 47 List provided by EpocDotFr | Players online 82


All times are UTC




Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Thu Mar 12, 2015 11:25 pm 
Offline

Joined: Mon Oct 13, 2014 3:59 am
Posts: 197
Pasik, not like this is new for you to hear but YOU AND JACK ARE THE BEST! :D


Top
 Profile  
 
PostPosted: Thu Mar 12, 2015 11:30 pm 
Offline

Joined: Mon Oct 13, 2014 3:59 am
Posts: 197
Thanx for the info harrified, i will do a little tinkering with audacity. Hopefully I can get the sounds and the trails working, then you can expect a Halo Mod for certain soon afterwards.


Top
 Profile  
 
PostPosted: Sun Mar 15, 2015 2:41 am 
Offline

Joined: Mon Oct 13, 2014 3:59 am
Posts: 197
pasik wrote:


The default material used for bullets is BulletTrail from data1.pak, you can e.g. copy paste its contents / derive from it and just replace the texture if you only need to change the color.

We're likely releasing 0.99.8.1 this weekend, the trail stuff is included.


What program do you use to open your .pak files? I tried to use notepad as I do for numerous other files in the folders but it opens to this complex and mixed computer language. Pasting the info from the file like you did for the laser.trail would make this easier to describe but it doesn't matter to me how I get the solution.

Although it was quite surprising to see this being hurled at me:
http://cloud-4.steamusercontent.com/ugc ... 4DE581AF7/


Top
 Profile  
 
PostPosted: Sun Mar 15, 2015 8:32 am 
Offline
Site Admin

Joined: Mon Jun 27, 2011 11:59 am
Posts: 2856
Testpilot14 wrote:
pasik wrote:


The default material used for bullets is BulletTrail from data1.pak, you can e.g. copy paste its contents / derive from it and just replace the texture if you only need to change the color.

We're likely releasing 0.99.8.1 this weekend, the trail stuff is included.


What program do you use to open your .pak files? I tried to use notepad as I do for numerous other files in the folders but it opens to this complex and mixed computer language. Pasting the info from the file like you did for the laser.trail would make this easier to describe but it doesn't matter to me how I get the solution.

Although it was quite surprising to see this being hurled at me:
http://cloud-4.steamusercontent.com/ugc ... 4DE581AF7/


It's basically a zip file :roll: Can't exactly remember the motivation to "hide" it as pak, but well, there it is. Just rename it to zip, extract it to a folder, and rename it back to pak.


Top
 Profile  
 
PostPosted: Sun Mar 15, 2015 10:25 pm 
Offline

Joined: Mon Oct 13, 2014 3:59 am
Posts: 197
pasik wrote:
It's basically a zip file :roll: Can't exactly remember the motivation to "hide" it as pak, but well, there it is. Just rename it to zip, extract it to a folder, and rename it back to pak.


Alright thank you for the info.


Top
 Profile  
 
PostPosted: Sun Mar 15, 2015 11:13 pm 
Offline

Joined: Mon Oct 13, 2014 3:59 am
Posts: 197
It, turns out that what I need to know now is what the Initial width range and width change is for the default bullet trail. The material file doesn't state those two things which are important for me to get an image to scale of the trail and how i can tinker with it.


Top
 Profile  
 
PostPosted: Wed Apr 15, 2015 12:50 am 
Offline
User avatar

Joined: Wed Apr 15, 2015 12:44 am
Posts: 99
Location: One of two Melbournes.
Hello, new poster here. c:

I'm having difficulty getting this to work. I am trying to make a separate trail for a specific set of guns, but no matter what I do, nothing works. In-game, the weapons are meant to fire a green laser, but when I play-test, they fire microscopic, hard-to-see bullets with no trail at all.

A trail key has been created, along with a .trail file. I copied the Bullet and BulletTrail material files, and made edits. (Editied versions are Plasma and PlasmaTrail and exist alongside the defaults in Pak1.) All textures have been replaced with the trail texture that I have.

At the time of viewing, the image Pasik posted is no longer available, so I feel I'm missing something important.

A few questions:
-Where does the .trail file go? Currently it's tucked away in Pak1.
-Should I touch the Plasma material textures at all, and only mess with PlasmaTrail?
-Is it even possible to give different guns seperate trails?
-Should the new trail texture be in Vanilla textures folder, or my modded one?

Can someone post a step-by-step guide, if they have a moment? I'd like to know where I'm going wrong. Thanks.


Top
 Profile  
 
PostPosted: Wed Apr 15, 2015 7:20 am 
Offline
Site Admin

Joined: Mon Jun 27, 2011 11:59 am
Posts: 2856
The screencap was no longer available since the web server change. I attached it in the post now viewtopic.php?f=7&t=2127&p=13093#p13093

Did you try the laser trail? It's included and should have things setup ready for usage.

Making Mossberg fire weird big red things:
Code:
<projectile file="bullet.projectile">
    <result class="hit" kill_probability="0.6" kill_decay_start_time="0.25" kill_decay_end_time="0.30" />
    <trail key="laser" />
</projectile>


Note that laser.trail defines the key as laser not laser.trail.

This happens by using particles/laser.trail, particles/laser.material and textures/laser.png.

Quote:
-Where does the .trail file go? Currently it's tucked away in Pak1.

Doesn't matter much, just one of the resource subfolders in a package or an overlay would be fine. E.g. laser.trail is in packages/vanilla/particles subfolder. If you're making an overlay, overlays/your_mod/particles is ok.

Quote:
-Should I touch the Plasma material textures at all, and only mess with PlasmaTrail?

The material file pretty much defines how the trail is rendered. If a textured / solid trail which is rendered differently when behind obstacles is ok then copying BulletTrail.material, changing the filename and the material name inside the file, could be the best way forward. laser.material is even a bit simpler than that.

Quote:
-Is it even possible to give different guns seperate trails?

It is.

Quote:
-Should the new trail texture be in Vanilla textures folder, or my modded one?

Doesn't matter, both folders are added in the dictionary if the overlay mod is enabled. Better have it in the overlay mod for neatness and distribution.


Top
 Profile  
 
PostPosted: Wed Apr 15, 2015 9:30 pm 
Offline
User avatar

Joined: Wed Apr 15, 2015 12:44 am
Posts: 99
Location: One of two Melbournes.
Thanks for this, Pasik. Trying it out, will post results.

EDIT: When attempting to load in-game, I get the error: "An object of type 'RibbonTrail' with name 'RibbonTrailLaser' already exists," with the rest being jargon. I'm attempting to use two different colors of the same trail type, would that have anything to do with it?

EDIT2: Issue resolved. Thanks Pasik, I have my guns firing the appropriate trails now. :D


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group