Freelancer Community Network
Reminder: Internet Explorer 6 or below are NOT supported.
HomeHome
ForumForum
WikiWiki
DownloadsDownloads
ForgeForge
Multiplayer Connection Tutorial
Collapse/Expand Random Image
Collapse/Expand Login
Username:

Password:

Remember me



Lost Password?

Register now!
Collapse/Expand Chat
Collapse/Expand Who's Online
50 user(s) are online (27 user(s) are browsing Forum)

Members: 0
Guests: 50

more...
Collapse/Expand Donations
Monthly costs: -30€
Income (ads): +5€
Donations (last month): +30€

Current balance: -190€
(last updated 04/2017)

Please make a donation if you want to help keeping The-Starport online:

Bitcoin address:
Thanks!
Collapse/Expand Links
Collapse/Expand Advertisement
There are currently 28 users playing Freelancer on 39 servers.
September. 21, 2017

Browsing this Thread:   1 Anonymous Users



 Bottom   Previous Topic   Next Topic  Register To Post

« 1 ... 17 18 19 (20) 21 22 23 ... 66 »


Anonymous
Re: Dev's Limit Breaking 101 Techniques
Anonymous-Anonymous
Guys, i'm after increasing some visual FX on a black hole. I want to view the effects from 50k away. I've edited the server dll thinking the vis beam needs increasing, no joy. I've edited the effect type setting to 1mil and defined it to be used by the effect, no joy.

Only entries i can see without altering ale files are for smoke, explosion and large proj. Are there any specific to normal visual effects where i can change the viewable range and pbubble settings?

Before anyone says anything, this all works up to about 4 or 5k away from the blackhole, then the FX stop showing so its def a visibility setting or hack for standard fx view distances that i'm after. Cheers in advance

Posted on: 2010/2/11 5:42

Edited by Gibbon on 2010/2/11 6:08:50
Top
Re: Dev's Limit Breaking 101 Techniques
Starport Admin
Joined:
2009/2/21 21:42
Group:
Webmasters
Registered Users
Posts: 3446
Offline
The EffecType's radius and pbubble values are properly setup?

Posted on: 2010/2/11 6:20
"Cynicism is not realistic and tough. It's unrealistic and kind of cowardly because it means you don't have to try."
-Peggy Noonan
Top
Anonymous
Re: Dev's Limit Breaking 101 Techniques
Anonymous-Anonymous
the values in effect type are radius set to 1mil, same for the pbubble settings. As per your entry in the list of hacks i even altered the vis beam in server dll, thinking that would increase the range, no joy. I haven't altered anything in the exe file yet as those values listed seem to be for other FX types

Posted on: 2010/2/11 6:23
Top
Re: Dev's Limit Breaking 101 Techniques
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 1770
Offline
Does modifying the [EffectLOD] values in FX\effects.ini have any effect?

Posted on: 2010/2/11 10:12
Top
Anonymous
Re: Dev's Limit Breaking 101 Techniques
Anonymous-Anonymous
@adoxa

No, but i can go and alter some values and see what happens

**EDIT**

Don't see any changes.

Ok, here's small video to show what's happening. I'm 5.4k from the effect and all is fine. I move back to 5.5 and it disappears. I move forward and it comes back. Very odd.


Posted on: 2010/2/11 10:25

Edited by Gibbon on 2010/2/11 10:48:04
Top
Re: Dev's Limit Breaking 101 Techniques
Starport Admin
Joined:
2009/2/21 21:42
Group:
Webmasters
Registered Users
Posts: 3446
Offline
How did you attach the effect on the solar?

Posted on: 2010/2/11 16:25
"Cynicism is not realistic and tough. It's unrealistic and kind of cowardly because it means you don't have to try."
-Peggy Noonan
Top
Anonymous
Re: Dev's Limit Breaking 101 Techniques
Anonymous-Anonymous
That was the easy bit. Shoved an FX hardpoint onto the model, and made it so it uses one of the unused effects in FL. I've seen this used by a couple of people but maybe not on a black hole before. Partly the reason why i want to be able to see it from further away.

