Jump to content

Quest script help


FrankFamily

Recommended Posts

Hi, i'm improving one of my mods, and i thought in making a startup quest to add the weapons to list (like "guns", "holdout weapons"...). So i made a quest, check the "Start Game Enabled", set Priority to 62, Script processing delay to default.

 

First i have one question, can i add all the forms in a form list into another form list (like merging two Form List) using a script?

 

NOTE: you will notice that there are A LOT OF Desert Eagles, that's because in my mod you can add and remove some modkits at any time...

 

And here is the script:

 

 

 


scn DesertEagleStartupScript

Begin GameMode

        ;Adds the Desert Eagle to "NVImprovedHoldoutWeapons" (Adds all the combinations of mods)

AddFormToFormList NVImprovedHoldoutWeapons DesertEagle
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleAp
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleApB
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleApBEx
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleApEx
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleApFl
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleApFlB
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleApFlBEx
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleApFlEx
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleB
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleBEx
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleEx
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleFl
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleFlB
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleFlBEx
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleFlEx
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleSc
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleScB
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleScBEx
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleScEx
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleScFl
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleScFlB
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleScFlBEx
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleScFlEx
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleSi
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleSiAp
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleSiApB
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleSiApBEx
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleSiApEx
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleSiApFl
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleSiApFlB
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleSiApFlBEx
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleSiApFlEx
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleSiB
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleSiBEx
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleSiEx
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleSiFl
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleSiFlB
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleSiFlBEx
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleSiFlEx
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleSiSc
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleSiScB
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleSiScBEx
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleSiScEx
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleSiScFl
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleSiScFlB
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleSiScFlBEx
AddFormToFormList NVImprovedHoldoutWeapons DesertEagleSiScFlEx

        ;Adds the Desert Eagle to "GunsList" (Adds all the combinations of mods)

AddFormToFormList GunsList  DesertEagle
AddFormToFormList GunsList  DesertEagleAp
AddFormToFormList GunsList  DesertEagleApB
AddFormToFormList GunsList  DesertEagleApBEx
AddFormToFormList GunsList  DesertEagleApEx
AddFormToFormList GunsList  DesertEagleApFl
AddFormToFormList GunsList  DesertEagleApFlB
AddFormToFormList GunsList  DesertEagleApFlBEx
AddFormToFormList GunsList  DesertEagleApFlEx
AddFormToFormList GunsList  DesertEagleB
AddFormToFormList GunsList  DesertEagleBEx
AddFormToFormList GunsList  DesertEagleEx
AddFormToFormList GunsList  DesertEagleFl
AddFormToFormList GunsList  DesertEagleFlB
AddFormToFormList GunsList  DesertEagleFlBEx
AddFormToFormList GunsList  DesertEagleFlEx
AddFormToFormList GunsList  DesertEagleSc
AddFormToFormList GunsList  DesertEagleScB
AddFormToFormList GunsList  DesertEagleScBEx
AddFormToFormList GunsList  DesertEagleScEx
AddFormToFormList GunsList  DesertEagleScFl
AddFormToFormList GunsList  DesertEagleScFlB
AddFormToFormList GunsList  DesertEagleScFlBEx
AddFormToFormList GunsList  DesertEagleScFlEx
AddFormToFormList GunsList  DesertEagleSi
AddFormToFormList GunsList  DesertEagleSiAp
AddFormToFormList GunsList  DesertEagleSiApB
AddFormToFormList GunsList  DesertEagleSiApBEx
AddFormToFormList GunsList  DesertEagleSiApEx
AddFormToFormList GunsList  DesertEagleSiApFl
AddFormToFormList GunsList  DesertEagleSiApFlB
AddFormToFormList GunsList  DesertEagleSiApFlBEx
AddFormToFormList GunsList  DesertEagleSiApFlEx
AddFormToFormList GunsList  DesertEagleSiB
AddFormToFormList GunsList  DesertEagleSiBEx
AddFormToFormList GunsList  DesertEagleSiEx
AddFormToFormList GunsList  DesertEagleSiFl
AddFormToFormList GunsList  DesertEagleSiFlB
AddFormToFormList GunsList  DesertEagleSiFlBEx
AddFormToFormList GunsList  DesertEagleSiFlEx
AddFormToFormList GunsList  DesertEagleSiSc
AddFormToFormList GunsList  DesertEagleSiScB
AddFormToFormList GunsList  DesertEagleSiScBEx
AddFormToFormList GunsList  DesertEagleSiScEx
AddFormToFormList GunsList  DesertEagleSiScFl
AddFormToFormList GunsList  DesertEagleSiScFlB
AddFormToFormList GunsList  DesertEagleSiScFlBEx
AddFormToFormList GunsList  DesertEagleSiScFlEx

        ;Adds the Desert Eagle to "WeaponsListRangedAll" (Adds all the combinations of mods)

