Editing starting money.... -1 reply

Please wait...

Guest

I didn't make it!

0 XP

 
#1 9 years ago

How do you do this?

I've tried changing the line in actor.ltx, but it doesn't change in-game...

Also, I've already tried searching. Didn't find anything useful. :\

Thanks, - CK




Supernatur4L

Resident Stalker

50 XP

23rd July 2008

0 Uploads

615 Posts

0 Threads

#2 9 years ago

CeeKay;4578748How do you do this?

I've tried changing the line in actor.ltx, but it doesn't change in-game...

Also, I've already tried searching. Didn't find anything useful. :\

Thanks, - CK

Gotta work on your search skills. If you need starting money simply go to \gamedata\scripts\escape_dialog.script and find the part of the code that looks like this

function give_weapon_to_actor (trader, actor) dialogs.relocate_item_section(trader, "wpn_pm", "in") dialogs.relocate_item_section(trader, "ammo_9x18_fmj", "in") dialogs.relocate_item_section(trader, "ammo_9x18_fmj", "in") -- dialogs.relocate_item_section(trader, "wpn_knife", "in") end

Then add the line dialogs.relocate_money(actor, 5000, "in") just under one of the relocate_item_section lines and replace the 5000 with whatever amount you want. You'll get it when you first talk to Wolf, and you always need to anyways otherwise you dont get any weapons.

But back to the topic of searching, front page, stickied tutorial, second post. HERE is the link to what ive just said, study it, its a very good tutorial.




Guest

I didn't make it!

0 XP

 
#3 9 years ago

I almost tried that method... But...

I seem to be missing that file. o.O

- CK




Supernatur4L

Resident Stalker

50 XP

23rd July 2008

0 Uploads

615 Posts

0 Threads

#4 9 years ago
CeeKay;4578794I almost tried that method... But... I seem to be missing that file. o.O - CK

Are you using OL? If so, theres 100% chance you got it, if not then here it is. Im sure you can figure out where it goes. [ATTACH]66701[/ATTACH]

You still have to edit it though. And its from OL2.2 so im not sure if it will work with previous versions or even if it can be used without OL but give it a shot.




Depleted

Slightly cooler than a n00b

50 XP

9th August 2008

0 Uploads

37 Posts

0 Threads

#5 9 years ago

If you arn't using a mod then you won't have the file there and you'll either need a mod or you'll need to extract the file from Database #C?




Atrocious

Oblivion Lost supplier

50 XP

25th March 2008

0 Uploads

1,448 Posts

0 Threads

#6 9 years ago
Depleted;4580314If you arn't using a mod then you won't have the file there and you'll either need a mod or you'll need to extract the file from Database #C?

Exactly




Guest

I didn't make it!

0 XP

 
#7 8 years ago

He

Thanx for your help for changing starting money by stalker complete Do you know how I can change starting weapons I tried in escape-dialog to change it but when I get to wolf the game crashes Can you help me with that

Thanx

LordJM




NatVac

of the ZRP

50 XP

10th August 2008

0 Uploads

124 Posts

0 Threads

#8 8 years ago

[COLOR="Sienna"]LordJM[/COLOR], in that same function give_weapon_to_actor() in escape_dialog.script, you see this line:

dialogs.relocate_item_section(trader, "wpn_pm", "in")

Change "wpn_pm" to be the section name of the weapon you want. If you want an AK74:

dialogs.relocate_item_section(trader, "wpn_ak74", "in")

Don't forget the ammo for the weapon.

dialogs.relocate_item_section(trader, "ammo_5.45x39_fmj", "in")

Also read the Niphty tutorial sticky topic in this section. It's called "Basic Modding with Playable Examples".