This topic was touched on a while back between LS and Sushi as the FW-TOW was suffering from the same issue. I know a couple of the values listed are in the wrong place at the start of this thread, i just need to know which ones so i can make this all happen.

Posted on: 2010/2/11 16:32

Edited by Gibbon on 2010/2/12 7:59:40
Top
Re: Dev's Limit Breaking 101 Techniques
Just popping in
Joined:
2010/2/14 11:01
Group:
Registered Users
Posts: 3
Offline
[Edit] solved no help needed

Posted on: 2010/2/14 11:20

Edited by randori on 2010/2/14 16:54:26
Top
Re: Dev's Limit Breaking 101 Techniques
Not too shy to talk
Joined:
2008/12/21 12:54
From Glasgow, Scotland
Group:
Registered Users
Trusted Speciality Developers
Posts: 72
Offline
@ Gibbon

You need to edit the values in the dacom.ini to increase the draw distance of the effects, aswell as the values in the effect_types.ini.

to somthing like this, now these could be wrong i can't realy remember, it's been a while.

dacom.ini

; (note: 1000 is default poolsize)
FxBasicAppearance.poolSize = 100000 ; each particle can generate: 4 verts 6, indices
FxRectAppearance.poolSize = 40000 ; each particle can generate: 4 verts 6, indices
FxPerpAppearance.poolSize = 25000 ; each particle can generate: 4 verts 6, indices
FxOrientedAppearance.poolSize = 0 ; each particle can generate: 4 verts 6, indices
FLBeamAppearance.poolSize = 68000 ; custom app from flalchemy.dll: each particle can generate: 5 verts 24 indices
FLDustAppearance.poolSize = 25000 ; custom app from flalchemy.dll: each particle can generate: 4 verts 6 indices
;---------------------- total = 260000 -------;
;
FxMeshAppearance.poolSize = 50000 ; generates meshes not particles; need enough of these for all tradelane rings in a system.
FxParticleAppearance.poolSize = 10000 ; generates effects not particles

What i can remember is, if you set them wrong you will get a buffer overflow error inside flspew and somtimes if there is alot of action going on ingame with alot of effects involved, they go nuts and spread all over the screen.

Then what you need t do is look in he effects.ini ans see what type of effect your neutron star is using.

example

[Effect]
nickname = pi_neutron_03_proj
effect_type = EFT_WEAPON_PROJ <== this ((there may be mor than one))
vis_effect = pi_neutron_03_proj
vis_beam = pi_neutron_03_beam

then go to the effect_types.ini and look for EFT_WEAPON_PROJ or what ever it may be. Then change it to somthing like this.

effect_types.ini

[EffectType]
nickname = EFT_WEAPON_PROJ
priority = 0.500000
generic_priority = 1.000000
lod_type = EFT_LOD_WEAPON
radius = 10000.000000
visibility = EXIST_OFFSCREEN
update = CULL_UPDATE
run_time = -1
pbubble = 10000, 10000

Now like i said, it's been a while for me so if i'm wrong on anything then don't feal bd about correcting me, but it's the along these lines, you should be able to see the effect up till around 50k with these setting.






Posted on: 2010/2/14 13:24
Top
Anonymous
Re: Dev's Limit Breaking 101 Techniques
Anonymous-Anonymous
Cheeers for that. I tried it and ..... it didn't work for me at least

I still suspect its some numbers in the FL.exe somewhere. Sushi, i know you know the answer to this bud, any chance of some enlightenment please?

Posted on: 2010/2/14 14:31
Top
Re: Dev's Limit Breaking 101 Techniques
Starport Admin
Joined:
2008/6/24 16:40
From http://www.freeworlds-tow.net/dev
Group:
Registered Users
Starport Admin
$$$ Supporters $$$
Posts: 1123
Offline
All I did was change the effect type of the blackhole effect to that of the effect_types that are hacked. So, using these