AddFormToFormList WeaponListRangedALL DesertEagle
AddFormToFormList WeaponListRangedALL DesertEagleAp
AddFormToFormList WeaponListRangedALL DesertEagleApB
AddFormToFormList WeaponListRangedALL DesertEagleApBEx
AddFormToFormList WeaponListRangedALL DesertEagleApEx
AddFormToFormList WeaponListRangedALL DesertEagleApFl
AddFormToFormList WeaponListRangedALL DesertEagleApFlB
AddFormToFormList WeaponListRangedALL DesertEagleApFlBEx
AddFormToFormList WeaponListRangedALL DesertEagleApFlEx
AddFormToFormList WeaponListRangedALL DesertEagleB
AddFormToFormList WeaponListRangedALL DesertEagleBEx
AddFormToFormList WeaponListRangedALL DesertEagleEx
AddFormToFormList WeaponListRangedALL DesertEagleFl
AddFormToFormList WeaponListRangedALL DesertEagleFlB
AddFormToFormList WeaponListRangedALL DesertEagleFlBEx
AddFormToFormList WeaponListRangedALL DesertEagleFlEx
AddFormToFormList WeaponListRangedALL DesertEagleSc
AddFormToFormList WeaponListRangedALL DesertEagleScB
AddFormToFormList WeaponListRangedALL DesertEagleScBEx
AddFormToFormList WeaponListRangedALL DesertEagleScEx
AddFormToFormList WeaponListRangedALL DesertEagleScFl
AddFormToFormList WeaponListRangedALL DesertEagleScFlB
AddFormToFormList WeaponListRangedALL DesertEagleScFlBEx
AddFormToFormList WeaponListRangedALL DesertEagleScFlEx
AddFormToFormList WeaponListRangedALL DesertEagleSi
AddFormToFormList WeaponListRangedALL DesertEagleSiAp
AddFormToFormList WeaponListRangedALL DesertEagleSiApB
AddFormToFormList WeaponListRangedALL DesertEagleSiApBEx
AddFormToFormList WeaponListRangedALL DesertEagleSiApEx
AddFormToFormList WeaponListRangedALL DesertEagleSiApFl
AddFormToFormList WeaponListRangedALL DesertEagleSiApFlB
AddFormToFormList WeaponListRangedALL DesertEagleSiApFlBEx
AddFormToFormList WeaponListRangedALL DesertEagleSiApFlEx
AddFormToFormList WeaponListRangedALL DesertEagleSiB
AddFormToFormList WeaponListRangedALL DesertEagleSiBEx
AddFormToFormList WeaponListRangedALL DesertEagleSiEx
AddFormToFormList WeaponListRangedALL DesertEagleSiFl
AddFormToFormList WeaponListRangedALL DesertEagleSiFlB
AddFormToFormList WeaponListRangedALL DesertEagleSiFlBEx
AddFormToFormList WeaponListRangedALL DesertEagleSiFlEx
AddFormToFormList WeaponListRangedALL DesertEagleSiSc
AddFormToFormList WeaponListRangedALL DesertEagleSiScB
AddFormToFormList WeaponListRangedALL DesertEagleSiScBEx
AddFormToFormList WeaponListRangedALL DesertEagleSiScEx
AddFormToFormList WeaponListRangedALL DesertEagleSiScFl
AddFormToFormList WeaponListRangedALL DesertEagleSiScFlB
AddFormToFormList WeaponListRangedALL DesertEagleSiScFlBEx
AddFormToFormList WeaponListRangedALL DesertEagleSiScFlEx

        ;Adds the Desert Eagle to "TheProffesionalWeaponList" (Adds all the combinations of mods)

