View previous topic :: View next topic |
Author |
Message |
ASM.
Mafiascene Veteran Modder


Joined: 10 Jan 2014 Posts: 235
497 Bank Notes
Items
|
|
Muggy wrote: |
EDIT: I turned up the UAC control to the recommended
and of course when starting MafiaCon was asked if I
wanted to let the process make changes - but when
the game was in session and I pressed the key for the
console; no alert came up. |
Actually I don't see why UAC should chime in when launching MafiaCon. The launcher does not contain a manifest telling Windows to do so and the filename (MafiaCon.exe) should not trigger the setup/installer filename heuristic either.
Anyway, sent you a PM. |
|
Back to top |
|
 |
Muggy
Site Staff


Joined: 05 Jan 2005 Posts: 951 Location: Sydenham London 277800 Bank Notes
Items
|
|
ASM. wrote: | Muggy wrote: |
EDIT: I turned up the UAC control to the recommended
and of course when starting MafiaCon was asked if I
wanted to let the process make changes - but when
the game was in session and I pressed the key for the
console; no alert came up. |
Actually I don't see why UAC should chime in when launching MafiaCon. The launcher does not contain a manifest telling Windows to do so and the filename (MafiaCon.exe) should not trigger the setup/installer filename heuristic either.
Anyway, sent you a PM. |
Even I was surprised but yeah when I had left UAC as was
starting MafiaCon.exe brought up the UAC pop-up with the dimmed
desktop - but having administrator rights I pulled down the level
to don't ask.
Anyway 's all good — thanks  _________________
 |
|
Back to top |
|
 |
Muggy
Site Staff


Joined: 05 Jan 2005 Posts: 951 Location: Sydenham London 277800 Bank Notes
Items
|
|
Oh my dayz
Windows 10 is really bugging me
I run the compatibility troubleshooter
for MafiaCon and set it for Windows XP
and SP 3 test it and it runs... choose
save these settings and Windows also
fixes the incompatibility - Game runs
and everything works.
Then I exit and come back to play
via MafiaCon even running as
Administrator and then THIS happens
Unable to create device.
 _________________
 |
|
Back to top |
|
 |
ASM.
Mafiascene Veteran Modder


Joined: 10 Jan 2014 Posts: 235
497 Bank Notes
Items
|
|
Muggy wrote: |
I run the compatibility troubleshooter
for MafiaCon and set it for Windows XP
and SP 3 test it and it runs... choose
save these settings and Windows also
fixes the incompatibility - Game runs
and everything works.
|
Actually compatibility mode should not be necessary for running the MafiaCon launcher.
Muggy wrote: |
Then I exit and come back to play
via MafiaCon even running as
Administrator and then THIS happens
Unable to create device.
|
Is that the full message you're getting? If so, you're probably running an old version of MafiaCon. Try the version I PMed you some weeks ago. |
|
Back to top |
|
 |
Viarus
New Member


Joined: 19 Jul 2017 Posts: 1
2 Bank Notes
Items
|
|
Well if there is a thread about this powerful tool, then I won't start a new one but I have a quesiton.
In the mission Omerta if you somehow manage to get in to car in which Frank is transported to the airport, you would notice two things:
First, that that when the next sections begins, at the airport, this police car is somehow cloned what makes look like that you have used this car to chase Frank.
And the second, and the key of my question is properties of that car. You might notice that this car has much better properties than regular police Lassiter which you can encounter during police chase, on the roadblocks or simply getting one in freeride.
This car has better accelerations, better turns and has better handlig. Therefore is it possible to modify cars towards that direction using MafiaCon?
And apart from my question - what else I can do using this great tool? I noticed that there are normal commands and something which is called by creator a "cvar". What are the cvars and what can I use them for? I see that I can for example execute cvar
and my character is flying 10 times faster than regular.
But how else can I make gameplay more spice?
My best regards |
|
Back to top |
|
 |
ASM.
Mafiascene Veteran Modder