eft_damage_large_smoke (infinite duration):
-- 20f in freelancer.exe, 0x212DE8, 0x212DE8 = on-screen radius of effects
-- -1f in freelancer.exe, 0x212DF0, 0x212DF0 = max run time of effects
-- 100f in freelancer.exe, 0x212DF8, 0x212DF8 = unknown, likely the first value of pbubble
-- 500f in freelancer.exe, 0x212DFC, 0x212DFC = visual cutoff range of effects (second value of pbubble)

I added the eft_damage_large_smoke type to the blackhole effect. With the hack, I increased the size of the on-screen radius, max run time of effects, pubble values to fairly large values. That's all there is to it, that I know of. If it's not working for you, I don't really know why.

Posted on: 2010/2/16 6:40

Edited by Sushi on 2010/2/16 6:56:13
Open in new window
Top
Anonymous
Re: Dev's Limit Breaking 101 Techniques
Anonymous-Anonymous
Thx, i'll give that a go.

** EDIT **

The edits listed so far only make these fx editable


EFT_EXPLOSION_LARGE
EFT_WEAPON_LARGE_PROJ
EFT_DAMAGE_LARGE_SMOKE

Now i know for a fact ALL the other effect types are listed in the exe file. After a long drawn out chat with Lancer, he's having a look through the exe file to locate these fx types. One he found for me has cured my visual fx problem already. When he's done i'm sure an updated list will be forthcoming. Means we can ALL edit the correct files instead of using the wrong fx types to achieve workarounds. Stunning work indeed

Posted on: 2010/2/16 6:46

Edited by Gibbon on 2010/2/16 9:09:52
Top
Re: Dev's Limit Breaking 101 Techniques
Home away from home
Joined:
2008/2/10 22:00
Group:
Registered Users
FLServer Admins
Senior Members
Posts: 1281
Offline
The insanely large fx PBubble max is at 0x00212FDC. I now have the entire list of them now and hopefully will create a list of them soon. If you need a specific one before then just ask.

The actual range of the effect appears to be on-screen radius +pbubble max, thats why it's been so hard to find. This one was 5k + 500 = 5.5k

Posted on: 2010/2/16 9:31

Edited by LancerSolurus on 2010/2/16 9:36:43
Galaxy Empire
Youtube Videos
Facebook
Top
Re: Dev's Limit Breaking 101 Techniques
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 1770
Offline
Why are you hacking the exe at all? You'll find them all in FX\effect_types.ini, except for EFT_CUSTOM_EFFECTS.

Posted on: 2010/2/16 10:35
Top
Anonymous
Re: Dev's Limit Breaking 101 Techniques
Anonymous-Anonymous
Because modifying the entries in effect_types.ini seems to have no effect unless the right value in the exe is changed. It wasn't until some of the other values that LS found i could edit the view distances on certain effect types from the ones i modified in the EXE file.

As an example LS found this in the 1.1 exe,

EFT_EQUIP_ATTACHED_INSANELY_LARGE
-- 500f in freelancer.exe, 0x212FC8 = on-screen radius of effects
-- 1000f in freelancer.exe, 0x212FD8 = unknown, likely the first value of pbubble
-- 5000f in freelancer.exe, 0x212FDC = visual cutoff range of effects (second value of pbubble)


If you don't edit the values there, especially for the pbubble max setting, it doesn't matter what you type into the effect_types.ini setting, nothing happens. It was only until i changed the setting in the exe that the effect was visible from 50k away

He's compiling a list of all the effects addresses so for those that want specific effects to work, they will. Why choose from only 3 fx types to change when you can use all of them?

As an example, suppose i want to see engine fx made viewable from further away, without the corresponding exe address for the relevant engine trail fx, no amount of modifying the effect types file will change that unless i have the address for the that effect type

Posted on: 2010/2/16 10:46

Edited by Gibbon on 2010/2/16 10:52:52
Edited by Gibbon on 2010/2/16 10:58:35
Edited by Gibbon on 2010/2/16 11:15:54
Top
« 1 ... 17 18 19 (20) 21 22 23 ... 66 »