AddFormToFormList TheProfessionalWeaponsList DesertEagle
AddFormToFormList TheProfessionalWeaponsList DesertEagleAp
AddFormToFormList TheProfessionalWeaponsList DesertEagleApB
AddFormToFormList TheProfessionalWeaponsList DesertEagleApBEx
AddFormToFormList TheProfessionalWeaponsList DesertEagleApEx
AddFormToFormList TheProfessionalWeaponsList DesertEagleApFl
AddFormToFormList TheProfessionalWeaponsList DesertEagleApFlB
AddFormToFormList TheProfessionalWeaponsList DesertEagleApFlBEx
AddFormToFormList TheProfessionalWeaponsList DesertEagleApFlEx
AddFormToFormList TheProfessionalWeaponsList DesertEagleB
AddFormToFormList TheProfessionalWeaponsList DesertEagleBEx
AddFormToFormList TheProfessionalWeaponsList DesertEagleEx
AddFormToFormList TheProfessionalWeaponsList DesertEagleFl
AddFormToFormList TheProfessionalWeaponsList DesertEagleFlB
AddFormToFormList TheProfessionalWeaponsList DesertEagleFlBEx
AddFormToFormList TheProfessionalWeaponsList DesertEagleFlEx
AddFormToFormList TheProfessionalWeaponsList DesertEagleSc
AddFormToFormList TheProfessionalWeaponsList DesertEagleScB
AddFormToFormList TheProfessionalWeaponsList DesertEagleScBEx
AddFormToFormList TheProfessionalWeaponsList DesertEagleScEx
AddFormToFormList TheProfessionalWeaponsList DesertEagleScFl
AddFormToFormList TheProfessionalWeaponsList DesertEagleScFlB
AddFormToFormList TheProfessionalWeaponsList DesertEagleScFlBEx
AddFormToFormList TheProfessionalWeaponsList DesertEagleScFlEx
AddFormToFormList TheProfessionalWeaponsList DesertEagleSi
AddFormToFormList TheProfessionalWeaponsList DesertEagleSiAp
AddFormToFormList TheProfessionalWeaponsList DesertEagleSiApB
AddFormToFormList TheProfessionalWeaponsList DesertEagleSiApBEx
AddFormToFormList TheProfessionalWeaponsList DesertEagleSiApEx
AddFormToFormList TheProfessionalWeaponsList DesertEagleSiApFl
AddFormToFormList TheProfessionalWeaponsList DesertEagleSiApFlB
AddFormToFormList TheProfessionalWeaponsList DesertEagleSiApFlBEx
AddFormToFormList TheProfessionalWeaponsList DesertEagleSiApFlEx
AddFormToFormList TheProfessionalWeaponsList DesertEagleSiB
AddFormToFormList TheProfessionalWeaponsList DesertEagleSiBEx
AddFormToFormList TheProfessionalWeaponsList DesertEagleSiEx
AddFormToFormList TheProfessionalWeaponsList DesertEagleSiFl
AddFormToFormList TheProfessionalWeaponsList DesertEagleSiFlB
AddFormToFormList TheProfessionalWeaponsList DesertEagleSiFlBEx
AddFormToFormList TheProfessionalWeaponsList DesertEagleSiFlEx
AddFormToFormList TheProfessionalWeaponsList DesertEagleSiSc
AddFormToFormList TheProfessionalWeaponsList DesertEagleSiScB
AddFormToFormList TheProfessionalWeaponsList DesertEagleSiScBEx
AddFormToFormList TheProfessionalWeaponsList DesertEagleSiScEx
AddFormToFormList TheProfessionalWeaponsList DesertEagleSiScFl
AddFormToFormList TheProfessionalWeaponsList DesertEagleSiScFlB
AddFormToFormList TheProfessionalWeaponsList DesertEagleSiScFlBEx
AddFormToFormList TheProfessionalWeaponsList DesertEagleSiScFlEx