Joined: 10 Jan 2014 Posts: 235
497 Bank Notes
Items
|
|
Viarus wrote: |
And the second, and the key of my question is properties of that car. You might notice that this car has much better properties than regular police Lassiter which you can encounter during police chase, on the roadblocks or simply getting one in freeride.
This car has better accelerations, better turns and has better handlig. Therefore is it possible to modify cars towards that direction using MafiaCon?
|
Mafia supports multiple handling presets per car. Most cars only have a single preset but some (like the Police Schuberts/Lassiter, Falconer Gangster, Wright Coupé Gangster and Silver Fletcher) have a second preset that's typically only used for the AI. These 'AI' presets provide highly unrealistic handling and are probably designed to make car chases more challenging (ever wondered why a Schubert Six Police can compete with a sports car in a police chase in the vanilla game?).
MafiaCon does not provide any means to change the active handling preset of a car but you can manipulate it using the car_setactlevel MafiaScript command. The currently active handling preset for a car can theoretically be queried using the car_getactlevel command but it doesn't work without a patch because it does an incorrect type check on the passed entity. The total number of handling presets available can be queried using car_getmaxlevels.
Viarus wrote: |
And apart from my question - what else I can do using this great tool? I noticed that there are normal commands and something which is called by creator a "cvar". What are the cvars and what can I use them for? I see that I can for example execute cvar
and my character is flying 10 times faster than regular.
But how else can I make gameplay more spice?
|
cvar is an abbreviation for console variable. It's a concept I borrowed from the Quake engine (and its derivates). Console variables are accessible from the console (duh) and from code and are pretty handy for exposing configuration options (like fly speed). If I remember correctly, the only Mafia specific cvar is pl_speed. The rest of the cvars just let you configure the look and feel of the console itself or simply provide version information.
You can use cmdlist and cvarlist to get a list of all available commands and cvars along with a short description. If you have questions about a specific command, just post them here.  |
|
Back to top |
|
 |
Wirmaple7321
Junior Member


Joined: 18 Mar 2018 Posts: 34 Location: Mashhad, Iran 32 Bank Notes
Items
|
|
Oh hi all.
I have a problem about Createactor CMD in Mafiacon.
I use this cmd like this: Createactor pol01.i3d. (That will Spawn a Policeman that only stands and if i shoot him, He scares and escape. )
Also i use Space key foe behaviour.
But i want that guy to do somethings. Like being an enemy, friend or doing an animation. And the problem is that idk the Behaviours.
Could somebody help? |
|
Back to top |
|
 |
ASM.
Mafiascene Veteran Modder


Joined: 10 Jan 2014 Posts: 235
497 Bank Notes
Items
|
|
createactor is really just a toy command; it's basically a byproduct of createcar. The only commands for configuring the spawned actor besides that behavior value (which just seems to control some basic aspects such as whether the NPC should flee when attacked or not) are giveweapon (assigns a weapon, duh) and setproperty (allows to edit properties such as health, aggressivity, etc.). For more sophisticated behaviors you need to assign a script to the actor which is currently not supported by MafiaCon. |
|
Back to top |
|
 |
TizerisT
New Member


Joined: 29 Nov 2014 Posts: 13
35 Bank Notes
Items
|
|
I don't know what's up with this. When I try to run this on my vanilla game, it works, but when I install mods it throws errors about 'this version of game.exe is not supported' and 'widescreen fix will be disabled'. I've tried pressing the commands and it's clearly not working.
I used the 64 bit version and my game.exe is 1.0. |
|
Back to top |
|
 |
ASM.
Mafiascene Veteran Modder


Joined: 10 Jan 2014 Posts: 235
497 Bank Notes
Items
|
|
What mods do you have installed? |
|
Back to top |
|
 |
TizerisT
New Member


Joined: 29 Nov 2014 Posts: 13
35 Bank Notes
Items
|
|
WidescreenFix
racing mod from community installer
WilliamMacau 1
WilliamMacau 5
interiorview
HQ textures with mipmaps
HQ characters
freeride extended 2.01 |
|
Back to top |
|
 |
ASM.
Mafiascene Veteran Modder


Joined: 10 Jan 2014 Posts: 235
497 Bank Notes
Items
|
|
I only know a few mods from that list you posted but so far I'd say Widescreen Fix is a good candidate for interference with MafiaCon as both inject code into the game. Have you tried what happens if you setup a vanilla game with only MafiaCon and Widescreen Fix installed? |
|
Back to top |
|
 |
JUMBO
New Member


Joined: 08 Jul 2019 Posts: 5
10 Bank Notes
Items
|
|
Where can i report bugs about mafiacon 1.2? |
|
Back to top |
|
 |
Muggy
Site Staff


Joined: 05 Jan 2005 Posts: 951 Location: Sydenham London 277800 Bank Notes
Items
|
|
JUMBO wrote: | Where can i report bugs about mafiacon 1.2? |
ASM is the creator of this tool and this topic
was started for that very purpose.  _________________
 |
|
Back to top |
|
 |
JUMBO
New Member


Joined: 08 Jul 2019 Posts: 5
10 Bank Notes
Items
|
|
So can i past bug information there? |
|
Back to top |
|
 |
|
|