ShowMessage DesertEagleStartupFinished
StopQuest DesertEagleStartupQuest

End

 

 

 

I don't know why, but my game CTD, and i know that the problem is in this script, because i unchecked the "StartGameEnabled" and no more CTDs. If someone knows what's the problem, please help me.

 

EDIT: I'm going to reduce the script a little bit, for example i'll only add to "NVImprovedHoldoutWeapons" the base gun (no mods attached), so to get into a casino you will need to detach all mods and then attach them when you are inside the casino (i think it's more realistic)

 

But as i'm going to add a Underbarrel Grenade Launcher, so there will be more combinations... anyway i don't think the problem is the length.

Edited by FrankFamily
Link to comment
Share on other sites

You can merge form lists, but to do so would require NVSE for its many form list walking functions (as far as I know, anyway).

 

I've never messed with the script priority, so no clue if that's causing an issue, otherwise, it's just a lot of calls to AddFormToFormList[/url], but not really any more so than the DLC initial quest scripts, which do the same thing basically. Obviously if the script compiles, there's no syntax error. You can try using Cipscis' Script Validator to check it, though my own check showed no issues.

 

It could simply be the priority flag is messing it up, though again, that shouldn't do it.

Link to comment
Share on other sites

cipcis don't find the error. I've put a message between each block of script, so maybe i notice in what part is the problem. if someone can help me i'd really apreciate it.

thanks.

 

 

Edit: It crashes as soon as i load a save with it. (unchecking the "Start Game Enabled" (so the quest never run) fix it. any idea about what can be the problem.?

Edited by FrankFamily
Link to comment
Share on other sites

oh my god nothing works... I've changed some thing and the script don't work... I don't know why. DLCs and a lot of mods use similar scripts but mine is not working...

 

This is the script with the last modification:

 

 

 

scn DesertEagleStartupQuestScript

int DesertEagleStartupCompleted

Begin GameMode

if  DesertEagleStartupCompleted == 1
	StopQuest DesertEagleStartupQuest
	Return
elseif DesertEagleStartupCompleted == 0

	ShowMessage DesertEagleStartupProcess1

	StartQuest DesertEagleAddCustoToolQuest

	ListAddForm GunsList  DesertEagle
	ListAddForm GunsList  DesertEagleAp
	ListAddForm GunsList  DesertEagleApB
	ListAddForm GunsList  DesertEagleApBEx
	ListAddForm GunsList  DesertEagleApEx
	ListAddForm GunsList  DesertEagleApFl
	ListAddForm GunsList  DesertEagleApFlB
	ListAddForm GunsList  DesertEagleApFlBEx
	ListAddForm GunsList  DesertEagleApFlEx
	ListAddForm GunsList  DesertEagleB
	ListAddForm GunsList  DesertEagleBEx
	ListAddForm GunsList  DesertEagleEx
	ListAddForm GunsList  DesertEagleFl
	ListAddForm GunsList  DesertEagleFlB
	ListAddForm GunsList  DesertEagleFlBEx
	ListAddForm GunsList  DesertEagleFlEx
	ListAddForm GunsList  DesertEagleSc
	ListAddForm GunsList  DesertEagleScB
	ListAddForm GunsList  DesertEagleScBEx
	ListAddForm GunsList  DesertEagleScEx
	ListAddForm GunsList  DesertEagleScFl
	ListAddForm GunsList  DesertEagleScFlB
	ListAddForm GunsList  DesertEagleScFlBEx
	ListAddForm GunsList  DesertEagleScFlEx
	ListAddForm GunsList  DesertEagleSi
	ListAddForm GunsList  DesertEagleSiAp
	ListAddForm GunsList  DesertEagleSiApB
	ListAddForm GunsList  DesertEagleSiApBEx
	ListAddForm GunsList  DesertEagleSiApEx
	ListAddForm GunsList  DesertEagleSiApFl
	ListAddForm GunsList  DesertEagleSiApFlB
	ListAddForm GunsList  DesertEagleSiApFlBEx
	ListAddForm GunsList  DesertEagleSiApFlEx
	ListAddForm GunsList  DesertEagleSiB
	ListAddForm GunsList  DesertEagleSiBEx
	ListAddForm GunsList  DesertEagleSiEx
	ListAddForm GunsList  DesertEagleSiFl
	ListAddForm GunsList  DesertEagleSiFlB
	ListAddForm GunsList  DesertEagleSiFlBEx
	ListAddForm GunsList  DesertEagleSiFlEx
	ListAddForm GunsList  DesertEagleSiSc
	ListAddForm GunsList  DesertEagleSiScB
	ListAddForm GunsList  DesertEagleSiScBEx
	ListAddForm GunsList  DesertEagleSiScEx
	ListAddForm GunsList  DesertEagleSiScFl
	ListAddForm GunsList  DesertEagleSiScFlB
	ListAddForm GunsList  DesertEagleSiScFlBEx
	ListAddForm GunsList  DesertEagleSiScFlEx
	ListAddForm GunsList  DesertEagleGl
	ListAddForm GunsList  DesertEagleGlAlt
	ListAddForm GunsList  DesertEagleApGl
	ListAddForm GunsList  DesertEagleApGlAlt
	ListAddForm GunsList  DesertEagleApExGl
	ListAddForm GunsList  DesertEagleApExGlAlt
	ListAddForm GunsList  DesertEagleExGl
	ListAddForm GunsList  DesertEagleExGlAlt
	ListAddForm GunsList  DesertEagleScGl
	ListAddForm GunsList  DesertEagleScGlAlt
	ListAddForm GunsList  DesertEagleScExGl
	ListAddForm GunsList  DesertEagleScExGlAlt
	ListAddForm GunsList  DesertEagleSiGl
	ListAddForm GunsList  DesertEagleSiGlAlt
	ListAddForm GunsList  DesertEagleSiApGl
	ListAddForm GunsList  DesertEagleSiApGlAlt
	ListAddForm GunsList  DesertEagleSiApExGl
	ListAddForm GunsList  DesertEagleSiApExGlAlt
	ListAddForm GunsList  DesertEagleSiExGl
	ListAddForm GunsList  DesertEagleSiExGlAlt
	ListAddForm GunsList  DesertEagleSiScGl
	ListAddForm GunsList  DesertEagleSiScGlAlt
	ListAddForm GunsList  DesertEagleSiScExGl
	ListAddForm GunsList  DesertEagleSiScExGlAlt


	ShowMessage DesertEagleStartupProcess2

	ListAddForm WeaponListRangedALL DesertEagle
	ListAddForm WeaponListRangedALL DesertEagleAp
	ListAddForm WeaponListRangedALL DesertEagleApB
	ListAddForm WeaponListRangedALL DesertEagleApBEx
	ListAddForm WeaponListRangedALL DesertEagleApEx
	ListAddForm WeaponListRangedALL DesertEagleApFl
	ListAddForm WeaponListRangedALL DesertEagleApFlB
	ListAddForm WeaponListRangedALL DesertEagleApFlBEx
	ListAddForm WeaponListRangedALL DesertEagleApFlEx
	ListAddForm WeaponListRangedALL DesertEagleB
	ListAddForm WeaponListRangedALL DesertEagleBEx
	ListAddForm WeaponListRangedALL DesertEagleEx
	ListAddForm WeaponListRangedALL DesertEagleFl
	ListAddForm WeaponListRangedALL DesertEagleFlB
	ListAddForm WeaponListRangedALL DesertEagleFlBEx
	ListAddForm WeaponListRangedALL DesertEagleFlEx
	ListAddForm WeaponListRangedALL DesertEagleSc
	ListAddForm WeaponListRangedALL DesertEagleScB
	ListAddForm WeaponListRangedALL DesertEagleScBEx
	ListAddForm WeaponListRangedALL DesertEagleScEx
	ListAddForm WeaponListRangedALL DesertEagleScFl
	ListAddForm WeaponListRangedALL DesertEagleScFlB
	ListAddForm WeaponListRangedALL DesertEagleScFlBEx
	ListAddForm WeaponListRangedALL DesertEagleScFlEx
	ListAddForm WeaponListRangedALL DesertEagleSi
	ListAddForm WeaponListRangedALL DesertEagleSiAp
	ListAddForm WeaponListRangedALL DesertEagleSiApB
	ListAddForm WeaponListRangedALL DesertEagleSiApBEx
	ListAddForm WeaponListRangedALL DesertEagleSiApEx
	ListAddForm WeaponListRangedALL DesertEagleSiApFl
	ListAddForm WeaponListRangedALL DesertEagleSiApFlB
	ListAddForm WeaponListRangedALL DesertEagleSiApFlBEx
	ListAddForm WeaponListRangedALL DesertEagleSiApFlEx
	ListAddForm WeaponListRangedALL DesertEagleSiB
	ListAddForm WeaponListRangedALL DesertEagleSiBEx
	ListAddForm WeaponListRangedALL DesertEagleSiEx
	ListAddForm WeaponListRangedALL DesertEagleSiFl
	ListAddForm WeaponListRangedALL DesertEagleSiFlB
	ListAddForm WeaponListRangedALL DesertEagleSiFlBEx
	ListAddForm WeaponListRangedALL DesertEagleSiFlEx
	ListAddForm WeaponListRangedALL DesertEagleSiSc
	ListAddForm WeaponListRangedALL DesertEagleSiScB
	ListAddForm WeaponListRangedALL DesertEagleSiScBEx
	ListAddForm WeaponListRangedALL DesertEagleSiScEx
	ListAddForm WeaponListRangedALL DesertEagleSiScFl
	ListAddForm WeaponListRangedALL DesertEagleSiScFlB
	ListAddForm WeaponListRangedALL DesertEagleSiScFlBEx
	ListAddForm WeaponListRangedALL DesertEagleSiScFlEx
	ListAddForm WeaponListRangedALL DesertEagleGl
	ListAddForm WeaponListRangedALL DesertEagleGlAlt
	ListAddForm WeaponListRangedALL DesertEagleApGl
	ListAddForm WeaponListRangedALL DesertEagleApGlAlt
	ListAddForm WeaponListRangedALL DesertEagleApExGl
	ListAddForm WeaponListRangedALL DesertEagleApExGlAlt
	ListAddForm WeaponListRangedALL DesertEagleExGl
	ListAddForm WeaponListRangedALL DesertEagleExGlAlt
	ListAddForm WeaponListRangedALL DesertEagleScGl
	ListAddForm WeaponListRangedALL DesertEagleScGlAlt
	ListAddForm WeaponListRangedALL DesertEagleScExGl
	ListAddForm WeaponListRangedALL DesertEagleScExGlAlt
	ListAddForm WeaponListRangedALL DesertEagleSiGl
	ListAddForm WeaponListRangedALL DesertEagleSiGlAlt
	ListAddForm WeaponListRangedALL DesertEagleSiApGl
	ListAddForm WeaponListRangedALL DesertEagleSiApGlAlt
	ListAddForm WeaponListRangedALL DesertEagleSiApExGl
	ListAddForm WeaponListRangedALL DesertEagleSiApExGlAlt
	ListAddForm WeaponListRangedALL DesertEagleSiExGl
	ListAddForm WeaponListRangedALL DesertEagleSiExGlAlt
	ListAddForm WeaponListRangedALL DesertEagleSiScGl
	ListAddForm WeaponListRangedALL DesertEagleSiScGlAlt
	ListAddForm WeaponListRangedALL DesertEagleSiScExGl
	ListAddForm WeaponListRangedALL DesertEagleSiScExGlAlt

	ShowMessage DesertEagleStartupProcess3

	ListAddForm TheProfessionalWeaponsList DesertEagle
	ListAddForm TheProfessionalWeaponsList DesertEagleAp
	ListAddForm TheProfessionalWeaponsList DesertEagleApB
	ListAddForm TheProfessionalWeaponsList DesertEagleApBEx
	ListAddForm TheProfessionalWeaponsList DesertEagleApEx
	ListAddForm TheProfessionalWeaponsList DesertEagleApFl
	ListAddForm TheProfessionalWeaponsList DesertEagleApFlB
	ListAddForm TheProfessionalWeaponsList DesertEagleApFlBEx
	ListAddForm TheProfessionalWeaponsList DesertEagleApFlEx
	ListAddForm TheProfessionalWeaponsList DesertEagleB
	ListAddForm TheProfessionalWeaponsList DesertEagleBEx
	ListAddForm TheProfessionalWeaponsList DesertEagleEx
	ListAddForm TheProfessionalWeaponsList DesertEagleFl
	ListAddForm TheProfessionalWeaponsList DesertEagleFlB
	ListAddForm TheProfessionalWeaponsList DesertEagleFlBEx
	ListAddForm TheProfessionalWeaponsList DesertEagleFlEx
	ListAddForm TheProfessionalWeaponsList DesertEagleSc
	ListAddForm TheProfessionalWeaponsList DesertEagleScB
	ListAddForm TheProfessionalWeaponsList DesertEagleScBEx
	ListAddForm TheProfessionalWeaponsList DesertEagleScEx
	ListAddForm TheProfessionalWeaponsList DesertEagleScFl
	ListAddForm TheProfessionalWeaponsList DesertEagleScFlB
	ListAddForm TheProfessionalWeaponsList DesertEagleScFlBEx
	ListAddForm TheProfessionalWeaponsList DesertEagleScFlEx
	ListAddForm TheProfessionalWeaponsList DesertEagleSi
	ListAddForm TheProfessionalWeaponsList DesertEagleSiAp
	ListAddForm TheProfessionalWeaponsList DesertEagleSiApB
	ListAddForm TheProfessionalWeaponsList DesertEagleSiApBEx
	ListAddForm TheProfessionalWeaponsList DesertEagleSiApEx
	ListAddForm TheProfessionalWeaponsList DesertEagleSiApFl
	ListAddForm TheProfessionalWeaponsList DesertEagleSiApFlB
	ListAddForm TheProfessionalWeaponsList DesertEagleSiApFlBEx
	ListAddForm TheProfessionalWeaponsList DesertEagleSiApFlEx
	ListAddForm TheProfessionalWeaponsList DesertEagleSiB
	ListAddForm TheProfessionalWeaponsList DesertEagleSiBEx
	ListAddForm TheProfessionalWeaponsList DesertEagleSiEx
	ListAddForm TheProfessionalWeaponsList DesertEagleSiFl
	ListAddForm TheProfessionalWeaponsList DesertEagleSiFlB
	ListAddForm TheProfessionalWeaponsList DesertEagleSiFlBEx
	ListAddForm TheProfessionalWeaponsList DesertEagleSiFlEx
	ListAddForm TheProfessionalWeaponsList DesertEagleSiSc
	ListAddForm TheProfessionalWeaponsList DesertEagleSiScB
	ListAddForm TheProfessionalWeaponsList DesertEagleSiScBEx
	ListAddForm TheProfessionalWeaponsList DesertEagleSiScEx
	ListAddForm TheProfessionalWeaponsList DesertEagleSiScFl
	ListAddForm TheProfessionalWeaponsList DesertEagleSiScFlB
	ListAddForm TheProfessionalWeaponsList DesertEagleSiScFlBEx
	ListAddForm TheProfessionalWeaponsList DesertEagleSiScFlEx
	ListAddForm TheProfessionalWeaponsList DesertEagleGl
	ListAddForm TheProfessionalWeaponsList DesertEagleGlAlt
	ListAddForm TheProfessionalWeaponsList DesertEagleApGl
	ListAddForm TheProfessionalWeaponsList DesertEagleApGlAlt
	ListAddForm TheProfessionalWeaponsList DesertEagleApExGl
	ListAddForm TheProfessionalWeaponsList DesertEagleApExGlAlt
	ListAddForm TheProfessionalWeaponsList DesertEagleExGl
	ListAddForm TheProfessionalWeaponsList DesertEagleExGlAlt
	ListAddForm TheProfessionalWeaponsList DesertEagleScGl
	ListAddForm TheProfessionalWeaponsList DesertEagleScGlAlt
	ListAddForm TheProfessionalWeaponsList DesertEagleScExGl
	ListAddForm TheProfessionalWeaponsList DesertEagleScExGlAlt
	ListAddForm TheProfessionalWeaponsList DesertEagleSiGl
	ListAddForm TheProfessionalWeaponsList DesertEagleSiGlAlt
	ListAddForm TheProfessionalWeaponsList DesertEagleSiApGl
	ListAddForm TheProfessionalWeaponsList DesertEagleSiApGlAlt
	ListAddForm TheProfessionalWeaponsList DesertEagleSiApExGl
	ListAddForm TheProfessionalWeaponsList DesertEagleSiApExGlAlt
	ListAddForm TheProfessionalWeaponsList DesertEagleSiExGl
	ListAddForm TheProfessionalWeaponsList DesertEagleSiExGlAlt
	ListAddForm TheProfessionalWeaponsList DesertEagleSiScGl
	ListAddForm TheProfessionalWeaponsList DesertEagleSiScGlAlt
	ListAddForm TheProfessionalWeaponsList DesertEagleSiScExGl
	ListAddForm TheProfessionalWeaponsList DesertEagleSiScExGlAlt

	ListAddForm NVImprovedHoldoutWeapons DesertEagle

	ShowMessage DesertEagleStartupFinished

	set DesertEagleStartupCompleted to 1
	StopQuest DesertEagleStartupQuest
	Return

endif

End

 

 

 

I've also changed priority, but it don't fix it.

 

Thanks in advance.

Link to comment
Share on other sites

I can't see anything obviously wrong with any of your scripts.

Have you tried to comment out all of the ListAddForm lines to see if the messages are working?

At least if that part works OK, then it cuts down where to be looking for errors.

 

IF commenting out the ListAddForm lines does stop the CTD, then one thing that might be worth trying is to use a single SPACE after 'GunsList'. There are 2 spaces in your script above.

I remember reading something about the compiler being fussy about inconsistent parameter delimiters, and I'm not sure if that applies to switching to double spaces or not. I think the page is on one of the wikis, but I can't find it now.

Link to comment
Share on other sites

I added the messages to see if any part of the script worked, i mean to find in what group of ListAddForm was the problem. I may try removing things...

 

As i've checked the script with Cipcis Validator i thought there weren't any syntax error and such... anyway i'll remove one of the spaces and see if that works.

 

Thanks :thumbsup:

Link to comment
Share on other sites

Oh my god... removed almost everything in the script and is still crashes my game. I can't believe that this script crashes... I think there're no errors.

 

scn DesertEagleStartupQuestScript

Begin GameMode
ShowMessage DesertEagleStartupFinished
StopQuest DesertEagleStartupQuest
Return
End

Link to comment
Share on other sites

ok, gonna do it right now, hope it works.

 

I'm going to use this script:

 

 

 

scn DesertEagleStartupQuestScript

int DesertEagleStartupCompleted

Begin GameMode

if  DesertEagleStartupCompleted == 1
	StopQuest DesertEagleStartupQuest
	Return
endif

ShowMessage DesertEagleStartupProcess1

ShowMessage DesertEagleStartupProcess2

ShowMessage DesertEagleStartupProcess3

ShowMessage DesertEagleStartupFinished

set DesertEagleStartupCompleted to 1

End

 

 

Edited by FrankFamily
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...